]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
glob: silence -Wattribute warnings
[thirdparty/glibc.git] / ChangeLog
CommitLineData
fd967522
PM
12013-09-30 Petr Machata <pmachata@redhat.com>
2
3 * elf/elf.h (R_AARCH64_ABS16): New macro.
4 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
6 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
7 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
8 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
12 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
17 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
18 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
19 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
20 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
21 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
22 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
23 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
24 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
25 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
26 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
27 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
28 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
29 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
30 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
31 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
32 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
33 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
34 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
35 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
36 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
37 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
38 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
39 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
40 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
41 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
42 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
43 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
44 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
45 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
46 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
47 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
48 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
49 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
50 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
51 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
52 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
53 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
54 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
55 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
56 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
57 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
58 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
59 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
60 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
61 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
62 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
63 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
64 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
65 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
66 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
67 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
68 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
69 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
70 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
71 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
72 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
73 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
74 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
75 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
76 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
77 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
78 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
79 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
80 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
81 (R_AARCH64_TLSDESC_LDR): Likewise.
82 (R_AARCH64_TLSDESC_ADD): Likewise.
83 (R_AARCH64_TLSDESC_CALL): Likewise.
84
b2179107
AS
852013-09-30 Andreas Schwab <schwab@suse.de>
86
87 [BZ #15048]
88 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
89 the nss database lookup.
90 * nscd/initgrcache.c (addinitgroupsX): Likewise.
91 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
92
47f28d0a
MF
932013-09-28 Mike Frysinger <vapier@gentoo.org>
94
95 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
96
972013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
98
99 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
100 ${Bash-specific parameter/pattern/string} parameter expansion.
101 * sysdeps/unix/make-syscalls.sh: Likewise.
102
f4518a17
KK
1032013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
104
105 * sysdeps/sh/stackguard-macros.h: New file.
106
dc1a95c7
OB
1072013-09-26 Ondřej Bílka <neleai@seznam.cz>
108
109 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
110 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
111 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
112 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
113 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
114 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
115
5ebbff8f
AZ
1162013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
117
118 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
119 Fix thread ID register.
120
4fd2cf9f
JM
1212013-09-25 Joseph Myers <joseph@codesourcery.com>
122
123 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
124 [POSIX || UNIX98]: Require rather than permitting all symbols from
125 <time.h>.
126 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
127 element of struct sched_param.
128 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
129 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
130 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
131 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
132 constant.
133
12c22bc4
OL
1342013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
135
136 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
137 argument calculation.
138
a03d8ea7
JM
1392013-09-24 Joseph Myers <joseph@codesourcery.com>
140
141 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
142 Expect macro.
143 [POSIX] (pthread_attr_t): Do not require type.
144 [POSIX] (pthread_cond_t): Likewise.
145 [POSIX] (pthread_condattr_t): Likewise.
146 [POSIX] (pthread_key_t): Likewise.
147 [POSIX] (pthread_mutex_t): Likewise.
148 [POSIX] (pthread_mutexattr_t): Likewise.
149 [POSIX] (pthread_once_t): Likewise.
150 [POSIX] (pthread_t): Likewise.
151 [POSIX-based standards] (pthread_atfork): Expect function.
152
6055173a
JM
1532013-09-24 Joseph Myers <joseph@codesourcery.com>
154 Richard Sandiford <richard@codesourcery.com>
155
156 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
157 (swap_endianness_p): New extern variable.
158 (set_big_endian): New inline function.
159 (maybe_swap_uint32): Likewise.
160 (maybe_swap_uint32_array): Likewise.
161 (maybe_swap_uint32_obstack): Likewise.
162 * locale/programs/locfile.c: Include <stdbool.h>.
163 (swap_endianness_p): New variable.
164 (add_locale_uint32): Call maybe_swap_uint32.
165 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
166 (write_locale_data): Call maybe_swap_uint32_array.
167 * locale/programs/ld-collate.c (obstack_int32_grow): Call
168 maybe_swap_uint32.
169 (obstack_int32_grow_fast): Likewise.
170 (output_weightwc): Call maybe_swap_uint32_obstack.
171 (collate_output): Likewise.
172 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
173 (OPT_LITTLE_ENDIAN): Likewise.
174 (options): Add --little-endian and --big-endian options.
175 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
176 * locale/programs/locarchive.c: Include "locfile.h".
177 (GET): New macro.
178 (SET): Likewise.
179 (INC): Likewise.
180 (create_archive): Use the new macros to access fields of
181 structures directly mapped from or written to locale archives.
182 (oldlocrecentcmp): Likewise.
183 (enlarge_archive): Likewise.
184 (insert_name): Likewise.
185 (add_alias): Likewise.
186 (add_locale): Likewise.
187 (delete_locales_from_archive): Likewise.
188 (show_archive_content): Likewise.
189 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
190 locale data.
191
39bf0bb4
RM
1922013-09-24 Roland McGrath <roland@hack.frob.com>
193
194 * manual/freemanuals.texi: Updated from (newly) canonical copy at
195 http://www.gnu.org/doc/freemanuals.texi.
196 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
197
f02eed10
WN
1982013-09-24 Will Newton <will.newton@linaro.org>
199
200 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
201 macro.
202
a3a6c312
JM
2032013-09-23 Joseph Myers <joseph@codesourcery.com>
204
205 * locale/hashval.h (compute_hashval): Interpret bytes of key as
206 unsigned char.
207
107375ac
MR
2082013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
209
210 * manual/threads.texi (POSIX Threads): Fix a typo.
211
141f3a77
SP
2122013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
213
303e567a
SP
214 [BZ #14547]
215 * string/tst-strcoll-overflow.c: New test case.
216 * string/Makefile (xtests): Add tst-strcoll-overflow.
217 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
218 cache if string sizes may cause integer overflow.
219
141f3a77
SP
220 [BZ #14547]
221 * string/strcoll_l.c (coll_seq): New members rule, idx,
222 save_idx and back_us.
223 (get_next_seq_nocache): New function.
224 (do_compare_nocache): New function.
225 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
226 when malloc fails.
227
c61b4d41
CD
2282013-09-23 Carlos O'Donell <carlos@redhat.com>
229
0b1f8e35
CD
230 [BZ #15754]
231 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
232 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
233 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
234
c61b4d41
CD
235 [BZ #15754]
236 * elf/Makefile (tests): Add tst-ptrguard1.
237 (tests-static): Add tst-ptrguard1-static.
238 (tst-ptrguard1-ARGS): Define.
239 (tst-ptrguard1-static-ARGS): Define.
240 * elf/tst-ptrguard1.c: New file.
241 * elf/tst-ptrguard1-static.c: New file.
242 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
243 * sysdeps/i386/stackguard-macros.h: Likewise.
244 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
245 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
246 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
247 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
248 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
249 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
250
2512013-09-23 Hector Marco <hecmargi@upv.es>
252 Ismael Ripoll <iripoll@disca.upv.es>
253 Carlos O'Donell <carlos@redhat.com>
254
255 [BZ #15754]
256 * sysdeps/generic/stackguard-macros.h: Define
257 __pointer_chk_guard_local and POINTER_CHK_GUARD.
258 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
259 Define __pointer_chk_guard_local.
260 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
261 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
262
f5f4e7b4
VV
2632013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
264
265 [BZ #15859]
266 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
267
5bb43a43
AS
2682013-09-20 Andreas Schwab <schwab@linux-m68k.org>
269
270 * include/string.h (__ffs): Declare as hidden.
271 * string/ffs.c (__ffs): Define as hidden.
272 * sysdeps/i386/ffs.c (__ffs): Likewise.
273 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
274 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
275 * sysdeps/s390/ffs.c (__ffs): Likewise.
276 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
277
3ea5be54
AO
2782013-09-20 Alexandre Oliva <aoliva@redhat.com>
279
ffb89e53
AO
280 * NEWS: Mention malloc probes.
281
322dea08
AO
282 * malloc/arena.c (new_heap): New memory_heap_new probe.
283 (grow_heap): New memory_heap_more probe.
284 (shrink_heap): New memory_heap_less probe.
285 (heap_trim): New memory_heap_free probe.
286 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
287 (systrim): New memory_sbrk_less probe.
288 * manual/probes.texi: Document them.
289
655673f3
AO
290 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
291 * manual/probes.texi: Document it.
292
35fed6f1
AO
293 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
294 (__libc_realloc): Add memory_realloc_retry probe.
295 (__libc_memalign): Add memory_memalign_retry probe.
296 (__libc_valloc): Add memory_valloc_retry probe.
297 (__libc_pvalloc): Add memory_pvalloc_retry probe.
298 (__libc_calloc): Add memory_calloc_retry probe.
299 * manual/probes.texi: Document them.
300
6999d38c
AO
301 * malloc/arena.c (get_free_list): Add probe
302 memory_arena_reuse_free_list.
303 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
304 and memory_arena_reuse.
305 (arena_get2) [!PER_THREAD]: Likewise.
306 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
307 memory_arena_reuse_realloc.
308 * manual/probes.texi: Document them.
309
0653427f
AO
310 * malloc/malloc.c (__libc_free): Add
311 memory_mallopt_free_dyn_thresholds probe.
312 (__libc_mallopt): Add multiple memory_mallopt probes.
313 * manual/probes.texi: Document them.
314
3ea5be54
AO
315 * malloc/malloc.c: Include stap-probe.h.
316 (__libc_mallopt): Add memory_mallopt probe.
317 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
318 * manual/probes.texi: New.
319 * manual/Makefile (chapters): Add probes.
320 * manual/threads.texi: Set next node.
321
e35696c3 3222013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 323
e35696c3
CL
324 [BZ #15963, #13985]
325 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
326 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
327 Add `Chinese' to `nan' entry name.
328
4aafb73c
SP
3292013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
330
331 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
332 (POLYNOMIAL): Likewise.
333 (TAYLOR_SINCOS): Likewise.
334 (TAYLOR_SLOW): Likewise.
335 (__sin): Use TAYLOR_SINCOS.
336 (__cos): Likewise.
337 (slow): Use TAYLOR_SLOW.
338 (sloww): Likewise.
339 (bsloww): Likewise.
340 (csloww): Likewise.
341
d84f25c7
LD
3422013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
343
344 * stdlib/strtod_l.c: Fix buffer overrun.
345
5eea0404
SP
3462013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
347
7849ff93
SP
348 * benchtests/Makefile (bench): Add sincos.
349 * benchtests/bench-sincos.c: New file.
350
cfa3c886
SP
351 * math/libm-test.inc (cos_test_data): New test inputs.
352 (sin_test_data): Likewise.
353
b348e1e3
SP
354 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
355 macro.
356 (__sin): Use it.
357 (__cos): Likewise.
358 (slow1): Likewise.
359 (slow2): Likewise.
360 (sloww1): Likewise.
361 (sloww2): Likewise.
362 (bsloww1): Likewise.
363 (bsloww2): Likewise.
364 (cslow2): Likewise.
365 (csloww1): Likewise.
366 (csloww2): Likewise.
367
6cce25f8
SP
368 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
369 function.
370 (__sin): Use it.
371 (__cos): Likewise.
372
5eea0404
SP
373 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
374 gotos.
375 (__cos): Likewise.
376
9c21573c
MR
3772013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
378
379 * config.h.in (HAVE_MIPS_NAN2008): New macro.
380 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
381 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
382 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
383 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
384 * elf/cache.c (print_entry): Handle the new cache flags.
385
24d22e65
JM
3862013-09-18 Joseph Myers <joseph@codesourcery.com>
387 Aldy Hernandez <aldyh@redhat.com>
388
389 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
390 Change condition to [_SOFT_FLOAT].
391 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
392 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
393 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
394 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
395 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
396 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
397 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
398 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
399 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
400 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
401 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
402 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
403 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
404 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
405 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
406 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
407 declaration.
408
d13ef066
JM
4092013-09-18 Joseph Myers <joseph@codesourcery.com>
410
2e071de0
JM
411 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
412 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
413 (__longjmp): Use LOAD_GP to load saved GPRs.
414 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
415 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
416 (__sigsetjmp): Use SAVE_GP to save GPRs.
417
d13ef066
JM
418 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
419 Do not append -msoft-float.
420 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
421
97a0650b
SP
4222013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
423
424 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
425
11ca09e9
JM
4262013-09-17 Joseph Myers <joseph@codesourcery.com>
427
428 [BZ #15966]
429 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
430 (_FPU_GETCW): Use initial "__" on variable and field names but not
431 on macro parameter name.
432 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
433 parentheses around reference to macro parameter.
434
e833b53f
EB
4352013-09-04 Eric Blake <eblake@redhat.com>
436
437 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
438 Use __THROWNL rather than __THROW on static functions.
439
08ffcf34
RS
4402013-09-13 Richard Sandiford <richard@codesourcery.com>
441
442 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
443 prototype.
444 (ctype_startup): Use uint32_t in cast and sizeof for
445 ctype->charnames.
446
ae7080d3
JL
4472013-09-11 Jia Liu <proljc@gmail.com>
448
449 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
450 __daddr_t_defined.
451 [__FreeBSD__]: Likewise.
452
5905e7b3
OB
4532013-09-11 Ondřej Bílka <neleai@seznam.cz>
454
455 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
456 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
457 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
458 (strchr): Remove __strchr_sse42 ifunc selection.
459 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
460 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
461
b987c776
WN
4622013-09-11 Will Newton <will.newton@linaro.org>
463
464 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
465 parameter to RES. Remove hardcoded 1000 value.
466 * benchtests/bench-skeleton.c (main): Pass RES parameter
467 to TIMING_INIT and multiply result by 1000.
468
ddf985af
AZ
4692013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
470
471 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
472
ffdd3181
AS
4732013-09-11 Andreas Schwab <schwab@suse.de>
474
475 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
476 if not defined.
477 (O_TMPFILE) [__USE_GNU]: Define.
478 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
479 Define.
480
b73ed247
WN
4812013-09-11 Will Newton <will.newton@linaro.org>
482
483 [BZ #15857]
484 * malloc/malloc.c (__libc_memalign): Check the value of bytes
485 does not overflow.
486
55e17aad
WN
4872013-09-11 Will Newton <will.newton@linaro.org>
488
489 [BZ #15856]
490 * malloc/malloc.c (__libc_valloc): Check the value of bytes
491 does not overflow.
492
1159a193
WN
4932013-09-11 Will Newton <will.newton@linaro.org>
494
495 [BZ #15855]
496 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
497 does not overflow.
498
5905e7b3 4992013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
500
501 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
502 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
503 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
504 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
505 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
506
cdfc721b
AM
5072013-09-10 Allan McRae <allan@archlinux.org>
508
aa04af00
AM
509 [BZ #15748]
510 * manual/arith.texi (Parsing of Floats): Clarify
511 cross-reference.
512
cdfc721b
AM
513 [BZ #15849]
514 * manual/install.texi (Running make install): Mention
515 --enable-pt-chown.
516 * INSTALL: Regenerated.
517
95e7cf29
MR
5182013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
519
520 * csu/init-first.c (_init): Remove the !SHARED condition around
521 FPU control word initialization.
522 * elf/dl-support.c (_dl_fpu_control): New variable.
523 (_dl_aux_init) <AT_FPUCW>: Initialize it.
524 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
525 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
526 * math/test-fpucw-static.c: New file.
527 * math/test-fpucw-ieee.c: New file.
528 * math/test-fpucw-ieee-static.c: New file.
529 * math/Makefile (tests): Add `test-fpucw-ieee' and
530 `$(tests-static)'.
531 (tests-static): New variable.
532 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
533 dependency to...
534 [($(build-shared),yes)]
535 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
536 ... this.
537 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
538 New dependency.
539
83e43bf0
AM
5402013-09-09 Allan McRae <allan@archlinux.org>
541
a9f5ce09
AM
542 [BZ #15939]
543 * manual/string.texi (Collation Functions): Fix typo in
544 strcoll example.
545 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
546
34829bc2
AM
547 [BZ #15893]
548 * stdlib/isomac.c (get_null_defines): Fix memory leak.
549
3932737d
AM
550 [BZ #15892]
551 * libio/memstream.c (open_memstream): Fix memory leak.
552 * libio/wmemstream.c (open_wmemstream): Likewise.
553
83e43bf0
AM
554 [BZ #15895]
555 * nscd/netgroupcache.c: Fix nesting of ifdefs.
556
0c66b8e9
WN
5572013-09-09 Will Newton <will.newton@linaro.org>
558
559 * malloc/Makefile: Add tst-realloc to tests.
560 * malloc/tst-realloc.c: New file.
561
f6b00fd1
AM
5622013-09-09 Allan McRae <allan@archlinux.org>
563
564 [BZ #15844]
565 * COPYING: Update from GNU website to fix FSF address.
566 * COPYING.LIB: Likewise.
567
eec55e16
DM
5682013-09-06 David S. Miller <davem@davemloft.net>
569
570 * po/zh_TW.po: Update Chinese (traditional) translation from
571 translation project.
572
1ecbb381
RS
5732013-09-06 Richard Sandiford <richard@codesourcery.com>
574 Joseph Myers <joseph@codesourcery.com>
575
576 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
577 "localeinfo.h".
578 (obstack_chunk_alloc): New macro.
579 (obstack_chunk_free): Likewise.
580 (record_offset): New function.
581 (init_locale_data): Likewise.
582 (align_locale_data): Likewise.
583 (add_locale_empty): Likewise.
584 (add_locale_raw_data): Likewise.
585 (add_locale_raw_obstack): Likewise.
586 (add_locale_string): Likewise.
587 (add_locale_wstring): Likewise.
588 (add_locale_uint32): Likewise.
589 (add_locale_uint32_array): Likewise.
590 (add_locale_char): Likewise.
591 (start_locale_structure): Likewise.
592 (end_locale_structure): Likewise.
593 (start_locale_prelude): Likewise.
594 (end_locale_prelude): Likewise.
595 (write_locale_data): Take locale_file structure rather than an
596 iovec.
597 * locale/programs/locfile.h: Include "obstack.h".
598 (struct locale_file): Change to store locale file contents instead
599 of header.
600 (init_locale_data): New prototype.
601 (align_locale_data): Likewise.
602 (add_locale_empty): Likewise.
603 (add_locale_raw_data): Likewise.
604 (add_locale_raw_obstack): Likewise.
605 (add_locale_string): Likewise.
606 (add_locale_wstring): Likewise.
607 (add_locale_uint32): Likewise.
608 (add_locale_uint32_array): Likewise.
609 (add_locale_char): Likewise.
610 (start_locale_structure): Likewise.
611 (end_locale_structure): Likewise.
612 (start_locale_prelude): Likewise.
613 (end_locale_prelude): Likewise.
614 (write_locale_data): Update prototype.
615 * locale/programs/3level.h (struct TABLE): Remove result field.
616 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
617 Use new locale_file interface.
618 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
619 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
620 * locale/programs/ld-address.c (address_output): Use new
621 locale_file interface.
622 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
623 NO_ADD_LOCALE.
624 (collate_finish): Don't call collseq_table_finalize.
625 (collate_output): Use new locale_file interface.
626 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
627 in file.
628 (NO_FINALIZE): Change to NO_ADD_LOCALE.
629 (TABLE): Move defines earlier in file.
630 (ELEMENT): Likewise.
631 (DEFAULT): Likewise.
632 (wctrans_table_add): Move macro and inline function earlier in
633 file.
634 (struct wctype_table): Move type earlier in file.
635 (add_locale_wctype_table): New static prototype.
636 (struct locale_ctype_t): Use logical types instead of struct iovec
637 pointers for members.
638 (ctype_output): Use new locale_file interface.
639 (wctype_table_finalize): Change to add_locale_wctype_table. Use
640 new locale_file interface.
641 (allocate_arrays): Update for use of new locale_file interface.
642 * locale/programs/ld-identification.c (identification_output): Use
643 new locale_file interface.
644 * locale/programs/ld-measurement.c (measurement_output): Likewise.
645 * locale/programs/ld-messages.c (messages_output): Likewise.
646 * locale/programs/ld-monetary.c (monetary_output): Likewise.
647 * locale/programs/ld-name.c (name_output): Likewise.
648 * locale/programs/ld-numeric.c (numeric_output): Likewise.
649 * locale/programs/ld-paper.c (paper_output): Likewise.
650 * locale/programs/ld-telephone.c (telephone_output): Likewise.
651 * locale/programs/ld-time.c (time_output): Likewise.
652
e029e2e5
AZ
6532013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
654
655 * benchtests/Makefile: Add memrchr benchmark.
656 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
657 benchmark as memrchr.
658 * benchtests/bench-memrchr-ifunc.c: New file.
659 * benchtests/bench-memrchr.c: New file.
660
bbf6e8e4
WN
6612013-09-06 Will Newton <will.newton@linaro.org>
662
663 * benchtests/Makefile (string-bench): Add memcpy.
664
6c82a2f8
CD
6652013-09-05 Carlos O'Donell <carlos@redhat.com>
666 Cong Wang <amwang@redhat.com>
667
668 * sysdeps/unix/sysv/linux/bits/in.h
669 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
670 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
671 before __USE_KERNEL_IPV6_DEFS uses.
672 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
673 IPPROTO_BEETPH.
674 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
675 sockaddr_in6, or ipv6_mreq.
676
5430fc65
AZ
6772013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
678
679 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
680 memory access for final bytes in some large inputs.
681 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
682
4660856c
AZ
6832013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
684
685 * string/test-memrchr.c: New file.
686 * string/test-memrchr-ifunc.c: New file.
687 * string/Makefile: Add new memrchr testcase.
688
bb8ea713
MF
6892013-09-05 Mike Frysinger <vapier@gentoo.org>
690
691 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
692 fanotify_init returns EPERM.
693
b92a20b5
JM
6942013-09-04 Joseph Myers <joseph@codesourcery.com>
695
696 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
697 errors.
698 (top level): Treat second token from macro or constant entries for
699 allowed headers as allowed.
700 * include/complex.h: Condition internal declarations on
701 [!_ISOMAC].
702 * include/fenv.h: Condition include of <stdbool.h> and internal
703 declarations on [!_ISOMAC].
7447ccd9
CL
704
7052013-09-04 Chris Leonard <cjl@sugarlabs,.org>
706
3e181dda 707 [BZ #15923]
7447ccd9
CL
708 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
709
3f2e46a4
JM
7102013-09-04 Joseph Myers <joseph@codesourcery.com>
711
712 * configure.in (--enable-versioning): Remove configure option.
713 (libc_cv_asm_symver_directive): Remove configure test.
714 (libc_cv_ld_version_script_option): Likewise.
715 (VERSIONING): Remove variable and AC_SUBST.
716 (DO_VERSIONING): Remove AC_DEFINE.
717 * configure: Regenerated.
718 * config.h.in (DO_VERSIONING): Remove macro.
719 * Makerules [$(versioning) = yes]: Change conditionals to
720 [$(build-shared) = yes].
721 * config.make.in (versioning): Remove variable.
722 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
723 [$(build-shared) = yes].
724 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
725 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
726 * elf/Makefile [$(versioning) = yes]: Change conditionals to
727 [$(build-shared) = yes].
728 * extra-lib.mk [$(versioning) = yes]: Likewise.
729 * hurd/Makefile [$(versioning) = yes]: Likewise.
730 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
731 [SHARED].
732 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
733 [SHARED].
734 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
735 [SHARED && !NO_HIDDEN].
736 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
737 [SHARED].
738 [SHARED && DO_VERSIONING]: Likewise..
739 * libio/Makefile [$(versioning) = yes]: Change conditionals to
740 [$(build-shared) = yes].
741 * manual/install.texi (--disable-versioning): Remove
742 documentation.
743 * INSTALL: Regenerated.
744 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
745 to [SHARED].
746 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
747 [$(build-shared) = yes].
748 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
749 * sysdeps/i386/i686/multiarch/strstr-c.c
750 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
751 [SHARED && !NO_HIDDEN].
752 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
753 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
754 * sysdeps/powerpc/powerpc32/dl-machine.c
755 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
756 * sysdeps/powerpc/powerpc32/sysdep.h
757 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
758 to [SHARED && PIC && !NO_HIDDEN].
759 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
760 conditional to [SHARED].
761
44558701
WN
7622013-09-04 Will Newton <will.newton@linaro.org>
763
764 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
765 * benchtests/bench-string.h: Include bench-timing.h instead
766 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
767 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
768 call to HP_TIMING_DIFF_INIT.
769 * benchtests/bench-memccpy.c: Use bench-timing.h macros
770 instead of hp-timing.h macros.
771 * benchtests/bench-memchr.c: Likewise.
772 * benchtests/bench-memcmp.c: Likewise.
773 * benchtests/bench-memcpy.c: Likewise.
774 * benchtests/bench-memmem.c: Likewise.
775 * benchtests/bench-memmove.c: Likewise.
776 * benchtests/bench-memset.c: Likewise.
777 * benchtests/bench-rawmemchr.c: Likewise.
778 * benchtests/bench-strcasecmp.c: Likewise.
779 * benchtests/bench-strcasestr.c: Likewise.
780 * benchtests/bench-strcat.c: Likewise.
781 * benchtests/bench-strchr.c: Likewise.
782 * benchtests/bench-strcmp.c: Likewise.
783 * benchtests/bench-strcpy.c: Likewise.
784 * benchtests/bench-strcpy_chk.c: Likewise.
785 * benchtests/bench-strlen.c: Likewise.
786 * benchtests/bench-strncasecmp.c: Likewise.
787 * benchtests/bench-strncat.c: Likewise.
788 * benchtests/bench-strncmp.c: Likewise.
789 * benchtests/bench-strncpy.c: Likewise.
790 * benchtests/bench-strnlen.c: Likewise.
791 * benchtests/bench-strpbrk.c: Likewise.
792 * benchtests/bench-strrchr.c: Likewise.
793 * benchtests/bench-strspn.c: Likewise.
794 * benchtests/bench-strstr.c: Likewise.
795
cae16d66
WN
7962013-09-04 Will Newton <will.newton@linaro.org>
797
798 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
799
ffa3cd7f
JM
8002013-09-03 Joseph Myers <joseph@codesourcery.com>
801
802 [BZ #15427]
803 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
804 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
805 * math/libm-test.inc (lgamma_test_data): Add more tests.
806 * sysdeps/i386/fpu/libm-test-ulps: Update.
807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
808
8f02859f
OB
8092013-09-03 Ondřej Bílka <neleai@seznam.cz>
810
811 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
812 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
813 Add ifunc.
814 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
815 Add strcmp-sse2-unaligned
816 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
817
18d43716
MF
8182013-09-02 Mike Frysinger <vapier@gentoo.org>
819
820 * Versions.def (libc): Add GLIBC_2.19.
821
ac444012
MF
8222013-09-02 Mike Frysinger <vapier@gentoo.org>
823
824 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
825 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
826
b7835e32
JM
8272013-09-02 Joseph Myers <joseph@codesourcery.com>
828
829 [BZ #14155]
830 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
831 intermediate calculations in recurrence.
832 (__ieee754_ynf): Likewise.
833 * math/libm-test.inc (jn_test_data): Do not allow spurious
834 underflow exception. Add more tests.
835 (yn_test_data): Add more tests.
836 * sysdeps/i386/fpu/libm-test-ulps: Update.
837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
838
8220f4f0
OB
8392013-09-02 Ondřej Bílka <neleai@seznam.cz>
840
841 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
842
f24a6d08
OB
8432013-08-30 Ondřej Bílka <neleai@seznam.cz>
844
845 * csu/init-first.c: Fix then/than typos.
846 * locale/programs/ld-collate.c: Likewise.
847 * locale/programs/linereader.h: Likewise.
848 * manual/charset.texi: Likewise.
849 * manual/filesys.texi: Likewise.
850 * manual/stdio.texi: Likewise.
851 * manual/string.texi: Likewise.
852 * stdlib/fmtmsg.c: Likewise.
853 * sysdeps/i386/stpncpy.S: Likewise.
854 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
855 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
856 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
857 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
858
382466e0
OB
8592013-08-30 Ondřej Bílka <neleai@seznam.cz>
860
861 * elf/dl-open.c: Fix typos.
862 * iconvdata/gbbig5.c: Likewise.
863 * iconvdata/iso-2022-jp.c: Likewise.
864 * iconv/gconv_int.h: Likewise.
865 * iconv/loop.c: Likewise.
866 * nis/rpcsvc/nis.h: Likewise.
867 * resolv/ns_name.c: Likewise.
868 * stdio-common/vfscanf.c: Likewise.
869 * streams/stropts.h: Likewise.
870 * sunrpc/rpc_thread.c: Likewise.
871 * sysdeps/i386/strpbrk.S: Likewise.
872 * sysdeps/ieee754/k_standard.c: Likewise.
873 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
874 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
875 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
876 * sysdeps/mach/hurd/profil.c: Likewise.
877 * sysdeps/s390/dl-procinfo.h: Likewise.
878 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
879 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
880 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
881 * sysdeps/x86_64/dl-trampoline.S: Likewise.
882 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
883
0186c6e9
OB
8842013-08-30 Ondřej Bílka <neleai@seznam.cz>
885
886 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
887 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
888
d4e16af1
OB
8892013-08-29 Ondřej Bílka <neleai@seznam.cz>
890
891 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
892 aix specific files.
893 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
894 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
895 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
896 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
897 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
898 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
899 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
900 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
901
88335980
TS
9022013-08-29 Thomas Schwinge <thomas@codesourcery.com>
903 Roland McGrath <roland@hack.frob.com>
904
905 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
906 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
907
ed479b02
ST
9082013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
909
910 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
911 __executable_start symbol instead of _start.
912
f1cc4c86
TS
9132013-08-29 Thomas Schwinge <thomas@codesourcery.com>
914
d821f07c
TS
915 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
916 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
917 Move macros to...
918 * sysdeps/gnu/ldsodefs.h: ... this new file.
919
c54290cf
TS
920 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
921 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
922 instead of ELFOSABI_LINUX.
923
0007fc9b 924 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
925 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
926 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
927 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
928 Likewise.
929 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
930 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
931 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
932 Likewise.
933 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
934 (ibm_extended_long_double): Add ieee_nan member.
935 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
936 (do_test): New function.
937
f1cc4c86
TS
938 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
939 TEST_TRUNC.
940 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
941 functions, renamed from truncdfsf_test, trunctfsf_test,
942 trunctfdf_test.
943 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
944 functions.
945 (do_test): Run all these.
946
6f65e668
OB
9472013-08-29 Ondřej Bílka <neleai@seznam.cz>
948
949 * argp/argp-help.c: Fix typos.
950 * argp/argp-parse.c: Likewise.
951 * debug/backtracesyms.c: Likewise.
952 * elf/elf.h: Likewise.
953 * malloc/malloc.c: Likewise.
954 * nis/nis_print.c: Likewise.
955 * resolv/res_comp.c: Likewise.
956 * stdlib/stdlib.h: Likewise.
957 * sunrpc/clnt_tcp.c: Likewise.
958 * sunrpc/clnt_udp.c: Likewise.
959 * sunrpc/clnt_unix.c: Likewise.
960 * sysdeps/unix/bsd/ptsname.c: Likewise.
961 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
962 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
964 Likewise.
965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
966 Likewise.
967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
968 Likewise.
6f65e668
OB
969 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
970
3a309239
SP
9712013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
972
973 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
974 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
975
3b813b29
MF
9762013-08-27 Mike Frysinger <vapier@gentoo.org>
977
978 [BZ #15897]
979 * dlfcn/Makefile (tests): Add bug-dl-leaf.
980 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
981 ($(objpfx)bug-dl-leaf): New rule.
982 ($(objpfx)bug-dl-leaf.so): Likewise.
983 ($(objpfx)bug-dl-leaf.out): Likewise.
984 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
985 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
986 * dlfcn/bug-dl-leaf.c: New test.
987 * dlfcn/bug-dl-leaf-lib.c: Likewise.
988 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
989 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
990 (dlclose): Likewise.
991 (dlmopen): Likewise.
992
8cc3269f
RM
9932013-08-27 Roland McGrath <roland@hack.frob.com>
994
7f9d0034
RM
995 * include/netdb.h [!_ISOMAC]:
996 Don't include <tls.h>.
997 (h_errno, __libc_h_errno): Move declaration and macros out of
998 [_LIBC_REENTRANT].
999
fb431262
RM
1000 * include/resolv.h [_RESOLV_H_]:
1001 Don't include <tls.h>.
1002 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
1003 * resolv/res_libc.c: Don't include <tls.h>.
1004 (_res): Use __attribute__ ((nocommon)) in place of
1005 __attribute__ ((section (".bss"))).
1006
bd81123a
RM
1007 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1008 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1009
c4e42566
RM
1010 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1011
f890a59b
RM
1012 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1013 only under [SIOCGIFCONF && SIOCGIFNETMASK].
1014
1015 * resolv/res_mkquery.c: Include <sys/time.h>.
1016
5d1f0a09
RM
1017 * inet/ifreq.c: Moved to ...
1018 * sysdeps/unix/ifreq.c: ... here.
1019 * inet/ifreq.c: New file, true stub version.
1020
6fcf28b3
RM
1021 * socket/sa_len.c: New file.
1022 * socket/Makefile (aux): Add it.
1023 * sysdeps/unix/sysv/linux/Makefile
1024 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
1025 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
1026 and #include <socket/sa_len.c>.
1027 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
1028 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
1029
e041fb8b
RM
1030 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1031 * bits/socket.h: ... here.
1032
8cc3269f
RM
1033 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
1034 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
1035 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
1036
5d228a43
AS
10372013-08-27 Andreas Schwab <schwab@suse.de>
1038
45b8accc
AS
1039 [BZ #15736]
1040 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
1041 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
1042 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
1043 * string/test-strcasecmp.c (test_main): Run tests in several
1044 locales.
1045 * string/test-strncasecmp.c (test_main): Likewise.
1046
5d228a43
AS
1047 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
1048 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
1049 to __strcasecmp_nonascii and __strncasecmp_nonascii.
1050 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
1051 (__strncasecmp_ssse3) [PIC]: Likewise.
1052
59d112a4
RM
10532013-08-26 Roland McGrath <roland@hack.frob.com>
1054
53234cc3
RM
1055 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1056
59d112a4
RM
1057 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
1058 instead of explicitly declaring xdecrypt.
1059 * nis/nss_nis/nis-publickey.c: Likewise.
1060
595aba70
SP
10612013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1062
1063 [BZ #15890]
1064 * nscd/aicache.c: Include res_hconf.h.
1065 (addhstaiX): Initialize res_hconf.
1066
ffabd393
AS
10672013-08-26 Andreas Schwab <schwab@suse.de>
1068
1069 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1070 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1071
e0a69f5c
SP
10722013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1073
1074 * nscd/aicache.c (addhstaiX): Fix indentation.
1075
8c12f01d
MF
10762013-08-25 Mike Frysinger <vapier@gentoo.org>
1077
1078 * configure.ac: Quote $build_pt_chown test.
1079 * configure: Regenerated.
1080
8fe89494
JM
10812013-08-23 Joseph Myers <joseph@codesourcery.com>
1082
1083 [BZ #15532]
1084 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1085 * math/s_cexpf.c (__cexpf): Likewise.
1086 * math/s_cexpl.c (__cexpl): Likewise.
1087 * math/libm-test.inc (cexp_test_data): Correct expected return
1088 value for NaN + i0. Add another test.
1089
75b181d6
DM
10902013-08-22 David S. Miller <davem@davemloft.net>
1091
1092 * po/ca.po: Update Catalan translation from translation project.
936241e4 1093 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 1094
acd06bb1
JM
10952013-08-21 Joseph Myers <joseph@codesourcery.com>
1096
1097 [BZ #15797]
1098 * math/s_fdim.c (__fdim): Check for infinite arguments if result
1099 is infinite, not alongside NaN test.
1100 * math/s_fdimf.c (__fdimf): Likewise.
1101 * math/s_fdiml.c (__fdiml): Likewise.
1102 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
1103 errno is unchanged.
1104
c0c3f78a
OB
11052013-08-21 Ondřej Bílka <neleai@seznam.cz>
1106
1107 * argp/argp-help.c: Fix typos.
1108 * crypt/speeds.c: Likewise.
1109 * csu/check_fds.c: Likewise.
1110 * elf/dl-load.c: Likewise.
1111 * elf/dl-open.c: Likewise.
1112 * elf/reldep3.c: Likewise.
1113 * elf/reldep.c: Likewise.
1114 * elf/sprof.c: Likewise.
1115 * iconv/iconv_charmap.c: Likewise.
1116 * iconv/skeleton.c: Likewise.
1117 * iconv/strtab.c: Likewise.
1118 * io/lockf64.c: Likewise.
1119 * libio/libioP.h: Likewise.
1120 * resolv/gai_notify.c: Likewise.
1121 * resolv/ns_name.c: Likewise.
1122 * resolv/ns_samedomain.c: Likewise.
1123 * resolv/res_send.c: Likewise.
1124 * stdlib/random.c: Likewise.
1125 * sunrpc/rpc/xdr.h: Likewise.
1126 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1127 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1128 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1129 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1130 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1131 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1132 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1133 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1134 * sysdeps/mach/hurd/check_fds.c: Likewise.
1135 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1136 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1137 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1138 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1139 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1140 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1141 * sysdeps/pthread/aio_notify.c: Likewise.
1142 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1143 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
1144 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
1145 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1146 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1147
46ed1038
LD
11482013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1149
1150 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
1151 version if bit_Slow_SSE4_2 is set.
1152 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1153 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1154
d400dcac
AZ
11552013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1156
1157 [BZ #15867]
1158 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1159 trampoline stack frame information.
1160 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1161 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1162 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1163 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1164 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1165 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1166 (_libc_vdso_platform_setup): Initialize the signal trampolines.
1167 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1168 sa_flags value.
1169 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1170 interrupting a syscall and set with option SA_SIGINFO.
1171
42c8fdd8
JM
11722013-08-20 Joseph Myers <joseph@codesourcery.com>
1173
c980f2f4
JM
1174 [BZ #15531]
1175 * math/s_cproj.c (__cproj): Only return an infinity if one part of
1176 argument is infinite.
1177 * math/s_cprojf.c (__cprojf): Likewise.
1178 * math/s_cprojl.c (__cprojl): Likewise.
1179 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1180 * math/libm-test.inc (cproj_test_data): Add more tests.
1181
0716c4fc
JM
1182 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1183
42c8fdd8
JM
1184 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1185 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1186 size. Use __ffs to determine corresponding shift.
1187
b31469d0
JM
11882013-08-20 Joseph Myers <joseph@codesourcery.com>
1189 Roland McGrath <roland@hack.frob.com>
1190
1191 * Makefile (INSTALL): Remove trailing blank lines from output of
1192 makeinfo.
1193
4e39af6e
AK
11942013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1195
1196 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
1197 Align 32 bit compat elf_greg to 8 bytes.
1198
f315524e
AA
11992013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1200
1201 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1202
1326ba1a
SP
12032013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1204
1205 * string/strcoll_l.c (coll_seq): New structure.
1206 (get_next_seq_cached): New function.
1207 (get_next_seq): New function.
1208 (do_compare): New function.
1209 (STRCOLL): Use GNU style definition. Simplify implementation
1210 by using get_next_seq, get_next_seq_cached and do_compare.
1211
91ce4085
FW
12122013-08-16 Florian Weimer <fweimer@redhat.com>
1213
1214 [BZ #14699]
1215 CVE-2013-4237
1216 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1217 member.
1218 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1219 member.
1220 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1221 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1222 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
1223 conditional.
1224 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1225 GETDENTS_64BIT_ALIGNED.
1226 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1227 * manual/filesys.texi (Reading/Closing Directory): Document
1228 ENAMETOOLONG return value of readdir_r. Recommend readdir more
1229 strongly.
1230 * manual/conf.texi (Limits for Files): Add portability note to
1231 NAME_MAX, PATH_MAX.
1232 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1233
ca0a6bc4
AS
12342013-08-13 Andreas Schwab <schwab@suse.de>
1235
1236 [BZ #15749]
1237 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1238 of fabs.
1239 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1240 LDBL_MAX_EXP >= 16384]: Add tests for it.
1241
6c1fd795
DM
12422013-08-12 David S. Miller <davem@davemloft.net>
1243
1244 * version.h (RELEASE): Set to "development".
1245 (VERSION): Set to "2.18.90".
1246 * NEWS: Add 2.19 section.
1247
31ad488d
DM
12482013-08-03 David S. Miller <davem@davemloft.net>
1249
1250 * po/ko.po: Update Korean translation from translation project.
1251
db24e684
DM
12522013-08-01 David S. Miller <davem@davemloft.net>
1253
1254 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
1255 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1256 Bilka.
1257
f723285b
DM
12582013-07-30 David S. Miller <davem@davemloft.net>
1259
1260 * po/fr.po: Update French translation from translation project.
1261
3cbc52db
DM
12622013-07-28 David S. Miller <davem@davemloft.net>
1263
30bbc0cc
DM
1264 * po/cs.po: Update Czech translation from translation project.
1265
3cbc52db
DM
1266 * po/sv.po: Update Swedish translation from translation project.
1267
d492e6d0
DM
12682013-07-27 David S. Miller <davem@davemloft.net>
1269
f1a7f492
DM
1270 * po/eo.po: Update Esperanto translation from translation project.
1271
90e62a4a
DM
1272 * po/vi.po: Update Vietnamese translation from translation project.
1273
d492e6d0
DM
1274 * po/de.po: Update German translation from translation project.
1275
d4baa62d
DM
12762013-07-26 David S. Miller <davem@davemloft.net>
1277
641aa7b4
DM
1278 * po/bg.po: Update Bulgarian translation from translation project.
1279
d4baa62d
DM
1280 * po/nl.po: Update Dutch translation from translation project.
1281 * po/pl.po: Update Polish translation from translation project.
1282 * po/ru.po: Update Russian translation from translation project.
1283
61a9dcb9
DM
12842013-07-24 David S. Miller <davem@davemloft.net>
1285
1286 * po/libc.pot: Update.
1287
7b1f8b58
AZ
12882013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1289
1290 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1291 variable page size.
1292 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1293 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1294 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1295
a8fc7a03
AK
12962013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1297
1298 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1299
e4608715
CD
13002013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1301 Andreas Schwab <schwab@suse.de>
1302 Roland McGrath <roland@hack.frob.com>
1303 Joseph Myers <joseph@codesourcery.com>
1304 Carlos O'Donell <carlos@redhat.com>
1305
1306 [BZ #15755]
1307 * config.h.in: Define HAVE_PT_CHOWN.
1308 * config.make.in (build-pt-chown): New variable.
1309 * configure.in (--enable-pt_chown): New configure option.
1310 * configure: Regenerate.
1311 * login/Makefile: Include Makeconfig. Build pt_chown only if
1312 build-pt-chown is enabled.
1313 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1314 pt_chown to fix pty ownership.
1315 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1316 CLOSE_ALL_FDS.
1317 * manual/install.texi (Configuring and compiling): Mention
1318 --enable-pt_chown. Add @findex for grantpt.
1319 * INSTALL: Regenerate.
1320
da2d62df
DM
13212013-07-20 David S. Miller <davem@davemloft.net>
1322
1323 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1324 difference between 32-bit and 64-bit.
1325
d7e06450
CD
13262013-07-15 Carlos O'Donell <carlos@redhat.com>
1327
1328 [BZ #15711]
1329 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1330 Avoid system header dependency with -ffreestanding.
1331 ($(objpfx)bits/syscall%d): Likewise.
1332
f959cfd7
DM
13332013-07-13 David S. Miller <davem@davemloft.net>
1334
1335 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1336 underflows from atanl/atan2l due to bug 15319.
1337 (casinh_test_data): Likewise.
1338
c61f8513
DM
13392013-07-07 David S. Miller <davem@davemloft.net>
1340
1341 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1342
72c90ed0
JA
13432013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
1344
1345 * sysdeps/i386/fpu/libm-test-ulps: Update.
1346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1347
52dfbe13
SP
13482013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1349
1350 * configure.in (--enable-lock-elision): Fix message text.
1351 * INSTALL: Regenerate.
1352 * configure: Regenerate.
1353
3f169543
AZ
13542013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1355
1356 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1357
521c6785
AJ
13582013-07-03 Andreas Jaeger <aj@suse.de>
1359
1360 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1361 define.
1362 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1363 (ptrace_peeksiginfo_args): Add.
1364 (__ptrace_peeksiginfo_flags): Add.
1365 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1366 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1367 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1368
d2cc15cb
AM
13692013-07-03 Allan McRae <allan@archlinux.org>
1370
1371 * sysdeps/i386/fpu/libm-test-ulps: Update.
1372
3aaeeca7
DM
13732013-07-02 David S. Miller <davem@davemloft.net>
1374
1375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1376
5314ed1a
MT
13772013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1378
1379 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1380
67338156
JM
13812013-07-02 Joseph Myers <joseph@codesourcery.com>
1382
1383 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1385
1717da59
AK
13862013-07-02 Andi Kleen <ak@linux.intel.com>
1387
1388 * config.h.in (ENABLE_LOCK_ELISION): Add.
1389 * configure.in (--enable-lock-elision): Add option.
1390 * manual/install.texi: Document --enable lock elision.
1391 * configure: Regenerate
1392 * INSTALL: Regenerate.
1393
1c81621c
L
13942013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1395
1396 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1397 SSE4.2 strcasecmp for libc.a.
1398 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1399
77f01ab5
JM
14002013-07-02 Joseph Myers <joseph@codesourcery.com>
1401
1402 [BZ #13304]
1403 * soft-fp/op-common.h (_FP_FMA): New macro.
1404 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1405 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
1406 (_FP_MUL_MEAT_1_imm): ... here.
1407 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
1408 (_FP_MUL_MEAT_1_wide): ... here.
1409 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
1410 (_FP_MUL_MEAT_1_hard): ... here.
1411 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1412 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
1413 (_FP_MUL_MEAT_2_wide): ... here.
1414 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
1415 (_FP_MUL_MEAT_2_wide_3mul): ... here.
1416 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
1417 (_FP_MUL_MEAT_2_gmp): ... here.
1418 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1419 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
1420 (_FP_MUL_MEAT_4_wide): ... here.
1421 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
1422 (_FP_MUL_MEAT_4_gmp): ... here.
1423 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1424 (_FP_WFRACBITS_DW_S): Likewise.
1425 (_FP_WFRACXBITS_DW_S): Likewise.
1426 (_FP_HIGHBIT_DW_S): Likewise.
1427 (FP_FMA_S): Likewise.
1428 (_FP_FRAC_HIGH_DW_S): Likewise.
1429 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1430 (_FP_WFRACBITS_DW_D): Likewise.
1431 (_FP_WFRACXBITS_DW_D): Likewise.
1432 (_FP_HIGHBIT_DW_D): Likewise.
1433 (FP_FMA_D): Likewise.
1434 (_FP_FRAC_HIGH_DW_D): Likewise.
1435 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1436 (_FP_WFRACBITS_DW_E): Likewise.
1437 (_FP_WFRACXBITS_DW_E): Likewise.
1438 (_FP_HIGHBIT_DW_E): Likewise.
1439 (FP_FMA_E): Likewise.
1440 (_FP_FRAC_HIGH_DW_E): Likewise.
1441 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1442 (_FP_WFRACBITS_DW_Q): Likewise.
1443 (_FP_WFRACXBITS_DW_Q): Likewise.
1444 (_FP_HIGHBIT_DW_Q): Likewise.
1445 (FP_FMA_Q): Likewise.
1446 (_FP_FRAC_HIGH_DW_Q): Likewise.
1447 * soft-fp/fmasf4.c: New file.
1448 * soft-fp/fmadf4.c: Likewise.
1449 * soft-fp/fmatf4.c: Likewise.
1450
6308fd9a
LD
14512013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1452
1453 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1454 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1455 Silvermont.
1456 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1457 macro.
1458 (index_Slow_SSE4_2): Likewise.
1459 (index_Prefer_PMINUB_for_stringop): Likewise.
1460 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1461 bit_Slow_SSE4_2 is set.
1462 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1463 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1464
89cd9569
RA
14652013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1466
1467 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1468 rtld_global._dl_hwcap2.
1469 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1470 POWER8.
1471 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1472 POWER8 feature descriptions defined in _dl_hwcap2.
1473 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1474 string handling for POWER8 feature bits.
1475 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1476 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1477 _dl_powerpc_cap_flags.
1478 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1479 * sysdeps/powerpc/rtld-global-offsets.sym
1480 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1481 _dl_hwcap2 in the rtld_global_ro structure.
1482
1ae8bfe0
RA
14832013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1484
1485 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1486 hardware capabilities in support of AT_HWCAP2.
1487 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1488 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1489 GLRO(dl_hwcap2).
1490 (_dl_show_auxv): Add support for calling _dl_procinfo to display
1491 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1492 explicitly the unknown a_type display mechanism is used.
1493 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1494 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1495 struct member.
1496 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1497 to macro prototype for AT_HWCAP2 support.
1498 * sysdeps/i386/dl-procinfo.h: Likewise.
1499 * sysdeps/s390/dl-procinfo.h: Likewise.
1500 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1501 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1502 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1503 return -1 for unknown a_type display fallback.
1504 * sysdeps/sparc/dl-procinfo.h: Likewise.
1505 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1506 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1507
8fbec010
JM
15082013-06-28 Joseph Myers <joseph@codesourcery.com>
1509
1510 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1511 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1512
0432680e
PY
15132013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1514
1515 [BZ #12492]
1516 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1517 mprotect making __stack_prot writable.
1518
ce61a2ad
NF
15192013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1520 Joseph Myers <joseph@codesourcery.com>
1521
1522 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1523 as being properly aligned.
1524
f91f1c0f
MR
15252013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1526
3d0f5d0c
MR
1527 * dlfcn/modstatic5.c: New file.
1528 * dlfcn/tststatic5.c: New file.
1529 * dlfcn/Makefile (tests): Add tststatic5.
1530 (tests-static): Likewise.
1531 (modules-names): Add modstatic5.
1532 (tststatic5-ENV): New variable.
1533 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1534
f91f1c0f
MR
1535 [BZ #15022]
1536 * elf/dl-support.c (_dl_main_map): New variable.
1537 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1538 (_dl_nns, _dl_load_adds): Set to 1.
1539 (_dl_initial_searchlist): Refer to _dl_main_map.
1540 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1541 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1542 call to _dl_get_origin.
1543 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1544 around call_map.
1545 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1546 * dlfcn/modstatic3.c: New file.
1547 * dlfcn/tststatic3.c: New file.
1548 * dlfcn/tststatic4.c: New file.
1549 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1550 (tests-static): Likewise.
1551 (modules-names): Add modstatic3.
1552 (tststatic3-ENV, tststatic4-ENV): New variables.
1553 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1554 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1555
cbe7d24b
JM
15562013-06-26 Joseph Myers <joseph@codesourcery.com>
1557
1558 * configure.in (CC): Require GCC version 4.4 or later.
1559 * configure: Regenerated.
1560 * manual/install.texi (Tools for Compilation): Update GCC version
1561 requirement.
1562 * INSTALL: Regenerated.
1563
11b8a0e1
LD
15642013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1565
1566 [BZ #15674]
bb5bb87c
L
1567 * string/test-memcmp.c (check2): New.
1568 (main): Call check2.
1569
11b8a0e1
LD
1570 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1571
b0037103
MR
15722013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1573
1574 [BZ #15022]
1575 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1576 over to...
1577 (dl_open_worker) [!SHARED]: ... here.
1578
c18c701d
RA
15792013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1580
1581 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1582
1d17fa5f
RH
15832013-06-25 Richard Henderson <rth@redhat.com>
1584
1585 * locale/programs/locarchive.c: Include <libc-internal.h>
1586
8fcb833a
JM
15872013-06-25 Joseph Myers <joseph@codesourcery.com>
1588
1589 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1590 trailing whitespace removed.
1591
17db6e8d
MF
15922013-06-24 Mike Frysinger <vapier@gentoo.org>
1593
1594 [BZ #10283]
17db6e8d
MF
1595 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1596 * locale/programs/locarchive.c: Include libc-mmap.h.
1597 (prepare_address_space): Take two new outputs (the mmap base and len).
1598 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1599 values.
1600 (create_archive): Declare new mmap base and len values for
1601 prepare_address_space, and store the result in ah.
1602 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1603 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1604 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1605 Declare new mmap base and len values for
1606 prepare_address_space, and store the result in new_ah.
1607 (open_archive): Declare new mmap base and len values for
1608 prepare_address_space, and store the result in ah.
1609 (close_archive): If ah->mmap_base is not NULL, use that and
1610 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1611 * sysdeps/generic/libc-mmap.h: New file.
1612
d605071e
MF
16132013-06-24 Mike Frysinger <vapier@gentoo.org>
1614
1615 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1616 (ALIGN_UP): Likewise.
1617 (PTR_ALIGN_DOWN): Likewise.
1618 (PTR_ALIGN_UP): Likewise.
1619
2f063a6e
RA
16202013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1621
1622 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1623 entry mapped to PPC_PLATFORM_POWER8.
1624 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1625 POWER8.
1626 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1627 (_dl_string_platform): Add case for exporting platform position for
1628 POWER8.
1629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1630 search path to sysdeps/powerpc/powerpc32/power8 directory.
1631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1632 search path to sysdeps/powerpc/powerpc64/power8 directory.
1633 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1634 power7 directories.
1635 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1636 power7 directories.
1637
a31ee4b3
SP
16382013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1639
a74ca98f
SP
1640 * INSTALL: Regenerate.
1641
a31ee4b3
SP
1642 * nscd/connections.c (nscd_init): Fix comment.
1643
695c378f
JM
16442013-06-22 Joseph Myers <joseph@codesourcery.com>
1645
d8412221
JM
1646 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1647
695c378f
JM
1648 [BZ #15667]
1649 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1650 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1651
d1d54715
MR
16522013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1653
1654 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1655 DL_DST_REQ_STATIC.
1656 (DL_DST_REQ_STATIC): Remove macro.
1657
8fdda7af
JM
16582013-06-21 Joseph Myers <joseph@codesourcery.com>
1659
1660 [BZ #7006]
1661 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1662 with a shift of 0 bits.
1663
f3bc5e5a
MR
16642013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1665
1666 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1667 $(tststatic-ENV).
1668
be09e8c9
KK
16692013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1670
1671 [BZ #15655]
1672 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1673
85c2e611
AZ
16742013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1675
1676 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1677 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1678 accepts -fno-tree-loop-distribute-patterns.
1679 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1680 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1681 recursive call.
1682 * string/memset.c (memset): Likewise.
1683 * string/test-memmove.c (simple_memmove): Disable loop transformation
1684 to library calls.
1685 * string/test-memset.c (simple_memset): Likewise.
1686 * benchtests/bench-memmove.c (simple_memmove): Likewise.
1687 * benchtests/bench-memset.c (simple_memset): Likewise.
1688 * configure: Regenerated.
1689
c91e0825
JM
16902013-06-20 Joseph Myers <joseph@codesourcery.com>
1691
b8c792af
JM
1692 * math/test-misc.c (main): Ignore fesetround failure when failures
1693 of subsequent rounding tests would be ignored.
1694
c91e0825
JM
1695 [BZ #15654]
1696 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1697 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1698 * math/fegetenv.c (__fegetenv): Return 0.
1699 * math/fegetexcept.c (fegetexcept): Return 0.
1700 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1701 FE_TONEAREST.
1702 * math/feholdexcpt.c (feholdexcept): Return 0.
1703 * math/fesetenv.c (__fesetenv): Return 0.
1704 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1705 argument FE_TONEAREST.
1706 * math/feupdateenv.c (__feupdateenv): Return 0.
1707 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1708
bfcacbde
RM
17092013-06-18 Roland McGrath <roland@hack.frob.com>
1710
1711 * elf/rtld-Rules (rtld-compile-command.S): New variable.
1712 (rtld-compile-command.s, rtld-compile-command.c): New variables.
1713 ($(objpfx)rtld-%.os rules): Use them.
1714
e55a9b25
AZ
17152013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1716
1717 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1718 fields.
1719
346d65b3
RM
17202013-06-17 Roland McGrath <roland@hack.frob.com>
1721
12086fb4
RM
1722 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1723 length of target pattern, then descending length of dependency pattern.
1724 * configure.in (AWK): Require gawk 3.1.2 or newer.
1725 * manual/install.texi (Tools for Compilation): Say that we do.
1726 * configure: Regenerated.
1727
346d65b3
RM
1728 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1729 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1730 * scripts/sysd-rules.awk: ... this new script.
1731 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1732 than a glob-style pattern.
1733
1a846317
JM
17342013-06-17 Joseph Myers <joseph@codesourcery.com>
1735
1736 * math/test-misc.c (main): Do not treat incorrectly rounded
1737 conversions as failure unless ROUNDING_TESTS passes.
1738
8fc75e6f
JM
17392013-06-15 Joseph Myers <joseph@codesourcery.com>
1740
3711a167
JM
1741 [BZ #15631]
1742 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1743 restore exception state around main square root computation, then
1744 check for inexactness explicitly.
1745
8fc75e6f
JM
1746 * math/libm-test.inc (fma_test_data): Add another test.
1747
61dd6208
SP
17482013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1749
adf23d2c
SP
1750 * manual/threads.texi (Non-POSIX Extensions): New document
1751 node. Document pthread_getattr_default_np and
1752 pthread_setattr_default_np.
1753
61dd6208
SP
1754 * Versions.def (libpthread): Add GLIBC_2.18.
1755 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1757 Likewise.
1758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1759 Likewise.
1760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1761 Likewise.
1762 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1763 Likewise.
1764 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1765 Likewise.
1766 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1767 Likewise.
1768 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1769 Likewise.
1770 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1771 Likewise.
1772 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1773 Likewise.
1774
d086fc7b
LD
17752013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1776
1777 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1778 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1779
747ef469
SP
17802013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1781 H.J. Lu <hjl.tools@gmail.com>
1782
1783 [BZ #15627]
1784 * sysdeps/x86_64/rtld-memset.c: Remove file.
1785 * sysdeps/x86_64/rtld-memset.S: New file.
1786
1b2feed2
JM
17872013-06-14 Joseph Myers <joseph@codesourcery.com>
1788
1789 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1790 (test_in_one_mode): Take arguments for whether the rounding mode
1791 is supported for each floating-point type.
1792 (do_test): Pass new arguments to test_in_one_mode using
1793 ROUNDING_TESTS.
1794
a58ad3f8
RM
17952013-06-13 Roland McGrath <roland@hack.frob.com>
1796
1797 * posix/tst-waitid.c (do_test): Distinguish different instances of
1798 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
1799 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1800 before entering the kernel for waitpid.
1801
c204ab28
SP
18022013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1803
1804 * NEWS: Fix note on clock function precision. Text by Roland
1805 McGrath.
1806
f4a29fba
RM
18072013-06-13 Roland McGrath <roland@hack.frob.com>
1808
1809 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1810 it into place only when and if the sanity check passes.
1811
1f24b9ad
JM
18122013-06-13 Joseph Myers <joseph@codesourcery.com>
1813
1814 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
1815 output for whether conversion result is exact. Take argument
1816 indicating whether type is IBM long double.
1817 (round_for_all): Change need_exact field to ibm_ld.
1818 * stdlib/tst-strtod-round.c (struct exactness): New type.
1819 (struct test): Change bool ld_ok field to struct exactness exact.
1820 (TEST): Update all definitions for change to field.
1821 (tests): Regenerate array contents.
1822 (test_in_one_mode): Take pointer to new field instead of old ld_ok
1823 field value. Check for IBM long double here.
1824 (do_test): Update calls to test_in_one_mode.
1825
58206c68
SP
18262013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1827
1828 [BZ #12515]
1829 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1830 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1831
2d6f4c5b 18322013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
1833
1834 [BZ #15605]
1835 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1836 generated by the compiler on loop optimizations.
1837 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1838 general definitions.
1839
94f2c076
JM
18402013-06-12 Joseph Myers <joseph@codesourcery.com>
1841
1842 * math/bug-nextafter.c: Include <math-tests.h>.
1843 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1844 the relevant type.
1845 * math/bug-nexttoward.c: Include <math-tests.h>.
1846 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1847 the relevant type.
1848 * math/test-misc.c: Include <math-tests.h>.
1849 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1850 the relevant type.
1851
e0e50a0a
AJ
18522013-06-12 Andreas Jaeger <aj@suse.de>
1853
1854 * po/ia.po: Update Interlingua translation from translation
1855 project.
1856
25061094
SP
18572013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1858
1859 * include/fenv.h: Include stdbool.h.
1860 (struct rm_ctx): New structure.
1861 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1862 Define macro.
1863 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1864 (SET_RESTORE_ROUNDF): Likewise.
1865 (SET_RESTORE_ROUNDL): Likewise.
1866 (SET_RESTORE_ROUND_NOEX): Likewise.
1867 (SET_RESTORE_ROUND_NOEXF): Likewise.
1868 (SET_RESTORE_ROUND_NOEXL): Likewise.
1869 (SET_RESTORE_ROUND_53BIT): Likewise.
1870 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1871 (libc_feresetround_noexf_ctx): Likewise.
1872 (libc_feresetround_noexl_ctx): Likewise.
1873 (libc_feholdsetround_53bit_ctx): Likewise.
1874 (libc_feresetround_53bit_ctx): Likewise.
1875 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1876 (libc_feholdexcept_setround_sse_ctx): New function.
1877 (libc_fesetenv_sse_ctx): Likewise.
1878 (libc_feupdateenv_sse_ctx): Likewise.
1879 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1880 (libc_feholdexcept_setround_387_ctx): Likewise.
1881 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1882 (libc_feholdsetround_387_prec_ctx): Likewise.
1883 (libc_feholdsetround_387_ctx): Likewise.
1884 (libc_feholdsetround_387_53bit_ctx): Likewise.
1885 (libc_feholdsetround_sse_ctx): Likewise.
1886 (libc_feresetround_sse_ctx): Likewise.
1887 (libc_feresetround_387_ctx): Likewise.
1888 (libc_feupdateenv_387_ctx): Likewise.
1889 (libc_feholdexcept_setroundf_ctx): Define macro.
1890 (libc_fesetenvf_ctx): Likewise.
1891 (libc_feupdateenvf_ctx): Likewise.
1892 (libc_feholdsetroundf_ctx): Likewise.
1893 (libc_feresetroundf_ctx): Likewise.
1894 (libc_feholdexcept_setround_ctx): Likewise.
1895 (libc_fesetenv_ctx): Likewise.
1896 (libc_feupdateenv_ctx): Likewise.
1897 (libc_feholdsetround_ctx): Likewise.
1898 (libc_feresetround_ctx): Likewise.
1899 (libc_feholdexcept_setroundl_ctx): Likewise.
1900 (libc_feupdateenvl_ctx): Likewise.
1901 (libc_feholdsetroundl_ctx): Likewise.
1902 (libc_feresetroundl_ctx): Likewise.
1903 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1904 (libc_feresetround_53bit_ctx): Likewise.
1905
59b30555
SP
19062013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1907
1908 * locale/iso-639.def: Convert to UTF-8.
1909
f1d73d30
JM
19102013-06-11 Joseph Myers <joseph@codesourcery.com>
1911
1912 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1913 (EXCEPTION_TESTS_double): Likewise.
1914 (EXCEPTION_TESTS_long_double): Likewise.
1915 (EXCEPTION_TESTS): Likewise.
1916 * math/libm-test.inc (test_exceptions): Only test exceptions if
1917 EXCEPTION_TESTS (FLOAT).
1918
94aca5e7
SP
19192013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1920
1921 * benchtests/Makefile (string-bench): Add strcpy_chk and
1922 stpcpy_chk.
1923 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1924 * benchtests/bench-stpcpy_chk.c: New file.
1925 * benchtests/bench-strcpy_chk-ifunc.c: New file.
1926 * benchtests/bench-strcpy_chk.c: New file.
1927 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1928 code.
1929 (do_test): Likewise.
1930
fac0c5f2
RA
19312013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1932
1933 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1934 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1935 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1936 with tabs where appropriate.
1937 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1938 dl-procinfo.h.
1939 [PPC_PLATFORM_PPC440]: Likewise.
1940 [PPC_PLATFORM_PPC464]: Likewise.
1941 [PPC_PLATFORM_PPC476]: Likewise.
1942 (_dl_string_platform): Add support for detecting ppc405, ppc440,
1943 ppc464, and ppc476 platform strings merging from ports/
1944 dl-procinfo.h.
1945
f22bc486
AS
19462013-06-11 Andreas Schwab <schwab@suse.de>
1947
1948 [BZ #14991]
1949 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1950 (from_ucs4_idx): Regenerate.
1951 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1952 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1953 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1954 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1955 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1956 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1957 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1958 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1959 from FROM_LOOP and TO_LOOP specific macros.
1960 (BODY): Handle combining characters.
1961 * iconvdata/BIG5HKSCS.irreversible: Update.
1962 * iconvdata/BIG5HKSCS.precomposed: New file.
1963 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1964 characters.
1965 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1966
c1f75dc3
SP
19672013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1968
4eacded2
SP
1969 * include/sys/time.h: Fix indentation and add copyright header.
1970
fec799f8
SP
1971 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1972 (do_test): Likewise.
1973 * string/test-memchr.c (do_one_test): Likewise.
1974 (do_test): Likewise.
1975 * string/test-memcmp.c (do_one_test): Likewise.
1976 (do_test): Likewise.
1977 * string/test-memcpy.c (do_one_test): Likewise.
1978 (do_test): Likewise.
1979 * string/test-memmem.c (do_one_test): Likewise.
1980 (do_test): Likewise.
1981 (do_random_tests): Likewise.
1982 * string/test-memmove.c (do_one_test): Likewise.
1983 (do_test): Likewise.
1984 * string/test-memset.c (do_one_test): Likewise.
1985 (do_test): Likewise.
1986 * string/test-rawmemchr.c (do_one_test): Likewise.
1987 (do_test): Likewise.
1988 * string/test-strcasecmp.c (do_one_test): Likewise.
1989 (do_test): Likewise.
1990 * string/test-strcasestr.c (do_one_test): Likewise.
1991 (do_test): Likewise.
1992 * string/test-strcat.c (do_one_test): Likewise.
1993 (do_test): Likewise.
1994 * string/test-strchr.c (do_one_test): Likewise.
1995 (do_test): Likewise.
1996 * string/test-strcmp.c (do_one_test): Likewise.
1997 (do_test): Likewise.
1998 * string/test-strcpy.c (do_one_test): Likewise.
1999 (do_test): Likewise.
2000 * string/test-string.h: Likewise.
2001 (test_init): Likewise.
2002 * string/test-strlen.c (do_one_test): Likewise.
2003 (do_test): Likewise.
2004 * string/test-strncasecmp.c (do_one_test): Likewise.
2005 (do_test): Likewise.
2006 * string/test-strncat.c (do_one_test): Likewise.
2007 (do_test): Likewise.
2008 * string/test-strncmp.c (do_one_test): Likewise.
2009 (do_test_limit): Likewise.
2010 (do_test): Likewise.
2011 * string/test-strncpy.c (do_one_test): Likewise.
2012 (do_test): Likewise.
2013 * string/test-strnlen.c (do_one_test): Likewise.
2014 (do_test): Likewise.
2015 * string/test-strpbrk.c (do_one_test): Likewise.
2016 (do_test): Likewise.
2017 * string/test-strrchr.c (do_one_test): Likewise.
2018 (do_test): Likewise.
2019 * string/test-strspn.c (do_one_test): Likewise.
2020 (do_test): Likewise.
2021 * string/test-strstr.c (do_one_test): Likewise.
2022 (do_test): Likewise.
2023
97020474
SP
2024 * benchtests/Makefile (string-bench): Add string benchmarks.
2025 * benchtests/bench-bcopy-ifunc.c: New file.
2026 * benchtests/bench-bcopy.c: New file.
2027 * benchtests/bench-bzero-ifunc.c: New file.
2028 * benchtests/bench-bzero.c: New file.
2029 * benchtests/bench-memccpy-ifunc.c: New file.
2030 * benchtests/bench-memccpy.c: New file.
2031 * benchtests/bench-memchr-ifunc.c: New file.
2032 * benchtests/bench-memchr.c: New file.
2033 * benchtests/bench-memcmp-ifunc.c: New file.
2034 * benchtests/bench-memcmp.c: New file.
2035 * benchtests/bench-memmem-ifunc.c: New file.
2036 * benchtests/bench-memmem.c: New file.
2037 * benchtests/bench-memmove-ifunc.c: New file.
2038 * benchtests/bench-memmove.c: New file.
2039 * benchtests/bench-mempcpy-ifunc.c: New file.
2040 * benchtests/bench-mempcpy.c: New file.
2041 * benchtests/bench-memset-ifunc.c: New file.
2042 * benchtests/bench-memset.c: New file.
2043 * benchtests/bench-rawmemchr-ifunc.c: New file.
2044 * benchtests/bench-rawmemchr.c: New file.
2045 * benchtests/bench-stpcpy-ifunc.c: New file.
2046 * benchtests/bench-stpcpy.c: New file.
2047 * benchtests/bench-stpncpy-ifunc.c: New file.
2048 * benchtests/bench-stpncpy.c: New file.
2049 * benchtests/bench-strcasecmp-ifunc.c: New file.
2050 * benchtests/bench-strcasecmp.c: New file.
2051 * benchtests/bench-strcasestr-ifunc.c: New file.
2052 * benchtests/bench-strcasestr.c: New file.
2053 * benchtests/bench-strcat-ifunc.c: New file.
2054 * benchtests/bench-strcat.c: New file.
2055 * benchtests/bench-strchr-ifunc.c: New file.
2056 * benchtests/bench-strchr.c: New file.
2057 * benchtests/bench-strchrnul-ifunc.c: New file.
2058 * benchtests/bench-strchrnul.c: New file.
2059 * benchtests/bench-strcmp-ifunc.c: New file.
2060 * benchtests/bench-strcmp.c: New file.
2061 * benchtests/bench-strcpy-ifunc.c: New file.
2062 * benchtests/bench-strcpy.c: New file.
2063 * benchtests/bench-strcspn-ifunc.c: New file.
2064 * benchtests/bench-strcspn.c: New file.
2065 * benchtests/bench-strlen-ifunc.c: New file.
2066 * benchtests/bench-strlen.c: New file.
2067 * benchtests/bench-strncasecmp-ifunc.c: New file.
2068 * benchtests/bench-strncasecmp.c: New file.
2069 * benchtests/bench-strncat-ifunc.c: New file.
2070 * benchtests/bench-strncat.c: New file.
2071 * benchtests/bench-strncmp-ifunc.c: New file.
2072 * benchtests/bench-strncmp.c: New file.
2073 * benchtests/bench-strncpy-ifunc.c: New file.
2074 * benchtests/bench-strncpy.c: New file.
2075 * benchtests/bench-strnlen-ifunc.c: New file.
2076 * benchtests/bench-strnlen.c: New file.
2077 * benchtests/bench-strpbrk-ifunc.c: New file.
2078 * benchtests/bench-strpbrk.c: New file.
2079 * benchtests/bench-strrchr-ifunc.c: New file.
2080 * benchtests/bench-strrchr.c: New file.
2081 * benchtests/bench-strspn-ifunc.c: New file.
2082 * benchtests/bench-strspn.c: New file.
2083 * benchtests/bench-strstr-ifunc.c: New file.
2084 * benchtests/bench-strstr.c: New file.
2085
c1f75dc3
SP
2086 * benchtests/Makefile: Disable parallel execution of targets.
2087 (string-bench): Add memcpy.
2088 (benchset): New variable to store a list of benchmark sets.
2089 (bench-func): Renamed from bench.
2090 (bench-set): New target.
2091 (bench): Depend on bench-func and bench-set.
2092 * benchtests/README: Add section on benchmark sets.
2093 * benchtests/bench-memcpy-ifunc.c: New file.
2094 * benchtests/bench-memcpy.c: New file.
2095 * benchtests/bench-string.h: New file.
2096
50fd745b
AS
20972013-06-11 Andreas Schwab <schwab@suse.de>
2098
2099 [BZ #15577]
2100 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2101 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2102 values in the triple.
2103 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2104 terminator in the group key.
2105
3ee7e9fe
AJ
21062013-06-11 Andreas Jaeger <aj@suse.de>
2107
2108 * po/zh_TW.po: Update Chinese (traditional) translation from
2109 translation project.
2110
89fb6835
SP
21112013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2112
2113 * include/time.h (__clock_gettime): Add libc_hidden_proto.
2114 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
2115 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
2116 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2117 (clock_getcpuclockid): Likewise.
2118 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
2119 Add weak_alias and libc_hidden_def.
2120 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2121 * rt/clock_gettime.c (clock_gettime): Rename to
2122 __clock_gettime. Add weak_alias and libc_hidden_def.
2123 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
2124 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
2125 __clock_nanosleep. Add weak_alias and libc_hidden_def.
2126 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
2127 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
2128 Likewise.
2129 * rt/clock_settime.c (clock_settime): Rename to
2130 __clock_settime. Add weak_alias and libc_hidden_def.
2131 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
2132
0efa6f8b
JM
21332013-06-10 Joseph Myers <joseph@codesourcery.com>
2134
b8c61b4b
JM
2135 * mach/err_boot.sub: Remove trailing whitespace.
2136 * mach/err_ipc.sub: Likewise.
2137 * mach/err_mach.sub: Likewise.
2138
0efa6f8b
JM
2139 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
2140 (ROUNDING_TESTS_double): Likewise.
2141 (ROUNDING_TESTS_long_double): Likewise.
2142 (ROUNDING_TESTS): Likewise.
2143 * math/libm-test.inc: Include <math-tests.h>.
2144 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2145 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2146 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2147 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2148
50b818bf
SP
21492013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2150
2151 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2152 of assigning.
2153
60d2f8f3
JM
21542013-06-08 Joseph Myers <joseph@codesourcery.com>
2155
4902d2c3
JM
2156 * sysdeps/gnu/errlist.awk: Do not generate space at end of
2157 otherwise empty TRANS lines.
2158 * sysdeps/gnu/errlist.c: Regenerated.
2159
60d2f8f3
JM
2160 * catgets/gencat.c (error_print): Use (void) in function
2161 definition.
2162 * crypt/crypt_util.c (__init_des): Likewise.
2163 * crypt/speeds.c (Stop): Likewise.
2164 (main): Likewise.
2165 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2166 * inet/ruserpass.c (token): Likewise.
2167 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2168 * intl/localealias.c (extend_alias_table): Likewise.
2169 * intl/plural-exp.c (init_germanic_plural): Likewise.
2170 * libio/fcloseall.c (__fcloseall): Likewise.
2171 * libio/genops.c (_IO_flush_all): Likewise.
2172 (_IO_flush_all_linebuffered): Likewise.
2173 (_IO_cleanup): Likewise.
2174 (_IO_iter_begin): Likewise.
2175 (_IO_iter_end): Likewise.
2176 (_IO_list_lock): Likewise.
2177 (_IO_list_unlock): Likewise.
2178 (_IO_list_resetlock): Likewise.
2179 * libio/getchar.c (getchar): Likewise.
2180 * libio/getchar_u.c (getchar_unlocked): Likewise.
2181 * libio/getwchar.c (getwchar): Likewise.
2182 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2183 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2184 * login/getpt.c (__getpt): Likewise.
2185 * login/tst-utmp.c (main): Likewise.
2186 * malloc/hooks.c (__malloc_check_init): Likewise.
2187 * malloc/malloc.c (__malloc_stats): Likewise.
2188 * malloc/mtrace.c (tr_break): Likewise.
2189 (mtrace): Likewise.
2190 (muntrace): Likewise.
2191 * misc/fstab.c (endfsent): Likewise.
2192 * misc/getclktck.c (__getclktck): Likewise.
2193 * misc/getdtsz.c (__getdtablesize): Likewise.
2194 * misc/gethostid.c (gethostid): Likewise.
2195 * misc/getpagesize.c (__getpagesize): Likewise.
2196 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2197 (__get_nprocs): Likewise.
2198 (__get_phys_pages): Likewise.
2199 (__get_avphys_pages): Likewise.
2200 * misc/getttyent.c (getttyent): Likewise.
2201 (setttyent): Likewise.
2202 (endttyent): Likewise.
2203 * misc/getusershell.c (getusershell): Likewise.
2204 (endusershell): Likewise.
2205 (setusershell): Likewise.
2206 (initshells): Likewise.
2207 * misc/hsearch.c (__hdestroy): Likewise.
2208 * misc/sync.c (sync): Likewise.
2209 * misc/syslog.c (closelog_internal): Likewise.
2210 (closelog): Likewise.
2211 * misc/ttyslot.c (ttyslot): Likewise.
2212 * misc/vhangup.c (vhangup): Likewise.
2213 * posix/fork.c (__fork): Likewise.
2214 * posix/getegid.c (__getegid): Likewise.
2215 * posix/geteuid.c (__geteuid): Likewise.
2216 * posix/getgid.c (__getgid): Likewise.
2217 * posix/getpid.c (__getpid): Likewise.
2218 * posix/getppid.c (__getppid): Likewise.
2219 * posix/getuid.c (__getuid): Likewise.
2220 * posix/pause.c (pause): Likewise.
2221 * posix/setpgrp.c (setpgrp): Likewise.
2222 * posix/setsid.c (__setsid): Likewise.
2223 * posix/test-vfork.c (noop): Likewise.
2224 * resolv/gethnamaddr.c (_endhtent): Likewise.
2225 (_gethtent): Likewise.
2226 (ht_endhostent): Likewise.
2227 (gethostent): Likewise.
2228 (dns_service): Likewise.
2229 * stdlib/drand48.c (drand48): Likewise.
2230 * stdlib/lrand48.c (lrand48): Likewise.
2231 * stdlib/mrand48.c (mrand48): Likewise.
2232 * stdlib/rand.c (rand): Likewise.
2233 * stdlib/random.c (__random): Likewise.
2234 * stdlib/setenv.c (clearenv): Likewise.
2235 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2236 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2237 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2238 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2239 (__get_nprocs): Likewise.
2240 (__get_phys_pages): Likewise.
2241 (__get_avphys_pages): Likewise.
2242 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2243 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2244 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2245 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2246 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2247 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2248 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2249 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2250 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2251 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2252 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2253 * sysdeps/mach/hurd/sync.c (sync): Likewise.
2254 * sysdeps/posix/clock.c (clock): Likewise.
2255 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2256 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2257 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2258 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2259 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2260 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2261 (__get_nprocs_conf): Likewise.
2262 (__get_phys_pages): Likewise.
2263 (__get_avphys_pages): Likewise.
2264 * time/clock.c (clock): Likewise.
2265 * time/tzset.c (__tzname_max): Likewise.
2266
2e09a79a
JM
22672013-06-07 Joseph Myers <joseph@codesourcery.com>
2268
2269 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2270 (__bswap_32): Do not use "register".
2271 * crypt/crypt.c (_ufc_doit_r): Likewise.
2272 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2273 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2274 * gmon/gmon.c (__monstartup): Likewise.
2275 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2276 * hurd/hurdmalloc.c (more_memory): Likewise.
2277 (malloc): Likewise.
2278 (free): Likewise.
2279 (realloc): Likewise.
2280 (malloc_fork_prepare): Likewise.
2281 (malloc_fork_parent): Likewise.
2282 (malloc_fork_child): Likewise.
2283 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2284 (_svcauth_des): Likewise.
2285 * inet/inet_lnaof.c (inet_lnaof): Likewise.
2286 * inet/inet_net.c (inet_network): Likewise.
2287 * inet/inet_netof.c (inet_netof): Likewise.
2288 * inet/rcmd.c (__validuser2_sa): Likewise.
2289 * io/fts.c (fts_open): Likewise.
2290 (fts_load): Likewise.
2291 (fts_close): Likewise.
2292 (fts_read): Likewise.
2293 (fts_children): Likewise.
2294 (fts_build): Likewise.
2295 (fts_stat): Likewise.
2296 (fts_sort): Likewise.
2297 (fts_alloc): Likewise.
2298 (fts_lfree): Likewise.
2299 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2300 (_IO_file_xsgetn): Likewise.
2301 (_IO_file_xsgetn_mmap): Likewise.
2302 * libio/iofopncook.c (_IO_cookie_read): Likewise.
2303 (_IO_cookie_write): Likewise.
2304 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2305 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2306 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2307 * malloc/obstack.c (_obstack_begin): Likewise.
2308 (_obstack_begin_1): Likewise.
2309 (_obstack_newchunk): Likewise.
2310 (_obstack_allocated_p): Likewise.
2311 (obstack_free): Likewise.
2312 (_obstack_memory_used): Likewise.
2313 * misc/getttyent.c (getttynam): Likewise.
2314 (getttyent): Likewise.
2315 (skip): Likewise.
2316 (value): Likewise.
2317 * misc/getusershell.c (initshells): Likewise.
2318 * misc/syslog.c (__vsyslog_chk): Likewise.
2319 * misc/ttyslot.c (ttyslot): Likewise.
2320 * nis/nis_hash.c (__nis_hash): Likewise.
2321 * posix/fnmatch_loop.c (FCT): Likewise.
2322 * posix/getconf.c (print_all): Likewise.
2323 (main): Likewise.
2324 * posix/getopt.c (exchange): Likewise.
2325 * posix/glob.c (globfree): Likewise.
2326 (prefix_array): Likewise.
2327 (__glob_pattern_type): Likewise.
2328 * resolv/arpa/nameser.h (NS_GET16): Likewise.
2329 (NS_GET32): Likewise.
2330 (NS_PUT16): Likewise.
2331 (NS_PUT32): Likewise.
2332 * resolv/gethnamaddr.c (getanswer): Likewise.
2333 (gethostbyname2): Likewise.
2334 (gethostbyaddr): Likewise.
2335 (_gethtent): Likewise.
2336 (_gethtbyname2): Likewise.
2337 (_gethtbyaddr): Likewise.
2338 * resolv/ns_print.c (dst_s_get_int16): Likewise.
2339 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2340 * resolv/res_init.c (__res_vinit): Likewise.
2341 (net_mask): Likewise.
2342 * resolv/res_mkquery.c (outchar): Likewise.
2343 (PRINT): Likewise.
2344 * stdio-common/printf_fp.c (outchar): Likewise.
2345 (PRINT): Likewise.
2346 * stdio-common/printf_fphex.c (outchar): Likewise.
2347 (PRINT): Likewise.
2348 * stdio-common/printf_size.c (outchar): Likewise.
2349 (PRINT): Likewise.
2350 * stdio-common/test_rdwr.c (main): Likewise.
2351 * stdio-common/tfformat.c (matches): Likewise.
2352 * stdio-common/vfprintf.c (outchar): Likewise.
2353 (printf_unknown): Likewise.
2354 (buffered_vfprintf): Likewise.
2355 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2356 * stdio-common/xbug.c (AppendToBuffer): Likewise.
2357 (ReadFile): Likewise.
2358 * stdlib/qsort.c (SWAP): Likewise.
2359 (_quicksort): Likewise.
2360 * stdlib/setenv.c (__add_to_environ): Likewise.
2361 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2362 * stdlib/strtol_l.c (__strtol_l): Likewise.
2363 * stdlib/tst-strtod.c (main): Likewise.
2364 * stdlib/tst-strtol.c (main): Likewise.
2365 * stdlib/tst-strtoll.c (main): Likewise.
2366 * string/bits/string2.h (__strcmp_cc): Likewise.
2367 (__strcmp_cg): Likewise.
2368 (__strcspn_c1): Likewise.
2369 (__strcspn_c2): Likewise.
2370 (__strcspn_c3): Likewise.
2371 (__strspn_c1): Likewise.
2372 (__strspn_c2): Likewise.
2373 (__strspn_c3): Likewise.
2374 (__strsep_1c): Likewise.
2375 (__strsep_2c): Likewise.
2376 (__strsep_3c): Likewise.
2377 * string/memccpy.c (__memccpy): Likewise.
2378 * string/stpcpy.c (__stpcpy): Likewise.
2379 * string/strcmp.c (strcmp): Likewise.
2380 * string/strrchr.c (strrchr): Likewise.
2381 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2382 Likewise.
2383 * sysdeps/mach/hurd/getcwd.c
2384 (_hurd_canonicalize_directory_name_internal): Likewise.
2385 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2386 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2387 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2388 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2389 Likewise, in both definitions.
2390 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2391 definitions.
2392 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2393 64] (__bswap_64): Likewise.
2394 * time/test_time.c (main): Likewise.
2395 * time/tzfile.c (__tzfile_read): Likewise.
2396 (__tzfile_compute): Likewise.
2397 * time/tzset.c (__tzset_parse_tz): Likewise.
2398 (tzset_internal): Likewise.
2399 (compute_change): Likewise.
2400 * wcsmbs/wcscat.c (__wcscat): Likewise.
2401 * wcsmbs/wcschr.c (wcschr): Likewise.
2402 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2403 * wcsmbs/wcscspn.c (wcscspn): Likewise.
2404 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2405 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2406 * wcsmbs/wcsspn.c (wcsspn): Likewise.
2407 * wcsmbs/wcsstr.c (wcsstr): Likewise.
2408 * wcsmbs/wmemchr.c (wmemchr): Likewise.
2409 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2410 * wcsmbs/wmemset.c (wmemset): Likewise.
2411
9e54314b
JM
24122013-06-06 Joseph Myers <joseph@codesourcery.com>
2413
2414 * scripts/config.guess: Update to version 2013-05-16.
2415 * scripts/config.sub: Update to version 2013-04-24.
2416 * scripts/install-sh: Update to version 2011-11-20.07.
2417 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2418 * scripts/move-if-change: Update to version 2012-01-06 07:23.
2419
350635a5
OB
24202013-06-06 Ondřej Bílka <neleai@seznam.cz>
2421
2422 * debug/fgetws_u_chk.c: Fix leading whitespaces.
2423 * elf/sln.c: Likewise.
2424 * hurd/hurd/ioctl.h: Likewise.
2425 * hurd/hurdmalloc.c: Likewise.
2426 * hurd/xattr.c: Likewise.
2427 * include/shlib-compat.h: Likewise.
2428 * inet/ruserpass.c: Likewise.
2429 * libio/iofgets_u.c: Likewise.
2430 * libio/iofgetws_u.c: Likewise.
2431 * locale/programs/ld-identification.c: Likewise.
2432 * locale/programs/ld-time.c: Likewise.
2433 * mach/msg-destroy.c: Likewise.
2434 * nss/nss_files/files-netgrp.c: Likewise.
2435 * resolv/res_data.c: Likewise.
2436 * soft-fp/op-1.h: Likewise.
2437 * soft-fp/op-2.h: Likewise.
2438 * soft-fp/op-4.h: Likewise.
2439 * soft-fp/op-common.h: Likewise.
2440 * stdio-common/printf_fphex.c: Likewise.
2441 * stdlib/strtod_l.c: Likewise.
2442 * sunrpc/rpc/clnt.h: Likewise.
2443 * sysdeps/generic/framestate.c: Likewise.
2444 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2445 * sysdeps/i386/bsd-setjmp.S: Likewise.
2446 * sysdeps/i386/__longjmp.S: Likewise.
2447 * sysdeps/i386/setjmp.S: Likewise.
2448 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2449 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2450 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2451 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2452 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2453 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2454 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2455 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2456 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2457 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2458 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2459 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2460 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2461 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2462 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2463 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2464 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2465 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2466 * sysdeps/ieee754/support.c: Likewise.
2467 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2468 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2469 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2470 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2471 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2472 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2473 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2474 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2475 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2476 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2477 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2478 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2479 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2480 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2481 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2482 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2483 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2485
44a988af
OB
24862013-06-05 Ondřej Bílka <neleai@seznam.cz>
2487
25506f09 2488 * posix/transbug.c: Remove executable mode.
44a988af 2489
9c84384c
JM
24902013-06-05 Joseph Myers <joseph@codesourcery.com>
2491
2492 * crypt/speeds.c: Remove trailing whitespace.
2493 * dlfcn/default.c: Likewise.
2494 * elf/ifuncdep2.c: Likewise.
2495 * elf/ifuncmain1.c: Likewise.
2496 * elf/ifuncmain1vis.c: Likewise.
2497 * elf/testobj.h: Likewise.
2498 * elf/tst-stackguard1.c: Likewise.
2499 * gmon/sys/gmon.h: Likewise.
2500 * hurd/hurdmsg.c: Likewise.
2501 * hurd/new-fd.c: Likewise.
2502 * hurd/ports-get.c: Likewise.
2503 * iconvdata/ibm1008_420.c: Likewise.
2504 * inet/tst-getni1.c: Likewise.
2505 * inet/tst-getni2.c: Likewise.
2506 * libio/ioungetc.c: Likewise.
2507 * libio/wfiledoalloc.c: Likewise.
2508 * manual/libm-err-tab.pl: Likewise.
2509 * math/w_dremf.c: Likewise.
2510 * misc/ftruncate.c: Likewise.
2511 * posix/bug-glob2.c: Likewise.
2512 * posix/tst-pcre.c: Likewise.
2513 * posix/wait4.c: Likewise.
2514 * resolv/README: Likewise.
2515 * resolv/res_debug.h: Likewise.
2516 * resolv/tst-inet_ntop.c: Likewise.
2517 * setjmp/bug269-setjmp.c: Likewise.
2518 * soft-fp/extended.h: Likewise.
2519 * soft-fp/op-1.h: Likewise.
2520 * soft-fp/op-2.h: Likewise.
2521 * soft-fp/op-4.h: Likewise.
2522 * soft-fp/op-8.h: Likewise.
2523 * soft-fp/testit.c: Likewise.
2524 * stdio-common/bug16.c: Likewise.
2525 * stdlib/random.c: Likewise.
2526 * sunrpc/rpcsvc/rquota.x: Likewise.
2527 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2528 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2529 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2530 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2531 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2532 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2533 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2534 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2535 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2536 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2537 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2538 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2539 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2540 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2541 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2542 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2543 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2544 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2545 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2546 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2547 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2548 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2549 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2550 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2551 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2552 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2553 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2554 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2555 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2556 * sysdeps/ieee754/s_lib_version.c: Likewise.
2557 * sysdeps/mach/hurd/check_fds.c: Likewise.
2558 * sysdeps/mach/hurd/getsockname.c: Likewise.
2559 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2560 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2561 * sysdeps/powerpc/bits/link.h: Likewise.
2562 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2563 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2564 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2565 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2566 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2567 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2568 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2569 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2570 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2571 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2572 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2573 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2574 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2575 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2576 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2577 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2578 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2579 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2580 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2581 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2582 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2583 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2584 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2585 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2586 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2587 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2588 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2589 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2590 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2591 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2592 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2593 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2594 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2595 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2596 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2597 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2598 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2599 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2600 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2601 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2602 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2603 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2604 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2605 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2606 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2607 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2608 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2609 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2610 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2611 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2612 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2613 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2614 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2615 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2616 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2617 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2618 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2619 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2620 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2621 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2622 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2623 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2624 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2625 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2626 * sysdeps/powerpc/sysdep.h: Likewise.
2627 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2628 * sysdeps/s390/s390-64/sub_n.S: Likewise.
2629 * sysdeps/sh/dl-trampoline.S: Likewise.
2630 * sysdeps/sh/memset.S: Likewise.
2631 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2632 * sysdeps/sh/strlen.S: Likewise.
2633 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2634 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2635 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2636 * sysdeps/sparc/sparc32/rem.S: Likewise.
2637 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2638 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2639 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2640 * sysdeps/sparc/sparc32/udiv.S: Likewise.
2641 * sysdeps/sparc/sparc32/urem.S: Likewise.
2642 * sysdeps/sparc/sparc64/add_n.S: Likewise.
2643 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2644 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2645 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2646 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2647 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2648 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2649 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2650 * sysdeps/unix/bsd/times.c: Likewise.
2651 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2652 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2656 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2657 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2658 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2659 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2660 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2661 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2662 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2663 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2664 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2665 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2666 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2667 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2668 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2669 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2670 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2671 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2672 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2673 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2674 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2675 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2676 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2677 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2678 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2679 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2680 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2681 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2682 * sysdeps/x86_64/strcspn.S: Likewise.
2683
869378a5
RA
26842013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2685
2686 * locale/C-translit.h: Revert #include <stdint.h> because this is a
2687 generated file. Regenerate properly from gen-translit.pl.
2688 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
2689 locale/C-translit.h.
2690
840e2943
AS
26912013-06-05 Andreas Schwab <schwab@suse.de>
2692
2693 [BZ #15100]
2694 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2695 week as 6 instead of -1.
2696 * time/tst-strptime.c (day_tests): Add test case.
2697
4c60cb0c
SP
26982013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2699
2700 * sysdeps/generic/math_private.h
2701 (libc_feholdexcept_setround_53bit): Replace with
2702 libc_feholdsetround_53bit.
2703 (libc_feupdateenv_53bit): Replace with
2704 libc_feresetround_53bit.
2705 (SET_RESTORE_ROUND_53BIT): Adjust.
2706
d180203e
SP
27072013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2708
96df079a
SP
2709 * string/test-strchrnul.c: Add copyright header.
2710
d180203e
SP
2711 * posix/tst-getaddrinfo4.c: Increase test timeout.
2712
8b0ccb2d
CD
27132013-06-03 Carlos O'Donell <carlos@redhat.com>
2714
2715 [BZ #15536]
2716 * math/libm-test.inc (MAX_EXP): Remove
2717 (MIN_EXP): Define.
2718 (ulp): Use MIN_EXP - MANT_DIG.
2719 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2720
3b3c4d40
CD
27212013-05-31 Carlos O'Donell <carlos@redhat.com>
2722
2723 * po/be.po: Revert last change.
2724 * po/zh_CN.po: Likewise.
2725 * po/header.pot: Likewise.
2726
fab7ce3f
JM
27272013-05-31 Joseph Myers <joseph@codesourcery.com>
2728
2729 * Makefile ($(common-objpfx)linkobj/libc.so): Define
2730 link-libc-deps to empty as target-specific variable.
2731 * Makerules (link-libc-args): New variable.
2732 (libc-for-link): Likewise.
2733 (link-libc-deps): Likewise.
2734 (lib%.so): Depend on $(link-libc-deps). Link with
2735 $(link-libc-args).
2736 (build-module): Link with $(link-libc-args).
2737 (build-module-asneeded): Likewise.
2738 (build-module-helper-objlist): Filter out $(link-libc-deps) from
2739 list of objects.
2740 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2741 target-specific variable.
2742 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2743 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2744 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2745 libc.
2746 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2747 libc and ld.so.
2748 ($(objpfx)libpcprofile.so): Likewise.
2749 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2750 libc_nonshared.a.
2751 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2752 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2753 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2754 $(link-libc-deps).
2755 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2756 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2757 * login/Makefile ($(objpfx)libutil.so): Likewise.
2758 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2759 * math/Makefile ($(objpfx)libm.so): Likewise.
2760 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2761 $(objpfx)libnsl.so): Define libc-for-link as target-specific
2762 variable instead of depending directly on libc.
2763 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2764 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2765 $(link-libc-deps).
2766 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2767 libc.
2768 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2769 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2770 ($(objpfx)libanl.so): Likewise.
2771 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2772 ld.so.
2773 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2774 $(link-libc-deps).
2775 * sysdeps/i386/fpu/Makefile: Remove file.
2776 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2777 ($(objpfx)libm.so): Remove dependency on ld.so.
2778
eca5920c
PF
27792013-05-30 Patsy Franklin <pfrankli@redhat.com>
2780
2781 [BZ # 15553]
2782 * nis/yp_xdr.c (XDRMAXNAME): Define.
2783 (XDRMAXRECORD): Define.
2784 (xdr_domainname): Use XDRMAXNAME.
2785 (xdr_mapname): Likewise.
2786 (xdr_peername): Likewise.
2787 (xdr_keydat): Use XDRMAXRECORD.
2788 (xdr_valdat): Likewise.
2789
27902013-05-30 Jeff Law <law@redhat.com>
96945714
JL
2791
2792 [BZ #14256]
2793 * manual/errno.texi (ESTALE): Update to account for more than
2794 just NFS file systems.
2795 * sysdeps/gnu/errlist.c: Regenerated.
2796
b9375348
SP
27972013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2798
2799 [BZ #15465]
2800 * elf/Makefile (tests): Add tst-null-argv.
2801 (modules-names): Add tst-null-argv-lib.
2802 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2803 (tst-null-argv-ENV): Set environment for tst-null-argv.
2804 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2805 (RTLD_PROGNAME): New macro.
2806 * elf/tst-null-argv.c: New test case.
2807 * elf/tst-null-argv-lib.c: Library for test case.
2808 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2809 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2810 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2811 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2812 * elf/dl-init.c (call_init): Likewise.
2813 (_dl_init): Likewise.
2814 * elf/dl-load.c (print_search_path): Likewise.
2815 (_dl_map_object): Likewise.
2816 * elf/dl-lookup.c (do_lookup_x): Likewise.
2817 (add_dependency): Likewise.
2818 (_dl_lookup_symbol_x): Likewise.
2819 (_dl_debug_bindings): Likewise.
2820 * elf/dl-open.c (_dl_show_scope): Likewise.
2821 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2822 * elf/dl-version.c (match_symbol): Likewise.
2823 (_dl_check_map_versions): Likewise.
2824 * elf/rtld.c (dl_main): Likewise.
2825 (print_unresolved): Use RTLD_PROGNAME.
2826 (print_missing_version): Likewise.
2827 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2828 (elf_machine_rela): Likewise.
2829 * sysdeps/powerpc/powerpc32/dl-machine.c
2830 (__process_machine_rela): Likewise.
2831 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2832 Likewise.
2833 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2834 Likewise.
2835 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2836 Likewise.
2837 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2838 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2839 Likewise.
2840 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2841 Likewise.
2842 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2843
8a9f20c8
CD
28442013-05-28 Carlos O'Donell <carlos@redhat.com>
2845
2846 * po/be.po: Add descriptive title.
2847 * po/zh_CN.po: Likewise.
2848 * po/header.pot: Likewise.
2849
0e60d68e
MF
28502013-05-28 Mike Frysinger <vapier@gentoo.org>
2851
2852 * locale/programs/locarchive.c (create_archive): Inlucde fname in
2853 error message.
2854 (enlarge_archive): Likewise.
2855
56b672e9
BN
28562013-05-28 Ben North <ben@redfrontdoor.org>
2857
2858 * manual/arith.texi (frexp): It is the magnitude of the return
2859 value which lies in [0.5, 1), not the return value itself.
2860
5e056687
AZ
28612013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2862
2863 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2864
2b66ef5d
TS
28652013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2866
528c2405
TS
2867 * stdio-common/bug26.c (main): Correct fscanf template.
2868
07b4c13d
TS
2869 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2870 declare _dl_skip_args.
2871
ec9dd97c
TS
2872 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2873 Don't declare.
2874
2b66ef5d
TS
2875 * manual/platform.texi: Add missing @end deftypefun.
2876
4f8dfe27
JM
28772013-05-24 Joseph Myers <joseph@codesourcery.com>
2878
0323d086
JM
2879 [BZ #15529]
2880 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2881 bit of mantissa of 2^16382.
2882 * math/libm-test.inc (hypot_test_data): Add more tests.
2883
dd4259b9
JM
2884 * math/libm-test.inc: Add drem and pow10 to list of tested
2885 functions.
2886 (pow10_test): New function.
2887 (drem_test): Likewise.
2888 (drem_test_tonearest): Likewise.
2889 (drem_test_towardzero): Likewise.
2890 (drem_test_downward): Likewise.
2891 (drem_test_upward): Likewise.
2892 (main): Call the new functions.
2893
4f8dfe27
JM
2894 * math/libm-test.inc (finite_test_data): Remove.
2895 (finite_test): Run tests from isfinite_test_data.
2896 (gamma_test_data): Remove.
2897 (gamma_test): Run tests from lgamma_test_data.
2898 * sysdeps/i386/fpu/libm-test-ulps: Update.
2899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2900
d116b7c4
AZ
29012013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2902
2903 * manual/platform.texi: Add PowerPC PPR function set documentation.
2904 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2905 implementation.
2906
e96e3767
CD
29072013-05-24 Carlos O'Donell <carlos@redhat.com>
2908
2909 * math/libm-test.inc (MAX_EXP): Define.
2910 (ULPDIFF): Define.
2911 (ulp): New function.
2912 (check_float_internal): Use ULPDIFF.
2913 (cpow_test): Disable failing test.
2914 (check_ulp): Test ulp() implemetnation.
2915 (main): Call check_ulp before starting tests.
2916
b679a606
JM
29172013-05-24 Joseph Myers <joseph@codesourcery.com>
2918
e8bdba36
JM
2919 * math/gen-libm-test.pl (generate_testfile): Do not handle
2920 START_DATA and END_DATA.
2921 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2922 END_DATA.
2923 (acos_tonearest_test_data): Likewise.
2924 (acos_towardzero_test_data): Likewise.
2925 (acos_downward_test_data): Likewise.
2926 (acos_upward_test_data): Likewise.
2927 (acosh_test_data): Likewise.
2928 (asin_test_data): Likewise.
2929 (asin_tonearest_test_data): Likewise.
2930 (asin_towardzero_test_data): Likewise.
2931 (asin_downward_test_data): Likewise.
2932 (asin_upward_test_data): Likewise.
2933 (asinh_test_data): Likewise.
2934 (atan_test_data): Likewise.
2935 (atanh_test_data): Likewise.
2936 (atan2_test_data): Likewise.
2937 (cabs_test_data): Likewise.
2938 (cacos_test_data): Likewise.
2939 (cacosh_test_data): Likewise.
2940 (carg_test_data): Likewise.
2941 (casin_test_data): Likewise.
2942 (casinh_test_data): Likewise.
2943 (catan_test_data): Likewise.
2944 (catanh_test_data): Likewise.
2945 (cbrt_test_data): Likewise.
2946 (ccos_test_data): Likewise.
2947 (ccosh_test_data): Likewise.
2948 (ceil_test_data): Likewise.
2949 (cexp_test_data): Likewise.
2950 (cimag_test_data): Likewise.
2951 (clog_test_data): Likewise.
2952 (clog10_test_data): Likewise.
2953 (conj_test_data): Likewise.
2954 (copysign_test_data): Likewise.
2955 (cos_test_data): Likewise.
2956 (cos_tonearest_test_data): Likewise.
2957 (cos_towardzero_test_data): Likewise.
2958 (cos_downward_test_data): Likewise.
2959 (cos_upward_test_data): Likewise.
2960 (cosh_test_data): Likewise.
2961 (cosh_tonearest_test_data): Likewise.
2962 (cosh_towardzero_test_data): Likewise.
2963 (cosh_downward_test_data): Likewise.
2964 (cosh_upward_test_data): Likewise.
2965 (cpow_test_data): Likewise.
2966 (cproj_test_data): Likewise.
2967 (creal_test_data): Likewise.
2968 (csin_test_data): Likewise.
2969 (csinh_test_data): Likewise.
2970 (csqrt_test_data): Likewise.
2971 (ctan_test_data): Likewise.
2972 (ctan_tonearest_test_data): Likewise.
2973 (ctan_towardzero_test_data): Likewise.
2974 (ctan_downward_test_data): Likewise.
2975 (ctan_upward_test_data): Likewise.
2976 (ctanh_test_data): Likewise.
2977 (ctanh_tonearest_test_data): Likewise.
2978 (ctanh_towardzero_test_data): Likewise.
2979 (ctanh_downward_test_data): Likewise.
2980 (ctanh_upward_test_data): Likewise.
2981 (erf_test_data): Likewise.
2982 (erfc_test_data): Likewise.
2983 (exp_test_data): Likewise.
2984 (exp_tonearest_test_data): Likewise.
2985 (exp_towardzero_test_data): Likewise.
2986 (exp_downward_test_data): Likewise.
2987 (exp_upward_test_data): Likewise.
2988 (exp10_test_data): Likewise.
2989 (exp2_test_data): Likewise.
2990 (expm1_test_data): Likewise.
2991 (fabs_test_data): Likewise.
2992 (fdim_test_data): Likewise.
2993 (finite_test_data): Likewise.
2994 (floor_test_data): Likewise.
2995 (fma_test_data): Likewise.
2996 (fma_towardzero_test_data): Likewise.
2997 (fma_downward_test_data): Likewise.
2998 (fma_upward_test_data): Likewise.
2999 (fmax_test_data): Likewise.
3000 (fmin_test_data): Likewise.
3001 (fmod_test_data): Likewise.
3002 (fpclassify_test_data): Likewise.
3003 (frexp_test_data): Likewise.
3004 (gamma_test_data): Likewise.
3005 (hypot_test_data): Likewise.
3006 (ilogb_test_data): Likewise.
3007 (isfinite_test_data): Likewise.
3008 (isgreater_test_data): Likewise.
3009 (isgreaterequal_test_data): Likewise.
3010 (isinf_test_data): Likewise.
3011 (isless_test_data): Likewise.
3012 (islessequal_test_data): Likewise.
3013 (islessgreater_test_data): Likewise.
3014 (isnan_test_data): Likewise.
3015 (isnormal_test_data): Likewise.
3016 (issignaling_test_data): Likewise.
3017 (isunordered_test_data): Likewise.
3018 (j0_test_data): Likewise.
3019 (j1_test_data): Likewise.
3020 (jn_test_data): Likewise.
3021 (ldexp_test_data): Likewise.
3022 (lgamma_test_data): Likewise.
3023 (lrint_test_data): Likewise.
3024 (lrint_tonearest_test_data): Likewise.
3025 (lrint_towardzero_test_data): Likewise.
3026 (lrint_downward_test_data): Likewise.
3027 (lrint_upward_test_data): Likewise.
3028 (llrint_test_data): Likewise.
3029 (llrint_tonearest_test_data): Likewise.
3030 (llrint_towardzero_test_data): Likewise.
3031 (llrint_downward_test_data): Likewise.
3032 (llrint_upward_test_data): Likewise.
3033 (log_test_data): Likewise.
3034 (log10_test_data): Likewise.
3035 (log1p_test_data): Likewise.
3036 (log2_test_data): Likewise.
3037 (logb_test_data): Likewise.
3038 (logb_downward_test_data): Likewise.
3039 (lround_test_data): Likewise.
3040 (llround_test_data): Likewise.
3041 (modf_test_data): Likewise.
3042 (nearbyint_test_data): Likewise.
3043 (nextafter_test_data): Likewise.
3044 (nexttoward_test_data): Likewise.
3045 (pow_test_data): Likewise.
3046 (pow_tonearest_test_data): Likewise.
3047 (pow_towardzero_test_data): Likewise.
3048 (pow_downward_test_data): Likewise.
3049 (pow_upward_test_data): Likewise.
3050 (remainder_test_data): Likewise.
3051 (remainder_tonearest_test_data): Likewise.
3052 (remainder_towardzero_test_data): Likewise.
3053 (remainder_downward_test_data): Likewise.
3054 (remainder_upward_test_data): Likewise.
3055 (remquo_test_data): Likewise.
3056 (rint_test_data): Likewise.
3057 (rint_tonearest_test_data): Likewise.
3058 (rint_towardzero_test_data): Likewise.
3059 (rint_downward_test_data): Likewise.
3060 (rint_upward_test_data): Likewise.
3061 (round_test_data): Likewise.
3062 (scalb_test_data): Likewise.
3063 (scalbn_test_data): Likewise.
3064 (scalbln_test_data): Likewise.
3065 (signbit_test_data): Likewise.
3066 (sin_test_data): Likewise.
3067 (sin_tonearest_test_data): Likewise.
3068 (sin_towardzero_test_data): Likewise.
3069 (sin_downward_test_data): Likewise.
3070 (sin_upward_test_data): Likewise.
3071 (sincos_test_data): Likewise.
3072 (sinh_test_data): Likewise.
3073 (sinh_tonearest_test_data): Likewise.
3074 (sinh_towardzero_test_data): Likewise.
3075 (sinh_downward_test_data): Likewise.
3076 (sinh_upward_test_data): Likewise.
3077 (sqrt_test_data): Likewise.
3078 (tan_test_data): Likewise.
3079 (tan_tonearest_test_data): Likewise.
3080 (tan_towardzero_test_data): Likewise.
3081 (tan_downward_test_data): Likewise.
3082 (tan_upward_test_data): Likewise.
3083 (tanh_test_data): Likewise.
3084 (tgamma_test_data): Likewise.
3085 (trunc_test_data): Likewise.
3086 (y0_test_data): Likewise.
3087 (y1_test_data): Likewise.
3088 (yn_test_data): Likewise.
3089 (significand_test_data): Likewise.
3090
b679a606
JM
3091 * math/gen-libm-test.pl (@functions): Remove variable.
3092 (generate_testfile): Don't handle START and END lines.
3093 * math/libm-test.inc (START): New macro.
3094 (END): Likewise.
3095 (END_COMPLEX): Likewise.
3096 (acos_test): Use END macro without arguments.
3097 (acos_test_tonearest): Likewise.
3098 (acos_test_towardzero): Likewise.
3099 (acos_test_downward): Likewise.
3100 (acos_test_upward): Likewise.
3101 (acosh_test): Likewise.
3102 (asin_test): Likewise.
3103 (asin_test_tonearest): Likewise.
3104 (asin_test_towardzero): Likewise.
3105 (asin_test_downward): Likewise.
3106 (asin_test_upward): Likewise.
3107 (asinh_test): Likewise.
3108 (atan_test): Likewise.
3109 (atanh_test): Likewise.
3110 (atan2_test): Likewise.
3111 (cabs_test): Likewise.
3112 (cacos_test): Use END_COMPLEX macro without arguments.
3113 (cacosh_test): Likewise.
3114 (carg_test): Use END macro without arguments.
3115 (casin_test): Use END_COMPLEX macro without arguments.
3116 (casinh_test): Likewise.
3117 (catan_test): Likewise.
3118 (catanh_test): Likewise.
3119 (cbrt_test): Use END macro without arguments.
3120 (ccos_test): Use END_COMPLEX macro without arguments.
3121 (ccosh_test): Likewise.
3122 (ceil_test): Use END macro without arguments.
3123 (cexp_test): Use END_COMPLEX macro without arguments.
3124 (cimag_test): Use END macro without arguments.
3125 (clog_test): Use END_COMPLEX macro without arguments.
3126 (clog10_test): Likewise.
3127 (conj_test): Likewise.
3128 (copysign_test): Use END macro without arguments.
3129 (cos_test): Likewise.
3130 (cos_test_tonearest): Likewise.
3131 (cos_test_towardzero): Likewise.
3132 (cos_test_downward): Likewise.
3133 (cos_test_upward): Likewise.
3134 (cosh_test): Likewise.
3135 (cosh_test_tonearest): Likewise.
3136 (cosh_test_towardzero): Likewise.
3137 (cosh_test_downward): Likewise.
3138 (cosh_test_upward): Likewise.
3139 (cpow_test): Use END_COMPLEX macro without arguments.
3140 (cproj_test): Likewise.
3141 (creal_test): Use END macro without arguments.
3142 (csin_test): Use END_COMPLEX macro without arguments.
3143 (csinh_test): Likewise.
3144 (csqrt_test): Likewise.
3145 (ctan_test): Likewise.
3146 (ctan_test_tonearest): Likewise.
3147 (ctan_test_towardzero): Likewise.
3148 (ctan_test_downward): Likewise.
3149 (ctan_test_upward): Likewise.
3150 (ctanh_test): Likewise.
3151 (ctanh_test_tonearest): Likewise.
3152 (ctanh_test_towardzero): Likewise.
3153 (ctanh_test_downward): Likewise.
3154 (ctanh_test_upward): Likewise.
3155 (erf_test): Use END macro without arguments.
3156 (erfc_test): Likewise.
3157 (exp_test): Likewise.
3158 (exp_test_tonearest): Likewise.
3159 (exp_test_towardzero): Likewise.
3160 (exp_test_downward): Likewise.
3161 (exp_test_upward): Likewise.
3162 (exp10_test): Likewise.
3163 (exp2_test): Likewise.
3164 (expm1_test): Likewise.
3165 (fabs_test): Likewise.
3166 (fdim_test): Likewise.
3167 (finite_test): Likewise.
3168 (floor_test): Likewise.
3169 (fma_test): Likewise.
3170 (fma_test_towardzero): Likewise.
3171 (fma_test_downward): Likewise.
3172 (fma_test_upward): Likewise.
3173 (fmax_test): Likewise.
3174 (fmin_test): Likewise.
3175 (fmod_test): Likewise.
3176 (fpclassify_test): Likewise.
3177 (frexp_test): Likewise.
3178 (gamma_test): Likewise.
3179 (hypot_test): Likewise.
3180 (ilogb_test): Likewise.
3181 (isfinite_test): Likewise.
3182 (isgreater_test): Likewise.
3183 (isgreaterequal_test): Likewise.
3184 (isinf_test): Likewise.
3185 (isless_test): Likewise.
3186 (islessequal_test): Likewise.
3187 (islessgreater_test): Likewise.
3188 (isnan_test): Likewise.
3189 (isnormal_test): Likewise.
3190 (issignaling_test): Likewise.
3191 (isunordered_test): Likewise.
3192 (j0_test): Likewise.
3193 (j1_test): Likewise.
3194 (jn_test): Likewise.
3195 (ldexp_test): Likewise.
3196 (lgamma_test): Likewise.
3197 (lrint_test): Likewise.
3198 (lrint_test_tonearest): Likewise.
3199 (lrint_test_towardzero): Likewise.
3200 (lrint_test_downward): Likewise.
3201 (lrint_test_upward): Likewise.
3202 (llrint_test): Likewise.
3203 (llrint_test_tonearest): Likewise.
3204 (llrint_test_towardzero): Likewise.
3205 (llrint_test_downward): Likewise.
3206 (llrint_test_upward): Likewise.
3207 (log_test): Likewise.
3208 (log10_test): Likewise.
3209 (log1p_test): Likewise.
3210 (log2_test): Likewise.
3211 (logb_test): Likewise.
3212 (logb_test_downward): Likewise.
3213 (lround_test): Likewise.
3214 (llround_test): Likewise.
3215 (modf_test): Likewise.
3216 (nearbyint_test): Likewise.
3217 (nextafter_test): Likewise.
3218 (nexttoward_test): Likewise.
3219 (pow_test): Likewise.
3220 (pow_test_tonearest): Likewise.
3221 (pow_test_towardzero): Likewise.
3222 (pow_test_downward): Likewise.
3223 (pow_test_upward): Likewise.
3224 (remainder_test): Likewise.
3225 (remainder_test_tonearest): Likewise.
3226 (remainder_test_towardzero): Likewise.
3227 (remainder_test_downward): Likewise.
3228 (remainder_test_upward): Likewise.
3229 (remquo_test): Likewise.
3230 (rint_test): Likewise.
3231 (rint_test_tonearest): Likewise.
3232 (rint_test_towardzero): Likewise.
3233 (rint_test_downward): Likewise.
3234 (rint_test_upward): Likewise.
3235 (round_test): Likewise.
3236 (scalb_test): Likewise.
3237 (scalbn_test): Likewise.
3238 (scalbln_test): Likewise.
3239 (signbit_test): Likewise.
3240 (sin_test): Likewise.
3241 (sin_test_tonearest): Likewise.
3242 (sin_test_towardzero): Likewise.
3243 (sin_test_downward): Likewise.
3244 (sin_test_upward): Likewise.
3245 (sincos_test): Likewise.
3246 (sinh_test): Likewise.
3247 (sinh_test_tonearest): Likewise.
3248 (sinh_test_towardzero): Likewise.
3249 (sinh_test_downward): Likewise.
3250 (sinh_test_upward): Likewise.
3251 (sqrt_test): Likewise.
3252 (tan_test): Likewise.
3253 (tan_test_tonearest): Likewise.
3254 (tan_test_towardzero): Likewise.
3255 (tan_test_downward): Likewise.
3256 (tan_test_upward): Likewise.
3257 (tanh_test): Likewise.
3258 (tgamma_test): Likewise.
3259 (trunc_test): Likewise.
3260 (y0_test): Likewise.
3261 (y1_test): Likewise.
3262 (yn_test): Likewise.
3263 (significand_test): Likewise.
3264
bae143d2
OB
32652013-05-24 Ondřej Bílka <neleai@seznam.cz>
3266
3267 [BZ #15381]
3268 * libio/genops.c (_IO_no_init): Initialize wide struct info.
3269
9323d39b
EM
32702013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
3271
d4ea44a0 3272 [BZ #14894]
9323d39b
EM
3273 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3274 __ppc_mdoio and __ppc_mdoom.
3275 * manual/platform.texi: Document new functions __ppc_yield,
3276 __ppc_mdoio and __ppc_mdoom.
3277
13e23af7
CD
32782013-05-22 Carlos O'Donell <carlos@redhat.com>
3279
3280 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3281 (main): Mention "tls" pseudo-hwcap is legacy.
3282 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3283
351fe550
JM
32842013-05-22 Joseph Myers <joseph@codesourcery.com>
3285
3286 * math/gen-libm-test.pl (parse_args): Output only string of
3287 arguments as text for test name, not full call or descriptions of
3288 tests for extra outputs.
3289 (generate_testfile): Do not pass function name to parse_args.
3290 Generate this_func variable from START.
3291 * math/libm-test.inc (struct test_f_f_data): Rename test_name
3292 field to arg_str.
3293 (struct test_ff_f_data): Likewise.
3294 (test_ff_f_data_nexttoward): Likewise.
3295 (struct test_fi_f_data): Likewise.
3296 (struct test_fl_f_data): Likewise.
3297 (struct test_if_f_data): Likewise.
3298 (struct test_fff_f_data): Likewise.
3299 (struct test_c_f_data): Likewise.
3300 (struct test_f_f1_data): Likewise. Remove field extra_name.
3301 (struct test_fF_f1_data): Likewise.
3302 (struct test_ffI_f1_data): Likewise.
3303 (struct test_c_c_data): Rename test_name field to arg_str.
3304 (struct test_cc_c_data): Likewise.
3305 (struct test_f_i_data): Likewise.
3306 (struct test_ff_i_data): Likewise.
3307 (struct test_f_l_data): Likewise.
3308 (struct test_f_L_data): Likewise.
3309 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
3310 and extra2_name.
3311 (COMMON_TEST_SETUP): New macro.
3312 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3313 (COMMON_TEST_CLEANUP): Likewise.
3314 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3315 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
3316 macros.
3317 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3318 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
3319 macros.
3320 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3321 (RUN_TEST_fff_f): Take argument string. Call new setup and
3322 cleanup macros.
3323 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3324 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
3325 macros.
3326 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3327 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
3328 macros.
3329 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3330 (RUN_TEST_fF_f1): Take argument string. Call new setup and
3331 cleanup macros.
3332 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3333 (RUN_TEST_fI_f1): Take argument string. Call new setup and
3334 cleanup macros.
3335 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3336 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
3337 cleanup macros.
3338 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3339 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
3340 macros.
3341 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3342 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
3343 macros.
3344 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3345 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
3346 macros.
3347 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3348 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
3349 cleanup macros.
3350 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3351 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
3352 cleanup macros.
3353 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3354 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
3355 macros.
3356 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3357 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
3358 cleanup macros.
3359 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3360 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
3361 macros.
3362 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3363 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
3364 macros.
3365 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3366 (RUN_TEST_fFF_11): Take argument string. Call new setup and
3367 cleanup macros.
3368 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3369
85118d4d
EBM
33702013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3371
3372 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3373 to _sifields.sigfault.
3374 (si_addr_lsb): Define new macro.
3375 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3376 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3377 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3378
7a44c18f
CD
33792013-05-03 Carlos O'Donell <carlos at redhat.com>
3380
3381 [BZ #15441]
3382 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3383 returns -1.
3384 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3385 null return -1.
3386 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3387 loading the domain.
3388
b50a7181
JM
33892013-05-22 Joseph Myers <joseph@codesourcery.com>
3390
3391 * math/gen-libm-test.pl (parse_args): Do not include expected
3392 result in test name.
3393 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3394 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3395 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3396 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3397 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3399
051063c8
SP
34002013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3401
3ce9e010
SP
3402 * benchtests/Makefile: Sort function entries.
3403
051063c8
SP
3404 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3405 tanh, asinh, acosh, atanh.
3406 * benchtests/acos-inputs: New file.
3407 * benchtests/acosh-inputs: New file.
3408 * benchtests/asin-inputs: New file.
3409 * benchtests/asinh-inputs: New file.
3410 * benchtests/atanh-inputs: New file.
3411 * benchtests/cosh-inputs: New file.
3412 * benchtests/log-inputs: New file.
3413 * benchtests/sinh-inputs: New file.
3414 * benchtests/tanh-inputs: New file.
3415
47c22455
DL
34162013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3417
3418 [BZ #15339]
3419 * posix/tst-getaddrinfo4.c: New test.
3420 * posix/Makefile (tests): Add it.
3421
3d04f5db
SP
34222013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3423
3424 [BZ #15339]
3425 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3426 when no services were used.
3427 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3428 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3429
d5dd6189
AS
34302013-05-21 Andreas Schwab <schwab@suse.de>
3431
3432 [BZ #15014]
3433 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3434 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3435 successful.
3436 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3437 redundant variable declarations and reallocation of buffer when
3438 parsing as IPv6 address. Always set NSS status when called from
3439 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
3440 buffer too small. Correct computation of needed size.
3441 * nss/Makefile (tests): Add test-digits-dots.
3442 * nss/test-digits-dots.c: New test.
3443
fef94eab
SP
34442013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3445
3446 * benchtests/Makefile: Remove instructions for adding
3447 benchmark tests.
3448 * benchtests/README: New file to explain how to execute and
3449 enhance the benchmark tests.
3450
e39adf43
AS
34512013-05-21 Andreas Schwab <schwab@suse.de>
3452
3453 [BZ #15493]
3454 * setjmp/Makefile (tests): Add tst-sigsetjmp.
3455 * setjmp/tst-sigsetjmp.c: New test.
3456
b2b671b6
OB
34572013-05-20 Ondřej Bílka <neleai@seznam.cz>
3458
3459 * sysdeps/x86_64/memset.S (memset): New implementation.
3460 (__bzero): Likewise.
3461 (__memset_tail): New function.
3462
2d48b41c
OB
34632013-05-20 Ondřej Bílka <neleai@seznam.cz>
3464
3465 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3466 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3467 __memcpy_sse2_unaligned ifunc selection.
3468 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3469 Add memcpy-sse2-unaligned.S.
3470 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3471 Add: __memcpy_sse2_unaligned.
3472
f16cc3eb
JM
34732013-05-19 Joseph Myers <joseph@codesourcery.com>
3474
3e694268
JM
3475 [BZ #15490]
3476 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3477 math_force_eval before restoring floating-point envrionment.
3478 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3479 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3480 Likewise.
3481 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3482 <math_private.h>.
3483 (__nearbyintl): Use math_force_eval before restoring
3484 floating-point environment.
3485 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3486
db62a907
JM
3487 * math/gen-libm-test.pl (special_functions): Remove.
3488 (parse_args): Don't handle TEST_extra. Handle functions with no
3489 return value.
3490 * math/libm-test.inc (struct test_sincos_data): Replace with
3491 struct test_fFF_11_data.
3492 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3493 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3494 (sincos_test_data): Change element type to struct
3495 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3496 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3497 RUN_TEST_LOOP_sincos.
3498 * math/README.libm-test: Don't mention special handling of
3499 individual functions.
3500 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3501 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3502 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3503 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3504 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3506
f16cc3eb
JM
3507 * math/gen-libm-test.pl (get_variable): Remove function.
3508 (parse_args): Don't show pointer parameters to call in test
3509 names. Use "extra output N" in test names for extra outputs
3510 rather than naming variables.
3511
3779b5b6
JM
35122013-05-18 Joseph Myers <joseph@codesourcery.com>
3513
2ee094ff
JM
3514 [BZ #15488]
3515 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3516 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3517 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3518 double tests.
3519 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3520 disable.
3521 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3522 check_long_double.
3523
3779b5b6
JM
3524 * math/gen-libm-test.pl (@tests): Remove variable.
3525 ($count): Likewise.
3526 (new_test): Remove function.
3527 (show_exceptions): New function.
3528 (special_functions): Use show_exceptions instead of new_test.
3529 (parse_args): Likewise.
3530 (generate_testfile): Pass only function name in generated call to
3531 print_max_error or print_complex_max_error.
3532 (get_ulps): Do not handle complex tests specially.
3533 (output_test): Rename to ...
3534 (get_all_ulps_for_test): ... this. Return a string rather than
3535 printing to a file. Require ulps to be present.
3536 (output_ulps): Generate arrays rather than #defines.
3537 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3538 (struct ulp_data): New type.
3539 (BUILD_COMPLEX_ULP): Remove macro.
3540 (compare_ulp_data): New function.
3541 (find_ulps): Likewise.
3542 (find_test_ulps): Likewise.
3543 (find_function_ulps): Likewise.
3544 (find_complex_function_ulps): Likewise.
3545 (print_max_error): Determine allowed ulps using
3546 find_function_ulps.
3547 (print_complex_max_error): Determine allowed ulps using
3548 find_complex_function_ulps.
3549 (check_float_internal): Determine max ulps using find_test_ulps.
3550 (check_float): Do not take max_ulp parameter. Update call to
3551 check_float_internal.
3552 (check_complex): Likewise.
3553 (check_int): Do not take max_ulp parameter.
3554 (check_long): Likewise.
3555 (check_bool): Likewise.
3556 (check_longlong): Likewise.
3557 (struct test_f_f_data): Remove max_ulp field.
3558 (struct test_ff_f_data): Likewise.
3559 (struct test_ff_f_data_nexttoward): Likewise.
3560 (struct test_fi_f_data): Likewise.
3561 (struct test_fl_f_data): Likewise.
3562 (struct test_if_f_data): Likewise.
3563 (struct test_fff_f_data): Likewise.
3564 (struct test_c_f_data): Likewise.
3565 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3566 (struct test_fF_f1_data): Likewise.
3567 (struct test_ffI_f1_data): Likewise.
3568 (struct test_c_c_data): Remove max_ulp field.
3569 (struct test_cc_c_data): Likewise.
3570 (struct test_f_i_data): Likewise.
3571 (struct test_ff_i_data): Likewise.
3572 (struct test_f_l_data): Likewise.
3573 (struct test_f_L_data): Likewise.
3574 (struct test_sincos_data): Likewise.
3575 (RUN_TEST_f_f): Do not handle ulps.
3576 (RUN_TEST_LOOP_f_f): Likewise.
3577 (RUN_TEST_2_f): Likewise.
3578 (RUN_TEST_LOOP_2_f): Likewise.
3579 (RUN_TEST_fff_f): Likewise.
3580 (RUN_TEST_LOOP_fff_f): Likewise.
3581 (RUN_TEST_c_f): Likewise.
3582 (RUN_TEST_LOOP_c_f): Likewise.
3583 (RUN_TEST_f_f1): Likewise.
3584 (RUN_TEST_LOOP_f_f1): Likewise.
3585 (RUN_TEST_fF_f1): Likewise.
3586 (RUN_TEST_LOOP_fF_f1): Likewise.
3587 (RUN_TEST_fI_f1): Likewise.
3588 (RUN_TEST_LOOP_fI_f1): Likewise.
3589 (RUN_TEST_ffI_f1): Likewise.
3590 (RUN_TEST_LOOP_ffI_f1): Likewise.
3591 (RUN_TEST_c_c): Likewise.
3592 (RUN_TEST_LOOP_c_c): Likewise.
3593 (RUN_TEST_cc_c): Likewise.
3594 (RUN_TEST_LOOP_cc_c): Likewise.
3595 (RUN_TEST_f_i): Likewise.
3596 (RUN_TEST_LOOP_f_i): Likewise.
3597 (RUN_TEST_f_i_tg): Likewise.
3598 (RUN_TEST_LOOP_f_i_tg): Likewise.
3599 (RUN_TEST_ff_i_tg): Likewise.
3600 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3601 (RUN_TEST_f_b): Likewise.
3602 (RUN_TEST_LOOP_f_b): Likewise.
3603 (RUN_TEST_f_b_tg): Likewise.
3604 (RUN_TEST_LOOP_f_b_tg): Likewise.
3605 (RUN_TEST_f_l): Likewise.
3606 (RUN_TEST_LOOP_f_l): Likewise.
3607 (RUN_TEST_f_L): Likewise.
3608 (RUN_TEST_LOOP_f_L): Likewise.
3609 (RUN_TEST_sincos): Likewise.
3610 (RUN_TEST_LOOP_sincos): Likewise.
3611
8269107f
JM
36122013-05-17 Joseph Myers <joseph@codesourcery.com>
3613
bb38759d
JM
3614 [BZ #15480]
3615 [BZ #15485]
3616 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3617 main case of finite arguments, set rounding mode to FE_TONEAREST
3618 and discard exceptions.
3619 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3620 exceptions.
3621 (remainder_tonearest_test_data): New variable.
3622 (remainder_test_tonearest): New function.
3623 (remainder_towardzero_test_data): New variable.
3624 (remainder_test_towardzero): New function.
3625 (remainder_downward_test_data): New variable.
3626 (remainder_test_downward): New function.
3627 (remainder_upward_test_data): New variable.
3628 (remainder_test_upward): New function.
3629 (main): Call the new test functions.
3630
a00bdcf0
JM
3631 * math/libm-test.inc (struct test_f_f1_data): Remove field
3632 extra_init.
3633 (struct test_fF_f1_data): Likewise.
3634 (struct test_ffI_f1_data): Likewise.
3635 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
3636 based on value of EXTRA_EXPECTED.
3637 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3638 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
3639 EXTRA_VAR based on value of EXTRA_EXPECTED.
3640 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3641 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
3642 EXTRA_VAR based on value of EXTRA_EXPECTED.
3643 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3644 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
3645 EXTRA_VAR based on value of EXTRA_EXPECTED.
3646 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3647 * math/gen-libm-test.pl (parse_args): Don't output initializers
3648 for extra output values.
3649
de407f79
JM
3650 * math/libm-test.inc (check_int): Expect result to be exactly
3651 equal to expected value and do not handle ulps.
3652 (check_long): Likewise.
3653 (check_longlong): Likewise.
3654
8269107f
JM
3655 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3656 exceptions.
3657 (cimag_test_data): Likewise.
3658 (conj_test_data): Likewise.
3659 (copysign_test_data): Likewise.
3660 (cproj_test_data): Likewise.
3661 (creal_test_data): Likewise.
3662 (fabs_test_data): Likewise.
3663 (fdim_test_data): Likewise.
3664 (finite_test_data): Likewise.
3665 (floor_test_data): Likewise.
3666 (fmax_test_data): Likewise.
3667 (fmin_test_data): Likewise.
3668 (fmod_test_data): Likewise.
3669 (fpclassify_test_data): Likewise.
3670 (frexp_test_data): Likewise.
3671 (ilogb_test_data): Likewise.
3672 (isfinite_test_data): Likewise.
3673 (isgreater_test_data): Likewise.
3674 (isgreaterequal_test_data): Likewise.
3675 (isinf_test_data): Likewise.
3676 (isless_test_data): Likewise.
3677 (islessequal_test_data): Likewise.
3678 (islessgreater_test_data): Likewise.
3679 (isnan_test_data): Likewise.
3680 (isnormal_test_data): Likewise.
3681 (issignaling_test_data): Likewise.
3682 (isunordered_test_data): Likewise.
3683 (ldexp_test_data): Likewise.
3684 (lrint_test_data): Likewise.
3685 (lrint_test_data) [TEST_FLOAT]: Disable one test.
3686 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3687 (lrint_tonearest_test_data): Test for "inexact" exceptions.
3688 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3689 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3690 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3691 test input.
3692 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3693 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3694 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3695 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3696 that test input.
3697 (lrint_downward_test_data): Test for "inexact" exceptions.
3698 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3699 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3700 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3701 test input.
3702 (lrint_upward_test_data): Test for "inexact" exceptions.
3703 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3704 test input.
3705 (llrint_test_data): Test for "inexact" exceptions.
3706 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3707 (llrint_tonearest_test_data): Test for "inexact" exceptions.
3708 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3709 (llrint_towardzero_test_data): Test for "inexact" exceptions.
3710 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3711 (llrint_downward_test_data): Test for "inexact" exceptions.
3712 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3713 (llrint_upward_test_data): Test for "inexact" exceptions.
3714 (logb_test_data): Likewise.
3715 (logb_downward_test_data): Likewise.
3716 (nextafter_test_data): Likewise.
3717 (nexttoward_test_data): Likewise.
3718 (remainder_test_data): Likewise.
3719 (remquo_test_data): Likewise.
3720 (scalbn_test_data): Likewise.
3721 (scalbln_test_data): Likewise.
3722 (signbit_test_data): Likewise.
3723 (sqrt_test_data): Likewise.
3724 (significand_test_data): Likewise.
3725
48a18de1
SP
37262013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3727
3728 [BZ #15424]
3729 * benchtests/bench-modf.c (struct args): Mark arg0 as
3730 volatile.
3731 * scripts/bench.pl: Mark members of struct args as volatile.
3732
13d3b41a
AZ
37332013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3734
68191c1d 3735 [BZ # 15497]
13d3b41a
AZ
3736 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3737 negative infinity on POWER6 or lower.
3738 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3739
2848b105
MR
37402013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3741
3742 [BZ #15442]
3743 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3744 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3745 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3746 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3747 (_FP_SETQNAN): New macro.
3748 (_FP_SETQNAN_SEMIRAW): Likewise.
3749 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3750 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3751 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3752 (FP_EXTEND): Use _FP_FRAC_SNANP.
3753 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3754 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3755 into account.
3756 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3757 New macro.
3758 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3759 Likewise.
3760
323e5cb7
JM
37612013-05-16 Joseph Myers <joseph@codesourcery.com>
3762
c58b274f
JM
3763 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3764 with DIVIDE_BY_ZERO_EXCEPTION.
3765 (gamma_test_data): Likewise.
3766 (lgamma_test_data): Likewise.
3767 (log_test_data): Likewise.
3768 (log10_test_data): Likewise.
3769 (log2_test_data): Likewise.
3770 (tgamma_test_data): Likewise.
3771
0ab34904
JM
3772 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3773 (acos_test_tonearest): Likewise.
3774 (acos_test_towardzero): Likewise.
3775 (acos_test_downward): Likewise.
3776 (acos_test_upward): Likewise.
3777 (acosh_test): Likewise.
3778 (asin_test): Likewise.
3779 (asin_test_tonearest): Likewise.
3780 (asin_test_towardzero): Likewise.
3781 (asin_test_downward): Likewise.
3782 (asin_test_upward): Likewise.
3783 (asinh_test): Likewise.
3784 (atan_test): Likewise.
3785 (atanh_test): Likewise.
3786 (atan2_test): Likewise.
3787 (cabs_test): Likewise.
3788 (cacos_test): Likewise.
3789 (cacosh_test): Likewise.
3790 (casin_test): Likewise.
3791 (casinh_test): Likewise.
3792 (catan_test): Likewise.
3793 (catanh_test): Likewise.
3794 (cbrt_test): Likewise.
3795 (ccos_test): Likewise.
3796 (ccosh_test): Likewise.
3797 (cexp_test): Likewise.
3798 (clog_test): Likewise.
3799 (clog10_test): Likewise.
3800 (cos_test): Likewise.
3801 (cos_test_tonearest): Likewise.
3802 (cos_test_towardzero): Likewise.
3803 (cos_test_downward): Likewise.
3804 (cos_test_upward): Likewise.
3805 (cosh_test): Likewise.
3806 (cosh_test_tonearest): Likewise.
3807 (cosh_test_towardzero): Likewise.
3808 (cosh_test_downward): Likewise.
3809 (cosh_test_upward): Likewise.
3810 (cpow_test): Likewise.
3811 (csin_test): Likewise.
3812 (csinh_test): Likewise.
3813 (csqrt_test): Likewise.
3814 (ctan_test): Likewise.
3815 (ctan_test_tonearest): Likewise.
3816 (ctan_test_towardzero): Likewise.
3817 (ctan_test_downward): Likewise.
3818 (ctan_test_upward): Likewise.
3819 (ctanh_test): Likewise.
3820 (ctanh_test_tonearest): Likewise.
3821 (ctanh_test_towardzero): Likewise.
3822 (ctanh_test_downward): Likewise.
3823 (ctanh_test_upward): Likewise.
3824 (erf_test): Likewise.
3825 (erfc_test): Likewise.
3826 (exp_test): Likewise.
3827 (exp_test_tonearest): Likewise.
3828 (exp_test_towardzero): Likewise.
3829 (exp_test_downward): Likewise.
3830 (exp_test_upward): Likewise.
3831 (exp10_test): Likewise.
3832 (exp2_test): Likewise.
3833 (expm1_test): Likewise.
3834 (fmod_test): Likewise.
3835 (gamma_test): Likewise.
3836 (hypot_test): Likewise.
3837 (j0_test): Likewise.
3838 (j1_test): Likewise.
3839 (jn_test): Likewise.
3840 (lgamma_test): Likewise.
3841 (log_test): Likewise.
3842 (log10_test): Likewise.
3843 (log1p_test): Likewise.
3844 (log2_test): Likewise.
3845 (logb_test_downward): Likewise.
3846 (pow_test): Likewise.
3847 (pow_test_tonearest): Likewise.
3848 (pow_test_towardzero): Likewise.
3849 (pow_test_downward): Likewise.
3850 (pow_test_upward): Likewise.
3851 (remainder_test): Likewise.
3852 (remquo_test): Likewise.
3853 (sin_test): Likewise.
3854 (sin_test_tonearest): Likewise.
3855 (sin_test_towardzero): Likewise.
3856 (sin_test_downward): Likewise.
3857 (sin_test_upward): Likewise.
3858 (sincos_test): Likewise.
3859 (sinh_test): Likewise.
3860 (sinh_test_tonearest): Likewise.
3861 (sinh_test_towardzero): Likewise.
3862 (sinh_test_downward): Likewise.
3863 (sinh_test_upward): Likewise.
3864 (sqrt_test): Likewise.
3865 (tan_test): Likewise.
3866 (tan_test_tonearest): Likewise.
3867 (tan_test_towardzero): Likewise.
3868 (tan_test_downward): Likewise.
3869 (tan_test_upward): Likewise.
3870 (tanh_test): Likewise.
3871 (tgamma_test): Likewise.
3872 (y0_test): Likewise.
3873 (y1_test): Likewise.
3874 (yn_test): Likewise.
3875
323e5cb7
JM
3876 * math/gen-libm-test.pl (adjust_arg): Remove function.
3877 (special_function): Remove argument $in_func. Only handle
3878 generating output for tables of tests, not inside functions.
3879 (parse_args): Likewise.
3880 (generate_testfile): Remove variable $in_func. Update call to
3881 parse_args.
3882 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3883 (MINUS_ZERO_INIT): Rename macro to minus_zero.
3884 (PLUS_INFTY_INIT): Rename macro to plus_infty.
3885 (MINUS_INFTY_INIT): Rename macro to minus_infty.
3886 (QNAN_VALUE_INIT): Rename macro to qnan_value.
3887 (MAX_VALUE_INIT): Rename macro to max_value.
3888 (MIN_VALUE_INIT): Rename macro to min_value.
3889 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3890 (plus_zero): Remove variable.
3891 (minus_zero): Likewise.
3892 (plus_infty): Likewise.
3893 (minus_infty): Likewise.
3894 (qnan_value): Likewise.
3895 (max_value): Likewise.
3896 (min_value): Likewise.
3897 (min_subnorm_value): Likewise.
3898
e054f494
RA
38992013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3900
3901 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3902 uint64_t or uint32_t usage.
3903 * crypt/sha256-block.c: Likewise.
3904 * crypt/sha256-crypt.c: Likewise.
3905 * crypt/sha256.c: Likewise.
3906 * crypt/sha512-block.c: Likewise.
3907 * crypt/sha512-crypt.c: Likewise.
3908 * crypt/sha512.c: Likewise.
3909 * debug/backtrace-tst.c: Likewise.
3910 * debug/pcprofiledump.c: Likewise.
3911 * elf/cache.c: Likewise.
3912 * elf/dl-cache.c: Likewise.
3913 * elf/dl-misc.c: Likewise.
3914 * elf/dl-profile.c: Likewise.
3915 * elf/dl-support.c: Likewise.
3916 * elf/ldconfig.c: Likewise.
3917 * elf/sprof.c: Likewise.
3918 * iconv/dummy-repertoire.c: Likewise.
3919 * iconv/iconv_charmap.c: Likewise.
3920 * iconv/skeleton.c: Likewise.
3921 * iconvdata/8bit-generic.c: Likewise.
3922 * iconvdata/cp737.h: Likewise.
3923 * iconvdata/cp775.h: Likewise.
3924 * iconvdata/ibm1008.h: Likewise.
3925 * iconvdata/ibm1025.h: Likewise.
3926 * iconvdata/ibm1046.h: Likewise.
3927 * iconvdata/ibm1097.h: Likewise.
3928 * iconvdata/ibm1112.h: Likewise.
3929 * iconvdata/ibm1122.h: Likewise.
3930 * iconvdata/ibm1123.h: Likewise.
3931 * iconvdata/ibm1124.h: Likewise.
3932 * iconvdata/ibm1129.h: Likewise.
3933 * iconvdata/ibm1130.h: Likewise.
3934 * iconvdata/ibm1132.h: Likewise.
3935 * iconvdata/ibm1133.h: Likewise.
3936 * iconvdata/ibm1137.h: Likewise.
3937 * iconvdata/ibm1140.h: Likewise.
3938 * iconvdata/ibm1141.h: Likewise.
3939 * iconvdata/ibm1142.h: Likewise.
3940 * iconvdata/ibm1143.h: Likewise.
3941 * iconvdata/ibm1144.h: Likewise.
3942 * iconvdata/ibm1145.h: Likewise.
3943 * iconvdata/ibm1146.h: Likewise.
3944 * iconvdata/ibm1147.h: Likewise.
3945 * iconvdata/ibm1148.h: Likewise.
3946 * iconvdata/ibm1149.h: Likewise.
3947 * iconvdata/ibm1153.h: Likewise.
3948 * iconvdata/ibm1154.h: Likewise.
3949 * iconvdata/ibm1155.h: Likewise.
3950 * iconvdata/ibm1156.h: Likewise.
3951 * iconvdata/ibm1157.h: Likewise.
3952 * iconvdata/ibm1158.h: Likewise.
3953 * iconvdata/ibm1160.h: Likewise.
3954 * iconvdata/ibm1161.h: Likewise.
3955 * iconvdata/ibm1162.h: Likewise.
3956 * iconvdata/ibm1163.h: Likewise.
3957 * iconvdata/ibm1164.h: Likewise.
3958 * iconvdata/ibm1166.h: Likewise.
3959 * iconvdata/ibm1167.h: Likewise.
3960 * iconvdata/ibm12712.h: Likewise.
3961 * iconvdata/ibm1390.h: Likewise.
3962 * iconvdata/ibm1399.h: Likewise.
3963 * iconvdata/ibm16804.h: Likewise.
3964 * iconvdata/ibm4517.h: Likewise.
3965 * iconvdata/ibm4899.h: Likewise.
3966 * iconvdata/ibm4909.h: Likewise.
3967 * iconvdata/ibm4971.h: Likewise.
3968 * iconvdata/ibm5347.h: Likewise.
3969 * iconvdata/ibm803.h: Likewise.
3970 * iconvdata/ibm856.h: Likewise.
3971 * iconvdata/ibm901.h: Likewise.
3972 * iconvdata/ibm902.h: Likewise.
3973 * iconvdata/ibm9030.h: Likewise.
3974 * iconvdata/ibm9066.h: Likewise.
3975 * iconvdata/ibm921.h: Likewise.
3976 * iconvdata/ibm922.h: Likewise.
3977 * iconvdata/ibm9448.h: Likewise.
3978 * iconvdata/isiri-3342.h: Likewise.
3979 * iconvdata/jis0201.h: Likewise.
3980 * include/link.h: Likewise.
3981 * include/netdb.h: Likewise.
3982 * inet/check_native.c: Likewise.
3983 * inet/check_pf.c: Likewise.
3984 * inet/getipv4sourcefilter.c: Likewise.
3985 * inet/getnameinfo.c: Likewise.
3986 * inet/getsourcefilter.c: Likewise.
3987 * inet/htonl.c: Likewise.
3988 * inet/setipv4sourcefilter.c: Likewise.
3989 * inet/setsourcefilter.c: Likewise.
3990 * inet/test-inet6_opt.c: Likewise.
3991 * inet/tst-network.c: Likewise.
3992 * locale/C-collate.c: Likewise.
3993 * locale/C-ctype.c: Likewise.
3994 * locale/C-time.c: Likewise.
3995 * locale/C-translit.h: Likewise.
3996 * locale/loadarchive.c: Likewise.
3997 * locale/programs/3level.h: Likewise.
3998 * locale/programs/charmap.c: Likewise.
3999 * locale/programs/charmap.h: Likewise.
4000 * locale/programs/ld-address.c: Likewise.
4001 * locale/programs/ld-collate.c: Likewise.
4002 * locale/programs/ld-ctype.c: Likewise.
4003 * locale/programs/ld-identification.c: Likewise.
4004 * locale/programs/ld-measurement.c: Likewise.
4005 * locale/programs/ld-messages.c: Likewise.
4006 * locale/programs/ld-monetary.c: Likewise.
4007 * locale/programs/ld-name.c: Likewise.
4008 * locale/programs/ld-numeric.c: Likewise.
4009 * locale/programs/ld-paper.c: Likewise.
4010 * locale/programs/ld-telephone.c: Likewise.
4011 * locale/programs/ld-time.c: Likewise.
4012 * locale/programs/linereader.c: Likewise.
4013 * locale/programs/locale.c: Likewise.
4014 * locale/programs/locarchive.c: Likewise.
4015 * locale/programs/locfile.h: Likewise.
4016 * locale/programs/repertoire.c: Likewise.
4017 * locale/programs/simple-hash.c: Likewise.
4018 * locale/programs/simple-hash.h: Likewise.
4019 * malloc/memusage.c: Likewise.
4020 * malloc/memusagestat.c: Likewise.
4021 * nis/nis_defaults.c: Likewise.
4022 * nis/nis_hash.c: Likewise.
4023 * nis/nis_print.c: Likewise.
4024 * nis/nis_xdr.c: Likewise.
4025 * nscd/connections.c: Likewise.
4026 * nscd/hstcache.c: Likewise.
4027 * nscd/nscd_gethst_r.c: Likewise.
4028 * nscd/nscd_getserv_r.c: Likewise.
4029 * nscd/nscd_helper.c: Likewise.
4030 * nscd/servicescache.c: Likewise.
4031 * nss/makedb.c: Likewise.
4032 * nss/nss_db/db-XXX.c: Likewise.
4033 * nss/nss_db/db-initgroups.c: Likewise.
4034 * nss/nss_db/db-netgrp.c: Likewise.
4035 * nss/nss_files/files-network.c: Likewise.
4036 * nss/nss_files/files-parse.c: Likewise.
4037 * posix/bug-regex5.c: Likewise.
4038 * posix/fnmatch_loop.c: Likewise.
4039 * posix/regcomp.c: Likewise.
4040 * posix/regexec.c: Likewise.
4041 * posix/tst-rfc3484-2.c: Likewise.
4042 * posix/tst-rfc3484-3.c: Likewise.
4043 * posix/tst-rfc3484.c: Likewise.
4044 * resolv/nss_dns/dns-canon.c: Likewise.
4045 * resolv/nss_dns/dns-network.c: Likewise.
4046 * resolv/res_init.c: Likewise.
4047 * resolv/res_mkquery.c: Likewise.
4048 * resolv/tst-aton.c: Likewise.
4049 * stdlib/cxa_atexit.c: Likewise.
4050 * stdlib/cxa_finalize.c: Likewise.
4051 * stdlib/gen-fpioconst.c: Likewise.
4052 * stdlib/strtol_l.c: Likewise.
4053 * string/tst-endian.c: Likewise.
4054 * sunrpc/auth_des.c: Likewise.
4055 * sunrpc/clnt_udp.c: Likewise.
4056 * sunrpc/rtime.c: Likewise.
4057 * sunrpc/svcauth_des.c: Likewise.
4058 * sunrpc/xdr.c: Likewise.
4059 * sunrpc/xdr_intXX_t.c: Likewise.
4060 * sunrpc/xdr_rec.c: Likewise.
4061 * sysdeps/generic/ldconfig.h: Likewise.
4062 * sysdeps/generic/ldsodefs.h: Likewise.
4063 * sysdeps/generic/memusage.h: Likewise.
4064 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4065 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4066 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4067 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4068 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4069 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4070 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4071 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4072 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4073 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4074 * sysdeps/posix/getaddrinfo.c: Likewise.
4075 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4076 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4077 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4078 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4079 * sysdeps/powerpc/test-gettimebase.c: Likewise.
4080 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4081 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4082 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4083 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4084 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4085 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4086 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4087 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4088 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4089 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4090 * sysdeps/x86_64/dl-tls.h: Likewise.
4091 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4092 * time/alt_digit.c: Likewise.
4093 * time/era.c: Likewise.
4094 * wcsmbs/tst-c16c32-1.c: Likewise.
4095
8c75f674
JM
40962013-05-16 Joseph Myers <joseph@codesourcery.com>
4097
4098 * math/libm-test.inc (struct test_sincos_data): New type.
4099 (RUN_TEST_LOOP_sincos): New macro.
4100 (sincos_test_data): New variable.
4101 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4102
e6e49e59
RH
41032013-05-16 Richard Henderson <rth@redhat.com>
4104
4105 * math/atest-exp2.c (LIMB64): New macro.
4106 (CONSTSZ): New macro.
4107 (mp_exp1, mp_exp_m1, mp_log2): New variables.
4108 (hexdig): Move ...
4109 (print_mpn_fp): ... to function scope.
4110 (read_mpn_hex): Remove.
4111 (get_log2): Remove.
4112 (exp2_mpn): Use mp_log2.
4113 (main): Use mp_exp1.
4114
15c7c18d
JM
41152013-05-16 Joseph Myers <joseph@codesourcery.com>
4116
105a07df
JM
4117 * math/libm-test.inc: Remove comment about not testing "inexact"
4118 exceptions.
4119 (INEXACT_EXCEPTION): New macro.
4120 (NO_INEXACT_EXCEPTION): Likewise.
4121 (INVALID_EXCEPTION_OK): Update value.
4122 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4123 (OVERFLOW_EXCEPTION_OK): Likewise.
4124 (UNDERFLOW_EXCEPTION_OK): Likewise.
4125 (IGNORE_ZERO_INF_SIGN): Likewise.
4126 (ERRNO_UNCHANGED): Likewise.
4127 (ERRNO_EDOM): Likewise.
4128 (ERRNO_ERANGE): Likewise.
4129 (test_exceptions): Handle testing "inexact" exceptions.
4130 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
4131 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
4132 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
4133 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
4134 INEXACT_EXCEPTION.
4135 (rint_towardzero_test_data): Likewise.
4136 (rint_downward_test_data): Likewise.
4137 (rint_upward_test_data): Likewise.
4138
e9eee333
JM
4139 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4140 with OVERFLOW_EXCEPTION.
4141 (exp10_test_data): Likewise.
4142 (exp2_test_data): Likewise.
4143 (expm1_test_data): Likewise.
4144 (lgamma_test_data): Likewise.
4145 (pow_test_data): Likewise.
4146 (tgamma_test_data): Likewise.
4147 (yn_test_data): Remove duplicate test of overflow.
4148
1c38ff73
JM
4149 * math/libm-test.inc (struct test_cc_c_data): New type.
4150 (RUN_TEST_LOOP_cc_c): New macro.
4151 (cpow_test_data): New variable.
4152 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4153
15c7c18d
JM
4154 * math/libm-test.inc (struct test_f_L_data): New type.
4155 (RUN_TEST_LOOP_f_L): New macro.
4156 (llrint_test_data): New variable.
4157 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4158 (llrint_tonearest_test_data): New variable.
4159 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4160 (llrint_towardzero_test_data): New variable.
4161 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4162 (llrint_downward_test_data): New variable.
4163 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4164 (llrint_upward_test_data): New variable.
4165 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4166 (llround_test_data): New variable.
4167 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4168
f137ff13
PC
41692013-05-13 Peter Collingbourne <pcc@google.com>
4170
4171 * math/atest-exp2.c (get_log2): Remove const attribute.
4172
3608cb24
JM
41732013-05-15 Joseph Myers <joseph@codesourcery.com>
4174
4175 * math/libm-test.inc (struct test_f_l_data): New type.
4176 (RUN_TEST_LOOP_f_l): New macro.
4177 (lrint_test_data): New variable.
4178 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4179 (lrint_tonearest_test_data): New variable.
4180 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4181 (lrint_towardzero_test_data): New variable.
4182 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4183 (lrint_downward_test_data): New variable.
4184 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4185 (lrint_upward_test_data): New variable.
4186 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4187 (lround_test_data): New variable.
4188 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4189
39b1f617
PC
41902013-05-15 Peter Collingbourne <pcc@google.com>
4191
1deff3dc
PC
4192 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4193 (EXTRACT_WORDS64) Use where appropriate.
4194 (INSERT_WORDS64) Likewise.
4195
791f3ba0
PC
4196 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4197 constraints with x constraints.
4198 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4199
39b1f617
PC
4200 * malloc/obstack.c (_obstack_compat): Add initializer.
4201
12fba011
EM
42022013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
4203
4204 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
4205 si_trapno and add si_addr_lsb to _sifields.sigfault.
4206 (si_trapno): Remove macro.
4207 (si_addr_lsb): Define new macro.
4208 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4209
d369f531
JM
42102013-05-15 Joseph Myers <joseph@codesourcery.com>
4211
b861c6c4
JM
4212 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4213 instead of TEST_f_l.
4214 (llrint_test_tonearest): Likewise.
4215 (llrint_test_towardzero): Likewise.
4216 (llrint_test_downward): Likewise.
4217 (llrint_test_upward): Likewise.
4218 (llround_test): Likewise.
4219
7abeee12
JM
4220 * math/libm-test.inc (struct test_f_i_data): Add comment.
4221 (RUN_TEST_LOOP_f_b): New macro.
4222 (RUN_TEST_LOOP_f_b_tg): Likewise.
4223 (finite_test_data): New variable.
4224 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4225 (isfinite_test_data): New variable.
4226 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4227 (isinf_test_data): New variable.
4228 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4229 (isnan_test_data): New variable.
4230 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4231 (isnormal_test_data): New variable.
4232 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4233 (issignaling_test_data): New variable.
4234 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4235 (signbit_test_data): New variable.
4236 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4237
cbe8c4d3
JM
4238 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4239 with INVALID_EXCEPTION.
4240 (acosh_test_data): Likewise.
4241 (asin_test_data): Likewise.
4242 (atanh_test_data): Likewise.
4243 (fmod_test_data): Likewise.
4244 (log_test_data): Likewise.
4245 (log10_test_data): Likewise.
4246 (log2_test_data): Likewise.
4247 (pow_test_data): Likewise.
4248 (sqrt_test_data): Likewise.
4249 (y0_test_data): Likewise.
4250 (y1_test_data): Likewise.
4251 (yn_test_data): Likewise.
4252
5575c0e5
JM
4253 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4254 function contents.
4255
d369f531
JM
4256 * math/libm-test.inc (struct test_ff_i_data): New type.
4257 (RUN_TEST_LOOP_ff_i_tg): New macro.
4258 (isgreater_test_data): New variable.
4259 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4260 (isgreaterequal_test_data): New variable.
4261 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4262 (isless_test_data): New variable.
4263 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4264 (islessequal_test_data): New variable.
4265 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4266 (islessgreater_test_data): New variable.
4267 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4268 (isunordered_test_data): New variable.
4269 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4270
781fd748
DM
42712013-05-14 David S. Miller <davem@davemloft.net>
4272
4273 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4274
87aa21df
JM
42752013-05-14 Joseph Myers <joseph@codesourcery.com>
4276
5e908270
JM
4277 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4278
f71172e5
JM
4279 * math/libm-test.inc (struct test_fF_f1_data): Change type of
4280 extra_test to int.
4281 (struct test_f_i_data): Change type of max_ulp to int.
4282
8cfa635a
JM
4283 * math/libm-test.inc (test_ffI_f1_data): New type.
4284 (RUN_TEST_LOOP_ffI_f1): New macro.
4285 (remquo_test_data): New variable.
4286 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4287
2bcb36b2
JM
4288 * setjmp/tst-setjmp-fp.c: New file.
4289 * setjmp/Makefile (tests): Add tst-setjmp-fp.
4290 (link-libm): New variable.
4291 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4292
acbd839a
JM
4293 * math/libm-test.inc (struct test_f_i_data): New type.
4294 (RUN_TEST_LOOP_f_i): New macro.
4295 (RUN_TEST_LOOP_f_i_tg): Likewise.
4296 (fpclassify_test_data): New variable.
4297 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4298 (ilogb_test_data): New variable.
4299 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4300
e414d745
JM
4301 * math/libm-test.inc (scalbln_test): Correct function name in END
4302 call.
4303
d9c2a0fd
JM
4304 * math/libm-test.inc (struct test_f_f1_data): Add comment.
4305 (RUN_TEST_LOOP_fI_f1): New macro.
4306 (frexp_test_data): New variable.
4307 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4308
9dc9095d
JM
4309 * math/libm-test.inc (struct test_fF_f1_data): New type.
4310 (RUN_TEST_LOOP_fF_f1): New macro.
4311 (modf_test_data): New variable.
4312 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4313
87aa21df
JM
4314 * math/libm-test.inc (struct test_f_f1_data): New type.
4315 (RUN_TEST_LOOP_f_f1): New macro.
4316 (gamma_test_data): New variable.
4317 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4318 (lgamma_test_data): New variable.
4319 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4320
141af660
CD
43212013-05-13 Carlos O'Donell <carlos@redhat.com>
4322
4323 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4324 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4325 (main): Comment "tls" pseudo-hwcap.
4326
6d33265c
JM
43272013-05-13 Joseph Myers <joseph@codesourcery.com>
4328
68fc074c
JM
4329 * math/libm-test.inc (struct test_fl_f_data): New type.
4330 (RUN_TEST_LOOP_fl_f): New variable.
4331 (scalbln_test_data): New variable.
4332 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4333
243216e1
JM
4334 * math/libm-test.inc (struct test_fi_f_data): New type.
4335 (RUN_TEST_LOOP_fi_f): New macro.
4336 (ldexp_test_data): New variable.
4337 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4338 (scalbn_test_data): New variable.
4339 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4340
6a1992e2
JM
4341 * math/libm-test.inc (struct test_c_f_data): New type.
4342 (RUN_TEST_LOOP_c_f): New macro.
4343 (cabs_test_data): New variable.
4344 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4345 (carg_test_data): New variable.
4346 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4347 (cimag_test_data): New variable.
4348 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4349 (creal_test_data): New variable.
4350 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4351
0e400df5
JM
4352 * math/libm-test.inc (struct test_if_f_data): New type.
4353 (RUN_TEST_LOOP_if_f): New macro.
4354 (jn_test_data): New variable.
4355 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4356 (yn_test_data): New variable.
4357 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4358
6d33265c
JM
4359 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4360
f98ece5f
AZ
43612013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4362
4363 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4364 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4365
0f7d347b
SP
43662013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4367
43fe811b
SP
4368 * benchtests/Makefile (CPPFLAGS-nonlib): Add
4369 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4370 (bench-deps): Add bench-timing.h.
4371 * benchtests-bench-skeleton.c: Include bench-timing.h.
4372 (main): Use TIMING_* macros instead of clock_gettime.
4373 * benchtests/bench-timing.h: New file.
4374
0f7d347b
SP
4375 [BZ #14582]
4376 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4377 Renamed from _LIB_VERSION.
4378 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4379
601a3a5f
JM
43802013-05-12 Joseph Myers <joseph@codesourcery.com>
4381
4f184d30
JM
4382 * math/libm-test.inc (struct test_fff_f_data): New type.
4383 (RUN_TEST_LOOP_fff_f): New macro.
4384 (fma_test_data): New variable.
4385 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4386 (fma_towardzero_test_data): New variable.
4387 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4388 (fma_downward_test_data): New variable.
4389 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4390 (fma_upward_test_data): New variable.
4391 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4392
08198877
JM
4393 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4394 (struct test_c_c_data): New type.
4395 (RUN_TEST_LOOP_c_c): New macro.
4396 (cacos_test_data): New variable.
4397 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4398 (cacosh_test_data): New variable.
4399 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4400 (casin_test_data): New variable.
4401 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4402 (casinh_test_data): New variable.
4403 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4404 (catan_test_data): New variable.
4405 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4406 (catanh_test_data): New variable.
4407 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4408 (ccos_test_data): New variable.
4409 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4410 (ccosh_test_data): New variable.
4411 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4412 (cexp_test_data): New variable.
4413 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4414 (clog_test_data): New variable.
4415 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4416 (clog10_test_data): New variable.
4417 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4418 (conj_test_data): New variable.
4419 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4420 (cproj_test_data): New variable.
4421 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4422 (csin_test_data): New variable.
4423 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4424 (csinh_test_data): New variable.
4425 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4426 (csqrt_test_data): New variable.
4427 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4428 (ctan_test_data): New variable.
4429 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4430 (ctan_tonearest_test_data): New variable.
4431 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4432 (ctan_towardzero_test_data): New variable.
4433 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4434 (ctan_downward_test_data): New variable.
4435 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4436 (ctan_upward_test_data): New variable.
4437 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4438 (ctanh_test_data): New variable.
4439 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4440 (ctanh_tonearest_test_data): New variable.
4441 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4442 (ctanh_towardzero_test_data): New variable.
4443 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4444 (ctanh_downward_test_data): New variable.
4445 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4446 (ctanh_upward_test_data): New variable.
4447 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4448 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4449 of BUILD_COMPLEX.
4450
601a3a5f
JM
4451 * math/libm-test.inc (struct test_ff_f_data): New type.
4452 (struct test_ff_f_data_nexttoward): Likewise.
4453 (RUN_TEST_LOOP_2_f): New macro.
4454 (RUN_TEST_LOOP_ff_f): Likewise.
4455 (atan2_test_data): New variable.
4456 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4457 (copysign_test_data): New variable.
4458 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4459 (fdim_test_data): New variable.
4460 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4461 (fmax_test_data): New variable.
4462 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4463 (fmin_test_data): New variable.
4464 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4465 (fmod_test_data): New variable.
4466 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4467 (hypot_test_data): New variable.
4468 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4469 (nextafter_test_data): New variable.
4470 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4471 (nexttoward_test_data): New variable.
4472 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4473 (pow_test_data): New variable.
4474 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4475 (pow_tonearest_test_data): New variable.
4476 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4477 (pow_towardzero_test_data): New variable.
4478 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4479 (pow_downward_test_data): New variable.
4480 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4481 (pow_upward_test_data): New variable.
4482 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4483 (remainder_test_data): New variable.
4484 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4485 (scalb_test_data): New variable.
4486 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4487 * sysdeps/i386/fpu/libm-test-ulps: Update.
4488
74c57478
JM
44892013-05-11 Joseph Myers <joseph@codesourcery.com>
4490
8329e4da
JM
4491 * math/libm-test.inc (fma_test): Use max_value instead of local
4492 variable fltmax.
4493 (nextafter_test): Likewise.
4494
74c57478
JM
4495 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4496 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4497 (acos_downward_test_data): New variable.
4498 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4499 (acos_upward_test_data): New variable.
4500 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4501 (acosh_test_data): New variable.
4502 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4503 (asin_test_data): New variable.
4504 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4505 (asin_tonearest_test_data): New variable.
4506 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4507 (asin_towardzero_test_data): New variable.
4508 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4509 (asin_downward_test_data): New variable.
4510 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4511 (asin_upward_test_data): New variable.
4512 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4513 (asinh_test_data): New variable.
4514 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4515 (atan_test_data): New variable.
4516 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4517 (atanh_test_data): New variable.
4518 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4519 (cbrt_test_data): New variable.
4520 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4521 (ceil_test_data): New variable.
4522 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4523 (cos_test_data): New variable.
4524 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4525 (cos_tonearest_test_data): New variable.
4526 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4527 (cos_towardzero_test_data): New variable.
4528 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4529 (cos_downward_test_data): New variable.
4530 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4531 (cos_upward_test_data): New variable.
4532 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4533 (cosh_test_data): New variable.
4534 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4535 (cosh_tonearest_test_data): New variable.
4536 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4537 (cosh_towardzero_test_data): New variable.
4538 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4539 (cosh_downward_test_data): New variable.
4540 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4541 (cosh_upward_test_data): New variable.
4542 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4543 (erf_test_data): New variable.
4544 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4545 (erfc_test_data): New variable.
4546 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4547 (exp_test_data): New variable.
4548 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4549 (exp_tonearest_test_data): New variable.
4550 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4551 (exp_towardzero_test_data): New variable.
4552 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4553 (exp_downward_test_data): New variable.
4554 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4555 (exp_upward_test_data): New variable.
4556 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4557 (exp10_test_data): New variable.
4558 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4559 (exp2_test_data): New variable.
4560 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4561 (expm1_test_data): New variable.
4562 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4563 (fabs_test_data): New variable.
4564 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4565 (floor_test_data): New variable.
4566 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4567 (j0_test_data): New variable.
4568 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4569 (j1_test_data): New variable.
4570 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4571 (log_test_data): New variable.
4572 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4573 (log10_test_data): New variable.
4574 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4575 (log1p_test_data): New variable.
4576 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4577 (log2_test_data): New variable.
4578 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4579 (logb_test_data): New variable.
4580 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4581 (logb_downward_test_data): New variable.
4582 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4583 (nearbyint_test_data): New variable.
4584 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4585 (rint_test_data): New variable.
4586 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4587 (rint_tonearest_test_data): New variable.
4588 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4589 (rint_towardzero_test_data): New variable.
4590 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4591 (rint_downward_test_data): New variable.
4592 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4593 (rint_upward_test_data): New variable.
4594 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4595 (round_test_data): New variable.
4596 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4597 (sin_test_data): New variable.
4598 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4599 (sin_tonearest_test_data): New variable.
4600 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4601 (sin_towardzero_test_data): New variable.
4602 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4603 (sin_downward_test_data): New variable.
4604 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4605 (sin_upward_test_data): New variable.
4606 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4607 (sinh_test_data): New variable.
4608 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4609 (sinh_tonearest_test_data): New variable.
4610 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4611 (sinh_towardzero_test_data): New variable.
4612 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4613 (sinh_downward_test_data): New variable.
4614 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4615 (sinh_upward_test_data): New variable.
4616 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4617 (sqrt_test_data): New variable.
4618 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4619 (tan_test_data): New variable.
4620 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4621 (tan_tonearest_test_data): New variable.
4622 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4623 (tan_towardzero_test_data): New variable.
4624 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4625 (tan_downward_test_data): New variable.
4626 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4627 (tan_upward_test_data): New variable.
4628 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4629 (tanh_test_data): New variable.
4630 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4631 (tgamma_test_data): New variable.
4632 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4633 (trunc_test_data): New variable.
4634 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4635 (y0_test_data): New variable.
4636 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4637 (y1_test_data): New variable.
4638 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4639 (significand_test_data): New variable.
4640 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4641
7187d844
CG
46422013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4643
4644 [BZ #12387]
4645 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4646
f63fae73
PT
46472013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4648
4649 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4650
8a67a4b3
AJ
46512013-05-10 Andreas Jaeger <aj@suse.de>
4652
4653 [BZ #15448]
4654 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4655 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4656
51df539d
JM
46572013-05-10 Joseph Myers <joseph@codesourcery.com>
4658
4659 * math/gen-libm-test.pl (adjust_arg): New function.
4660 (special_functions): Handle generating output in both functions
4661 and arrays.
4662 (parse_args): Likewise.
4663 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
4664 $in_func argument to parse_args.
4665 * math/libm-test.inc (struct test_f_f_data): New type.
4666 (IF_ROUND_INIT_): New macro.
4667 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4668 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4669 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4670 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4671 (ROUND_RESTORE_): Likewise.
4672 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4673 (ROUND_RESTORE_FE_TONEAREST): Likewise.
4674 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4675 (ROUND_RESTORE_FE_UPWARD): Likewise.
4676 (RUN_TEST_LOOP_f_f): New macro.
4677 (acos_test_data): New variable.
4678 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4679 (acos_tonearest_test_data): New variable.
4680 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4681
5c637fe5
SP
46822013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4683
4684 * benchtests/bench-skeleton.c (startup): Fix coding style.
4685
ab2b9461
JM
46862013-05-10 Joseph Myers <joseph@codesourcery.com>
4687
4688 [BZ #6809]
4689 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4690 negative infinity argument.
4691 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4692 negative infinity argument.
4693 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4694 negative infinity argument.
4695 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4696 domain errors.
4697
4c0fe6fe
FW
46982013-05-10 Florian Weimer <fweimer@redhat.com>
4699
4700 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4701 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4702 * iconv/iconv_prog.c (main): Likewise.
4703 * locale/programs/charmap-dir.c (charmap_readdir)
4704 (fopen_uncompressed): Likewise.
4705 * locale/programs/locfile.c (siblings_uncached)
4706 (write_locale_data): Use lstat64 instead of lstat.
4707 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4708 stat.
4709
a3375d29
AJ
47102013-05-10 Andreas Jaeger <aj@suse.de>
4711
4712 [BZ #15395]
4713 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4714 localization.
4715 Include <locale.h>.
4716
36129722
CD
47172013-05-09 Carlos O'Donell <carlos@redhat.com>
4718
4719 * elf/dl-close.c (_dl_close_worker): Add comments.
4720
faa7f811
JM
47212013-05-09 Joseph Myers <joseph@codesourcery.com>
4722
ed41ffef
JM
4723 [BZ #15359]
4724 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4725 high part of pi/2.
4726 (__ieee754_rem_pio2l): Update comments.
4727
d0213cd0
JM
4728 [BZ #15429]
4729 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4730 high part of pi/2.
4731 (__ieee754_rem_pio2l): Update comments.
4732
0d3e777a
JM
4733 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4734 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4735
24f56066
JM
4736 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4737 M_PI_4l.
4738
faa7f811
JM
4739 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4740 (M_PI_34_LOG10El): Likewise.
4741 (M_PI2_LOG10El): Likewise.
4742 (M_PI4_LOG10El): Likewise.
4743 (M_PI_LOG10El): Likewise.
4744
e9a5e0fd
AZ
47452013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4746
4747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4748
d8cd06db
JM
47492013-05-08 Joseph Myers <joseph@codesourcery.com>
4750
a0d9f9d7
JM
4751 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4752 (MINUS_ZERO_INIT): Likewise.
4753 (PLUS_INFTY_INIT): Likewise.
4754 (MINUS_INFTY_INIT): Likewise.
4755 (QNAN_VALUE_INIT): Likewise.
4756 (MAX_VALUE_INIT): Likewise.
4757 (MIN_VALUE_INIT): Likewise.
4758 (MIN_SUBNORM_VALUE_INIT): Likewise.
4759 (plus_zero): Initialize with PLUS_ZERO_INIT.
4760 (minus_zero): Initialize with MINUS_ZERO_INIT.
4761 (plus_infty): Initialize with PLUS_INFTY_INIT.
4762 (minus_infty): Initialize with MINUS_INFTY_INIT.
4763 (qnan_value): Initialize with QNAN_VALUE_INIT.
4764 (max_value): Initialize with MAX_VALUE_INIT.
4765 (min_value): Initialize with MIN_VALUE_INIT.
4766 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4767
ae08db3b
JM
4768 * math/libm-test.inc (RUN_TEST_if_f): New macro.
4769 (jn_test): Use TEST_if_f instead of TEST_ff_f.
4770 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4771 (yn_test): Use TEST_if_f instead of TEST_ff_f.
4772
f44bf14a
JM
4773 * math/libm-test.inc (RUN_TEST_f_f): New macro.
4774 (RUN_TEST_2_f): Likewise.
4775 (RUN_TEST_ff_f): Likewise.
4776 (RUN_TEST_fi_f): Likewise.
4777 (RUN_TEST_fl_f): Likewise.
4778 (RUN_TEST_fff_f): Likewise.
4779 (RUN_TEST_c_f): Likewise.
4780 (RUN_TEST_f_f1): Likewise.
4781 (RUN_TEST_fF_f1): Likewise.
4782 (RUN_TEST_fI_f1): Likewise.
4783 (RUN_TEST_ffI_f1): Likewise.
4784 (RUN_TEST_c_c): Likewise.
4785 (RUN_TEST_cc_c): Likewise.
4786 (RUN_TEST_f_i): Likewise.
4787 (RUN_TEST_f_i_tg): Likewise.
4788 (RUN_TEST_ff_i_tg): Likewise.
4789 (RUN_TEST_f_b): Likewise.
4790 (RUN_TEST_f_b_tg): Likewise.
4791 (RUN_TEST_f_l): Likewise.
4792 (RUN_TEST_f_L): Likewise.
4793 (RUN_TEST_sincos): Likewise.
4794 * math/gen-libm-test.pl (new_test): Take new argument to indicate
4795 whether to show exceptions. Do not include ");\n" in return
4796 value.
4797 (special_functions): Output call to RUN_TEST_sincos instead of
4798 check_float calls. Update calls to new_test.
4799 (parse_args): Output call to single RUN_TEST_* macro instead of
4800 check_* calls and other assignments. Update calls to new_test.
4801
d8cd06db
JM
4802 [BZ #2546]
4803 [BZ #2560]
4804 [BZ #5159]
4805 [BZ #15426]
4806 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4807 input to result for tgamma overflow.
4808 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4809 (gamma_coeff): New variable.
4810 (NCOEFF): New macro.
4811 (gamma_positive): New function.
4812 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4813 underflow here. Use gamma_positive instead of exp (lgamma) for
4814 other arguments.
4815 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
4816 (gamma_coeff): New variable.
4817 (NCOEFF): New macro.
4818 (gammaf_positive): New function.
4819 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
4820 underflow here. Use gamma_positive instead of exp (lgamma) for
4821 other arguments.
4822 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
4823 (gamma_coeff): New variable.
4824 (NCOEFF): New macro.
4825 (gammal_positive): New function.
4826 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4827 underflow here. Use gamma_positive instead of exp (lgamma) for
4828 other arguments.
4829 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4830 (gamma_coeff): New variable.
4831 (NCOEFF): New macro.
4832 (gammal_positive): New function.
4833 (__ieee754_gammal_r): Handle positive infinity, overflow and
4834 underflow here. Handle NaN the same as positive infinity. Remove
4835 check x < 0xffffffff for negative integers. Use gamma_positive
4836 instead of exp (lgamma) for other arguments.
4837 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4838 (gamma_coeff): New variable.
4839 (NCOEFF): New macro.
4840 (gammal_positive): New function.
4841 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4842 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4843 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4844 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4845 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4846 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4847 * sysdeps/generic/math_private.h (__gamma_productf): New
4848 prototype.
4849 (__gamma_product): Likewise.
4850 (__gamma_productl): Likewise.
4851 * math/Makefile (libm-calls): Add gamma_product.
4852 * math/libm-test.inc (tgamma_test): Add more tests.
4853 * sysdeps/i386/fpu/libm-test-ulps: Update.
4854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4855
bb7cf681
OB
48562013-05-08 Ondřej Bílka <neleai@seznam.cz>
4857
4858 * benchtests/bench-skeleton.c (main): Preheat CPU.
4859
ba853947
AJ
48602013-05-07 Aurelien Jarno <aurelien@aurel32.net>
4861
4862 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4863
8347c74c
RM
48642013-05-07 Roland McGrath <roland@hack.frob.com>
4865
4866 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4867 and _dl_skip_args_internal.
4868
e8dd4791
CD
48692013-05-07 Carlos O'Donell <carlos@redhat.com>
4870
4871 * manual/message.texi (Message Translation): Talk about users.
4872 Message to key mapping impacts design.
4873
c7405830
RM
48742013-05-06 Roland McGrath <roland@hack.frob.com>
4875
a9173057
RM
4876 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4877
976e2f03
RM
4878 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4879
9723ffc5
RM
4880 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4881 * sysdeps/wordsize-64/glob64.c: ... here.
4882
962e6658
RM
4883 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4884 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4885 New macros.
4886
ee586a6d
RM
4887 * debug/getlogin_r_chk.c: Moved to ...
4888 * login/getlogin_r_chk.c: ... here.
4889 * debug/Makefile (routines): Move getlogin_r_chk to ...
4890 * login/Makefile (routines): ... here.
4891 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4892 * login/Versions (libc: GLIBC_2.4): ... here.
4893
355f9165
RM
4894 * io/poll.c (__poll): Renamed from poll.
4895 Add libc_hidden_def.
4896 (poll): Define as weak alias.
4897
bd9ffde6
RM
4898 * debug/ptsname_r_chk.c: Moved to ...
4899 * login/ptsname_r_chk.c: ... here.
4900 * debug/Makefile (routines): Move ptsname_r_chk to ...
4901 * login/Makefile (routines): ... here.
4902 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4903 * login/Versions (libc: GLIBC_2.4): ... here.
4904
8fb16a04
RM
4905 * posix/getlogin.c: Moved to ...
4906 * login/getlogin.c: ... here.
4907 * posix/getlogin_r.c: Moved to ...
4908 * login/getlogin_r.c: ... here.
4909 * posix/getlogin_r.c: Moved to ...
4910 * login/getlogin_r.c: ... here.
4911 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4912 * login/Makefile (routines): ... here.
4913 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4914 * login/Versions (libc: GLIBC_2.0): ... here.
4915
b99b892f
RM
4916 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4917 (setrlimit): Define as weak alias.
4918
c7405830
RM
4919 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4920 Call __ names for open, ftruncate, and close.
4921 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4922 (truncate): Define as weak alias.
4923
5bf96de5
JM
49242013-05-06 Joseph Myers <joseph@codesourcery.com>
4925
9ea3513c
JM
4926 * math/gen-libm-test.pl (parse_args): Initialize x before each
4927 test of frexp, modf and remquo.
4928
5bf96de5
JM
4929 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4930 test signgam value.
4931
16e616a7
AZ
49322013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4933
4934 [BZ #15418]
4935 [BZ #15419]
4936 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4937 internal tests.
4938 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4939
d5e82754
RM
49402013-05-06 Roland McGrath <roland@hack.frob.com>
4941
4942 * elf/dl-writev.h: New file.
4943 * elf/dl-misc.c: Include it.
4944 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4945 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4946
a7548d41
JM
49472013-05-04 Joseph Myers <joseph@codesourcery.com>
4948
b7dab1e4
JM
4949 * math/libm-test.inc (noXFails): Remove variable.
4950 (noXPasses): Likewise.
4951 (BUILD_COMPLEX_INT): Remove macro.
4952 (print_screen): Remove xfail argument.
4953 (print_screen_max_error): Likewise.
4954 (update_stats): Likewise.
4955 (print_max_error): Likewise. Update calls to other affected
4956 functions.
4957 (print_complex_max_error): Likewise.
4958 (test_single_exception): Update calls to print_screen.
4959 (test_single_errno): Likewise.
4960 (check_float_internal): Remove xfail argument. Update calls to
4961 other affected functions.
4962 (check_float): Likewise.
4963 (check_complex): Likewise.
4964 (check_int): Likewise.
4965 (check_long): Likewise.
4966 (check_bool): Likewise.
4967 (check_longlong): Likewise.
4968 (main): Don't print noXFails and noXPasses.
4969 * math/gen-libm-test.pl (top level): Don't mention expected
4970 failure handling in comment.
4971 (new_test): Don't handle expected failures.
4972 (parse_args): Don't mention expected failure handling in comment.
4973 (generate_testfile): Don't handle expected failures.
4974 (parse_ulps): Likewise.
4975 (print_ulps_file): Likewise.
4976 (get_failure): Remove function.
4977 (output_test): Don't handle expected failures.
4978 * make/README.libm-test: Don't mention expected failure handling.
4979
a7548d41
JM
4980 * math/libm-test.inc (plus_zero): Make const. Add initializer.
4981 (minus_zero): Likewise.
4982 (plus_infty): Likewise.
4983 (minus_infty): Likewise.
4984 (qnan_value): Likewise.
4985 (max_value): Likewise.
4986 (min_value): Likewise.
4987 (min_subnorm_value): Likewise.
4988 (initialize): Do not initialize those variables dynamically.
4989
60bfd54c
RM
49902013-05-03 Roland McGrath <roland@hack.frob.com>
4991
cc0e6ed8
RM
4992 * io/open.c (__open_2): Moved to ...
4993 * io/open_2.c: ... this new file.
4994 * io/open64.c (__open64_2): Moved to ...
4995 * io/open64_2.c: ... this new file.
4996 * io/openat.c (__openat_2): Moved to ...
4997 * io/openat_2.c: ... this new file.
4998 * io/openat64.c (__openat64_2): Moved to ...
4999 * io/openat64_2.c: ... this new file.
5000 * io/Makefile (routines): Add them.
5001 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5002 * sysdeps/unix/sysv/linux/open_2.c: File removed.
5003 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5004 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5005 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5006 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5007 (__openat64): Add hidden_ver.
5008 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5009 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5010
60bfd54c
RM
5011 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5012 Separately conditionalize setting of GLRO(dl_sysinfo) so
5013 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5014 as well, but the actual setting is only under [NEED_DL_SYSINFO].
5015
83e7640f
AZ
50162013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5017
5018 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5019 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5020 definition.
5021 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5022 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5023 (_libc_vdso_platform_setup): Add __vdso_time initialization.
5024 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5025 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5026
d5dc2af3
JM
50272013-05-03 Joseph Myers <joseph@codesourcery.com>
5028
c31a5b1e
JM
5029 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5030 test signgam value.
5031
d5dc2af3
JM
5032 * math/libm-test.inc (hypot_test): Do not use
5033 IGNORE_ZERO_INF_SIGN.
5034
164fd39d
AJ
50352013-05-03 Andreas Jaeger <aj@suse.de>
5036
5037 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5038 Linux 3.9.
5039 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5040 (PF_MAX): Adjust for VSOCK change.
5041
8237f48c
AZ
50422013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5043
5044 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5045
9df02941
CD
50462013-05-02 Carlos O'Donell <carlos@redhat.com>
5047
5048 [BZ #15264]
5049 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5050 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5051 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5052
d422395e
DM
50532013-05-02 David S. Miller <davem@davemloft.net>
5054
5055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5056
a07c5731
OB
50572013-05-01 Ondřej Bílka <neleai@seznam.cz>
5058
5059 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5060
1324e37f
RM
50612013-05-01 Roland McGrath <roland@hack.frob.com>
5062
5063 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5064
0695940b
RS
50652013-05-01 Richard Smith <richard@metafoo.co.uk>
5066
bb5f27ad 5067 [BZ #14952]
0695940b
RS
5068 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5069 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5070 Use __attribute__ ((__gnu_inline__)).
5071 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5072 Don't use __attribute__ ((__gnu_inline__)).
5073
10de07f5
JM
50742013-05-01 Joseph Myers <joseph@codesourcery.com>
5075
5076 [BZ #15423]
5077 * math/s_catan.c (__catan): Handle small real or imaginary part of
5078 input specially to avoid spurious underflow.
5079 * math/s_catanf.c (__catanf): Likewise.
5080 * math/s_catanh.c (__catanh): Likewise.
5081 * math/s_catanhf.c (__catanhf): Likewise.
5082 * math/s_catanhl.c (__catanhl): Likewise.
5083 * math/s_catanl.c (__catanl): Likewise.
5084 * math/libm-test.inc (catan_test): Add more tests.
5085 (catanh_test): Likewise.
5086 * sysdeps/i386/fpu/libm-test-ulps: Update.
5087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5088
cb4d5414
AZ
50892013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5090
5091 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5092
caf84319
JM
50932013-04-30 Joseph Myers <joseph@codesourcery.com>
5094
5095 [BZ #15416]
5096 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5097 accurately for denominator in atan2.
5098 * math/s_catanf.c (__catanf): Likewise.
5099 * math/s_catanh.c (__catanh): Likewise.
5100 * math/s_catanhf.c (__catanhf): Likewise.
5101 * math/s_catanhl.c (__catanhl): Likewise.
5102 * math/s_catanl.c (__catanl): Likewise.
5103 * math/libm-test.inc (catan_test): Add more tests.
5104 (catanh_test): Likewise.
5105 * sysdeps/i386/fpu/libm-test-ulps: Update.
5106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5107
d569c6ee
SP
51082013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5109
6dbe713d
SP
5110 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5111
f0ee064b
SP
5112 * benchtests/Makefile (bench): Remove slow benchmarks.
5113 * benchtests/atan-inputs: Add slow benchmark inputs.
5114 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
5115 (BENCH_FUNC): Accept variant offset.
5116 (VARIANT): Define.
5117 * benchtests/bench-skeleton.c (main): Run benchmark for each
5118 variant.
5119 * benchtests/cos-inputs: Add slow benchmark inputs.
5120 * benchtests/exp-inputs: Likewise.
5121 * benchtests/pow-inputs: Likewise.
5122 * benchtests/sin-inputs: Likewise.
5123 * benchtests/slowatan-inputs: Remove.
5124 * benchtests/slowatan.c: Remove.
5125 * benchtests/slowcos-inputs: Remove.
5126 * benchtests/slowcos.c: Remove.
5127 * benchtests/slowexp-inputs: Remove.
5128 * benchtests/slowexp.c: Remove.
5129 * benchtests/slowpow-inputs: Remove.
5130 * benchtests/slowpow.c: Remove.
5131 * benchtests/slowsin-inputs: Remove.
5132 * benchtests/slowsin.c: Remove.
5133 * benchtests/slowtan-inputs: Remove.
5134 * benchtests/slowtan.c: Remove.
5135 * benchtests/tan-inputs: Add slow benchmark inputs.
5136 * scripts/bench.pl: Parse comments and directives.
5137
d569c6ee
SP
5138 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
5139 in CPPFLAGS.
5140 ($(objpfx)bench-%.c): Remove *-ITER.
5141 * benchtests/bench-modf.c: Remove definition of ITER.
5142 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5143 (main): Loop for DURATION seconds instead of fixed number of
5144 iterations.
5145 * scripts/bench.pl: Don't expect iterations in parameters.
5146
a6a242fe
RM
51472013-04-29 Roland McGrath <roland@hack.frob.com>
5148
5149 * io/fchdir.c (__fchdir): Renamed from fchdir.
5150 (fchdir): Define as weak alias.
5151
f2da7793
JM
51522013-04-29 Joseph Myers <joseph@codesourcery.com>
5153
5154 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5155 (ERRNO_EDOM): Likewise.
5156 (ERRNO_ERANGE): Likewise.
5157 (noErrnoTests): New variable.
5158 (init_max_error): Set errno to 0.
5159 (test_single_errno): New function.
5160 (test_errno): Likewise.
5161 (check_float_internal): Call test_errno. Set errno to 0.
5162 (check_complex): Refer to errno tests in comment.
5163 (check_int): Call test_errno. Set errno to 0.
5164 (check_long): Likewise.
5165 (check_bool): Likewise.
5166 (check_longlong): Likewise.
5167 (cos_test): Use ERRNO_* flags for errno tests instead of
5168 check_int.
5169 (expm1_test): Likewise.
5170 (fmod_test): Likewise.
5171 (ilogb_test): Likewise.
5172 (lgamma_test): Likewise.
5173 (pow_test): Likewise.
5174 (remainder_test): Likewise.
5175 (sin_test): Likewise.
5176 (tan_test): Likewise.
5177 (yn_test): Likewise.
5178 (initialize): Set errno to 0.
5179 (main): Print number of errno tests.
5180 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5181
b1a36ceb
AJ
51822013-04-29 Andreas Jaeger <aj@suse.de>
5183
c3ed8088
AJ
5184 [BZ #15084]
5185 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5186 and RES_USEVC.
5187
f1a24198
AJ
5188 [BZ #15085]
5189 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5190 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5191 unimplemented.
5192
9ce3b2cb
AJ
5193 [BZ #15380]
5194 * stdlib/random.c (__initstate): Return NULL if
5195 __initstate fails.
5196
f1a24198 5197 [BZ #15086]
b1a36ceb
AJ
5198 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5199 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5200 RES_SNGLKUPREOP.
5201
7e7b6f36
AZ
52022013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5203
5204 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5205
4d14f449
JM
52062013-04-29 Joseph Myers <joseph@codesourcery.com>
5207
5208 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5209 of individual tests.
5210 (casin_test): Likewise.
5211 (casinh_test): Likewise.
5212
5b4217d7
JM
52132013-04-27 Joseph Myers <joseph@codesourcery.com>
5214
5215 [BZ #15409]
5216 * math/s_catan.c (__catan): Handle arguments with large real or
5217 imaginary part separately without squaring.
5218 * math/s_catanf.c (__catanf): Likewise.
5219 * math/s_catanh.c (__catanh): Likewise.
5220 * math/s_catanhf.c (__catanhf): Likewise.
5221 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5222 and redefine.
5223 (__catanhl): Handle arguments with large real or imaginary part
5224 separately without squaring.
5225 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5226 and redefine.
5227 (__catanl): Handle arguments with large real or imaginary part
5228 separately without squaring.
5229 * math/libm-test.inc (catan_test): Add more tests.
5230 (catanh_test): Likewise.
5231 * sysdeps/i386/fpu/libm-test-ulps: Update.
5232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5233
4220c3ef
AJ
52342013-04-27 Andreas Jaeger <aj@suse.de>
5235
5236 [BZ #15007]
5237 * stdlib/stdlib.h: Update guards for qecvt.
5238 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5239 <stdlib.h>.
5240
4721b2d1
AM
52412013-04-27 Allan McRae <allan@archlinux.org>
5242
5243 * sysdeps/i386/fpu/libm-test-ulps: Update.
5244
f0302940
JM
52452013-04-26 Joseph Myers <joseph@codesourcery.com>
5246
9457fd95
JM
5247 [BZ #15406]
5248 * math/s_catan.c: Include <float.h>.
5249 (__catan): Ensure underflow exception occurs for underflowed
5250 result.
5251 * math/s_catanf.c: Include <float.h>.
5252 (__catanf): Ensure underflow exception occurs for underflowed
5253 result.
5254 * math/s_catanh.c: Include <float.h>.
5255 (__catanh): Ensure underflow exception occurs for underflowed
5256 result.
5257 * math/s_catanhf.c: Include <float.h>.
5258 (__catanhf): Ensure underflow exception occurs for underflowed
5259 result.
5260 * math/s_catanhl.c: Include <float.h>.
5261 (__catanhl): Ensure underflow exception occurs for underflowed
5262 result.
5263 * math/s_catanl.c: Include <float.h>.
5264 (__catanl): Ensure underflow exception occurs for underflowed
5265 result.
5266 * math/libm-test.inc (catan_test): Add more tests.
5267 (catanh_test): Likewise.
5268
f0302940
JM
5269 [BZ #15405]
5270 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5271 underflowed result.
5272 * math/s_ccoshf.c (__ccoshf): Likewise.
5273 * math/s_ccoshl.c (__ccoshl): Likewise.
5274 * math/s_csin.c (__csin): Likewise.
5275 * math/s_csinf.c (__csinf): Likewise.
5276 * math/s_csinh.c (__csinh): Likewise.
5277 * math/s_csinhf.c (__csinhf): Likewise.
5278 * math/s_csinhl.c (__csinhl): Likewise.
5279 * math/s_csinl.c (__csinl): Likewise.
5280 * math/libm-test.inc (ccos_test): Add more tests.
5281 (ccosh_test): Likewise.
5282 (csin_test): Likewise.
5283 (csinh_test): Likewise.
5284
aa630f59
AZ
52852013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5286
5287 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5288 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5289 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5290 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5291 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5292 powerpc/power5+/fpu folders.
5293 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5294
5295
1b835983
MT
52962013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5297
5298 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5299
73709b26
JM
53002013-04-25 Joseph Myers <joseph@codesourcery.com>
5301
5302 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5303 additions to variable.
5304 [$(config-machine) = x86_64] (modules-names): Likewise.
5305 ($(objpfx)tst-audit3): Remove dependency.
5306 ($(objpfx)tst-audit3.out): Likewise.
5307 ($(objpfx)tst-audit4): Likewise.
5308 ($(objpfx)tst-audit4.out): Likewise.
5309 ($(objpfx)tst-audit5): Likewise.
5310 ($(objpfx)tst-audit5.out): Likewise.
5311 ($(objpfx)tst-audit6): Likewise.
5312 ($(objpfx)tst-audit6.out): Likewise.
5313 ($(objpfx)tst-audit7): Likewise.
5314 ($(objpfx)tst-audit7.out): Likewise.
5315 (tst-audit3-ENV): Remove variable.
5316 (tst-audit4-ENV): Likewise.
5317 (tst-audit5-ENV): Likewise.
5318 (tst-audit6-ENV): Likewise.
5319 (tst-audit7-ENV): Likewise.
5320 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5321 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5322 addition to variable.
5323 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5324 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5325 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5326 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5327 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5328 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5329 tst-audit3, tst-audit4 and tst-audit5.
5330 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5331 tst-audit6 and tst-audit7.
5332 [$(subdir) = elf] (modules-names): Add audit modules for those
5333 tests.
5334 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5335 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5336 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5337 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5338 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5339 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5340 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5341 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5342 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5343 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5344 [$(subdir) = elf] (tst-audit3-ENV): New variable.
5345 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5346 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5347 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5348 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5349 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5350 Likewise.
5351 [$(subdir) = elf && $(config-cflags-avx) = yes]
5352 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5353 [$(subdir) = elf && $(config-cflags-avx) = yes]
5354 (CFLAGS-tst-auditmod4a.c): Likewise.
5355 [$(subdir) = elf && $(config-cflags-avx) = yes]
5356 (CFLAGS-tst-auditmod4b.c): Likewise.
5357 [$(subdir) = elf && $(config-cflags-avx) = yes]
5358 (CFLAGS-tst-auditmod6b.c): Likewise.
5359 [$(subdir) = elf && $(config-cflags-avx) = yes]
5360 (CFLAGS-tst-auditmod6c.c): Likewise.
5361 [$(subdir) = elf && $(config-cflags-avx) = yes]
5362 (CFLAGS-tst-auditmod7b.c): Likewise.
5363 * elf/tst-audit3.c: Move to ...
5364 * sysdeps/x86_64/tst-audit3.c: ... here.
5365 * elf/tst-audit4.c: Move to ...
5366 * sysdeps/x86_64/tst-audit4.c: ... here.
5367 * elf/tst-audit5.c: Move to ...
5368 * sysdeps/x86_64/tst-audit5.c: ... here.
5369 * elf/tst-audit6.c: Move to ...
5370 * sysdeps/x86_64/tst-audit6.c: ... here.
5371 * elf/tst-audit7.c: Move to ...
5372 * sysdeps/x86_64/tst-audit7.c: ... here.
5373 * elf/tst-auditmod3a.c: Move to ...
5374 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5375 * elf/tst-auditmod3b.c: Move to ...
5376 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5377 * elf/tst-auditmod4a.c: Move to ...
5378 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5379 * elf/tst-auditmod4b.c: Move to ...
5380 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5381 * elf/tst-auditmod5a.c: Move to ...
5382 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5383 * elf/tst-auditmod5b.c: Move to ...
5384 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5385 * elf/tst-auditmod6a.c: Move to ...
5386 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5387 * elf/tst-auditmod6b.c: Move to ...
5388 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5389 * elf/tst-auditmod6c.c: Move to ...
5390 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5391 * elf/tst-auditmod7a.c: Move to ...
5392 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5393 * elf/tst-auditmod7b.c: Move to ...
5394 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5395
1ef74943
PP
53962013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5397
5398 [BZ #15366]
5399 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5400 define unconditionally.
5401 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5402 define unconditionally.
5403 (INT8_C, INT16_C, etc.): Likewise.
5404
93fd48c5
MR
54052013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5406
ae9552cf
MR
5407 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5408 __ehdr_start with hidden visibility.
5409
93fd48c5
MR
5410 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5411
418601aa
CD
54122013-04-24 Carlos O'Donell <carlos@redhat.com>
5413
5414 * math/libm-test.inc (cos_test): Use accurate hex constants.
5415 (sincost_test): Likewise.
5416
2f38fbfe
JM
54172013-04-24 Joseph Myers <joseph@codesourcery.com>
5418
5e221800
JM
5419 * math/libm-test.inc (catan_test): Add more tests.
5420 (catanh_test): Likewise.
5421
77f143fd
JM
5422 * math/s_catanf.c (__catanf): Use suffixed floating-point
5423 constants.
5424 * math/s_catanhf.c (__catanhf): Likewise.
5425 * math/s_catanhl.c (__catanhl): Likewise.
5426 * math/s_catanl.c (__catanl): Likewise.
5427
2f38fbfe
JM
5428 [BZ #15394]
5429 * math/s_catan.c (__catan): Calculate imaginary part of result
5430 with log1p not log unless computing log of number close to 0.
5431 * math/s_catanf.c (__catanf): Likewise.
5432 * math/s_catanl.c (__catanl): Likewise.
5433 * math/s_catanh.c (__catanh): Calculate real part of result with
5434 log1p not log unless computing log of number close to 0.
5435 * math/s_catanhf.c (__catanhf): Likewise.
5436 * math/s_catanhl.c (__catanhl): Likewise.
5437 * math/libm-test.inc (catan_test): Add more tests.
5438 (catanh_test): Likewise.
5439 * sysdeps/i386/fpu/libm-test-ulps: Update.
5440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5441
45d69176
SP
54422013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5443
5444 * benchtests/Makefile: Mention files in which fast and slow
5445 paths of math functions are implemented.
5446
87f51853
RM
54472013-04-23 Roland McGrath <roland@hack.frob.com>
5448
5449 * sysdeps/posix/timespec_get.c: New file.
5450
3c026539
AZ
54512013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5452
5453 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5454 POWER.
5455 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5456 for POWER.
5457 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5458 powerpc/power5/fpu folders.
5459 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5460 * benchtests/Makefile: Add modf testcase.
5461 * benchtests/bench-modf.c: New file: Benchmark test for mo
5462
ff491d14
SP
54632013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5464
5465 [BZ #14888]
5466 * time/Makefile (tests): Add tst-strptime-whitespace.
5467 * time/strptime_l.c (get_number): Use ISSPACE.
5468 (__strptime_internal): Likewise.
5469 * time/tst-strptime-whitespace.c: New test case.
5470
7ed3f4e8
AS
54712013-04-23 Andreas Schwab <schwab@linux-m68k.org>
5472
5473 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5474 member.
5475 (_nss_files_init): Set it here.
5476
5c95f7b6
HC
54772013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
5478
5479 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5480 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5481 unsigned.
5482
d34c9158
JBG
54832013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
5484
5485 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5486
2169712d
SP
54872013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5488
5489 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5490 size just once.
5491
29c5de99
DM
54922013-04-21 David S. Miller <davem@davemloft.net>
5493
5494 * po/ru.po: Update Russion translation from translation project.
5495
ccdad15d
AC
54962013-04-17 Adam Conrad <adconrad@0c3.net>
5497
5498 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5499 and setfsgid.
5500
0f122b8d
CD
55012013-04-17 Carlos O'Donell <carlos@redhat.com>
5502
5c5b07da 5503 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 5504 * configure: Regenerate.
5c5b07da 5505 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
5506 Add example to error message.
5507 * sysdeps/i386/configure: Regenerate.
5508
037714dd
SP
55092013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5510
5511 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5512 slowtan.
5513 * benchtests/cos-inputs: New file.
5514 * benchtests/slowcos-inputs: New file.
5515 * benchtests/slowcos.c: New file.
5516 * benchtests/slowtan-inputs: New file.
5517 * benchtests/slowtan.c: New file.
5518 * benchtests/tan-inputs: New file.
5519
e913141d
RM
55202013-04-16 Roland McGrath <roland@hack.frob.com>
5521
5522 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5523 considered kosher.
5524
a2964074
SP
55252013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5526
4856bcd2
SP
5527 * benchtests/Makefile: Include cppflags-iterator.mk to add
5528 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5529
a2964074
SP
5530 * Makefile.in (bench-clean): New target.
5531 * benchtests/Makefile (bench-clean): Likewise.
5532
9fbf9aca
DH
55332013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5534
5535 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5536
207d1e2a
TS
55372013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5538
5539 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5540
306dfba9
AS
55412013-04-15 Andreas Schwab <schwab@suse.de>
5542
5543 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5544 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5545 * nscd/pwdcache.c (cache_addpw): Likewise.
5546 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5547 more than recsize.
5548
206a6699
SP
55492013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5550
5551 * benchtests/Makefile (bench): Write all output to
5552 bench-out.tmp together.
5553
0582f6b3
AS
55542013-04-15 Andreas Schwab <schwab@suse.de>
5555
5556 * nscd/nscd.c (main): Don't fork again after closing files.
5557
acb4325f
SP
55582013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5559
5cb26d0a
SP
5560 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5561
acb4325f
SP
5562 * benchtests/Rules (bench-deps): Collect dependencies into a
5563 single variable. Add Makefile to dependencies.
5564 ($(objpfx)bench-%.c): Depend on bench-deps.
5565
47792506
RM
55662013-04-12 Roland McGrath <roland@hack.frob.com>
5567 Xavier Roche <roche+kml2@exalead.com>
5568
5569 [BZ #15361]
5570 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5571 just that it's a file descriptor.
5572 * manual/llio.texi (Synchronizing AIO Operations): Update description
5573 for EBADF error from aio_fsync.
5574
8fc1bee5
SP
55752013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5576
5577 * Rules (bench): Move target definition...
5578 * benchtests/Makefile: ... here.
5579
aba5e333
CD
55802013-04-11 Carlos O'Donell <carlos@redhat.com>
5581
5582 * math/libm-test.inc (cos_test): Fix PI/2 test.
5583 (sincos_test): Likewise.
5584 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5585 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5586
273cdee8
AS
55872013-04-11 Andreas Schwab <schwab@suse.de>
5588
6ecec3b6
AS
5589 [BZ #13988]
5590 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5591 accept exponent character only when digits were seen.
5592 * stdio-common/Makefile (tests): Add bug26.
5593 * stdio-common/bug26.c: New file.
5594
273cdee8
AS
5595 [BZ #14293]
5596 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5597 non-freeable.
5598
8da491f5
SP
55992013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5600
01dc6df9
SP
5601 * Makeconfig (rtld-prefix): Define built linker prefix.
5602 * Rules (run-bench): Use it.
5603 * math/Makefile (run-regen-ulps): Likewise.
5604
8da491f5
SP
5605 * Rules (bench): Remove eval.
5606
abe7f530
SP
56072013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5608 Roland McGrath <roland@hack.frob.com>
5609 Ondrej Bilka <neleai@seznam.cz>
5610
5611 [BZ #15346]
5612 * time/getdate.c: Include ctype.h and alloca.h.
5613 (__getdate_r): Trim leading and trailing spaces of input.
5614 * time/tst-getdate.c (tests): Add tests with leading and
5615 trailing spaces.
5616
61c23e62
RM
56172013-04-08 Roland McGrath <roland@hack.frob.com>
5618
5619 [BZ #14280]
5620 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5621 when computing value.
5622
7208a313
CD
56232013-04-06 Carlos O'Donell <carlos@redhat.com>
5624
085b2d41
CD
5625 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5626 Use testrun.sh to run libm tests.
5627
7208a313
CD
5628 [BZ #15309]
5629 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5630
872c0acd
MM
56312013-04-06 Marko Myllynen <myllynen@redhat.com>
5632
5633 [BZ #15264]
5634 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5635
26510bdd
CD
56362013-04-06 Carlos O'Donell <carlos@redhat.com>
5637
5638 * Makefile.in (regen-ulps): New target.
5639 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5640 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5641 [ifneq (no,$(PERL)] (regen-ulps): New target.
5642 [ifeq (no,$(PERL)] (regen-ulps): New target.
5643 * math/libm-test.inc (ulps_file_name): Define.
5644 (output_dir): New variable.
5645 (options): Add "output-dir" option.
5646 (parse_opt): Handle 'o' case.
5647 (main): If output_dir is non-NULL use it as a prefix
5648 otherwise use "".
5649 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5650
a01f19c8
CD
56512013-04-06 Carlos O'Donell <carlos@redhat.com>
5652
5653 [BZ #10060, #10062]
5654 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5655 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5656 fail configure if __sync_val_compare_and_swap is not inlined.
5657 * sysdeps/i386/configure: Regenerate.
5658 * configure.in: Build for i686 when configured for i386.
5659 * configure: Regenerate.
5660 * README: Remove i386 reference.
5661
b7a329a5
CD
56622013-04-06 Carlos O'Donell <carlos@redhat.com>
5663
5664 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5665 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5666
bf0f50df
TS
56672013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5668
ee091edf
TS
5669 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5670 (lmsnanval): New variables.
5671 (F): Add conversion tests.
5672 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5673 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5674
a8b792d6
TS
5675 * stdio-common/tstdiomisc.c (F): Properly collect individual
5676 tests' results.
5677
a1cbf437
TS
5678 [BZ #14686, #15336]
5679 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5680 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5681 Instead, use input NaN values or generate a qNaN by arithmetic
5682 operation. Also fix bugs to comply with the standard.
5683 * math/libm-test.inc (remainder_test): Add more tests.
5684
8b43a0c9
TS
5685 [BZ #15335, #15342]
5686 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5687 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5688 input NaN values or generate a qNaN by arithmetic operation.
5689
d91da4ce
TS
5690 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5691 unreachable code.
5692
bf0f50df
TS
5693 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5694 definitions.
5695
05e166c8
JM
56962013-04-03 Joseph Myers <joseph@codesourcery.com>
5697
5698 [BZ #14478]
5699 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5700 underflowed result.
5701 * math/s_cexpf.c (__cexpf): Likewise.
5702 * math/s_cexpl.c (__cexpl): Likewise.
5703 * math/libm-test.inc (cexp_test): Add more tests.
5704
1cef1b19
AS
57052013-04-03 Andreas Schwab <schwab@suse.de>
5706
5707 [BZ #15330]
5708 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5709 order arrays from heap if bigger than alloca cutoff.
5710
74d87055
TS
57112013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5712
5713 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5714 (SNAN_TESTS_double): Refer to GCC PR56831.
5715 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5716 GCC PR56828.
5717
d755bba4
SP
57182013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5719
90d5d5bb
SP
5720 * Rules (bench): Move bench.out after the run is complete.
5721
73e0cd5d
SP
5722 * Rules (bench): Echo currently running benchmark.
5723
64aabd4b
SP
5724 * benchtests/Makefile (bench): Add atan and slowatan.
5725 * benchtests/atan-inputs: New file.
5726 * benchtests/slowatan-inputs: New file.
5727 * benchtests/slowatan.c: New file.
5728
c871eccd
SP
5729 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5730 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5731 its value.
5732
d755bba4
SP
5733 [BZ #15305]
5734 * sysdeps/unix/sysv/linux/kernel-features.h
5735 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5736 __ASSUME_XFS_RESTRICTED_CHOWN.
5737 * sysdeps/unix/sysv/linux/pathconf.c
5738 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5739 Save and restore errno.
5740
52ce4860
JM
57412013-04-02 Joseph Myers <joseph@codesourcery.com>
5742
5743 [BZ #15327]
5744 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5745 arguments using __kernel_casinh.
5746 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5747 arguments using __kernel_casinhf.
5748 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5749 arguments using __kernel_casinhl.
5750 * math/libm-test.inc (cacosh_test): Add more tests.
5751 * sysdeps/i386/fpu/libm-test-ulps: Update.
5752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5753
81f311c2
SP
57542013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5755
e7906a47
SP
5756 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5757 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5758
92e3664b
SP
5759 * bench/Makefile (bench): Add sin and slowsin.
5760 * benchtests/sin-inputs: New file.
5761 * benchtests/slowsin-inputs: New file.
5762 * benchtests/slowsin.c: New file.
5763
81f311c2
SP
5764 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5765 (bench): Add slowexp and slowpow.
5766 (exp-ITER): Increase iterations.
5767 (pow-ITER): Likewise.
5768 * benchtests/exp-inputs: Change input.
5769 * benchtests/pow-inputs: Likewise.
5770 * benchtests/slowexp-inputs: New file.
5771 * benchtests/slowexp.c: New file.
5772 * benchtests/slowpow-inputs: New file.
5773 * benchtests/slowpow.c: New file.
5774
ab0f1aa9
AZ
57752013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5776
5777 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5778 instructions.
5779 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5780 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5781 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5782 * benchtests/Makefile: Add rint benchtest.
5783 * benchtests/rint-inputs: Input for rint benchtest.
5784
57267616
TS
57852013-04-02 Thomas Schwinge <thomas@codesourcery.com>
5786
5787 * Versions.def (libm): Add GLIBC_2.18.
5788 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5789 hidden libm prototypes.
5790 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5791 * math/Makefile (libm-calls): Add s_issignaling.
5792 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5793 __issignalingf, __issignalingl. Adjust all libm.abilist files.
5794 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5795 declaration.
5796 * math/math.h [__USE_GNU] (issignaling): New macro.
5797 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5798 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5799 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5800 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5801 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5802 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5803 * manual/arith.texi (issignaling): New section.
5804 * manual/libm-err-tab.pl (@all_functions): Update comment.
5805 * math/gen-libm-test.pl (parse_args): Apply special handling for
5806 issignaling.
5807 * math/libm-test.inc (print_float, issignaling_test): New
5808 functions.
5809 (check_float_internal): Add issignaling checks.
5810 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5811 default definition.
5812 * sysdeps/powerpc/math-tests.h: New file.
5813 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5814 tests.
5815 * math/test-snan.c (TEST_FUNC): Likewise.
5816
6142896d
DM
58172013-03-30 David S. Miller <davem@davemloft.net>
5818
5819 * po/de.po: Update from translation team.
5820
ccc8cadf
JM
58212013-03-30 Joseph Myers <joseph@codesourcery.com>
5822
5823 [BZ #10357]
5824 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5825 imaginary part less than 1.0 and real part less than 0.5
5826 specially.
5827 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5828 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5829 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5830 (cacos_test): Add more tests.
5831 (casin_test): Likewise.
5832 (casinh_test): Likewise.
5833 * sysdeps/i386/fpu/libm-test-ulps: Update.
5834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5835
0f6a8d4b
SP
58362013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5837
0d1029de
SP
5838 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5839 ONE with its value.
5840
c2d94018
SP
5841 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5842 (__pow_mp): Replace ONE and MONE with their values.
5843 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5844 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5845 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5846 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5847 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5848 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5849
27ec37f1
SP
5850 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5851
a64d7e0e
SP
5852 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5853 (__pow_mp): Replace ZERO and MZERO with their values.
5854 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5855 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5856 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5857 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5858 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5859 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5860 (__sqr): Likewise.
5861
d26dd3eb
SP
5862 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5863
0f6a8d4b
SP
5864 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5865
e57b0c61
RM
58662013-03-28 Roland McGrath <roland@hack.frob.com>
5867
5868 * include/stdlib.h [!SHARED] (__call_tls_dtors):
5869 Declare with __attribute__ ((weak)).
5870 * stdlib/exit.c (__libc_atexit) [!SHARED]:
5871 Call __call_tls_dtors only if it's not NULL.
5872
356b3480
RM
58732013-03-28 Roland McGrath <roland@hack.frob.com>
5874
288f7d79
RM
5875 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5876 didn't do it already, then set _dl_phdr and _dl_phnum based on the
5877 magic __ehdr_start linker symbol if it's defined.
5878 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5879 them up here if it was already done.
5880
dc0a0263
RM
5881 * elf/dl-support.c (_dl_phdr): Make pointer to const.
5882 (_dl_aux_init): Use const in cast when setting it.
5883 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5884 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5885 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5886
3d3436ae
RM
5887 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5888 Declare them here.
5889 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5890 * csu/libc-tls.c: Nor here.
5891 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5892
356b3480
RM
5893 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5894 (__libc_message): Never call vsyslog.
5895
b0f1246a
AM
58962013-03-28 Alan Modra <amodra@gmail.com>
5897
5898 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5899 Define as empty.
5900 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5901 Likewise.
5902
fbbe2b9a
AZ
59032013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5904
5905 [BZ #15214]
5906 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5907 underflow.
5908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5909
1728ab37
SP
59102013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5911
7a86be6e
SP
5912 [BZ #15304]
5913 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5914 Don't add gid passed as argument.
5915
1728ab37
SP
5916 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5917
3a7182a1
JM
59182013-03-27 Joseph Myers <joseph@codesourcery.com>
5919
5920 [BZ #15307]
5921 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5922 imaginary part between 1.0 and 1.5 and real part less than 0.5
5923 specially.
5924 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5925 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5926 * math/libm-test.inc (cacos_test): Add more tests.
5927 (casin_test): Likewise.
5928 (casinh_test): Likewise.
5929 * sysdeps/i386/fpu/libm-test-ulps: Update.
5930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5931
6f2e90e7
SP
59322013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5933
5739f705
SP
5934 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5935 constants.
5936 (norm): Likewise.
5937 (denorm): Likewise.
5938 (__dbl_mp): Likewise.
5939 (add_magnitudes): Likewise.
5940 (sub_magnitudes): Likewise.
5941 (__add): Likewise.
5942 (__sub): Likewise.
5943 (__mul): Likewise.
5944 (__sqr): Likewise.
5945 (__inv): Likewise.
5946 (__dvd): Likewise.
5947
e375e83d
SP
5948 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5949 commented code.
5950 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5951 (__dubcos): Likewise.
5952 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5953 (__ieee754_acos): Likewise.
5954 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5955 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5956 (__exp1): Likewise.
5957 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5958 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5959 (log1): Likewise.
5960 (my_log2): Likewise.
5961 (checkint): Likewise.
5962 * sysdeps/ieee754/dbl-64/e_remainder.c
5963 (__ieee754_remainder): Likewise.
5964 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5965 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5966 (bsloww): Likewise.
5967 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5968
6f2e90e7
SP
5969 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5970 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5971 MANTISSA_STORE_T to store computations on mantissa. Use
5972 macros for rounding and division.
5973 (denorm): Likewise.
5974 (__dbl_mp): Likewise.
5975 (add_magnitudes): Likewise.
5976 (sub_magnitudes): Likewise.
5977 (__mul): Likewise.
5978 (__sqr): Likewise.
5979 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5980 powers of two in terms of TWOPOW macro.
5981 (mp_no): Make type of mantissa as MANTISSA_T.
5982 [!RADIXI]: Define RADIXI.
5983 [!TWO52]: Define TWO52.
5984 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5985
fce14d4e
AZ
59862013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5987
5988 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
5989 llroundl symbol when building for PPC32.
5990
9ad027fb
MW
59912013-03-24 Mark H Weaver <mhw@netris.org>
5992
5993 * manual/arith.texi (Normalization Functions): Fix prototypes for
5994 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
5995
e42a38dd
AZ
59962013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5997
5998 [BZ #13889]
5999 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6000 high value to check if expl overflow.
6001 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6002 to check for underflow and overflow.
6003 * math/libm-test.inc: Add exp test.
6004
2e0fb521
DL
60052013-03-21 Dmitry V. Levin <ldv@altlinux.org>
6006
6007 [BZ #11120]
6008 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6009 with NOT_IN_libc.
6010
b5784d95
AZ
60112013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6012
6013 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6014 symbol.
6015
5aa4a1a1
TS
60162013-03-21 Thomas Schwinge <thomas@codesourcery.com>
6017
bdef0be7
TS
6018 * math/gen-libm-test.pl (parse_args, special_functions): Properly
6019 wrap blocks consisting of several statements.
6020
5aa4a1a1
TS
6021 * sysdeps/generic/math-tests.h: New file.
6022 * sysdeps/i386/fpu/math-tests.h: Likewise.
6023 * math/test-snan.c: Include it.
6024 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6025
98c48fe5
JM
60262013-03-21 Joseph Myers <joseph@codesourcery.com>
6027
6028 [BZ #15285]
6029 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6030 (__ieee754_j0l): Do not improve calculations using cos of twice
6031 input for inputs above LDBL_MAX / 2.0L.
6032 (__ieee754_y0l): Likewise.
6033 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6034 (__ieee754_j1l): Do not improve calculations using cos of twice
6035 input for inputs above LDBL_MAX / 2.0L.
6036 (__ieee754_y1l): Likewise.
6037 * math/libm-test.inc (j0_test): Add another test.
6038 (j1_test): Likewise.
6039 (y0_test): Likewise.
6040 (y1_test): Likewise.
6041 * sysdeps/i386/fpu/libm-test-ulps: Update.
6042
3775a8bc
SP
60432013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6044
6045 * Rules ($(objpfx)bench-%.c): Include code from a C source
6046 file.
6047
0a1b2ae6
JM
60482013-03-21 Joseph Myers <joseph@codesourcery.com>
6049
6050 [BZ #15287]
6051 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6052 imaginary part 1.0 and real part less than 0.5 specially.
6053 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6054 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6055 * math/libm-test.inc (cacos_test): Add more tests.
6056 (casin_test): Likewise.
6057 (casinh_test): Likewise.
6058 * sysdeps/i386/fpu/libm-test-ulps: Update.
6059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6060
b33d4ce4
SP
60612013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6062
6063 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6064 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6065
bef0b507
JM
60662013-03-20 Joseph Myers <joseph@codesourcery.com>
6067
6068 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6069 * config.make.in (config-cflags-sse4): Remove variable.
6070 (config-cflags-avx): Likewise.
6071 (config-cflags-sse2avx): Likewise.
6072 (config-cflags-novzeroupper): Likewise.
6073 (config-asflags-i686): Likewise.
6074 (have-mfma4): Likewise.
6075 (have-as-vis3): Likewise.
6076 (MIG): Likewise.
6077 * configure.in (MIG): Do not AC_SUBST.
6078 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6079 (libc_cv_cc_sse4): Do not AC_SUBST.
6080 (libc_cv_cc_avx): Likewise.
6081 (libc_cv_cc_sse2avx): Likewise.
6082 (libc_cv_cc_novzeroupper): Likewise.
6083 (libc_cv_cc_fma4): Likewise.
6084 (libc_cv_as_i686): Likewise.
6085 (libc_cv_sparc_as_vis3): Likewise.
6086 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6087 LIBC_CONFIG_VAR.
6088 (config-asflags-i686): Likewise.
6089 (config-cflags-avx): Likewise.
6090 (config-cflags-sse2avx): Likewise.
6091 (have-mfma4): Likewise.
6092 (config-cflags-novzeroupper): Likewise.
6093 * sysdeps/mach/configure.in (MIG): Likewise.
6094 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6095 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6096 LIBC_CONFIG_VAR.
6097 (config-cflags-avx): Likewise.
6098 (config-cflags-sse2avx): Likewise.
6099 (have-mfma4): Likewise.
6100 (config-cflags-novzeroupper): Likewise.
6101 * configure: Regenerated.
6102 * sysdeps/i386/configure: Likewise.
6103 * sysdeps/mach/configure: Likewise.
6104 * sysdeps/sparc/configure: Likewise.
6105 * sysdeps/x86_64/configure: Likewise.
6106
912cc4b3
RM
61072013-03-20 Roland McGrath <roland@hack.frob.com>
6108
6109 [BZ #14812]
6110 * locale/programs/localedef.c (options): Put N_ translation marker
6111 on argument names, not just descriptions.
6112
04eed2b0
MS
61132013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6114
6115 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6116
a065ceff
OB
61172013-03-20 Ondřej Bílka <neleai@seznam.cz>
6118
9bb2a810 6119 [BZ #14176]
a065ceff
OB
6120 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6121
a600e5ce
RM
61222013-03-19 Roland McGrath <roland@hack.frob.com>
6123
6124 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
6125 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
6126 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
6127 [!BEFORE_ABORT] (before_abort): New function.
6128 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
6129 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
6130 (writev_for_fatal): New function.
6131 (WRITEV_FOR_FATAL): New macro; call that.
6132 (backtrace_and_maps): New function.
6133 (BEFORE_ABORT): New macro; call that.
6134 (struct str_list): Type removed.
6135 (__libc_message, __libc_fatal): Functions removed.
6136 Include <sysdeps/posix/libc_fatal.c> instead.
6137
6b18bea6
JM
61382013-03-19 Joseph Myers <joseph@codesourcery.com>
6139
6140 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6141 constants.
6142 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6143 double constants.
6144
aaa8cb4b
AS
61452013-03-19 Andreas Schwab <schwab@suse.de>
6146
44673770
AS
6147 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6148 * sysdeps/gnu/configure: Regenerate.
6149
aaa8cb4b
AS
6150 * configure.in: Substitute libc_cv_rtlddir.
6151 * configure: Regenerate.
6152 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6153 * Makeconfig (rtlddir, inst_rtlddir): New variables.
6154 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6155 * elf/Makefile (install-others, CFLAGS-interp.c)
6156 (ldso_install, common-ldd-rewrite): Likewise.
6157 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6158 $(inst_slibdir)/$(rtld-installed-name).
6159 * scripts/rellns-sh: Add -p option.
6160 * Makerules (make-shlib-link): Use rellns-sh to get relative name
6161 for source.
6162
d3cfc668
SP
61632013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6164
6165 * manual/nptl.texi: Renamed to ...
6166 * manual/threads.texi: ... this.
6167 * manual/Makefile (chapters): Update.
6168
0e2b9cdd
RM
61692013-03-18 Roland McGrath <roland@hack.frob.com>
6170
6171 [BZ #14812]
6172 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6173 on argument names, not just descriptions.
0e2b9cdd
RM
6174 * malloc/memusagestat.c (options): Likewise.
6175 * nss/getent.c (options): Likewise.
63270c24
RM
6176
61772013-03-18 Benno Schulenberg <bensberg@justemail.net>
6178
6179 [BZ #14812]
6180 * iconv/iconv_prog.c (options): Put N_ translation marker
6181 on argument names, not just descriptions.
6182 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 6183
b2e1393c
OB
61842013-03-18 Ondrej Bilka <neleai@seznam.cz>
6185
6186 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6187 implementation which is faster on all x86_64 architectures.
6188 Tested on AMD, Intel Nehalem, SNB, IVB.
6189 * sysdeps/x86_64/strnlen.S: Likewise.
6190
6191 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6192 Remove all multiarch strlen and strnlen versions.
6193 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6194 Remove strlen and strnlen related parts.
6195
6196 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6197 Inline strlen part.
6198 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6199
6200 * sysdeps/x86_64/multiarch/strlen.S: Remove.
6201 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6202 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6203 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6204 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6205 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
6206
ec4ff04d
CD
62072013-03-17 Carlos O'Donell <carlos@redhat.com>
6208
6209 * manual/memory.texi (Malloc Tunable Parameters):
6210 Sort parameters alphabetically. Add comments for missing entries.
6211
cd18e90a
DM
62122013-03-17 David S. Miller <davem@davemloft.net>
6213
6214 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6215
2a185d32
JM
62162013-03-16 Joseph Myers <joseph@codesourcery.com>
6217
d2f9799e
JM
6218 [BZ #15283]
6219 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6220 for arguments at most half maximum finite value.
6221 * math/libm-test.inc (j0_test): Add more tests.
6222 (j1_test): Likewise.
6223 (y0_test): Likewise.
6224 (y1_test): Likewise.
6225 * sysdeps/i386/fpu/libm-test-ulps: Update.
6226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6227
2a185d32
JM
6228 [BZ #14155]
6229 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6230 1 / x and functions P and Q for arguments above 0x1p256L.
6231 (__ieee754_y0l): Likewise.
6232 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6233 (__ieee754_y1l): Likewise.
6234 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6235 (j1_test): Likewise.
6236 (y0_test): Likewise.
6237 (y1_test): Likewise.
6238
6cbec759
TS
62392013-03-16 Thomas Schwinge <thomas@codesourcery.com>
6240
6241 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6242 variable.
6243
bc16e260
RM
62442013-03-15 Roland McGrath <roland@hack.frob.com>
6245
aefc9b8c
RM
6246 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6247 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6248 zero since it's initialized to EXEC_PAGESIZE.
6249
bc16e260
RM
6250 * sysdeps/unix/sysv/linux/ldsodefs.h
6251 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6252 * sysdeps/generic/ldsodefs.h: ... here.
6253
a57da955
TS
62542013-03-15 Thomas Schwinge <thomas@codesourcery.com>
6255
af00a34d
TS
6256 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6257
495ded2c
TS
6258 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6259 math/test-snan.c.
6260 * math/test-snan.c: Renamed from
6261 sysdeps/powerpc/fpu/test-powerpc-snan.c.
6262 * math/Makefile (tests): Add test-snan.
6263 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6264 test-powerpc-snan.
6265
777b0332
TS
6266 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6267 SUFFIX. Initialize qNaN_var with __builtin_nan family of
6268 functions.
6269 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
6270 __builtin_nan family of functions.
6271 * math/libm-test.inc (initialize): Initialize qnan_value with
6272 __builtin_nan family of functions.
6273 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6274 Remove variables.
6275 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6276 Remove functions.
6277 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
6278 storage class. Initialize qNaN_var and sNaN_var with
6279 __builtin_nan and __builtin_nans families of functions,
6280 respectively.
6281
64d063b8
TS
6282 * math/libm-test.inc (acosh_test): Also test with qNaN input.
6283 (sqrt_test): Remove duplicate test with qNaN input.
6284 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6285 (round_test, signbit_test, significand_test): Note missing +/-Inf
6286 as well as qNaN tests.
6287
67e971f1
TS
6288 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6289 qNaN_var. Fix a few strings, too.
6290 * math/libm-test.inc (nan_value): Rename to qnan_value.
6291 * math/gen-libm-test.pl (%beautify): Adjust to that.
6292 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6293 * math/test-misc.c (main): Likewise.
6294 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6295 to __qnan_bytes, and __qnan_union, respectively.
6296 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6297 Likewise.
6298 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6299 and lqnanval, respectively.
6300 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6301 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6302 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6303 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6304
64487e12
TS
6305 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6306 * math/test-misc.c (main) [__x86_64__]: Enable test for long
6307 doubles.
6308
e015e27b
TS
6309 * math/test-misc.c (main): Fix copy'n'pastos.
6310 * misc/tst-efgcvt.c (special): Likewise.
6311
a57da955
TS
6312 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6313 Remove declarations.
6314
1e380345
SP
63152013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6316
6317 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6318 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6319 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6320 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6321
ef26eece
AZ
63222013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6323
6324 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6325 macro to return vdso values correctly in IFUNC implementations.
6326 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6327 Optimization by using IFUNC.
6328
8cfdb7e0
SP
63292013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6330 Richard Henderson <rth@redhat.com>
6331 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6332
6333 * Makefile.in (bench): New target.
6334 * NEWS: Mention the benchmark framework.
6335 * Rules (bench): Likewise.
6336 (binaries-bench): Generate binaries for functions to
6337 benchmark.
6338 * benchtests/Makefile: New makefile for benchmark tests.
6339 * benchtests/bench-skeleton.c: New skeleton file for benchmark
6340 programs.
6341 * benchtests/exp-inputs: New input file for EXP function.
6342 * benchtests/pow-inputs: New input file for POW function.
6343 * scripts/bench.pl: New script to generate source files for
6344 benchmark programs.
6345
bcda9880
SP
63462013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6347
d22ca8cd
SP
6348 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6349 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6350 computations on mantissa. Use macros for rounding and
6351 division.
6352 (denorm): Likewise.
6353 (__dbl_mp): Likewise.
6354 (add_magnitudes): Likewise.
6355 (sub_magnitudes): Likewise.
6356 (__mul): Likewise.
6357 (__sqr): Likewise.
6358 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6359 powers of two in terms of TWOPOW macro.
6360 (mp_no): Make type of mantissa as MANTISSA_T.
6361 [!RADIXI]: Define RADIXI.
6362 [!TWO52]: Define TWO52.
6363 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6364
bcda9880
SP
6365 * manual/nptl.texi (cindex): Modify threads to pthreads.
6366
06d5adfb
JM
63672013-03-15 Joseph Myers <joseph@codesourcery.com>
6368
6369 * sysdeps/x86_64/preconfigure: Regenerated.
6370
41c7328e
JM
63712013-03-14 Joseph Myers <joseph@codesourcery.com>
6372
6373 [BZ #14155]
6374 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6375 0x1p28 and above.
6376 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6377 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6378 0x1p28 and above.
6379 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6380 * math/libm-test.inc (j0_test): Do not allow one spurious
6381 underflow exception.
6382 (y1_test): Likewise.
6383
e25cfa60
SP
63842013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6385
0409959c
SP
6386 * manual/Makefile (chapters): Add nptl.
6387 * manual/debug.texi (Debugging Support): Add link to Threads
6388 chapter.
6389 * manual/nptl.texi: New file.
6390
e25cfa60
SP
6391 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6392
58a1335e
PB
63932013-03-14 Petr Baudis <pasky@ucw.cz>
6394
6395 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6396 for non-NULL pointer before the memory validity test. Pointed
6397 out by Holger Brunck <holger.brunck@keymile.com>.
6398
9dc7c64f
AS
63992013-03-13 Andreas Schwab <schwab@suse.de>
6400
6401 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6402 instead of .os.
6403
54206aa6
JM
64042013-03-13 Joseph Myers <joseph@codesourcery.com>
6405
6406 * timezone/zic.c: Update from tzcode 2013b.
6407
e98cdb38
CD
64082013-03-12 Carlos O'Donell <carlos@redhat.com>
6409
6410 * manual/install.texi (Configuring and compiling):
6411 Mention i686 and i586.
6412 * INSTALL: Regenerate.
6413
9967e003
RM
64142013-03-12 Roland McGrath <roland@hack.frob.com>
6415
6416 * sysdeps/init_array/elf-init.c: New file.
6417 * csu/elf-init.c
6418 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6419 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6420
6421 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6422 __gmon_start__ as global, but as static with a .preinit_array pointer.
6423 * sysdeps/init_array/gmon-start.c: New file. Use that.
6424 * sysdeps/init_array/crti.S: New file, empty except for comments.
6425 * sysdeps/init_array/crtn.S: Likewise.
6426
e6b5a293 64272013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
6428
6429 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6430 definining bcopy.
80f844c9
OB
6431 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6432 Remove Prefer_SSE_for_memop.
6433 * sysdeps/x86_64/multiarch/init-arch.h: Remove
6434 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6435 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
6436 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6437 memset-x86-64.
80f844c9 6438 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 6439 Remove bzero, memset ifunc support.
80f844c9
OB
6440 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6441 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6442 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6443 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6444
fb6b0fcb
AS
64452013-03-11 Andreas Schwab <schwab@suse.de>
6446
6447 [BZ #15234]
6448 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6449 by SHLIB_COMPAT.
6450 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6451 (GLIBC_2.16): Remove pthread_atfork.
6452
3e6bd4b1
PP
64532013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6454
6455 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6456 (ptestcases.h): Likewise.
6457
222d7f00
RM
64582013-03-08 Roland McGrath <roland@hack.frob.com>
6459
6460 * Makeconfig ($(common-objpfx)config.status): Depend on
6461 sysdeps/*/preconfigure{,.in} too.
6462
1ba4f030
JM
64632013-03-08 Joseph Myers <joseph@codesourcery.com>
6464
a222d91a
JM
6465 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6466 (__free_hook): Use void * instead of __malloc_ptr_t.
6467 (__malloc_hook): Likewise.
6468 (__realloc_hook): Likewise.
6469 (__memalign_hook): Likewise.
6470 (__after_morecore_hook): Likewise.
6471 * malloc/arena.c (save_malloc_hook): Likewise.
6472 (save_free_hook): Likewise.
6473 * malloc/hooks.c (malloc_hook_ini): Likewise.
6474 (realloc_hook_ini): Likewise.
6475 (memalign_hook_ini): Likewise.
6476 * malloc/malloc.c (malloc_hook_ini): Likewise.
6477 (realloc_hook_ini): Likewise.
6478 (memalign_hook_ini): Likewise.
6479 (__free_hook): Likewise.
6480 (__malloc_hook): Likewise.
6481 (__realloc_hook): Likewise.
6482 (__memalign_hook): Likewise.
6483 (__libc_malloc): Likewise.
6484 (__libc_free): Likewise.
6485 (__libc_realloc): Likewise.
6486 (__libc_memalign): Likewise.
6487 (__libc_valloc): Likewise.
6488 (__libc_pvalloc): Likewise.
6489 (__libc_calloc): Likewise.
6490 (__posix_memalign): Likewise.
6491 * malloc/morecore.c (__sbrk): Likewise.
6492 (__default_morecore): Likewise.
6493
5cc45e10
JM
6494 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6495
dd54b864
JM
6496 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6497 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6498 __malloc_ptrdiff_t.
6499
1ba4f030
JM
6500 * malloc/malloc.h (__malloc_size_t): Remove macro.
6501 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6502 __malloc_size_t.
6503 (old_memalign_hook): Likewise.
6504 (old_realloc_hook): Likewise.
6505 (struct hdr): Likewise.
6506 (flood): Likewise.
6507 (mallochook): Likewise.
6508 (memalignhook): Likewise.
6509 (reallochook): Likewise.
6510 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6511 (tr_old_realloc_hook): Likewise.
6512 (tr_old_memalign_hook): Likewise.
6513 (tr_mallochook): Likewise.
6514 (tr_reallochook): Likewise.
6515 (tr_memalignhook): Likewise.
6516
edf66e57
AZ
65172013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6518
6519 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6520 default_ldbl_pack and using as default implementation.
6521 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6522 implementation.
6523 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6524 redundant definition.
6525 (ldbl_insert_mantissa): Likewise.
6526 (ldbl_canonicalize): Likewise.
6527 (ldbl_nearbyint): Likewise.
6528 (ldbl_pack): Rename to ldbl_pack_ppc.
6529 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6530 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6531 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6532
6d9145d8
SP
65332013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6534
6535 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6536 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6537 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6538 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6539 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6540 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6541 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6542 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6543
4dd4e157
AJ
65442013-03-07 Andreas Jaeger <aj@suse.de>
6545
6546 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6547 bits/mman-linux.h.
6548
adbb8027
SP
65492013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6550
ce544b5b
SP
6551 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6552 Include mpa.h and declare __MPEXP.
6553 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6554 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6555 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6556 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6557 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6558 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6559 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6560
4cc149fd
SP
6561 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6562 (__slowpow): Use long double EXPL and LOGL functions to
6563 compute POW.
6564 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6565 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6566 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6567 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6568 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6569 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6570
e6ebd4a7
SP
6571 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6572 intermediate variable to calculate exponent.
6573 (__sqr): Likewise.
6574 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6575 Likewise.
6576 (__sqr): Likewise.
6577
82a9811d
SP
6578 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6579 [!NO__SQR]: Define __sqr.
6580 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6581 and NO__SQR. Remove all code except __mul and __sqr. Include
6582 sysdeps/ieee754/dbl-64/mpa.c.
6583 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6584
adbb8027
SP
6585 [BZ #12723]
6586 * posix/Makefile (tests): Add tst-pathconf.
6587 * posix/tst-pathconf.c: New test case.
6588 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6589 _PC_PIPE_BUF.
6590 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6591
39120df9
PF
65922013-03-06 Patsy Franklin <pfrankli@redhat.com>
6593
6594 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6595
67525cb8
AJ
65962013-03-06 Andreas Jaeger <aj@suse.de>
6597
664a9ce4
AJ
6598 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6599 definition via __MAP_ANONYMOUS.
6600
8e39047d
AJ
6601 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6602 it's not part of Linux headers.
6603
67525cb8
AJ
6604 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6605 (MAP_HUGE_MASK): Define.
6606
6607 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6608 Define.
6609 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6610 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6611 Define.
6612 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6613 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6614 Define.
6615 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6616 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6617 Define.
6618 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6619
6620 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6621 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6622 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6623 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6624 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6625 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6626
6627 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6628 Handle f2fs.
6629
6630 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6631 Handle f2fs and efivarfs.
6632
6633 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6634 f2fs.
6635
6636 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6637 (EFIVARFS_MAGIC): Add.
6638 (F2FS_LINK_MAX): Add.
6639
e1b42695
PP
66402013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6641
6642 * stdio-common/vfprintf.c: Replace __builtin_expect with
6643 __glibc_unlikely.
6644
2d67d91a
JM
66452013-03-06 Joseph Myers <joseph@codesourcery.com>
6646
6647 [BZ #13550]
6648 * sysdeps/generic/bp-sym.h: Remove file.
6649 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6650 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6651 <bp-sym.h> and <bp-asm.h>.
6652 (__longjmp): Don't use BP_SYM.
6653 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6654 and <bp-asm.h>.
6655 (memcpy): Don't use BP_SYM.
6656 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6657 <bp-sym.h> and <bp-asm.h>.
6658 (memcpy): Don't use BP_SYM.
6659 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6660 <bp-asm.h>.
6661 (memcpy): Don't use BP_SYM.
6662 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6663 <bp-asm.h>.
6664 (memset): Don't use BP_SYM.
6665 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6666 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6667 (__bzero): Don't use BP_SYM.
6668 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6669 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6670 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6671 <bp-sym.h> and <bp-asm.h>.
6672 (memcmp): Don't use BP_SYM. Remove comment about bounded
6673 pointers.
6674 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6675 <bp-sym.h> and <bp-asm.h>.
6676 (memcpy): Don't use BP_SYM.
6677 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6678 <bp-sym.h> and <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/strncmp.S: Don't include
6686 <bp-sym.h> and <bp-asm.h>.
6687 (strncmp): Don't use BP_SYM. Remove comment about bounded
6688 pointers.
6689 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6690 <bp-sym.h> and <bp-asm.h>.
6691 (memcpy): Don't use BP_SYM.
6692 * sysdeps/powerpc/powerpc64/power6/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/power7/memchr.S: Don't include
6701 <bp-sym.h> and <bp-asm.h>.
6702 (__memchr): Don't use BP_SYM.
6703 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6704 <bp-sym.h> and <bp-asm.h>.
6705 (memcmp): Don't use BP_SYM. Remove comment about bounded
6706 pointers.
6707 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6708 <bp-sym.h> and <bp-asm.h>.
6709 (memcpy): Don't use BP_SYM.
6710 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6711 <bp-sym.h> and <bp-asm.h>.
6712 (__mempcpy): Don't use BP_SYM.
6713 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6714 <bp-sym.h> and <bp-asm.h>.
6715 (__memrchr): Don't use BP_SYM.
6716 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6717 <bp-sym.h> and <bp-asm.h>.
6718 (memset): Don't use BP_SYM.
6719 (__bzero): Likewise.
6720 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6721 <bp-sym.h> and <bp-asm.h>.
6722 (__rawmemchr): Don't use BP_SYM.
6723 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6724 <bp-sym.h> and <bp-asm.h>.
6725 (__STRCMP): Don't use BP_SYM.
6726 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6727 <bp-sym.h> and <bp-asm.h>.
6728 (strchr): Don't use BP_SYM.
6729 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6730 <bp-sym.h> and <bp-asm.h>.
6731 (__strchrnul): Don't use BP_SYM.
6732 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6733 <bp-sym.h> and <bp-asm.h>.
6734 (strlen): Don't use BP_SYM.
6735 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6736 <bp-sym.h> and <bp-asm.h>.
6737 (strncmp): Don't use BP_SYM. Remove comment about bounded
6738 pointers.
6739 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6740 <bp-sym.h> and <bp-asm.h>.
6741 (__strnlen): Don't use BP_SYM.
6742 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6743 <bp-sym.h> and <bp-asm.h>.
6744 (__GI__setjmp): Don't use BP_SYM.
6745 (_setjmp): Likewise.
6746 (__sigsetjmp): Likewise.
6747 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6748 (L(start_addresses)): Don't use BP_SYM.
6749 (_start): Likewise.
6750 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6751 <bp-asm.h>.
6752 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6753 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6754 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6755 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6756 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6757 <bp-asm.h>.
6758 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6759 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
6760 about bounded pointers.
6761 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6762 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6763 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6764 <bp-asm.h>.
6765 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6766 about bounded pointers. Remove GKM FIXME comments.
6767 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6768 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6769 <bp-asm.h>.
6770 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6771 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
6772 Remove GKM FIXME comments.
6773 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6774 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6775 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6776 <bp-asm.h>.
6777 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6778 about bounded pointers. Remove GKM FIXME comment.
6779 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6780 and <bp-asm.h>.
6781 (strncmp): Don't use BP_SYM. Remove comment about bounded
6782 pointers.
6783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6784 <bp-sym.h> and <bp-asm.h>.
6785 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6787 <bp-sym.h> and <bp-asm.h>.
6788 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6789 comment.
6790
cdcf361f
PP
67912013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6792
6793 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6794 call free(NULL).
6795
3c4a2b15
DM
67962013-03-05 David S. Miller <davem@davemloft.net>
6797
6798 * po/es.po: Update from translation team.
6799
cdcf361f 68002013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
6801
6802 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6803 <bits/mman-linux.h>.
6804 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6805 is fine.
6806 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6807 <bits/mman-linux.h> to end of file.
6808 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6809 is fine.
6810 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6811 <bits/mman-linux.h> to end of file.
6812 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6813 is fine.
6814 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6815 <bits/mman-linux.h> to end of file.
6816
6817 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6818 (MCL_CURRENT, MCL_FUTURE): Define here.
6819
5f67c04f
AK
68202013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6821
8a4473cc 6822 [BZ #15232]
5f67c04f
AK
6823 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6824 attribute_hidden.
6825 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6826
c3e94a95
AK
68272013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6828
6829 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6830 fourth parameter needed for rt_sigprocmask syscall.
6831 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6832 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6833 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6834 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6835 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6836 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6837
cfb6382a
JM
68382013-03-04 Joseph Myers <joseph@codesourcery.com>
6839
6840 [BZ #13550]
6841 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6842 comment about bounded pointers.
6843 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6844 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6845
539d8e01
AJ
68462013-03-04 Andreas Jaeger <aj@suse.de>
6847
6848 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6849 common definitions.
6850
6851 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6852 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6853 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6854 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6855 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
6856 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6857
2e167a70 68582013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
6859
6860 [BZ #15055]
6861 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6862 __ieee754_sqrl instead of __sqrl.
6863
68508633
JM
68642013-03-01 Joseph Myers <joseph@codesourcery.com>
6865
6866 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6867 * sysdeps/powerpc/fpu_control.h: ... here.
6868 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6869 * sysdeps/powerpc/bits/fenvinline.h: ... here.
6870 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6871 * sysdeps/powerpc/bits/mathinline.h: ... here.
6872
7775448e
RM
68732013-03-01 Roland McGrath <roland@hack.frob.com>
6874
6875 * elf/dl-hwcaps.c (_dl_important_hwcaps):
6876 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6877 to just [NEED_DL_SYSINFO_DSO].
6878 * elf/dl-support.c: Likewise.
6879 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6880 * elf/rtld.c (dl_main): Likewise.
6881 * elf/setup-vdso.h (setup_vdso): Likewise.
6882 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6883 * sysdeps/unix/sysv/linux/dl-sysdep.c
6884 (_dl_discover_osversion): Likewise.
6885
4e9b5995
CD
68862013-03-01 Carlos O'Donell <carlos@redhat.com>
6887
6888 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6889 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6890
e23872c8
SP
68912013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6892
e5c74c63
SP
6893 * NEWS: Mention libm performance improvements and non-x86 PI
6894 futex support.
6895
e23872c8
SP
6896 * csu/libc-start.c (__pthread_initialize_minimal): Change
6897 function arguments.
6898 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6899
b5510883
JM
69002013-02-28 Joseph Myers <joseph@codesourcery.com>
6901
6902 [BZ #13550]
6903 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6904 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6905 <bp-sym.h> and <bp-asm.h>.
6906 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6907 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6908 and <bp-asm.h>.
6909 (memcpy): Don't use BP_SYM.
6910 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6911 <bp-asm.h>.
6912 (__mpn_add_n): Don't use BP_SYM.
6913 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6914 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6915 and <bp-asm.h>.
6916 (__mpn_addmul_1): Don't use BP_SYM.
6917 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6918 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6919 <bp-sym.h>.
6920 (_setjmp): Don't use BP_SYM.
6921 (__novmx_setjmp): Likewise.
6922 (__GI__setjmp): Likewise.
6923 (__vmx_setjmp): Likewise.
6924 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6925 <bp-sym.h>.
6926 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6927 (__bzero): Don't use BP_SYM.
6928 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6929 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6930 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6931 <bp-sym.h> and <bp-asm.h>.
6932 (memcpy): Don't use BP_SYM.
6933 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6934 <bp-sym.h> and <bp-asm.h>.
6935 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6936 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6937 <bp-sym.h> and <bp-asm.h>.
6938 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6939 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6940 <bp-asm.h>.
6941 (__mpn_lshift): Don't use BP_SYM.
6942 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6943 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6944 <bp-asm.h>.
6945 (memset): Don't use BP_SYM.
6946 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6947 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6948 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6949 <bp-asm.h>.
6950 (__mpn_mul_1): Don't use BP_SYM.
6951 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6952 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6953 <bp-sym.h> and <bp-asm.h>.
6954 (memcmp): Don't use BP_SYM.
6955 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6956 <bp-sym.h> and <bp-asm.h>.
6957 (memcpy): Don't use BP_SYM.
6958 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6959 <bp-sym.h> and <bp-asm.h>.
6960 (memset): Don't use BP_SYM.
6961 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6962 <bp-sym.h> and <bp-asm.h>.
6963 (strncmp): Don't use BP_SYM.
6964 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6965 <bp-sym.h> and <bp-asm.h>.
6966 (memcpy): Don't use BP_SYM.
6967 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6968 <bp-sym.h> and <bp-asm.h>.
6969 (memset): Don't use BP_SYM.
6970 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6971 <bp-sym.h> and <bp-asm.h>.
6972 (__memchr): Don't use BP_SYM.
6973 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6974 <bp-sym.h> and <bp-asm.h>.
6975 (memcmp): Don't use BP_SYM.
6976 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6977 <bp-sym.h> and <bp-asm.h>.
6978 (memcpy): Don't use BP_SYM.
6979 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
6980 <bp-sym.h> and <bp-asm.h>.
6981 (__mempcpy): Don't use BP_SYM.
6982 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
6983 <bp-sym.h> and <bp-asm.h>.
6984 (__memrchr): Don't use BP_SYM.
6985 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
6986 <bp-sym.h> and <bp-asm.h>.
6987 (memset): Don't use BP_SYM.
6988 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
6989 <bp-sym.h> and <bp-asm.h>.
6990 (__rawmemchr): Don't use BP_SYM.
6991 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
6992 <bp-sym.h> and <bp-asm.h>.
6993 (__STRCMP): Don't use BP_SYM.
6994 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
6995 <bp-sym.h> and <bp-asm.h>.
6996 (strchr): Don't use BP_SYM.
6997 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
6998 <bp-sym.h> and <bp-asm.h>.
6999 (__strchrnul): Don't use BP_SYM.
7000 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7001 <bp-sym.h> and <bp-asm.h>.
7002 (strlen): Don't use BP_SYM.
7003 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7004 <bp-sym.h> and <bp-asm.h>.
7005 (strncmp): Don't use BP_SYM.
7006 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7007 <bp-sym.h> and <bp-asm.h>.
7008 (__strnlen): Don't use BP_SYM.
7009 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7010 <bp-asm.h>.
7011 (__mpn_rshift): Don't use BP_SYM.
7012 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7013 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7014 <bp-sym.h> and <bp-asm.h>.
7015 (__sigsetjmp): Don't use BP_SYM.
7016 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7017 (L(start_addresses)): Don't use BP_SYM.
7018 (_start): Likewise.
7019 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7020 <bp-asm.h>.
7021 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7022 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7023 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7024 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7025 <bp-asm.h>.
7026 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7027 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7028 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7029 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7030 <bp-asm.h>.
7031 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7032 comments.
7033 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7034 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7035 <bp-asm.h>.
7036 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
7037 FIXME comments.
7038 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7039 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7040 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7041 <bp-asm.h>.
7042 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7043 comment.
7044 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7045 and <bp-asm.h>.
7046 (strncmp): Don't use BP_SYM,
7047 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7048 <bp-asm.h>.
7049 (__mpn_sub_n): Don't use BP_SYM.
7050 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7051 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7052 and <bp-asm.h>.
7053 (__mpn_submul_1): Don't use BP_SYM.
7054 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7056 <bp-sym.h> and <bp-asm.h>.
7057 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7059 <bp-sym.h> and <bp-asm.h>.
7060 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7061 comment.
7062
8d19fe64
SP
70632013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7064
7065 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7066 Use ZK to minimize writes to Z.
7067 (sub_magnitudes): Simplify code a bit.
7068 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7069 Use ZK to minimize writes to Z.
7070 (sub_magnitudes): Simplify code a bit.
7071
85bd816a
RM
70722013-02-27 Roland McGrath <roland@hack.frob.com>
7073
7074 * csu/gmon-start.c: Add special exception to license text.
7075
b5977bf2
RH
70762013-02-27 Richard Henderson <rth@redhat.com>
7077
7078 * scripts/config.guess: Update from config.git.
7079 * scripts/config.sub: Likewise.
7080
11d6e2f2
SP
70812013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7082
09c14ed2
SP
7083 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7084
a688864e
SP
7085 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7086
6295157a
SP
7087 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7088
b8de2202
SP
7089 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7090
11d6e2f2
SP
7091 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7092
7e80ddb8
RM
70932013-02-26 Roland McGrath <roland@hack.frob.com>
7094
7095 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7096 [$(build-shared = yes].
7e80ddb8 7097
7da6d9ed
SP
70982013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7099
45f05884
SP
7100 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7101 (__mul): Reduce iterations for calculating mantissa.
7102
2236d359
SP
7103 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7104 MPTWO.
7105 (__mpranred): Likewise.
7106
7da6d9ed
SP
7107 [BZ #15160]
7108 * malloc/memusagestat.c (main): Draw graphs for heap and stack
7109 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7110
b7688c42
PE
71112013-02-26 Paul Eggert <eggert@cs.ucla.edu>
7112
7113 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7114 Define __attribute__.
7115
53a5c423
SP
71162013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7117
7118 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7119 unused.
7120 * posix/regex_internal.h (__attribute): Remove.
7121 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7122 (re_string_context_at): Likewise.
7123 (bitset_not): Use __attribute__ and mark function as possibly
7124 unused.
7125 (bitset_merge): Likewise.
7126 (bitset_mask): Likewise.
7127 (re_string_char_size_at): Likewise.
7128 (re_string_wchar_at): Likewise.
7129 (re_string_elem_size_at): Likewise.
7130
60f5a8b5
SP
71312013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7132
2a983a2e
SP
7133 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
7134 code.
7135 (cc32): Likewise.
7136
e69804d1
SP
7137 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7138 (__acr): Likewise.
7139 (__cpy): Likewise.
7140 (norm): Likewise.
7141 (denorm): Likewise.
7142 (__dbl_mp): Likewise.
7143 (add_magnitudes): Likewise.
7144 (sub_magnitudes): Likewise.
7145 (__mul): Likewise.
7146 (__inv): Likewise.
7147
2f22a1e8
SP
7148 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7149 style.
7150
8930ddc7
SP
7151 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7152 style.
7153
dc60cb11
SP
7154 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7155 code.
7156
60f5a8b5
SP
7157 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7158 up changes with default code.
7159 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7160 Likewise.
7161
b4d1fd33
AM
71622013-02-24 Allan McRae <allan@archlinux.org>
7163
faf6f8bc
AM
7164 * manual/socket.texi (The Internet Namespace): Order menu items
7165 to match that in the file.
7166
b4d1fd33
AM
7167 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7168 node listing of the info page menu.
7169
2366713d
JM
71702013-02-21 Joseph Myers <joseph@codesourcery.com>
7171
7172 [BZ #13550]
7173 * sysdeps/i386/bp-asm.h: Remove file.
7174 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7175 (PARMS): Do not use macros from bp-asm.h.
7176 (S1): Likewise.
7177 (S2): Likewise.
7178 (SIZE): Likewise.
7179 (__mpn_add_n): Do not use BP_SYM
7180 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7181 "bp-asm.h".
7182 (PARMS): Do not use macros from bp-asm.h.
7183 (S1): Likewise.
7184 (SIZE): Likewise.
7185 (__mpn_addmul_1): Do not use BP_SYM
7186 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7187 "bp-asm.h".
7188 (PARMS): Do not use macros from bp-asm.h.
7189 (SIGMSK): Likewise.
7190 (_setjmp): Likewise. Do not use BP_SYM.
7191 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7192 "bp-asm.h".
7193 (PARMS): Do not use macros from bp-asm.h.
7194 (SIGMSK): Likewise.
7195 (setjmp): Likewise. Do not use BP_SYM.
7196 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7197 "bp-asm.h".
7198 (PARMS): Do not use macros from bp-asm.h.
7199 (__frexp): Do not use BP_SYM.
7200 (frexp): Likewise.
7201 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7202 "bp-asm.h".
7203 (PARMS): Do not use macros from bp-asm.h.
7204 (__frexpf): Do not use BP_SYM.
7205 (frexpf): Likewise.
7206 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7207 "bp-asm.h".
7208 (PARMS): Do not use macros from bp-asm.h.
7209 (__frexpl): Do not use BP_SYM.
7210 (frexpl): Likewise.
7211 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7212 "bp-asm.h".
7213 (PARMS): Do not use macros from bp-asm.h.
7214 (__remquo): Do not use BP_SYM.
7215 (remquo): Likewise.
7216 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7217 "bp-asm.h".
7218 (PARMS): Do not use macros from bp-asm.h.
7219 (__remquof): Do not use BP_SYM.
7220 (remquof): Likewise.
7221 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7222 "bp-asm.h".
7223 (PARMS): Do not use macros from bp-asm.h.
7224 (__remquol): Do not use BP_SYM.
7225 (remquol): Likewise.
7226 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7227 "bp-asm.h".
7228 (PARMS): Do not use macros from bp-asm.h.
7229 (DEST): Likewise.
7230 (SRC): Likewise.
7231 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
7232 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7233 "bp-asm.h".
7234 (PARMS): Do not use macros from bp-asm.h.
7235 (strlen): Do not use BP_SYM.
7236 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7237 "bp-asm.h".
7238 (PARMS): Do not use macros from bp-asm.h.
7239 (S1): Likewise.
7240 (S2): Likewise.
7241 (SIZE): Likewise.
7242 (__mpn_add_n): Do not use BP_SYM.
7243 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7244 "bp-asm.h".
7245 (PARMS): Do not use macros from bp-asm.h.
7246 (S1): Likewise.
7247 (SIZE): Likewise.
7248 (__mpn_addmul_1): Do not use BP_SYM.
7249 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7250 weak_alias.
7251 (bzero): Likewise.
7252 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7253 "bp-asm.h".
7254 (PARMS): Do not use macros from bp-asm.h.
7255 (S): Likewise.
7256 (SIZE): Likewise.
7257 (__mpn_lshift): Do not use BP_SYM.
7258 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7259 "bp-asm.h".
7260 (PARMS): Do not use macros from bp-asm.h.
7261 (DEST): Likewise.
7262 (SRC): Likewise.
7263 (LEN): Likewise.
7264 (memcpy): Likewise. Do not use BP_SYM.
7265 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7266 libc_hidden_def and weak_alias.
7267 (mempcpy): Do not use BP_SYM in weak_alias.
7268 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7269 "bp-asm.h".
7270 (PARMS): Do not use macros from bp-asm.h.
7271 (DEST): Likewise.
7272 (LEN): Likewise.
7273 [!BZERO_P] (CHR): Likewise.
7274 (memset): Likewise. Do not use BP_SYM.
7275 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7276 "bp-asm.h".
7277 (PARMS): Do not use macros from bp-asm.h.
7278 (S1): Likewise.
7279 (SIZE): Likewise.
7280 (__mpn_mul_1): Do not use BP_SYM.
7281 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7282 "bp-asm.h".
7283 (PARMS): Do not use macros from bp-asm.h.
7284 (S): Likewise.
7285 (SIZE): Likewise.
7286 (__mpn_rshift): Do not use BP_SYM.
7287 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7288 "bp-asm.h".
7289 (PARMS): Do not use macros from bp-asm.h.
7290 (STR): Likewise.
7291 (CHR): Likewise.
7292 (strchr): Likewise. Do not use BP_SYM.
7293 (index): Do not use BP_SYM in weak_alias.
7294 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
7295 "bp-asm.h".
7296 (PARMS): Do not use macros from bp-asm.h.
7297 (DEST): Likewise.
7298 (SRC): Likewise.
7299 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
7300 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7301 "bp-asm.h".
7302 (PARMS): Do not use macros from bp-asm.h.
7303 (strlen): Do not use BP_SYM.
7304 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7305 "bp-asm.h".
7306 (PARMS): Do not use macros from bp-asm.h.
7307 (S1): Likewise.
7308 (S2): Likewise.
7309 (SIZE): Likewise.
7310 (__mpn_sub_n): Do not use BP_SYM.
7311 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7312 "bp-asm.h".
7313 (PARMS): Do not use macros from bp-asm.h.
7314 (S1): Likewise.
7315 (SIZE): Likewise.
7316 (__mpn_submul_1): Do not use BP_SYM.
7317 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7318 "bp-asm.h".
7319 (PARMS): Do not use macros from bp-asm.h.
7320 (S1): Likewise.
7321 (S2): Likewise.
7322 (SIZE): Likewise.
7323 (__mpn_add_n): Do not use BP_SYM.
7324 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7325 weak_alias.
7326 (bzero): Likewise.
7327 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7328 "bp-asm.h".
7329 (PARMS): Do not use macros from bp-asm.h.
7330 (BLK2): Likewise.
7331 (LEN): Likewise.
7332 (memcmp): Do not use BP_SYM.
7333 (bcmp): Do not use BP_SYM in weak_alias.
7334 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7335 "bp-asm.h".
7336 (PARMS): Do not use macros from bp-asm.h.
7337 (DEST): Likewise.
7338 (SRC): Likewise.
7339 (LEN): Likewise.
7340 (memcpy): Likewise. Do not use BP_SYM.
7341 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7342 "bp-asm.h".
7343 (PARMS): Do not use macros from bp-asm.h.
7344 (DEST): Likewise.
7345 (SRC): Likewise.
7346 (LEN): Likewise.
7347 (memmove): Likewise. Do not use BP_SYM.
7348 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7349 "bp-asm.h".
7350 (PARMS): Do not use macros from bp-asm.h.
7351 (DEST): Likewise.
7352 (SRC): Likewise.
7353 (LEN): Likewise.
7354 (__mempcpy): Likewise. Do not use BP_SYM.
7355 (mempcpy): Do not use BP_SYM in weak_alias.
7356 * sysdeps/i386/i686/memset.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 (LEN): Likewise.
7361 [!BZERO_P] (CHR): Likewise.
7362 (memset): Likewise. Do not use BP_SYM.
7363 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7364 "bp-asm.h".
7365 (PARMS): Do not use macros from bp-asm.h.
7366 (STR2): Likewise.
7367 (strcmp): Do not use BP_SYM.
7368 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7369 "bp-asm.h".
7370 (PARMS): Do not use macros from bp-asm.h.
7371 (STR): Likewise.
7372 (DELIM): Likewise.
7373 [USE_AS_STRTOK_R] (SAVE): Likewise.
7374 (FUNCTION): Likewise. Do not use BP_SYM.
7375 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7376 aliases.
7377 (strtok_r): Likewise.
7378 (__GI___strtok_r): Likewise.
7379 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7380 (PARMS): Do not use macros from bp-asm.h.
7381 (S): Likewise.
7382 (SIZE): Likewise.
7383 (__mpn_lshift): Do not use BP_SYM.
7384 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7385 (PARMS): Do not use macros from bp-asm.h.
7386 (STR): Likewise.
7387 (CHR): Likewise.
7388 (__memchr): Do not use BP_SYM.
7389 (memchr): Do not use BP_SYM in weak_alias.
7390 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7391 (PARMS): Do not use macros from bp-asm.h.
7392 (BLK2): Likewise.
7393 (LEN): Likewise.
7394 (memcmp): Do not use BP_SYM.
7395 (bcmp): Do not use BP_SYM in weak_alias.
7396 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7397 (PARMS): Do not use macros from bp-asm.h.
7398 (S1): Likewise.
7399 (SIZE): Likewise.
7400 (__mpn_mul_1): Do not use BP_SYM.
7401 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7402 "bp-asm.h".
7403 (PARMS): Do not use macros from bp-asm.h.
7404 (STR): Likewise.
7405 (CHR): Likewise.
7406 (__rawmemchr): Do not use BP_SYM.
7407 (rawmemchr): Do not use BP_SYM in weak_alias.
7408 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7409 (PARMS): Do not use macros from bp-asm.h.
7410 (S): Likewise.
7411 (SIZE): Likewise.
7412 (__mpn_rshift): Do not use BP_SYM.
7413 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7414 (PARMS): Do not use macros from bp-asm.h.
7415 (SIGMSK): Likewise.
7416 (__sigsetjmp): Likewise. Do not use BP_SYM.
7417 * sysdeps/i386/start.S: Do not include "bp-sym.h".
7418 (_start): Do not use BP_SYM.
7419 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7420 (PARMS): Do not use macros from bp-asm.h.
7421 (DEST): Likewise.
7422 (SRC): Likewise.
7423 (__stpcpy): Likewise. Do not use BP_SYM.
7424 (stpcpy): Do not use BP_SYM in weak_alias.
7425 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7426 "bp-asm.h".
7427 (PARMS): Do not use macros from bp-asm.h.
7428 (DEST): Likewise.
7429 (SRC): Likewise.
7430 (LEN): Likewise.
7431 (__stpncpy): Likewise. Do not use BP_SYM.
7432 (stpncpy): Do not use BP_SYM in weak_alias.
7433 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7434 (PARMS): Do not use macros from bp-asm.h.
7435 (STR): Likewise.
7436 (CHR): Likewise.
7437 (strchr): Likewise. Do not use BP_SYM.
7438 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7439 "bp-asm.h".
7440 (PARMS): Do not use macros from bp-asm.h.
7441 (STR): Likewise.
7442 (CHR): Likewise.
7443 (__strchrnul): Likewise. Do not use BP_SYM.
7444 (strchrnul): Do not use BP_SYM in weak_alias.
7445 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7446 "bp-asm.h".
7447 (PARMS): Do not use macros from bp-asm.h.
7448 (STOP): Likewise.
7449 (strcspn): Do not use BP_SYM.
7450 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7451 "bp-asm.h".
7452 (PARMS): Do not use macros from bp-asm.h.
7453 (STR): Likewise.
7454 (STOP): Likewise.
7455 (strpbrk): Likewise. Do not use BP_SYM.
7456 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7457 "bp-asm.h".
7458 (PARMS): Do not use macros from bp-asm.h.
7459 (STR): Likewise.
7460 (CHR): Likewise.
7461 (strrchr): Likewise. Do not use BP_SYM.
7462 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7463 (PARMS): Do not use macros from bp-asm.h.
7464 (SKIP): Likewise.
7465 (strspn): Do not use BP_SYM.
7466 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7467 (PARMS): Do not use macros from bp-asm.h.
7468 (STR): Likewise.
7469 (DELIM): Likewise.
7470 (SAVE): Likewise.
7471 (FUNCTION): Likewise. Do not use BP_SYM.
7472 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7473 aliases.
7474 (strtok_r): Likewise.
7475 (__GI___strtok_r): Likewise.
7476 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7477 (PARMS): Do not use macros from bp-asm.h.
7478 (S1): Likewise.
7479 (S2): Likewise.
7480 (SIZE): Likewise.
7481 (__mpn_sub_n): Do not use BP_SYM.
7482 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7483 "bp-asm.h".
7484 (PARMS): Do not use macros from bp-asm.h.
7485 (S1): Likewise.
7486 (SIZE): Likewise.
7487 (__mpn_submul_1): Do not use BP_SYM.
7488 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7489 <bp-sym.h>.
7490 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7491 and <bp-asm.h>.
7492 (PARMS): Do not use macros from bp-asm.h.
7493 (FLAGS): Likewise.
7494 (PTID): Likewise.
7495 (TLS): Likewise.
7496 (CTID): Likewise.
7497 (__clone): Do not use BP_SYM.
7498 (clone): Do not use BP_SYM in weak_alias.
7499 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7500 and <bp-asm.h>.
7501 (PARMS): Do not use macros from bp-asm.h.
7502 (LEN): Likewise.
7503 (__mmap64): Do not use BP_SYM.
7504 (mmap64): Do not use BP_SYM in weak_alias.
7505 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7506 <bp-sym.h> and <bp-asm.h>.
7507 (PARMS): Do not use macros from bp-asm.h.
7508 (__posix_fadvise64_l64): Do not use BP_SYM.
7509 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7510 (PARMS): Do not use macros from bp-asm.h.
7511 (NSOPS): Likewise.
7512 (semtimedop): Do not use BP_SYM.
7513 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7514 and <bp-asm.h>.
7515
582a3cff
AM
75162013-02-21 Allan McRae <allan@archlinux.org>
7517
7518 * manual/message.texi (Charset conversion in gettext):
7519 Move @end statement to beginning of line.
7520
bab8a695
SP
75212013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7522
80945231
SP
7523 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7524 static.
7525 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7526 Likewise.
7527
bab8a695
SP
7528 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7529 (denorm): Likewise.
7530 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7531 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7532
e21d7aa7
AK
75332013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7534
7535 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7536 tail-call to the resolved function if pltexit isn't needed.
7537
4c7a4263
SP
75382013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7539
7540 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7541 or Y being zero as being unlikely.
7542 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7543 Likewise.
7544
41f49342
CD
75452013-02-20 Carlos O'Donell <carlos@redhat.com>
7546
7547 * manual/nss.texi (System Databases and Name Service Switch):
7548 Remove frobnicate @pxref.
7549
50022a93
TS
75502013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7551
7552 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7553 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7554
08cbd996
PM
75552013-02-20 Petr Machata <pmachata@redhat.com>
7556
7557 * elf/elf.h (R_ARM_TARGET1): New macro.
7558 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7559 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7560 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7561 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7562 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7563 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7564 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7565 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7566 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7567 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7568 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7569 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7570 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7571 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7572 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7573 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7574 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7575 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7576 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7577 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7578 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7579 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7580 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7581 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7582 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7583 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7584 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7585 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7586 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7587 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7588 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7589 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7590 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7591 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7592 (R_ARM_THM_GOT_BREL12): Likewise.
7593 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7594 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7595 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7596 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7597 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7598 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7599 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7600 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7601 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7602
c7b275d6
TS
76032013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7604
7605 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7606 __attribute_used__ to __attribute__ ((unused)).
7607
20cd7fb3
SP
76082013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7609
7610 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7611 powerpc mpa.c.
7612 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7613 comment formatting.
7614 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7615
92945b52
JM
76162013-02-19 Joseph Myers <joseph@codesourcery.com>
7617
7618 [BZ #13550]
7619 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7620 Remove macro.
7621 (ENTER): Remove both macro definitions.
7622 (LEAVE): Likewise.
7623 (CHECK_BOUNDS_LOW): Likewise.
7624 (CHECK_BOUNDS_HIGH): Likewise.
7625 (CHECK_BOUNDS_BOTH): Likewise.
7626 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7627 (RETURN_BOUNDED_POINTER): Likewise.
7628 (RETURN_NULL_BOUNDED_POINTER): Likewise.
7629 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7630 (POP_ERRNO_LOCATION_RETURN): Likewise.
7631 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7632 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7633 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7634 macros.
7635 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7636 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7637 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7638 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7639 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7640 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7641 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7642 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7643 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7644 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7645 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7646 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7647 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7648 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7649 removed macros.
7650 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7651 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7652 macros.
7653 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7654 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7655 * sysdeps/i386/i586/memset.S (memset): Likewise.
7656 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7657 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7658 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7659 macros.
7660 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7661 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7662 Change uses of L(2) to L(out).
7663 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7664 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7665 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7666 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7667 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7668 removed macros.
7669 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7670 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7671 macros.
7672 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7673 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7674 (RETURN): Do not use macro LEAVE.
7675 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7676 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7677 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7678 * sysdeps/i386/i686/memset.S (memset): Likewise.
7679 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7680 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7681 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7682 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7683 Likewise.
7684 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7685 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
7686 L(1_2) and L(1_3) into L(1).
7687 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7688 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7689 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7690 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7691 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7692 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7693 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7694 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7695 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7696 macros.
7697 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7698 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7699 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7700 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7701 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7702 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7703 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7704 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7705 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7706 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7707 * sysdeps/i386/strrchr.S (strrchr): Likewise.
7708 * sysdeps/i386/strspn.S (strspn): Likewise.
7709 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7710 conditional code.
7711 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7712 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7713 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7714 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
7715 L(1_3) into L(1_1).
7716 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7717 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7718 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7719 macros.
7720 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7721
2389741a
JJ
77222013-02-19 Jakub Jelinek <jakub@redhat.com>
7723
7724 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7725 macro.
7726
2016b3cd
SP
77272013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7728
e4f22324
SP
7729 * math/atest-exp.c (exp_mpn): Remove ROUND.
7730 * math/atest-exp2.c (exp_mpn): Likewise.
7731 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7732
2016b3cd
SP
7733 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7734 * stdlib/tst-tls-atexit-lib.c: Likewise.
7735 * stdlib/tst-tls-atexit.c: Likewise.
7736
4be9b544
MF
77372013-02-18 Mike Frysinger <vapier@gentoo.org>
7738
7739 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7740 and __attribute_alloc_size__.
7741
2f62b9ee
MF
77422013-02-18 Mike Frysinger <vapier@gentoo.org>
7743
7744 * include/programs/xmalloc.h: Change __attribute_alloc_size to
7745 __attribute_alloc_size__.
7746 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7747 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7748
6ff444c4
MF
77492013-02-18 Mike Frysinger <vapier@gentoo.org>
7750
7751 * include/programs/xmalloc.h: New file.
7752 * catgets/gencat.c: Include it.
7753 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7754 * elf/pldd.c: Likewise.
7755 * iconv/iconv_charmap.c: Likewise.
7756 * iconv/iconvconfig.c: Likewise.
7757 * iconv/strtab.c: Likewise.
7758 * locale/programs/locale.c: Likewise.
7759 * locale/programs/localedef.h: Likewise.
7760 * locale/programs/simple-hash.c: Likewise.
7761 * nscd/nscd.h: Likewise.
7762 * nss/makedb.c: Likewise.
7763 * sysdeps/generic/ldconfig.h: Likewise.
7764
be179c8a
SP
77652013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7766
ba384f6e
SP
7767 * Versions.def: Add GLIBC_2.18.
7768 * include/link.h (struct link_map): New member l_tls_dtor_count.
7769 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7770 (__call_tls_dtors): Likewise.
7771 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7772 __cxa_thread_atexit_impl.
7773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7774 Likewise.
7775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7776 Likewise.
7777 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7778 Likewise.
7779 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7780 Likewise.
7781 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7782 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7783 Likewise.
7784 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7785 Likewise.
7786 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7787 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7788 Likewise.
7789 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7790 (tests): Add test case tst-tls-atexit.
7791 (modules-names): Add shared library for tst-tls-atexit.
85891aca 7792 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
7793 (GLIBC_PRIVATE): Add __call_tls_dtors.
7794 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7795 for libstdc++.
7796 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7797 * stdlib/tst-tls-atexit.c: New test case.
7798 * stdlib/tst-tls-atexit-lib.c: New test case.
7799
ffaa74cf 7800 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 7801
be179c8a
SP
7802 * elf/Versions (ld): Add _dl_find_dso_for_object.
7803 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7804 * elf/dl-open.c (_dl_find_dso_for_object): New function.
7805 (dl_open_worker): Use _dl_find_dso_for_object.
7806 * elf/dl-sym.c (do_sym): Likewise.
7807 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7808
f78b5caa
AK
78092013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7810
7811 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7812 Syntactic changes only.
7813 (_dl_runtime_profile): Do a tail-call to the resolved function.
7814
29691210
JM
78152013-02-17 Joseph Myers <joseph@codesourcery.com>
7816
7817 [BZ #13550]
7818 * sysdeps/x86_64/bp-asm.h: Remove file.
7819 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7820 <bp-sym.h> and <bp-asm.h>.
7821 (__clone): Do not use BP_SYM.
7822 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7823 <bp-sym.h> and <bp-asm.h>.
7824 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7825 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7826 "bp-asm.h".
7827 (_setjmp): Do not use BP_SYM.
7828 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7829 "bp-asm.h".
7830 (setjmp): Do not use BP_SYM.
7831 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7832 libc_hidden_def.
7833 (mempcpy): Do not use BP_SYM in weak_alias.
7834 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7835 "bp-asm.h".
7836 (strchr): Do not use BP_SYM.
7837 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7838 "bp-asm.h".
7839 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7840 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7841 (_start): Do not use BP_SYM.
7842 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7843 "bp-asm.h".
7844 (strcat): Do not use BP_SYM.
7845 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7846 "bp-asm.h".
7847 (STRCMP): Do not use BP_SYM.
7848 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7849 "bp-asm.h".
7850 (STRCPY): Do not use BP_SYM.
7851 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7852 "bp-asm.h".
7853 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7854 "bp-asm.h".
7855 (FUNCTION): Do not use BP_SYM.
7856 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7857 weak_alias.
7858 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7859
f238fd19
AJ
78602013-02-17 Andreas Jaeger <aj@suse.de>
7861
7862 * time/Versions: Sort entries.
7863 * string/Versions: Likewise.
7864 * resolv/Versions: Likewise.
7865 * posix/Versions: Likewise.
7866 * iconv/Versions: Likewise.
7867 * elf/Versions: Likewise.
7868 * wcsmbs/Versions: Likewise.
7869
bd07f23c 78702013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 7871
22af19f9
SP
7872 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7873 loop termination condition.
7874
4709fe76
SP
7875 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7876 variable to calculate EZ.
7877 (__sqr): Likewise.
2d0e0f29
SP
7878
7879 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7880 the lower precision input.
7881
daaa7713
JM
78822013-02-15 Joseph Myers <joseph@codesourcery.com>
7883
7884 [BZ #13550]
7885 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7886 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7887 (run-via-rtld-prefix): Do not handle %-bp tests.
7888 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7889 (all-object-suffixes): Remove .ob.
7890 (bppfx): Remove variable.
7891 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7892 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7893 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7894 [$(build-bounded) = yes] (libtype.ob): Likewise.
7895 * Makerules (elide-routines.ob): Remove variable.
7896 (do-tests-clean): Do not handle *-bp.out.
7897 (common-mostlyclean): Do not handle *-bp and *-bp.out.
7898 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7899 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7900 (tests): Do not include $(tests-bp.out).
7901 (xtests): Do not include $(xtests-bp.out).
7902 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7903 [$(build-bounded) = yes] ($(addprefix
7904 $(objpfx),$(binaries-bounded))): Remove rule.
7905 ($(objpfx)%-bp.out): Remove rule.
7906 * config.make.in (build-bounded): Remove variable.
7907 * crypt/Makefile [$(build-bounded) = yes]
7908 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7909 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7910 append to variable.
7911 [$(build-bounded) = yes] (install-lib): Likewise.
7912 [$(build-bounded) = yes] (generated): Likewise.
7913 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7914 Remove rule.
7915 * intl/Makefile [$(build-bounded) = yes]
7916 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7917 * math/Makefile [$(build-bounded) = yes]
7918 ($(tests:%=$(objpfx)%-bp): Likewise.
7919 * misc/Makefile [$(build-bounded) = yes]
7920 ($(objpfx)tst-tsearch-bp): Likewise.
7921 * nptl/Makeconfig (bounded-thread-library): Remove variable.
7922 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7923 Remove dependency.
7924 * string/Makefile (o-objects.ob): Remove variable.
7925 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7926 (CFLAGS-.ob): Remove variable.
7927 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7928 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7929 both definitions of variable.
7930 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7931 (ASFLAGS-.ob): Remove variable.
7932
e97ed6dd
JM
79332013-02-14 Joseph Myers <joseph@codesourcery.com>
7934
2bdd4ca6
JM
7935 [BZ #13550]
7936 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7937 Remove __BOUNDED_POINTERS__ from condition.
7938 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7939 * string/bits/string2.h [!__NO_STRING_INLINES &&
7940 !__BOUNDED_POINTERS__]: Likewise.
7941 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7942 Likewise.
7943 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7944 Remove conditional code.
7945 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7946 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7947 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7948 condition.
7949
e97ed6dd
JM
7950 [BZ #13550]
7951 * csu/libc-start.c: Do not include <bp-sym.h>.
7952 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7953 * elf/dl-open.c: Do not include <bp-sym.h>.
7954 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7955 * math/fegetenv.c: Do not include <bp-sym.h>.
7956 (fegetenv): Do not use BP_SYM in versioned symbols.
7957 * nptl/sysdeps/pthread/bits/libc-lockP.h
7958 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7959 <bp-sym.h>.
7960 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7961 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7962 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7963 (__pthread_mutex_destroy): Likewise.
7964 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7965 (__pthread_mutex_lock): Likewise.
7966 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7967 (__pthread_mutex_trylock): Likewise.
7968 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7969 (__pthread_mutex_unlock): Likewise.
7970 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7971 (__pthread_mutexattr_init): Likewise.
7972 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7973 (__pthread_mutexattr_destroy): Likewise.
7974 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7975 (__pthread_mutexattr_settype): Likewise.
7976 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7977 (__pthread_rwlock_init): Likewise.
7978 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7979 (__pthread_rwlock_destroy): Likewise.
7980 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7981 (__pthread_rwlock_rdlock): Likewise.
7982 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7983 (__pthread_rwlock_tryrdlock): Likewise.
7984 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7985 (__pthread_rwlock_wrlock): Likewise.
7986 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7987 (__pthread_rwlock_trywrlock): Likewise.
7988 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7989 (__pthread_rwlock_unlock): Likewise.
7990 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7991 (__pthread_key_create): Likewise.
7992 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7993 (__pthread_setspecific): Likewise.
7994 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7995 (__pthread_getspecific): Likewise.
7996 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
7997 Likewise.
7998 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7999 (_pthread_cleanup_push_defer): Likewise.
8000 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8001 (_pthread_cleanup_pop_restore): Likewise.
8002 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8003 (pthread_setcancelstate): Likewise.
8004 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8005 <bp-sym.h>.
8006 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8007 (memchr): Do not use BP_SYM in weak_alias.
8008 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8009 (fegetenv): Do not use BP_SYM in versioned symbols.
8010 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8011 (fesetenv): Do not use BP_SYM in versioned symbols.
8012 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8013 (feupdateenv): Do not use BP_SYM in versioned symbols.
8014 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8015 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8016 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8017 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8018 (open64): Do not use BP_SYM in weak_alias.
8019 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8020 (fegetenv): Do not use BP_SYM in versioned symbols.
8021 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8022 (fesetenv): Do not use BP_SYM in versioned symbols.
8023 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8024 (feupdateenv): Do not use BP_SYM in versioned symbols.
8025 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8026 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8027 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8028 (feraiseexcept): Do not use BP_SYM in versioned symbols.
8029 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8030 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8031 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8032 <bp-sym.h>.
8033 (__libc_start_main): Do not use BP_SYM.
8034
d6752ccd
SP
80352013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8036
cb57ce60
SP
8037 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8038 redundant return line.
8039 (norm): Likewise.
8040 (denorm): Likewise.
8041 (dbl_mp): Likewise.
8042 (sub_magnitudes): Likewise.
8043 (__add): Likewise.
8044 (__sub): Likewise.
8045 (__mul): Likewise.
8046 (__inv): Likewise.
8047 (__dvd): Likewise.
8048 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8049 (norm): Likewise.
8050 (denorm): Likewise.
8051 (dbl_mp): Likewise.
8052 (sub_magnitudes): Likewise.
8053 (__add): Likewise.
8054 (__sub): Likewise.
8055 (__mul): Likewise.
8056 (__inv): Likewise.
8057 (__dvd): Likewise.
8058
f414520d
SP
8059 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8060 instead of __mul.
8061 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8062 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8063 (cc32): Likewise.
8064
d6752ccd
SP
8065 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8066 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8067 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8068 of __mul for squares.
8069 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8070 function
8071 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8072 Likewise.
8073 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8074 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8075
70d9946a
JM
80762013-02-13 Joseph Myers <joseph@codesourcery.com>
8077
8078 [BZ #13550]
8079 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8080 code.
8081 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8082 prototype or function definition. Rename ubp_* variables and
8083 parameters. Remove argv definitions conditional on
8084 [__BOUNDED_POINTERS__].
8085 * debug/backtrace.c (__backtrace): Do not use __unbounded.
8086 * elf/dl-runtime.c (_dl_fixup): Likewise.
8087 * include/set-hooks.h (RUN_HOOK): Likewise.
8088 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8089 definition.
8090 * string/strcpy.c (strcpy): Do not use __unbounded.
8091 * sysdeps/generic/frame.h (struct layout): Likewise.
8092 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8093 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8094 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8095 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8096 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8097 (__backtrace): Likewise.
8098 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8099 use __ptrvalue.
8100 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8101 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8102 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8103 Likewise.
8104 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8105 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8106 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8107 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8108 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8109 Do not use __unbounded.
8110 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
8111 Rename __unboundedrlimits parameter to rlimits in prototype.
8112 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
8113 Do not use __unbounded.
8114 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
8115 not use __ptrvalue.
8116 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8117 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
8118 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8119 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
8120 __ptrvalue or __unbounded.
8121 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
8122 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
8123 use __unbounded.
8124 (__new_msgctl): Do not use __ptrvalue.
8125 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8126 __unbounded.
8127 (__libc_msgrcv): Do not use __ptrvalue.
8128 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
8129 startup_info): Do not use __unbounded.
8130 (__libc_start_main): Likewise. Rename ubp_* variables and
8131 parameters. Remove argv definitions conditional on
8132 [__BOUNDED_POINTERS__].
8133 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
8134 __ptrvalue.
8135 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
8136 use __unbounded.
8137 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8138 or __ptrvalue.
8139 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8140 use __unbounded.
8141 (__new_shmctl): Do not use __ptrvalue.
8142 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8143 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8144 Likewise.
8145 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8146 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8147 (__libc_sigaction): Likewise.
8148 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8149 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8150 Likewise.
8151 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8152
cc7834d6
OB
81532013-02-13 Ondřej Bílka <neleai@seznam.cz>
8154
ffb1ec7b 8155 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
8156
8157 * string/mempcpy.c: Implement by calling memcpy.
8158
bdf02814
SP
81592013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8160
c2af38aa
SP
8161 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8162
4e92d59e
SP
8163 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8164 evaluation.
8165
909279a5
SP
8166 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8167 values in the mantissa.
8168
bdf02814
SP
8169 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8170 minimize writes to Z.
8171 (sub_magnitudes): Simplify code a bit.
8172
cd525923
RM
81732013-02-12 Roland McGrath <roland@hack.frob.com>
8174
8175 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8176 from the message. The linker prefixes all warnings with that already.
8177
7e2f0d2d
AS
81782013-02-12 Andreas Schwab <schwab@suse.de>
8179
a445af0b
AS
8180 [BZ #15078]
8181 * posix/regexec.c (extend_buffers): Add parameter min_len.
8182 (check_matching): Pass minimum needed length.
8183 (clean_state_log_if_needed): Likewise.
8184 (get_subexp): Likewise.
8185 * posix/Makefile (tests): Add bug-regex34.
8186 (bug-regex34-ENV): Define.
8187 * posix/bug-regex34.c: New file.
8188
7e2f0d2d
AS
8189 [BZ #11561]
8190 * posix/regcomp.c (parse_bracket_exp): When looking up collating
8191 elements compare against the byte sequence of it, not its name.
8192 * posix/Makefile (tests): Add bug-regex35.
8193 (bug-regex35-ENV): Define.
8194 * posix/bug-regex35.c: New file.
8195
a175b684
TV
81962013-02-11 Tom de Vries <tom@codesourcery.com>
8197
8198 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
8199 comment.
8200 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8201 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8202 (CHECK_EOL): Add undef.
8203
310998fe 82042013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
8205
8206 * bits/stdlib-bsearch.h: New file.
8207 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 8208 * stdlib/stdlib.h: Likewise.
41eda41d 8209
8ded91fb
RM
82102013-02-11 Roland McGrath <roland@hack.frob.com>
8211
8212 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8213 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8214 declaration.
8215 * manual/search.texi (Array Search Function): Add missing const in
8216 lfind prototype.
8217 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8218 declaration to use rlim_t.
8219 (Basic Scheduling Functions): Remove erroneous const from
8220 sched_getparam prototype. Remove erroneous * from
8221 sched_get_priority_max and sched_get_priority_min prototypes.
8222 (Resource Usage): Fix summary @comment on vtimes to refer to
8223 sys/vtimes.h rather than vtimes.h.
8224 Add missing *s in vtimes prototype.
8225 (Limits on Resources): Fix ulimit prototype to return long int.
8226 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8227 prototypes to use long int rather than double.
8228 (BSD Random): Fix initstate and setstate to use char *, not void *.
8229 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8230 prototype to make second argument 'struct aiocb64 *const[]'.
8231 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8232 (Status of AIO Operations): Remove erroneous const in aio_return and
8233 aio_return64 prototypes.
8234 (Synchronizing I/O): Fix sync prototype to return void.
8235 * manual/startup.texi (Suboptions): Remove an erroneous const in
8236 getsubopt prototype.
8237 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8238 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8239 use size_t rather than int.
8240 (Scanning All Users): Likewise for getpwent_r.
8241 (Setting Groups): Add missing const to setgroups prototype.
8242 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8243 * manual/socket.texi (Host Names): Fix gethostbyaddr and
8244 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8245 'const void *' rather than 'const char *'.
8246 (Host Address Functions): Likewise for inet_ntop.
8247 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8248 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8249 ssize_t for return value.
8250 (Sending Data): Likewise for send, sendto, sendmsg.
8251 (Socket Option Functions): Add a missing const in setsockopt prototype.
8252 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8253 use wchar_t for the argument.
8254 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8255 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8256 take no arguments.
8257 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8258 double/float/long double for second argument.
8259 Fix return types of significand, significandf, significandl.
8260 * manual/filesys.texi (Setting Permissions): Use mode_t for second
8261 argument in fchmod prototype.
8262 (File Owner): Use uid_t and gid_t in fchown prototype.
8263 (File Times): Add const to utimes, futimes, and lutimes prototypes.
8264 (Making Special Files): Use mode_t and dev_t in mknod prototype.
8265 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8266 use 'const struct dirent **' as argument types to CMP function pointer
8267 argument.
8268 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8269 (File Times): Fix summary magic @comment for struct utimbuf and utime
8270 to refer to utime.h, not time.h.
8271 * manual/string.texi (Argz Functions): Add missing const in
8272 argz_extract and argz_next prototypes.
8273 (Finding Tokens in a String): Likewise for basename.
8274 (String/Array Comparison): Fix typo in wcscasecmp prototype.
8275 (Copying and Concatenation): Fix typo in wmemmove prototype.
8276 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8277 (Signal Stack): Remove erroneous const in sigstack prototype.
8278 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8279 prototype.
8280 (Simple Calendar Time): Likewise for stime.
8281 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8282 prototype.
8283 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8284 say sys/sysctl.h instead.
8285 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8286 and vsyslog prototypes.
8287
fe77fe6d
TV
82882013-02-11 Tom de Vries <tom@codesourcery.com>
8289
8290 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8291 Remove.
8292
3a09b620
RM
82932013-02-11 Roland McGrath <roland@hack.frob.com>
8294
8295 * misc/sys/mman.h: Fix typo in mremap comment.
8296
550a0b89
RM
82972013-02-08 Roland McGrath <roland@hack.frob.com>
8298
8299 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8300 the '\0' terminator.
8301
a2da1673
JM
83022013-02-08 Joseph Myers <joseph@codesourcery.com>
8303
8304 [BZ #13550]
8305 * debug/segfault.c: Don't include <bp-checks.h>.
8306 * sysdeps/generic/bp-checks.h: Remove file.
8307 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8308 (__GETDENTS): Don't use CHECK_N.
8309 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8310 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8311 (__getgroups): Don't use CHECK_N.
8312 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8313 (setgroups): Don't use CHECK_N.
8314 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8315 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8316 (__libc_msgrcv): Don't use CHECK_N.
8317 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8318 (__libc_msgsnd): Don't use CHECK_N.
8319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8320 <bp-checks.h>.
8321 (__libc_pread): Don't use CHECK_N.
8322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8323 include <bp-checks.h>.
8324 (__libc_pread64): Don't use CHECK_N.
8325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8326 include <bp-checks.h>.
8327 (__libc_pwrite): Don't use CHECK_N.
8328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8329 include <bp-checks.h>.
8330 (__libc_pwrite64): Don't use CHECK_N.
8331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8332 <bp-checks.h>.
8333 (__libc_pread): Don't use CHECK_N.
8334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8335 include <bp-checks.h>.
8336 (__libc_pread64): Don't use CHECK_N.
8337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8338 include <bp-checks.h>.
8339 (__libc_pwrite): Don't use CHECK_N.
8340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8341 include <bp-checks.h>.
8342 (__libc_pwrite64): Don't use CHECK_N.
8343 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8344 (do_pread): Don't use CHECK_N.
8345 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8346 (do_pread64): Don't use CHECK_N.
8347 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8348 (do_pwrite): Don't use CHECK_N.
8349 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8350 (do_pwrite64): Don't use CHECK_N.
8351 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8352 (__libc_readv): Don't use CHECK_N.
8353 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8354 (semop): Don't use CHECK_N.
8355 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8356 <bp-checks.h>.
8357 (semtimedop): Don't use CHECK_N.
8358 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8359 (__libc_pread): Don't use CHECK_N.
8360 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8361 <bp-checks.h>.
8362 (__libc_pread64): Don't use CHECK_N.
8363 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8364 <bp-checks.h>.
8365 (__libc_pwrite): Don't use CHECK_N.
8366 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8367 <bp-checks.h>.
8368 (__libc_pwrite64): Don't use CHECK_N.
8369 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8370 <bp-checks.h>.
8371 (__libc_msgrcv): Don't use CHECK_N.
8372 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8373 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
8374 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8375 (__libc_writev): Don't use CHECK_N.
8376
b84660a8
RM
83772013-02-08 Roland McGrath <roland@hack.frob.com>
8378
7f3e75f8
RM
8379 * string/strcpy.c: Removed unused variable.
8380
b84660a8
RM
8381 * Makeconfig (+sysdep-includes): Define with := rather than =.
8382 Use an existing include/ subdir of each sysdeps dir before it.
8383
471514d3
CD
83842013-02-08 Carlos O'Donell <carlos@redhat.com>
8385
8386 * nscd/connection.c (register_traced_file): Comment function.
8387 [HAVE_INOTIFY] (union __inev): Define.
8388 [HAVE_INOTIFY] (inotify_check_files): New function.
8389 [HAVE_INOTIFY] (clear_db_cache): Likewise.
8390 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8391 clear_db_cache.
8392 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8393
b2d3c3be
CD
83942013-02-08 Carlos O'Donell <carlos@redhat.com>
8395
8396 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8397 loaded if not already and that a failure is permanent.
8398
b39949d2
CD
83992013-02-08 Carlos O'Donell <carlos@redhat.com>
8400
ddacd1db 8401 [BZ #15006]
b39949d2
CD
8402 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8403 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8404
b2c9eff4
JM
84052013-02-08 Joseph Myers <joseph@codesourcery.com>
8406
f3aae3f3
JM
8407 [BZ #13550]
8408 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8409 (CHECK_1_NULL_OK): Likewise.
8410 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8411 (__fxstat): Do not use CHECK_1.
8412 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8413 <bp-checks.h>.
8414 (___fxstat64): Do not use CHECK_1.
8415 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8416 <bp-checks.h>.
8417 (__fxstatat): Do not use CHECK_1.
8418 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8419 <bp-checks.h>.
8420 (__fxstatat64): Do not use CHECK_1.
8421 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8422 <bp-checks.h>.
8423 (__fxstat): Do not use CHECK_1.
8424 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8425 <bp-checks.h>.
8426 (__fxstatat): Do not use CHECK_1.
8427 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8428 <bp-checks.h>.
8429 (__getresgid): Do not use CHECK_1.
8430 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8431 <bp-checks.h>.
8432 (__getresuid): Do not use CHECK_1.
8433 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8434 <bp-checks.h>.
8435 (__lxstat): Do not use CHECK_1.
8436 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8437 <bp-checks.h>.
8438 (__old_msgctl): Do not use CHECK_1.
8439 (__new_msgctl): Likewise.
8440 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8441 <bp-checks.h>.
8442 (__new_setrlimit): Do not use CHECK_1.
8443 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8444 <bp-checks.h>.
8445 (__old_shmctl): Do not use CHECK_1.
8446 (__new_shmctl): Likewise.
8447 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8448 <bp-checks.h>.
8449 (__xstat): Do not use CHECK_1.
8450 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8451 (__lxstat): Do not use CHECK_1.
8452 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8453 <bp-checks.h>.
8454 (___lxstat64): Do not use CHECK_1.
8455 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8456 (__old_msgctl): Do not use CHECK_1.
8457 (__new_msgctl): Likewise.
8458 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8459 <bp-checks.h>.
8460 (__gettimeofday): Do not use CHECK_1.
8461 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8462 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8463 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8464 <bp-checks.h>.
8465 (__gettimeofday): Do not use CHECK_1.
8466 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8467 (__old_shmctl): Do not use CHECK_1_NULL_OK.
8468 (__new_shmctl): Do not use CHECK_1.
8469 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8470 <bp-checks.h>.
8471 (do_sigtimedwait): Do not use CHECK_1.
8472 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8473 <bp-checks.h>.
8474 (do_sigwaitinfo): Do not use CHECK_1.
8475 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8476 <bp-checks.h>.
8477 (msgctl): Do not use CHECK_1.
8478 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8479 <bp-checks.h>.
8480 (shmctl): Do not use CHECK_1.
8481 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8482 (ustat): Do not use CHECK_1.
8483 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8484 <bp-checks.h>.
8485 (__fxstat): Do not use CHECK_1.
8486 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8487 <bp-checks.h>.
8488 (__fxstatat): Do not use CHECK_1.
8489 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8490 <bp-checks.h>.
8491 (__lxstat): Do not use CHECK_1.
8492 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8493 <bp-checks.h>.
8494 (__xstat): Do not use CHECK_1.
8495 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8496 (__xstat): Do not use CHECK_1.
8497 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8498 (___xstat64): Do not use CHECK_1.
8499
b2c9eff4
JM
8500 [BZ #13550]
8501 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8502 definitions.
8503 (CHECK_BOUNDS_HIGH): Likewise.
8504 * string/strcpy.c: Do not include <bp-checks.h>.
8505 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8506
f1d70dad
RM
85072013-02-07 Roland McGrath <roland@hack.frob.com>
8508
8509 * nscd/nscd-client.h (__nscd_drop_map_ref):
8510 Add __attribute__ ((unused)).
8511 * nis/nss-nisplus.h (niserr2nss): Likewise.
8512
8513 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8514 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8515
8516 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8517 Remove inline keyword.
8518 * include/rounding-mode.h (round_away): Likewise.
8519 * libio/wfileops.c (adjust_wide_data): Likewise.
8520 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8521 (__m128i_strloadu_tolower): Likewise.
8522 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8523 (__m128i_strloadu_tolower): Likewise.
8524 * time/mktime.c (ydhms_diff): Likewise.
8525 * locale/elem-hash.h (elem_hash): Likewise.
8526 * locale/setlocale.c (setdata): Likewise.
8527 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8528 (re_string_wchar_at): Likewise.
8529 (bitset_not, bitset_merge, bitset_mask): Likewise.
8530 [!(__GNUC__ > 3)] (inline): Remove macro.
8531 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8532 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8533 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8534 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8535 * string/memcmp.c (memcmp_bytes): Likewise.
8536 * locale/programs/locarchive.c (compute_hashval): Likewise.
8537 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8538 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8539 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8540 * nss/getent.c (print_rpc, print_protocols): Likewise.
8541 (print_passwd, print_group, print_aliases): Likewise.
8542 * nis/nss-nisplus.h (niserr2nss): Likewise.
8543 * nscd/connections.c (restart_p): Likewise.
8544 Change return type to bool.
8545
eab55bfb
RM
85462013-02-05 Roland McGrath <roland@hack.frob.com>
8547
7bd642f5
RM
8548 * Makeconfig (all-Depend-files): Add existing
8549 $(sorted-subdirs:=/Depend) files.
8550 (all-subdirs): Remove nss.
8551 * sysdeps/unix/inet/Subdirs: Add it here instead.
8552 * hesiod/Depend: New file.
8553
573c29b2
RM
8554 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8555 instead of calling alloca.
8556
b2e25af0
RM
8557 * io/lseek.c (__lseek): Rename to __libc_lseek.
8558 Define __lseek as an alias.
8559
eab55bfb
RM
8560 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8561
9a0d1941
CD
85622013-02-04 Carlos O'Donell <carlos@redhat.com>
8563
8564 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8565 else clause and remove check for non-standard endianness.
8566
b83bbec4
DM
85672013-02-04 David S. Miller <davem@davemloft.net>
8568
8569 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8570
6277fdab
JM
85712013-02-04 Joseph Myers <joseph@codesourcery.com>
8572
8573 [BZ #13550]
8574 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8575 (__ubp_memchr): Remove prototype.
8576 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8577 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8578 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8579 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8580 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8581 Remove alias.
8582 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8583 (__ubp_memchr): Likewise.
8584 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8585 (__ubp_memchr): Likewise.
8586 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8587 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8588 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8589 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8590 CHECK_STRING.
8591 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8592 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8593 (__getcwd): Do not use CHECK_STRING.
8594 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8595 <bp-checks.h>.
8596 (__real_chown): Do not use CHECK_STRING.
8597 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8598 <bp-checks.h>.
8599 (fchownat): Do not use CHECK_STRING.
8600 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8601 CHECK_STRING.
8602 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8603 <bp-checks.h>.
8604 (__lchown): Do not use CHECK_STRING.
8605 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8606 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8607 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8608 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8610 include <bp-checks.h>.
8611 (truncate64): Do not use CHECK_STRING.
8612 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8613 <bp-checks.h>.
8614 (__real_chown): Do not use CHECK_STRING.
8615 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8616 <bp-checks.h>.
8617 (__lchown): Do not use CHECK_STRING.
8618 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8619 <bp-checks.h>.
8620 (__chown): Do not use CHECK_STRING.
8621 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8622 <bp-checks.h>.
8623 (truncate64): Do not use CHECK_STRING.
8624 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8625 Likewise.
8626 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8627 (__xmknod): Do not use CHECK_STRING.
8628 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8629 <bp-checks.h>.
8630 (__xmknodat): Do not use CHECK_STRING.
8631 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8632 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8633
903ae060
AS
86342013-02-04 Andreas Schwab <schwab@suse.de>
8635
8636 [BZ #14142]
8637 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8638 * include/netdb.h: Likewise for h_errno.
8639 * elf/tst-stackguard1.c: Include <tls.h>.
8640
542f9466
JK
86412013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8642
8643 * elf/link.h (struct link_map): Extend the l_addr comment.
8644 * include/link.h (struct link_map): Likewise.
8645
e782a927
JM
86462013-02-01 Joseph Myers <joseph@codesourcery.com>
8647
8648 [BZ #13550]
8649 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8650 (BOUNDED_1): Remove macro.
8651 * debug/backtrace.c: Don't include <bp-checks.h>.
8652 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8653 (__backtrace): Likewise.
8654 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8655 <bp-checks.h>.
8656 (__backtrace): Don't use BOUNDED_1.
8657 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8658 <bp-checks.h>.
8659 (__backtrace): Don't use BOUNDED_1.
8660 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8661 (__backtrace): Don't use BOUNDED_1.
8662 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8663 (shmat): Don't use BOUNDED_N.
8664
8cf28c5e
JM
86652013-01-31 Joseph Myers <joseph@codesourcery.com>
8666
3a7ac8a0
JM
8667 [BZ #13550]
8668 * sysdeps/generic/bp-start.h: Remove file.
8669 * csu/libc-start.c: Don't include <bp-start.h>.
8670 (LIBC_START_MAIN): Set up __environ directly instead of using
8671 INIT_ARGV_and_ENVIRON.
8672 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8673 <bp-start.h>.
8674
f3499f95
JM
8675 [BZ #13550]
8676 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8677 definitions.
8678 (CHECK_FCNTL): Likewise.
8679 (CHECK_N_PAGES): Likewise.
8680
32a45bea
JM
8681 [BZ #13550]
8682 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8683 definitions.
8684 (CHECK_SIGSET_NULL_OK): Likewise.
8685 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8686 <bp-checks.h>.
8687 (sigpending): Don't use CHECK_SIGSET.
8688 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8689 <bp-checks.h>.
8690 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8691 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8692 <bp-checks.h>.
8693 (do_sigsuspend): Don't use CHECK_SIGSET.
8694 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8695 use CHECK_SIGSET.
8696 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8697 (do_sigwait): Don't use CHECK_SIGSET.
8698 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8699 use CHECK_SIGSET.
8700 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8701 include <bp-checks.h>.
8702 (sigpending): Don't use CHECK_SIGSET.
8703 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8704 include <bp-checks.h>.
8705 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8706 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8707 <bp-checks.h>.
8708 (sigpending): Don't use CHECK_SIGSET.
8709 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8710 <bp-checks.h>.
8711 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8712
2e8a5c8c
JM
8713 [BZ #13550]
8714 * sysdeps/generic/bp-semctl.h: Remove file.
8715 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8716 <bp-checks.h> and <bp-semctl.h>.
8717 (__old_semctl): Don't use CHECK_SEMCTL.
8718 (__new_semctl): Likewise.
8719 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8720 and <bp-semctl.h>.
8721 (__old_semctl): Don't use CHECK_SEMCTL.
8722 (__new_semctl): Likewise.
8723 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8724 <bp-checks.h> and <bp-semctl.h>.
8725 (__old_semctl): Don't use CHECK_SEMCTL.
8726 (__new_semctl): Likewise.
8727 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8728 <bp-checks.h> and <bp-semctl.h>.
8729 (semctl): Don't use CHECK_SEMCTL.
8730
c2d54929
JM
8731 [BZ #13550]
8732 * Makerules (elide-bp-thunks): Remove variable.
8733 (elide-routines.oS): Don't use $(elide-bp-thunks).
8734 (elide-routines.os): Likewise.
8735 (elide-routines.o): Likewise.
8736 (elide-routines.op): Likewise.
8737 (elide-routines.og): Likewise.
8738 (objects): Don't use $(bp-thunks).
8739 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8740 include.
8741 (common-generated): Do not add s-proto-bp.d.
8742 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8743 (int): Likewise.
8744 (typ): Likewise.
8745 Do not generate makefile rules for bounded-pointer thunks.
8746 * sysdeps/generic/bp-thunks.h: Remove file.
8747 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8748 * sysdeps/unix/s-proto-bp.S: Likewise.
8749
8cf28c5e
JM
8750 [BZ #15062]
8751 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8752 parts of result separately when argument is not close to line from
8753 -i to i and one part of argument is small.
8754 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8755 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8756 * math/libm-test.inc (cacos_test): Add more tests.
8757 (casin_test): Likewise.
8758 (casinh_test): Likewise.
8759 * sysdeps/i386/fpu/libm-test-ulps: Update.
8760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8761
c4e33b8d
DM
87622013-01-31 David S. Miller <davem@davemloft.net>
8763
8764 * po/de.po: Update from translation team.
8765
3b60b421
MK
87662013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
8767
8768 * time/tzfile.c: Include stdint.h for SIZE_MAX.
8769
bb931195
TS
87702013-01-25 Thomas Schwinge <thomas@codesourcery.com>
8771
b5a5da23
TS
8772 * configure.in (_AC_PROG_CC_C89): New definition.
8773 * configure: Regenerate.
8774
bb931195
TS
8775 * configure.in (AC_PROG_CPP): New definition.
8776 * configure: Regenerate.
8777
8c53a12c
JM
87782013-01-23 Joseph Myers <joseph@codesourcery.com>
8779
8780 * debug/tst-backtrace.h: New file.
8781 * debug/tst-backtrace2.c: Include tst-backtrace.h.
8782 (ret): Remove variable.
8783 (x): Likewise.
8784 (FAIL): Remove macro.
8785 (NO_INLINE): Likewise.
8786 (fn1): Use match function instead of strstr.
8787 * debug/tst-backtrace3.c: Include tst-backtrace.h.
8788 (ret): Remove variable.
8789 (x): Likewise.
8790 (FAIL): Remove macro.
8791 (NO_INLINE): Likewise.
8792 (fn): Use match function instead of strstr.
8793 * debug/tst-backtrace4.c: Include tst-backtrace.h.
8794 (ret): Remove variable.
8795 (x): Likewise.
8796 (FAIL): Remove macro.
8797 (NO_INLINE): Likewise.
8798 (handle_signal): Use match function instead of strstr.
8799 * debug/tst-backtrace5.c: Include tst-backtrace.h.
8800 (ret): Remove variable.
8801 (x): Likewise.
8802 (FAIL): Remove macro.
8803 (NO_INLINE): Likewise.
8804 (handle_signal): Use match function instead of strstr.
8805
4858fa2a
RM
88062013-01-23 Roland McGrath <roland@hack.frob.com>
8807
8808 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8809
bae8e7f5
DM
88102013-01-23 David S. Miller <davem@davemloft.net>
8811
8812 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8813 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8814 argument of CAS if possible.
8815 * sysdeps/sparc/sparc64/bits/atomic.h
8816 (__arch_compare_and_exchange_val_32_acq): Likewise.
8817 (__arch_compare_and_exchange_val_64_acq): Likewise.
8818
9cbbc4ae
PT
88192013-01-23 Pino Toscano <toscano.pino@tiscali.it>
8820
8821 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8822 * sysdeps/posix/ulimit.c: ... this.
92a601b8 8823 Include <limits.h>.
67b3f58c 8824 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 8825
5655a0b5
AC
88262013-01-23 Adam Conrad <adconrad@0c3.net>
8827
8828 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8829 (LDFLAGS-tst-array5): Likewise.
8830
052aff95
JM
88312013-01-23 Joseph Myers <joseph@codesourcery.com>
8832
8833 [BZ #15036]
8834 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8835 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8836 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8837 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8838
7c1e01aa
DM
88392013-01-21 David S. Miller <davem@davemloft.net>
8840
8841 * sysdeps/sparc/backtrace.c: New file.
8842 * sysdeps/sparc/sparc32/backtrace.h: New file.
8843 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8844 * sysdeps/sparc/sparc64/backtrace.h: New file.
8845 * sysdeps/sparc/sparc64/backtrace.c: Delete.
8846 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8847 -funwind-tables.
8848
ab087e0a
AS
88492013-01-21 Andreas Schwab <schwab@suse.de>
8850
8851 [BZ #15020]
8852 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8853 closed its stdout.
8854
ed689c2f
AS
88552013-01-20 Andreas Schwab <schwab@linux-m68k.org>
8856
8857 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8858 "mpa2.h".
8859 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8860
31d470ac
JM
88612013-01-18 Joseph Myers <joseph@codesourcery.com>
8862 Mark Mitchell <mark@codesourcery.com>
8863 Tom de Vries <tom@codesourcery.com>
8864 Paul Pluzhnikov <ppluzhnikov@google.com>
8865
8866 * debug/tst-backtrace2.c: New file.
8867 * debug/tst-backtrace3.c: Likewise.
8868 * debug/tst-backtrace4.c: Likewise.
8869 * debug/tst-backtrace5.c: Likewise.
8870 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8871 (CFLAGS-tst-backtrace3.c): Likewise.
8872 (CFLAGS-tst-backtrace4.c): Likewise.
8873 (CFLAGS-tst-backtrace5.c): Likewise.
8874 (LDFLAGS-tst-backtrace2): Likewise.
8875 (LDFLAGS-tst-backtrace3): Likewise.
8876 (LDFLAGS-tst-backtrace4): Likewise.
8877 (LDFLAGS-tst-backtrace5): Likewise.
8878 (tests): Add new tests tst-backtrace2, tst-backtrace3,
8879 tst-backtrace4 and tst-backtrace5.
8880
90567f30 88812013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
8882 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8883
8884 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8885 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8886 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8887 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8889 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8890 "+r" and remove output regs list as redundant. Add explicit inline
8891 asm to specify register of return val to work around compiler codegen
8892 bug. Remove (int) cast on return value. Add return type parameter to
8893 use in macro so that this macro does not truncate return value for
8894 64-bit values.
8895 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8896 pass to INTERNAL_VSYSCALL_NCS.
8897 (INLINE_VSYSCALL): Add 'long int' as return type to
8898 INTERNAL_VSYSCALL_NCS macro invocation.
8899 (INTERNAL_VSYSCALL): Add 'long int' as return type to
8900 INTERNAL_VSYSCALL_NCS macro invocation.
8901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8902
d3b9ea61
SP
89032013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8904
0b57daeb
SP
8905 [BZ #14496]
8906 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8907 Fix application of SIMD FP exception mask.
8908
caa99d06
SP
8909 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8910 mp_no from a power of two.
8911 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8912 __mpexp_twomm1. Use __pow_mp.
8913
d3b9ea61
SP
8914 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8915 multiplication.
8916
1dbaee3c
DM
89172013-01-17 David S. Miller <davem@davemloft.net>
8918
8919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8920
728d7b43
JM
89212013-01-17 Joseph Myers <joseph@codesourcery.com>
8922
8923 [BZ #15023]
8924 * include/complex.h: Condition contents on [!_COMPLEX_H].
8925 (__kernel_casinhf): New prototype.
8926 (__kernel_casinh): Likewise.
8927 (__kernel_casinhl): Likewise.
8928 * math/Makefile (libm_calls): Add k_casinh.
8929 * math/k_casinh.c: New file.
8930 * math/k_casinhf.c: Likewise.
8931 * math/k_casinhl.c: Likewise.
8932 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8933 finite nonzero arguments.
8934 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8935 finite nonzero arguments.
8936 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8937 finite nonzero arguments.
8938 * math/s_casinh.c: Do not include <float.h>.
8939 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8940 * math/s_casinhf.c: Do not include <float.h>.
8941 (__casinhf): Move code for finite nonzero arguments to
8942 k_casinhf.c.
8943 * math/s_casinhl.c: Do not include <float.h>.
8944 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8945 redefine.
8946 (__casinhl): Move code for finite nonzero arguments to
8947 k_casinhl.c.
8948 * math/libm-test.inc (cacos_test): Add more tests.
8949 * sysdeps/i386/fpu/libm-test-ulps: Update.
8950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8951
2a26ef3a
PT
89522013-01-17 Pino Toscano <toscano.pino@tiscali.it>
8953
8954 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8955 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8956 [!HAVE_MREMAP]: Remove [defined linux] case.
8957 * malloc/arena.c: Do not include <malloc-sysdep.h>.
8958
a897655d
SP
89592013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8960
8961 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8962
881ebe89 89632013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
8964
8965 * elf/elf.h (R_386_SIZE32): New relocation.
8966 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8967 R_386_SIZE32.
8968 (elf_machine_rela): Likewise.
8969 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8970 R_X86_64_SIZE64 and R_X86_64_SIZE32.
8971
59981e9b
JM
89722013-01-17 Joseph Myers <joseph@codesourcery.com>
8973
8974 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8975 (FP_FAST_FMA): Do not define.
8976 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8977 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8978 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
8979 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
8980 !_SOFT_FLOAT]: Likewise.
8981 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
8982 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
8983 value.
8984 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
8985 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
8986 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
8987 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
8988 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
8989 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
8990 file.
8991
cfa8054f
AS
89922013-01-16 Andreas Schwab <schwab@suse.de>
8993
8994 [BZ #14327]
8995 * include/stdlib.h (__mktemp): Add declaration.
8996 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
8997 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
8998
dd930cc5
SP
89992013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9000
881ebe89
SP
9001 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9002 definitions.
9003 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9004 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9005 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9006 definitions here.
9007 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9008 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9009 definitions.
9010 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9011 and ONE.
9012 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9013 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9014 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9015 definitions.
9016 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9017 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9018 definitions.
9019 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 9020
dd930cc5
SP
9021 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9022
c19a9f89
DM
90232013-01-15 David S. Miller <davem@davemloft.net>
9024
1aa61767
DM
9025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9026 trunc{,f} to libm-sysdep_routes.
9027 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9029 file.
9030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9032 file.
9033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9034 file.
9035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9037 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9038 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9039 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9040 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9041 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9042 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9043
c42d5e98
DM
9044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9045 nearbyint{,f} to libm-sysdep_routes.
9046 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9048 New file.
9049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9050 file.
9051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9052 New file.
9053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9054 file.
9055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9057 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9058 file.
9059 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9060 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9061 file.
9062 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9063 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9064 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9065
c19a9f89
DM
9066 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9067 libc_feholdexcept and libc_fesetenv.
9068
357679d2
MF
90692013-01-15 Mike Frysinger <vapier@gentoo.org>
9070
9071 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9072
65a82e3d
DM
90732013-01-14 David S. Miller <davem@davemloft.net>
9074
8b954ab9
DM
9075 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9076 (SPARC_ASM_VIS2_IFUNC): Likewise.
9077 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9079 use of 'siam' instruction.
9080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9081 Likewise.
9082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9083 Likewise.
9084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9085 Likewise.
9086 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9087 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9088 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9089 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9091 file.
9092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9093 file.
9094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9095 file.
9096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9097 file.
9098 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9099 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9100 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9101 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9103 new VIS2 routines.
9104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9107 Likewise.
9108 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9109 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9110 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9111 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
9113 routines to libm-sysdep_routines.
9114 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9115
65a82e3d
DM
9116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9117 fdim/fdimf to libm-sysdep_routines.
9118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
9119 file.
9120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9122 file.
9123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
9124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
9125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
9126 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
9127 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
9128 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
9129 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
9130
e34ab705
SP
91312013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9132
2a91b573
SP
9133 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
9134 to optimize copies.
9135
1066a534
SP
9136 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
9137 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9138 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9139
e34ab705
SP
9140 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9141 local variable MPTWO.
9142 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9143 Likewise.
9144
aba5e596
MF
91452013-01-13 Mike Frysinger <vapier@gentoo.org>
9146
9147 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9148 GLOB_NOESCAPE.
9149
e557e9e5
MF
91502013-01-13 Mike Frysinger <vapier@gentoo.org>
9151
9152 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9153
0428cec9
MF
91542013-01-13 Mike Frysinger <vapier@gentoo.org>
9155
9156 * manual/pattern.texi (glob_t): Document gl_flags.
9157 (glob64_t): Likewise.
9158
8794a964
DM
91592013-01-11 David S. Miller <davem@davemloft.net>
9160
66438c3f
RM
9161 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9162 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9163 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
9164 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9165 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9166 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9167 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9168 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9169 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9170 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9171 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9172 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9173 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9174
4ae4244d
DM
9175 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9176 sparc V9 rather than using V8 code.
9177 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9178 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9179
8794a964
DM
9180 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9181 Move to...
9182 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9183 Here.
9184
6270516e
RM
91852013-01-11 Roland McGrath <roland@hack.frob.com>
9186
9187 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9188 not in the main loop.
9189 * configure: Regenerated.
9190
6a57d931
JM
91912013-01-11 Joseph Myers <joseph@codesourcery.com>
9192
9193 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9194 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9195 to just #else.
9196 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
9197 [!__GLIBC_HAVE_LONG_LONG] case.
9198 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9199 condition to just #else.
9200 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9201 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9202 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9203 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9204 unconditional.
9205 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
9206 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9207 #elif condition to just #else.
9208 * sysdeps/unix/sysv/linux/sys/sysmacros.h
9209 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
9210 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9211 #elif condition to just #else.
9212
0e8529e9
SE
92132013-01-11 Steve Ellcey <sellcey@mips.com>
9214
9215 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9216 (EF_MIPS_ARCH_64): Fix value.
9217 (EF_MIPS_ARCH_32R2): New.
9218 (EF_MIPS_ARCH_64R2): New.
9219
740b3dbe
L
92202013-01-11 H.J. Lu <hongjiu.lu@intel.com>
9221
9222 * Makeconfig (+link-pie-before-libc): New.
9223 (+link-pie-after-libc): Likewise.
9224 (+link-pie-tests): Likewise.
9225 (+link-pie): Rewritten.
9226 (link-before-libc): Remove $(config-LDFLAGS).
9227 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9228 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9229 (config-LDFLAGS): Renamed to ...
9230 (rtld-LDFLAGS): This.
9231 (rtld-tests-LDFLAGS): New macro.
9232 (link-libc-rpath-link): Likewise.
9233 (link-libc-tests-rpath-link): Likewise.
9234 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9235 (link-libc): Prepand $(link-libc-rpath-link).
9236 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9237 (test-program-prefix): New macro.
9238 (test-via-rtld-prefix): Likewise.
9239 (test-program-cmd): Likewise.
9240 (host-test-program-cmd): Likewise.
9241 * Makefile ($(common-objpfx)testrun.sh): Replace
9242 $(run-program-prefix) with $(test-program-prefix).
9243 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9244 $(rtld-LDFLAGS).
9245 ($(common-objpfx)shlib.lds): Likewise.
9246 (build-module-helper): Likewise.
9247 ($(common-objpfx)format.lds): Likewise.
9248 * Rules (binaries-pie-tests): New.
9249 (binaries-pie-notests): Likewise.
9250 (binaries-pie): Rewritten.
9251 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9252 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9253 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9254 (make-test-out): Replace $(host-built-program-cmd) with
9255 $(host-test-program-cmd).
9256 * config.make.in (build-hardcoded-path-in-tests): New variable.
9257 * configure.in (--enable-hardcoded-path-in-tests): New configure
9258 option.
9259 (hardcoded_path_in_tests): New AC_SUBST.
9260 * configure: Regenerated.
9261 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9262 $(built-program-cmd) with $(test-program-cmd).
9263 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9264 (test_program_cmd): This.
9265 * elf/Makefile ($(objpfx)order.out): Run test with
9266 $(test-program-prefix).
9267 ($(objpfx)order2.out): Likewise.
9268 ($(objpfx)tst-initorder.out): Likewise.
9269 ($(objpfx)tst-initorder2.out): Likewise.
9270 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9271 $(test-program-cmd).
9272 ($(objpfx)tst-array1-static.out): Likewise.
9273 ($(objpfx)tst-array2.out): Likewise.
9274 ($(objpfx)tst-array3.out): Likewise.
9275 ($(objpfx)tst-array4.out): Likewise.
9276 ($(objpfx)tst-array5.out): Likewise.
9277 ($(objpfx)tst-array5-static.out): Likewise.
9278 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9279 $(test-program-cmd).
9280 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9281 $(run-program-prefix) with $(test-program-prefix).
9282 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9283 (test_program_prefix): This.
9284 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9285 $(run-program-prefix) with $(test-program-prefix).
9286 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9287 (test_program_prefix): This.
9288 * iconvdata/tst-tables.sh: Likewise.
9289 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9290 $(run-program-prefix) with $(test-program-prefix).
9291 ($(objpfx)tst-translit.out): Likewise.
9292 ($(objpfx)tst-gettext2.out): Likewise.
9293 ($(objpfx)tst-gettext4.out): Likewise.
9294 ($(objpfx)tst-gettext6.out): Likewise.
9295 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9296 (test_program_prefix): This.
9297 * intl/tst-gettext2.sh: Likewise.
9298 * intl/tst-gettext4.sh Likewise.
9299 * intl/tst-gettext6.sh: Likewise.
9300 * intl/tst-translit.sh: Likewise.
9301 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9302 with $(test-program-cmd).
9303 * libio/Makefile ($(objpfx)test-freopen.out): Replace
9304 $(run-program-prefix) with $(test-program-prefix).
9305 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9306 (test_program_prefix): This.
9307 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9308 $(run-program-prefix) with $(test-program-prefix).
9309 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9310 (test_program_prefix): This.
9311 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9312 * posix/Makefile ($(objpfx)globtest.out): Replace
9313 $(run-via-rtld-prefix) and $(test-wrapper) with
9314 $(test-program-prefix) and $(test-via-rtld-prefix).
9315 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9316 $(test-program-prefix).
9317 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9318 $(host-test-program-cmd).
9319 (tst-spawn-ARGS): Likewise.
9320 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9321 $(test-program-prefix).
9322 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9323 (test_via_rtld_prefix): This.
9324 (test_wrapper): Renamed to ...
9325 (test_program_prefix): This.
9326 (run_program_prefix): Replaced by test_program_prefix.
9327 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9328 (test_program_prefix): This.
9329 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9330 with $(host-test-program-cmd).
9331 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9332 $(run-program-prefix) with $(test-program-prefix).
9333 ($(objpfx)tst-printf.out): Likewise.
9334 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9335 $(test-program-cmd).
9336 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9337 (test_program_prefix): This.
9338 * stdio-common/tst-unbputc.sh: Likewise.
9339 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9340 $(run-program-prefix) with $(test-program-prefix).
9341 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9342 (test_program_prefix): This.
9343 * string/Makefile ($(objpfx)tst-svc.out): Replace
9344 $(built-program-cmd) with $(test-program-cmd).
9345
c6fe55cf
AJ
93462013-01-11 Andreas Jaeger <aj@suse.de>
9347
9348 [BZ #15003]
9349 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9350 value. Sync with Linux 3.7.
9351
9e6919c8
DM
93522013-01-10 David S. Miller <davem@davemloft.net>
9353
9354 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9355 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9356 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9357
1c9f1a02
RM
93582013-01-10 Roland McGrath <roland@hack.frob.com>
9359
9360 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9361 never set.
9362 * configure: Regenerated.
9363
b9de2dde
DM
93642013-01-10 David S. Miller <davem@davemloft.net>
9365
9366 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9367 sparc V9 rather than using V8 code.
9368 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9369 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9370
e7f68ef4
RM
93712013-01-10 Roland McGrath <roland@hack.frob.com>
9372
9373 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9374 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9375 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9376 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9377 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9378 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9379 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9380 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9381 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9382 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9383 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9384 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9385 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9386 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9387 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9388 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9389 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9390 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9391 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9392 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9393 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9394 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9395 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9396 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9397 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9398 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9399 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9400
5a47cc9c
DM
94012013-01-10 David S. Miller <davem@davemloft.net>
9402
9403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9404
4cf8f209
L
94052013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9406
9407 * posix/Makefile (tests-static): New variable.
9408 (tests): Add $(tests-static).
9409 (tst-exec-static-ARGS): New variable.
9410 (tst-spawn-static-ARGS): Likewise.
9411 * posix/tst-exec-static.c: New file.
9412 * posix/tst-spawn-static.c: Likewise.
9413 * posix/tst-exec.c: Support run directly.
9414 * posix/tst-spawn.c: Likewise.
9415
fed0faa1
JM
94162013-01-10 Joseph Myers <joseph@codesourcery.com>
9417
828beb13
JM
9418 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9419 long.
9420 * math/bits/mathcalls.h (llrint): Likewise.
9421 (llround): Likewise.
9422 * stdlib/stdlib.h (struct drand48_data): Likewise.
9423 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9424 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9425 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9426 Likewise.
9427 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9428 Likewise.
9429 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9430 (elf_greg_t): Likewise.
9431 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9432 (__jmp_buf): Likewise.
9433 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9434 definitions.
9435 (llrint): Likewise, for all definitions.
9436 (llrintl): Likewise.
9437
fed0faa1
JM
9438 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9439 Remove [__GNUC__] condition.
9440 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9441 condition to just [__USE_ISOC99].
9442 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9443
1a20cb20
L
94442013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9445
9446 [BZ #14200]
9447 * sysdeps/unix/sysv/linux/x86/bits/environments.h
9448 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9449 defined.
9450 (_POSIX_V6_ILP32_OFF32): Likewise.
9451 (_XBS5_ILP32_OFF32): Likewise.
9452 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9453 (__ILP32_OFFBIG_LDFLAGS): Likewise.
9454
751b85f7
SP
94552013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9456
7490eb81
SP
9457 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9458
751b85f7
SP
9459 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9460 doubles __mpexp_twomm1. Adjust usage.
9461 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9462 Remove.
9463
988197f0
AS
94642013-01-10 Andreas Schwab <schwab@suse.de>
9465
9466 [BZ #14964]
9467 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9468 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9469
e83d7298
DM
94702013-01-09 David S. Miller <davem@davemloft.net>
9471
034ed64b 9472 [BZ #15003]
e83d7298
DM
9473 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9474 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9475 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9476 TCP_FASTOPEN): Define.
9477 (tcp_repair_opt): New structure.
9478 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9479 enum values.
9480 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9481 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9482 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9483 (tcp_cookie_transactions): New structure.
9484
d5e0b9bd
AB
94852013-01-09 Anton Blanchard <anton@samba.org>
9486
9487 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9488 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9489 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9490 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9491
0c07e3ea
JM
94922013-01-09 Joseph Myers <joseph@codesourcery.com>
9493
9494 * include/features.h (__USE_ANSI): Remove.
9495
232f7002
RM
94962013-01-09 Roland McGrath <roland@hack.frob.com>
9497
ad98e30c
RM
9498 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9499
232f7002
RM
9500 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9501
950c99ca
SP
95022013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9503
b5792741
SP
9504 * sysdeps/s390/fpu/libm-test-ulps: Update.
9505
47cf2278
SP
9506 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9507
950c99ca
SP
9508 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9509 (__acr): Likewise.
9510 (__cpy): Likewise.
9511 (norm): Likewise.
9512 (denorm): Likewise.
9513 (__mp_dbl): Likewise.
9514 (__dbl_mp): Likewise.
9515 (add_magnitudes): Likewise.
9516 (sub_magnitudes): Likewise.
9517 (__add): Likewise.
9518 (__sub): Likewise.
9519 (__mul): Likewise.
9520 (__inv): Likewise.
9521 (__dvd): Likewise.
9522 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9523 (__acr): Likewise.
9524 (__cpy): Likewise.
9525 (norm): Likewise.
9526 (denorm): Likewise.
9527 (__mp_dbl): Likewise.
9528 (__dbl_mp): Likewise.
9529 (add_magnitudes): Likewise.
9530 (sub_magnitudes): Likewise.
9531 (__add): Likewise.
9532 (__sub): Likewise.
9533 (__mul): Likewise.
9534 (__inv): Likewise.
9535 (__dvd): Likewise.
9536 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9537 (__acr): Likewise.
9538 (__cpy): Likewise.
9539 (norm): Likewise.
9540 (denorm): Likewise.
9541 (__mp_dbl): Likewise.
9542 (__dbl_mp): Likewise.
9543 (add_magnitudes): Likewise.
9544 (sub_magnitudes): Likewise.
9545 (__add): Likewise.
9546 (__sub): Likewise.
9547 (__mul): Likewise.
9548 (__inv): Likewise.
9549 (__dvd): Likewise.
9550
eede9df9
JM
95512013-01-08 Joseph Myers <joseph@codesourcery.com>
9552
9553 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9554 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9555 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9556 2 && __USE_EXTERN_INLINES]: Likewise.
9557
c40ea3d9
AJ
95582013-01-08 Andreas Jaeger <aj@suse.de>
9559
9560 [BZ# 14985]
9561 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9562 Remove.
9563 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9564 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9565
2ccdea26
AB
95662013-01-07 Anton Blanchard <anton@samba.org>
9567
9568 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9569 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9570 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9571 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9572 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9573 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9574 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9575 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9576 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9577 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9578 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9579 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9580 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9581 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9582 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9583 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9584 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9585 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9586 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9587 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9588 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9589 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9590 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9591 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9592 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9593 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9594 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9595 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9596 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9597 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9598 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9599 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9600 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9601 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9602 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9603 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9604 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9605 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9606 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9607 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9608 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9609 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9610 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9611
a9708fed
JM
96122013-01-07 Joseph Myers <joseph@codesourcery.com>
9613
375607b9
JM
9614 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9615 (__MALLOC_PMT): Likewise.
9616 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9617 [__GNUC__], only on [_LIBC].
9618 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9619 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9620 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9621 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9622 forward declaration.
9623 (realloc_hook_ini): Likewise.
9624 (memalign_hook_ini): Likewise.
9625 (__libc_memalign): Do not use __MALLOC_PMT in variable
9626 declaration.
9627 (__libc_valloc): Likewise.
9628 (__libc_pvalloc): Likewise.
9629 (__libc_calloc): Likewise.
9630 (__posix_memalign): Likewise.
9631
a9708fed
JM
9632 [BZ #14996]
9633 * math/s_casinh.c: Include <float.h>.
9634 (__casinh): Do not do computation with squaring and square root
9635 for large arguments.
9636 * math/s_casinhf.c: Include <float.h>.
9637 (__casinhf): Do not do computation with squaring and square root
9638 for large arguments.
9639 * math/s_casinhl.c: Include <float.h>.
9640 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9641 (__casinhl): Do not do computation with squaring and square root
9642 for large arguments.
9643 * math/libm-test.inc (casin_test): Add more tests.
9644 (casinh_test): Likewise.
9645 * sysdeps/i386/fpu/libm-test-ulps: Update.
9646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9647
afec409a
L
96482013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9649
9650 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9651 (__x86_64_raw_data_cache_size): Likewise.
9652 (__x86_64_data_cache_size_half): Likewise.
9653 (__x86_64_raw_data_cache_size_half): Likewise.
9654 (__x86_64_shared_cache_size): Likewise.
9655 (__x86_64_raw_shared_cache_size): Likewise.
9656 (__x86_64_shared_cache_size_half): Likewise.
9657 (__x86_64_raw_shared_cache_size_half): Likewise.
9658 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9659 to ...
9660 (__x86_data_cache_size): This.
9661 (__x86_64_raw_data_cache_size): Renamed to ...
9662 (__x86_raw_data_cache_size): This.
9663 (__x86_64_data_cache_size_half): Renamed to ...
9664 (__x86_data_cache_size_half): This.
9665 (__x86_64_raw_data_cache_size_half): Renamed to ...
9666 (__x86_raw_data_cache_size_half): This.
9667 (__x86_64_shared_cache_size): Renamed to ...
9668 (__x86_shared_cache_size): This.
9669 (__x86_64_raw_shared_cache_size): Renamed to ...
9670 (__x86_raw_shared_cache_size): This.
9671 (__x86_64_shared_cache_size_half): Renamed to ...
9672 (__x86_shared_cache_size_half): This.
9673 (__x86_64_raw_shared_cache_size_half): Renamed to ...
9674 (__x86_raw_shared_cache_size_half): This.
9675 * sysdeps/x86_64/memcpy.S: Updated.
9676 * sysdeps/x86_64/memset.S: Likewise.
9677 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9678 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9679 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9680
0b3986d0
DM
96812013-01-04 David S. Miller <davem@davemloft.net>
9682
9683 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9684
e47686e9
AS
96852013-01-04 Andreas Schwab <schwab@linux-m68k.org>
9686
d643bac1
AS
9687 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9688 1 to avoid redefinition warning.
9689 (__USE_GNU): Don't define.
9690 (init_signaling_nan): Protoize.
9691
e47686e9
AS
9692 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9693
b18decba
SP
96942013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9695
fffb407f
SP
9696 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9697 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9698 (__cpymn): Likewise.
9699 (norm): Remove commented code.
9700 (denorm): Likewise.
9701 (__mp_dbl): Likewise.
9702 (__inv): Likewise.
9703 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9704 (__cpymn): Likewise.
9705 (norm): Remove commented code.
9706 (denorm): Likewise.
9707 (__mp_dbl): Likewise.
9708 (__inv): Likewise.
9709
b18decba
SP
9710 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9711 mp_no value for 1.0 and 2.0.
9712 (norm): Use RADIXI instead of radixi.d.
9713 (denorm): Likewise.
9714 (__mul): Use 0.0 instead of zero.d.
9715 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9716 mp_no value for 1.0 and 2.0.
9717 (norm): Use RADIXI instead of radixi.d.
9718 (denorm): Likewise.
9719 (__mul): Use 0.0 instead of zero.d.
9720
cdc1c96f
JM
97212013-01-04 Joseph Myers <joseph@codesourcery.com>
9722
9723 [BZ #14994]
9724 * math/s_casinh.c (__casinh): Reduce finite argument to first
9725 quadrant then set signs of results at the end.
9726 * math/s_casinhf.c (__casinhf): Likewise.
9727 * math/s_casinhl.c (__casinhl): Likewise.
9728 * math/libm-test.inc (casin_test): Add more tests.
9729 (casinh_test): Likewise.
9730 * sysdeps/i386/fpu/libm-test-ulps: Update.
9731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9732
302913e1
SP
97332013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9734
6420d207
SP
9735 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9736
a9e48ab4
SP
9737 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9738
b7837264
SP
9739 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9740 declarations.
9741 (denorm): Likewise.
9742 (__mp_dbl): Likewise.
9743 (__inv): Likewise.
9744
f8af25d2
SP
9745 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9746 and adjust the header comment.
9747
302913e1
SP
9748 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9749 variable name from declaration.
9750
5d7dd1ca
L
97512013-01-03 H.J. Lu <hongjiu.lu@intel.com>
9752
9753 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9754 Initialize COMMON_CPUID_INDEX_7 element.
9755 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9756 (CPUID_RTM): Likewise.
9757 (HAS_RTM): Likewise.
9758 (COMMON_CPUID_INDEX_7): New enum.
9759
2f5f40f4
AS
97602013-01-03 Andreas Schwab <schwab@linux-m68k.org>
9761
9762 [BZ #14981]
9763 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9764 size is zero, record memory as freed.
9765
4056f4a0
AJ
97662013-01-03 Andreas Jaeger <aj@suse.de>
9767
9768 * po/ia.po: Add new Interlingua translation.
9769
ab15736f 97702012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
9771
9772 * locale/programs/localedef.c: Fix description of '--posix' flag.
9773
568035b7
JM
97742013-01-02 Joseph Myers <joseph@codesourcery.com>
9775
e6898b8d
JM
9776 * NEWS: Update dates in second copyright notice.
9777 * README: Update copyright dates in example.
9778 * manual/libc.texinfo: Update copyright dates.
9779 * scripts/test-installation.pl: Update copyright date in --version
9780 output.
9781
0e2f9562
JM
9782 * hurd/ctty-input.c: Fix copyright notice formatting.
9783 * hurd/ctty-output.c: Likewise.
9784 * hurd/dtable.c: Likewise.
9785 * hurd/hurd-raise.c: Likewise.
9786 * hurd/hurdprio.c: Likewise.
9787 * hurd/msgportdemux.c: Likewise.
9788 * misc/sys/file.h: Likewise.
9789 * misc/sys/ioctl.h: Likewise.
9790 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9791 * sysdeps/mach/hurd/chdir.c: Likewise.
9792 * sysdeps/mach/hurd/fchdir.c: Likewise.
9793 * sysdeps/mach/hurd/rename.c: Likewise.
9794 * sysdeps/mach/hurd/rmdir.c: Likewise.
9795 * sysdeps/mach/hurd/seekdir.c: Likewise.
9796 * sysdeps/mach/hurd/setsid.c: Likewise.
9797 * sysdeps/posix/wait3.c: Likewise.
9798
568035b7
JM
9799 * All files with FSF copyright notices: Update copyright dates
9800 using scripts/update-copyrights.
9801 * intl/plural.c: Regenerated.
9802 * locale/programs/charmap-kw.h: Likewise.
9803 * locale/programs/locfile-kw.h: Likewise.
9804
da08f647
SP
98052013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9806
0f5477af
SP
9807 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9808 four values.
9809
44e0d4c2
SP
9810 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9811 calculation loop and add branch prediction.
9812
4d55b4e5
SP
9813 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9814 check access beyond bounds of m1np.
9815
da08f647
SP
9816 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9817 MPTWO.
9818 (__inv): Remove local variable MPTWO to use the global
9819 constant.
9820 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9821 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9822 variable MPTWO.
9823 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9824 MP3HALFS static const.
9825
8e051029
DM
98262013-01-01 David S. Miller <davem@davemloft.net>
9827
9828 * po/ca.po: Update from translation team.
9829
f4cf5f2d
JM
98302013-01-01 Joseph Myers <joseph@codesourcery.com>
9831
9832 * scripts/update-copyrights: New file.
9833 * Makeconfig: Reformat copyright notice.
9834 * ctype/ctype.h: Likewise.
9835 * debug/swprintf_chk.c: Likewise.
9836 * elf/dl-cache.c: Likewise.
9837 * elf/dl-debug.c: Likewise.
9838 * elf/dl-object.c: Likewise.
9839 * grp/initgroups.c: Likewise.
9840 * hurd/Makefile: Likewise.
9841 * hurd/hurd/signal.h: Likewise.
9842 * hurd/hurdfault.c: Likewise.
9843 * hurd/hurdioctl.c: Likewise.
9844 * hurd/hurdlookup.c: Likewise.
9845 * hurd/intr-msg.c: Likewise.
9846 * iconv/gconv_open.c: Likewise.
9847 * libio/swprintf.c: Likewise.
9848 * locale/lc-ctype.c: Likewise.
9849 * locale/nl_langinfo.c: Likewise.
9850 * mach/Machrules: Likewise.
9851 * mach/Makefile: Likewise.
9852 * malloc/obstack.h: Likewise.
9853 * manual/Makefile: Likewise.
9854 * manual/tsort.awk: Likewise.
9855 * misc/bits/stab.def: Likewise.
9856 * nis/nis_print_group_entry.c: Likewise.
9857 * nis/nis_table.c: Likewise.
9858 * nis/nss_compat/compat-pwd.c: Likewise.
9859 * nis/nss_compat/compat-spwd.c: Likewise.
9860 * po/Makefile: Likewise.
9861 * posix/fnmatch.c: Likewise.
9862 * posix/regex.h: Likewise.
9863 * resolv/Makefile: Likewise.
9864 * resolv/nss_dns/dns-network.c: Likewise.
9865 * resolv/res_hconf.c: Likewise.
9866 * scripts/gen-sorted.awk: Likewise.
9867 * soft-fp/soft-fp.h: Likewise.
9868 * stdio-common/printf.h: Likewise.
9869 * stdlib/monetary.h: Likewise.
9870 * stdlib/random.c: Likewise.
9871 * stdlib/random_r.c: Likewise.
9872 * sysdeps/generic/Makefile: Likewise.
9873 * sysdeps/gnu/Makefile: Likewise.
9874 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9875 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9876 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9877 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9878 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9879 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9880 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9881 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9882 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9883 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9884 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9885 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9886 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9887 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9888 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9889 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9890 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9891 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9892 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9893 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9894 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9895 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9896 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9897 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9898 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9899 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9900 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9901 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9902 * sysdeps/mach/hurd/errnos.awk: Likewise.
9903 * sysdeps/mach/hurd/fork.c: Likewise.
9904 * sysdeps/mach/hurd/getcwd.c: Likewise.
9905 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9906 * sysdeps/mach/hurd/mmap.c: Likewise.
9907 * sysdeps/mach/hurd/utimes.c: Likewise.
9908 * sysdeps/mach/hurd/xmknod.c: Likewise.
9909 * sysdeps/posix/profil.c: Likewise.
9910 * sysdeps/posix/readdir_r.c: Likewise.
9911 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9912 * sysdeps/powerpc/bits/setjmp.h: Likewise.
9913 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9914 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9915 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9916 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9917 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9918 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9919 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9920 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9921 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9922 * sysdeps/pthread/lio_listio.c: Likewise.
9923 * sysdeps/sparc/dl-procinfo.h: Likewise.
9924 * sysdeps/unix/i386/sysdep.S: Likewise.
9925 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9926 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9927 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9928 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9930 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9931 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9932 * sysdeps/unix/sysv/linux/speed.c: Likewise.
9933 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9934 * sysdeps/wordsize-32/divdi3.c: Likewise.
9935 * time/sys/time.h: Likewise.
9936 * wcsmbs/Makefile: Likewise.
9937
0549fbba
DM
99382013-01-01 David S. Miller <davem@davemloft.net>
9939
a141f1a7
DM
9940 * po/fr.po: Update from translation team.
9941
0549fbba
DM
9942 * catgets/gencat.c: Update copyright year.
9943 * csu/version.c: Likewise.
9944 * debug/catchsegv.sh: Likewise.
9945 * debug/pcprofiledump.c: Likewise.
9946 * debug/xtrace.sh: Likewise.
9947 * elf/ldconfig.c: Likewise.
9948 * elf/ldd.bash.in: Likewise.
9949 * elf/pldd.c: Likewise.
9950 * elf/sotruss.ksh: Likewise.
9951 * elf/sprof.c: Likewise.
9952 * iconv/iconv_prog.c: Likewise.
9953 * iconv/iconvconfig.c: Likewise.
9954 * locale/programs/locale.c: Likewise.
9955 * locale/programs/localedef.c: Likewise.
9956 * login/programs/pt_chown.c: Likewise.
9957 * malloc/memusage.sh: Likewise.
9958 * malloc/memusagestat.c: Likewise.
9959 * malloc/mtrace.pl: Likewise.
9960 * nscd/nscd.c: Likewise.
9961 * nss/getent.c: Likewise.
9962 * nss/makedb.c: Likewise.
9963 * posix/getconf.c: Likewise.
9964
18ea052c
SP
99652012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9966
9967 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9968 numbers.
9969
9c89fca6
MF
99702012-12-30 Mike Frysinger <vapier@gentoo.org>
9971
9972 * math/bits/mathcalls.h (modf): Use __nonnull.
9973
085ec079
SP
99742012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9975
9976 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9977 (split): Use macro CN instead of the bare value.
9978 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
9979 could be used.
9980 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
9981 instead of the bare value.
9982 (power1): Likewise.
9983
6d9f97e1
SP
99842012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9985
d63f73be
SP
9986 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
9987 __ATAN_TWOM.
9988 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9989
6d9f97e1
SP
9990 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
9991 their values.
9992 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9993 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9994 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
9995 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9996
4c4febf5
AJ
99972012-12-28 Andreas Jaeger <aj@suse.de>
9998
af5843ef
AJ
9999 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
10000 values are from Linux 3.7.
10001
4c4febf5
AJ
10002 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10003 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
10004
99136f82
SP
100052012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10006
2f216c3c 10007 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
10008 TRUE case.
10009
99136f82
SP
10010 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10011 (norm): Likewise.
10012 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10013 variables with preprocessor constants.
10014 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10015 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10016 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10017
7fffbdff
BH
100182012-12-27 Bruno Haible <bruno@clisp.org>
10019
10020 [BZ #14317]
10021 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10022 only if needed.
10023
b76eb5f0
SP
100242012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10025
31a7fe5c
SP
10026 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10027 and use variable directly.
10028 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10029
b76eb5f0
SP
10030 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10031 MPONE.
10032 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10033 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10034 variable MPONE.
10035 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10036 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10037 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10038 include directive. Remove local variable MPONE.
10039 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10040 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10041 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10042
2c8bfe7d
DM
100432012-12-25 David S. Miller <davem@davemloft.net>
10044
10045 * version.h (RELEASE): Set to "development".
10046 (VERSION): Set to "2.17.90".
10047 * NEWS: Add 2.18 section.
10048
147d03b0
DM
100492012-12-21 David S. Miller <davem@davemloft.net>
10050
10051 * po/hr.po: Update from translation team.
10052
a8ebb2b9
AK
100532012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10054
10055 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10056
95b4f1b6
SE
100572012-12-19 Steve Ellcey <sellcey@mips.com>
10058
b2d94007 10059 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 10060
cedb2a90
MS
100612012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10062
10063 * manual/contrib.texi (Contributors): Spelling correction.
10064
bbf527d6
DM
100652012-12-15 David S. Miller <davem@davemloft.net>
10066
10067 * po/ru.po: Update from translation team.
10068
bc38c906
DM
100692012-12-13 David S. Miller <davem@davemloft.net>
10070
85429b1a
DM
10071 * NEWS: Mention IFUNC testsuite enhancements.
10072
d283e353
DM
10073 * po/pl.po: Update from translation team.
10074 * po/bg.po: Likewise.
10075
bc38c906
DM
10076 * manual/contrib.texi (Contributors): Update entries for Hongjiu
10077 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
10078
a181b0d7
DM
100792012-12-11 David S. Miller <davem@davemloft.net>
10080
4641d57e
DM
10081 * po/sv.po: Update from translation team.
10082
f7bc6495
DM
10083 * po/vi.po: Update from translation team.
10084
6fc9048f
DM
10085 * po/cs.po: Update from translation team.
10086
a181b0d7
DM
10087 * po/de.po: Update from translation team.
10088 * po/eo.po: Likewise.
10089 * po/nl.po: Likewise.
10090
f70bfe80
SP
100912012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10092
3c8b4190
SP
10093 [BZ #14246]
10094 * manual/argp.texi (Argp Helper Functions): Move node to follow
10095 Argp Parsing State.
10096
f70bfe80
SP
10097 [BZ #14872]
10098 * manual/conf.texi (Limits on File System Capacity): Mention if
10099 terminating null is included in the max size.
10100
188f0adf
AJ
101012012-12-10 Andreas Jaeger <aj@suse.de>
10102
10103 * po/cs.po: Update from translation team.
10104
56e7d3ad
SP
101052012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10106
10107 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10108 void pointer and cast to uintptr_t.
10109 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10110 path.
10111 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10112 * sysdeps/s390/s390-64/memset.S: Likewise.
10113
76f2d2ea 101142012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
10115
10116 [BZ #14833]
10117 * menual/message.texi (Message Translation): Fix typos.
10118 (Helper programs for gettext): Likewise.
10119
67cbf9a2
AS
101202012-12-07 Andreas Schwab <schwab@linux-m68k.org>
10121
10122 [BZ #14898]
10123 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10124 Change to -1.
10125
682d0e9a
DM
101262012-12-07 David S. Miller <davem@davemloft.net>
10127
10128 * po/libc.pot: Update.
10129
573cd484
RH
101302012-12-07 Richard Henderson <rth@redhat.com>
10131
7e9da188 10132 [BZ #10114]
573cd484
RH
10133 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
10134 normal/normal case to before the switch.
10135 (_FP_DIV): Likewise.
10136
e933a943
MF
101372012-12-06 Carlos O'Donell <carlos@systemhalted.org>
10138 Mike Frysinger <vapier@gentoo.org>
10139
10140 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10141 check for __NR_fadvise64_64.
10142
82123268
CM
101432012-12-06 Chris Metcalf <cmetcalf@tilera.com>
10144
10145 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10146 0, not just to plain "0" as a statement.
10147 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10148 with cw.
10149
d9814526
JM
101502012-12-06 Joseph Myers <joseph@codesourcery.com>
10151
10152 * NEWS: Use sourceware.org in Bugzilla URL.
10153
7728c574
SP
101542012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10155
f16946dd
SP
10156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10157 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10158
5704bbcb
SP
10159 * stdio-common/tst-put-error.c (do_test): Add newline to the
10160 padded test to ensure flush.
10161
17aa0516
JL
101622012-12-05 Jeff Law <law@redhat.com>
10163
10164 * sunrpc/etc.rpc (fedfs_admin): Add entry.
10165
363313b5
JM
101662012-12-05 Joseph Myers <joseph@codesourcery.com>
10167
effbd42a
JM
10168 * README: Don't refer to ports add-on as distributed separately.
10169 Mention AArch64 in list of systems supported in the ports add-on.
10170
87600365
JM
10171 * LICENSES: Add more non-FSF copyright and license notices.
10172
a0d7066a
JM
10173 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10174 ((unused)).
10175
66ca5a5b
JM
10176 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10177
363313b5
JM
10178 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10179 10000 as width of padded output.
10180
b37984ad
JM
101812012-12-04 Joseph Myers <joseph@codesourcery.com>
10182
9003570a
JM
10183 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10184
b37984ad
JM
10185 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10186 variable LX with __attribute__ ((unused)).
10187 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10188 Likewise.
10189 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10190 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10191 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10192 with __attribute__ ((unused)).
10193
c8df52ec
DM
101942012-12-04 David S. Miller <davem@abraco.davemloft.net>
10195
10196 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10197
b3b099af
JM
101982012-12-04 Joseph Myers <joseph@codesourcery.com>
10199
c33aa6e3
JM
10200 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10201 (CFLAGS-nldbl-acos.c): New variable.
10202 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10203 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10204 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
10205 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
10206 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
10207 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
10208 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
10209 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
10210 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
10211 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10212 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10213 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10214 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10215 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10216 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10217 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10218 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10219 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10220 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10221 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10222 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10223 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10224 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10225 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10226 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10227 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10228 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10229 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10230 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10231 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10232 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10233 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10234 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10235 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10236 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10237 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10238 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10239 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10240 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10241 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10242 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10243 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10244 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10245 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10246 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10247 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10248 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10249 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10250 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10251 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10252 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10253 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10254 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10255 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10256 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10257 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10258 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10259 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10260 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10261 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10262 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10263 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10264 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10265 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10266 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10267 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10268 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10269 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10270 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10271 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10272 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10273 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10274 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10275 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10276 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10277 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10278 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10279 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10280 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10281 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10282 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10283 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10284 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10285 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10286 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10287 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10288 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10289 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10290 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10291 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10292 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10293 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10294 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10295 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10296 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10297 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10298 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10299
20f0018d
JM
10300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10301 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10302
b3b099af
JM
10303 [BZ #14914]
10304 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10305 whole low double instead of just low 47 bits when splitting values
10306 into two parts.
10307
029264d1
AM
103082012-12-03 Allan McRae <allan@archlinux.org>
10309
10310 * manual/stdio.texi (Predefined Printf Handlers): Remove
10311 @hsep and @vsep usage.
10312
c9d6789e
MF
103132012-12-03 Mike Frysinger <vapier@gentoo.org>
10314
10315 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10316 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10317
4b7634a5
JL
103182012-12-03 Jeff Law <law@redhat.com>
10319
10320 * time/sys/time.h (settimeofday): Do not mark TV argument
10321 as __nonnull.
10322
eb6cbd24
MF
103232012-12-01 Mike Frysinger <vapier@gentoo.org>
10324
10325 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10326 when currently writing and seek to current position when not.
10327 * libio/Makefile (tests): Remove bug-fclose1.
10328 * libio/bug-fclose1.c: Delete.
10329
f638872a
JM
103302012-12-01 Joseph Myers <joseph@codesourcery.com>
10331
10332 * manual/arith.texi (feenableexcept): Fix typo.
10333 (fedisableexcept): Likewise.
10334
48085d14
RM
103352012-11-30 Roland McGrath <roland@hack.frob.com>
10336
10337 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10338 second, differently-typed declaration, rather than a cast.
10339
1a538b9f
SP
103402012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10341
10342 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10343 * include/rpc/svc.h: ... here.
10344
d07f2ff1 103452012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
10346
10347 [BZ #13013]
10348 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10349 depending n and resplen2 to catch cases where answer
10350 equals answerp2.
10351
c93ec1f0
CD
103522012-11-29 Carlos O'Donell <carlos@systemhalted.org>
10353
10354 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10355 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10356
37db69de
MF
103572012-11-29 Mike Frysinger <vapier@gentoo.org>
10358
10359 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10360
e10c4e4f
RM
103612012-11-29 Roland McGrath <roland@hack.frob.com>
10362
10363 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10364
2af1b328
JL
103652012-11-28 Jeff Law <law@redhat.com>
10366
10367 [BZ #13761]
10368 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10369 dataset_temporary. Track alloca usage into alloca_used.
10370 If dataset is large allocate and release it via malloc/free.
10371
111db5b1
FW
103722012-06-04 Florian Weimer <fweimer@redhat.com>
10373
f06cc227 10374 [BZ #14197]
111db5b1
FW
10375 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10376
dd694abd
DM
103772012-11-28 David S. Miller <davem@davemloft.net>
10378
10379 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10380
9984dd01
JM
103812012-11-28 Joseph Myers <joseph@codesourcery.com>
10382
10383 [BZ #14803]
10384 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10385 of pi/2 rounded to nearest to 64 bits.
10386 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10387 nearest to 64 bits.
10388 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10389 bits.
10390
14bc93a9
JL
103912012-11-28 Jeff Law <law@redhat.com>
10392 Martin Osvald <mosvald@redhat.com>
10393
10394 [BZ #14889]
10395 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10396 * sunrpc/svc.c: Include time.h.
10397 (__svc_accept_failed): New function.
10398 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10399 any reason other than EINTR, call __svc_accept_failed.
10400 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10401 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10402
e3c6aa3a
AS
104032012-11-28 Andreas Schwab <schwab@suse.de>
10404
10405 * scripts/abilist.awk: Also handle indirect functions in .opd
10406 section.
10407
1bead169
JM
104082012-11-28 Joseph Myers <joseph@codesourcery.com>
10409
10410 [BZ #13881]
10411 * sysdeps/x86/fpu/powl_helper.c: New file.
10412 * sysdeps/x86/fpu/Makefile: Likewise.
10413 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10414 (p3): New object.
10415 (__ieee754_powl): Use __powl_helper for finite arguments except
10416 integer exponents below 8.
10417 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10418 (p3): New object.
10419 (__ieee754_powl): Use __powl_helper for finite arguments except
10420 integer exponents below 8.
10421 * math/libm-test.inc (pow_test): Add more tests and enable some
10422 previously disabled tests.
10423 * sysdeps/i386/fpu/libm-test-ulps: Update.
10424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10425
0817d63d
SP
104262012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10427 Carlos O'Donell <carlos_odonell@mentor.com>
10428
10429 * nss/makedb.c (is_prime): Assert that input is odd and greater
10430 than 4. Note that fact in a comment too.
10431 (next_prime): Add 4 to input.
10432
de2fd463
SP
104332012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10434
10435 [BZ #11741]
10436 * libio/Makefile (tests): Add test case tst-fwrite-error.
10437 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10438 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10439 * libio/tst-fwrite-error.c: New test case.
10440
c515fb51
L
104412012-11-26 H.J. Lu <hongjiu.lu@intel.com>
10442
10443 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10444 before casting to void *.
10445 * include/libc-internal.h (__pointer_type): New macro.
10446 (__integer_if_pointer_type_sub): Likewise.
10447 (__integer_if_pointer_type): Likewise.
10448 (cast_to_integer): Likewise.
10449 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10450 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10451 before casting to atomic64_t.
10452 (atomic_exchange_acq): Likewise.
10453 (__arch_exchange_and_add_body): Likewise.
10454 (__arch_add_body): Likewise.
10455 (atomic_add_negative): Likewise.
10456 (atomic_add_zero): Likewise.
10457
4cf77aa9
JM
104582012-11-26 Joseph Myers <joseph@codesourcery.com>
10459
10460 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10461 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10462 (add_fdes): Likewise.
10463 (linear_search_fdes): Likewise.
10464 (binary_search_unencoded_fdes): Likewise.
10465
d260b3b4
AS
104662012-11-26 Andreas Schwab <schwab@linux-m68k.org>
10467
10468 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10469
67060746
AC
104702012-11-24 Adam Conrad <adconrad@0c3.net>
10471
10472 * configure.in: Autodetect C++ header directories.
10473 * configure: Regenerated.
10474
800938a1
MF
104752012-11-23 Mike Frysinger <vapier@gentoo.org>
10476
10477 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10478
4e6e34e6
AS
104792012-11-23 Andreas Schwab <schwab@linux-m68k.org>
10480
10481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10482
7c7feb47
JM
104832012-11-22 Joseph Myers <joseph@codesourcery.com>
10484
7184dcdf
JM
10485 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10486 LDBL_MANT_DIG == 106]: Disable some tests.
10487 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10488 Likewise.
10489 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10490 Likewise.
10491
0a42601f
JM
10492 [BZ #14871]
10493 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10494 input for small inputs. Return +/- pi/2 for large inputs.
10495 * math/libm-test.inc (atan_test): Add more tests.
10496
79c9b9fe
JM
10497 * sysdeps/generic/unwind-dw2-fde-glibc.c
10498 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10499 __attribute__ ((unused)).
10500
c60d3bf2
JM
10501 [BZ #14645]
10502 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10503 x * y if x and y are nonzero and z is zero.
10504
ef1e0867
JM
10505 [BZ #14811]
10506 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10507 nonzero exponents with absolute value below 0x1p-117 to +/-
10508 0x1p-117.
10509
1468ded3
JM
10510 [BZ #14869]
10511 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10512 up arguments below 2**-450, not just those below 2**-500.
10513 * math/libm-test.inc (hypot_test): Add another test.
10514
8e27e3cc
JM
10515 [BZ #14868]
10516 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10517 Return a+b for ratio over 2**120, not 2**60.
10518 * math/libm-test.inc (hypot_test): Add another test.
10519
c9c0279b
JM
10520 * math/libm-test.inc (clog_test): Use
10521 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10522 (clog10_test): Likewise.
10523
7c7feb47
JM
10524 [BZ #6778]
10525 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10526
fff1530e
AS
105272012-11-22 Andreas Schwab <schwab@suse.de>
10528
10529 * sysdeps/i386/fpu/libm-test-ulps: Update.
10530
94558d30
PT
105312012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10532
10533 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10534 printf output with newline.
10535
7e1be741
L
105362012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10537
6bfea974
L
10538 [BZ #14865]
10539 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10540 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10541 -z nodlopen, -z initfirst and -z execstack support.
10542 * configure: Regenerated.
10543
7e1be741
L
10544 * elf/elf.h (DF_1_NODIRECT): New macro.
10545 (DF_1_IGNMULDEF): Likewise.
10546 (DF_1_NOKSYMS): Likewise.
10547 (DF_1_NOHDR): Likewise.
10548 (DF_1_EDITED): Likewise.
10549 (DF_1_NORELOC): Likewise.
10550 (DF_1_SYMINTPOSE): Likewise.
10551 (DF_1_GLOBAUDIT): Likewise.
10552 (DF_1_SINGLETON): Likewise.
10553 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10554 DT_1_SUPPORTED_MASK bits.
10555 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10556
105ce2ce
CD
105572012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10558
10559 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10560
123be9de
TS
105612012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10562
d072f3f7
TS
10563 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10564 macro.
10565
123be9de
TS
10566 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10567 (sendmmsg): Move declarations...
10568 * socket/sys/socket.h: ... here.
10569 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10570 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10571 include it from...
10572 * socket/recvmmsg.c: ... this new file.
10573 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10574 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10575 definition of __sendmmsg hidden.
10576 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10577 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10578 Move ENOSYS stub into and include it from...
10579 * socket/sendmmsg.c: ... this new file.
10580 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10581 (sysdep_routines): Move recvmmsg and sendmmsg...
10582 * socket/Makefile (routines): ... here.
10583 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10584 (GLIBC_PRIVATE): Add __sendmmsg.
10585 * include/sys/socket.h (__sendmmsg): Add declarations.
10586 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10587 sendmmsg.
10588
cf9a5d18
JM
105892012-11-20 Joseph Myers <joseph@codesourcery.com>
10590
10591 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10592 variable I1 with __attribute__ ((unused)).
10593 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10594
ecd4caf9
JM
105952012-11-19 Joseph Myers <joseph@codesourcery.com>
10596
be14d48f
JM
10597 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10598 DUMMY variables with __attribute__ ((unused)).
10599
ecd4caf9
JM
10600 * bits/byteswap.h: Include <bits/types.h>.
10601 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10602
986cab95
PT
106032012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10604
10605 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10606 string_t. Do not manually set errno.
10607 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10608 length with __strnlen. Make sure to both set errno and return it on
10609 failure.
10610
6d33cc9d
DM
106112012-11-19 David S. Miller <davem@davemloft.net>
10612
10613 With help from Joseph Myers.
10614 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10615 very large arguments properly.
10616 * math/libm-test.inc (atan_test): New tests.
10617 (atan2_test): New tests.
10618 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10619 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10620
ee663277
JM
106212012-11-19 Joseph Myers <joseph@codesourcery.com>
10622
877f2d8e
JM
10623 [BZ #14856]
10624 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10625 Define to 3.
10626
116fc08a
JM
10627 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10628 [POSIX] (EADDRNOTAVAIL): Likewise.
10629 [POSIX] (EAFNOSUPPORT): Likewise.
10630 [POSIX] (EALREADY): Likewise.
10631 [POSIX] (ECONNABORTED): Likewise.
10632 [POSIX] (ECONNREFUSED): Likewise.
10633 [POSIX] (ECONNRESET): Likewise.
10634 [POSIX] (EDESTADDRREQ): Likewise.
10635 [POSIX] (EDQUOT): Likewise.
10636 [POSIX] (EHOSTUNREACH): Likewise.
10637 [POSIX] (EIDRM): Likewise.
10638 [POSIX] (EISCONN): Likewise.
10639 [POSIX] (ELOOP): Likewise.
10640 [POSIX] (EMULTIHOP): Likewise.
10641 [POSIX] (ENETDOWN): Likewise.
10642 [POSIX] (ENETUNREACH): Likewise.
10643 [POSIX] (ENOBUFS): Likewise.
10644 [POSIX] (ENODATA): Likewise.
10645 [POSIX] (ENOLINK): Likewise.
10646 [POSIX] (ENOMSG): Likewise.
10647 [POSIX] (ENOPROTOOPT): Likewise.
10648 [POSIX] (ENOSR): Likewise.
10649 [POSIX] (ENOSTR): Likewise.
10650 [POSIX] (ENOTCONN): Likewise.
10651 [POSIX] (ENOTSOCK): Likewise.
10652 [POSIX] (EOPNOTSUPP): Likewise.
10653 [POSIX] (EOVERFLOW): Likewise.
10654 [POSIX] (EPROTO): Likewise.
10655 [POSIX] (EPROTONOSUPPORT): Likewise.
10656 [POSIX] (EPROTOTYPE): Likewise.
10657 [POSIX] (ESTALE): Likewise.
10658 [POSIX] (ETIME): Likewise.
10659 [POSIX] (ETXTBSY): Likewise.
10660 [POSIX] (EWOULDBLOCK): Likewise.
10661 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10662 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10663 [POSIX] (SEEK_CUR): Likewise.
10664 [POSIX] (SEEK_END): Likewise.
10665 [POSIX || UNIX98] (mode_t): Do not require.
10666 [POSIX] (off_t): Likewise.
10667 [POSIX] (pid_t): Likewise.
10668 [POSIX] (sys/stat.h): Do not allow header.
10669 [POSIX] (unistd.h): Likewise.
10670 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10671 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10672 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10673 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10674 require.
10675 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10676 sigevent): Specify elements.
10677 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10678 entry.
10679 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10680 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10681
a483863f
JM
10682 * conform/data/cpio.h-data [POSIX]: Disable whole file.
10683 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10684 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10685 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10686 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10687 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10688 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10689 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10690 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10691 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10692 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10693 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10694 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10695 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10696 Likewise.
10697 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10698 Likewise.
10699 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10700 Likewise.
10701 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10702 Likewise.
10703 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10704 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10705 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10706 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10707 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10708 Specify lower bound on value.
10709 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10710 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10711 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10712 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10713 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10714 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10715 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10716 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10717 value.
10718 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10719 as optional.
10720 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10721 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10722 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10723 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10724 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10725 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10726 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10727 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10728 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10729 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10730 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10731 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10732 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10733 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10734 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10735 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10736 entry.
10737 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10738 optional.
10739 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10740 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10741 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10742 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10743 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10744 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10745 Likewise.
10746 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10747 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10748 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10749 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10750 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
10751 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10752 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10753 as optional.
10754 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10755 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10756 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10757 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10758 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10759 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10760 specify as optional.
10761 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10762 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10763 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10764 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10765 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10766 [XPG3] (NL_LANGMAX): Likewise.
10767 [POSIX || XPG3] (NL_MSGMAX): Likewise.
10768 [POSIX || XPG3] (NL_NMAX): Likewise.
10769 [POSIX || XPG3] (NL_SETMAX): Likewise.
10770 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10771 [XPG3] (NZERO): Likewise.
10772 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10773 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10774 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10775 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10776 (REG_ERANGE): Expect.
10777 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10778 optional-constant.
10779 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10780 Use (void) in prototype.
10781 [POSIX] (*_t): Allow.
10782 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10783 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10784 (WRDE_BADVAL): Expect.
10785
5ba924e3
JM
10786 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10787 expect.
10788 [XPG3 || XPG4] (O_RSYNC): Likewise.
10789 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10790 Likewise.
10791 [XPG3 || XPG4] (pthread_sigmask): Likewise.
10792 [XPG3 || XPG4] (sigqueue): Likewise.
10793 [XPG3 || XPG4] (sigtimedwait): Likewise.
10794 [XPG3 || XPG4] (sigwaitinfo): Likewise.
10795 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10796 [XPG3 || XPG4] (vsnprintf): Likewise.
10797 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10798 Likewise.
10799 [XPG3 || XPG4] (blksize_t): Likewise.
10800 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10801 Likewise.
10802 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10803 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10804 [XPG3 || XPG4] (struct itimerspec): Likewise.
10805 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10806 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10807 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10808 [XPG3 || XPG4] (clockid_t): Likewise.
10809 [XPG3 || XPG4] (timer_t): Likewise.
10810 [XPG3 || XPG4] (clock_getres): Likewise.
10811 [XPG3 || XPG4] (clock_gettime): Likewise.
10812 [XPG3 || XPG4] (clock_settime): Likewise.
10813 [XPG3 || XPG4] (nanosleep): Likewise.
10814 [XPG3 || XPG4] (timer_create): Likewise.
10815 [XPG3 || XPG4] (timer_delete): Likewise.
10816 [XPG3 || XPG4] (timer_gettime): Likewise.
10817 [XPG3 || XPG4] (timer_getoverrun): Likewise.
10818 [XPG3 || XPG4] (timer_settime): Likewise.
10819 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10820 [XPG3 || XPG4] (getlogin_r): Likewise.
10821 [XPG3 || XPG4] (pread): Likewise.
10822 [XPG3 || XPG4] (pthread_atfork): Likewise.
10823 [XPG3 || XPG4] (pwrite): Likewise.
10824
ee663277
JM
10825 [BZ #14835]
10826 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10827 <bits/siginfo.h>.
10828
942caa16
PT
108292012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10830
e19af380
PT
10831 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10832 finalizing MALLSTREAM.
10833
942caa16
PT
10834 * sysdeps/mach/hurd/syncfs.c: New file.
10835
cfde9b46
SP
108362012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10837
10838 [BZ #14719]
10839 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10840 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10841 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10842 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10843 (_nss_dns_gethostbyname4_r): Likewise.
10844 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10845 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10846
f6da27e5
PH
108472012-11-19 Peng Haitao <penght@cn.fujitsu.com>
10848
10849 [BZ #13763]
10850 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10851
6665d4a2
SM
108522012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
10853
1f51ee92
SM
10854 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10855 * elf/cache.c (print_entry): Print ",AArch64" for
10856 FLAG_AARCH64_LIB64
10857
6665d4a2
SM
10858 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10859 * elf/cache.c (print_entry): Print ",hard-float" for
10860 FLAG_ARM_LIBHF.
10861
05b227bd
DM
108622012-11-18 David S. Miller <davem@davemloft.net>
10863
10864 With help from Joseph Myers.
10865 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10866 cutoff to 2**-13.
10867 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10868 cutoff to 2**-25.
10869 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10870 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10871 small.
10872 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10873 * math/libm-test.inc (y0_test): New tests.
10874 (y1_test): New tests.
10875 * sysdeps/i386/fpu/libm-test-ulps: Update.
10876 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10878
786b0b67
AS
108792012-11-18 Andreas Schwab <schwab@linux-m68k.org>
10880
10881 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10882 64-bit targets.
10883 * configure: Regenerated.
10884
8e18b86d
DM
108852012-11-17 David S. Miller <davem@davemloft.net>
10886
10887 [BZ #14811]
10888 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10889 nonzero exponents with absolute value below 0x1p-128 to +/-
10890 0x1p-128.
10891
531f1ae0
JM
108922012-11-17 Joseph Myers <joseph@codesourcery.com>
10893
12df29e2
JM
10894 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10895
150dc1a0
JM
10896 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10897
531f1ae0
JM
10898 * posix/getconf-speclist.c: New file.
10899 * posix/posix-envs.def: Likewise.
10900 * posix/confstr.c (START_ENV_GROUP): New macro.
10901 (END_ENV_GROUP): Likewise.
10902 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10903 (KNOWN_PRESENT_ENV_STRING): Likewise.
10904 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10905 (UNKNOWN_ENVIRONMENT): Likewise.
10906 (confstr): Include posix-envs.def instead of handling
10907 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10908 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10909 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10910 (END_ENV_GROUP): Likewise.
10911 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10912 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10913 (UNKNOWN_ENVIRONMENT): Likewise.
10914 (__sysconf): Include posix-envs.def instead of handling associated
10915 cases directly here.
10916 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10917 preprocessing getconf-speclist.c rather than running getconf or
10918 generating empty file.
10919
a93f9cbc
PT
109202012-11-16 Pino Toscano <toscano.pino@tiscali.it>
10921
10922 * scripts/check-local-headers.sh: Ignore 'mach' headers.
10923
d64d9f87
AL
109242012-11-16 Andrej Lajovic <natrij@gmail.com>
10925
10926 [BZ #14672]
10927 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10928
447885eb
DM
109292012-11-16 David S. Miller <davem@davemloft.net>
10930
10931 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10932 smaller than LDBL_EPSILON/2.0L, just return xm1.
10933
bcbf9830
L
109342012-11-16 H.J. Lu <hongjiu.lu@intel.com>
10935
10936 * elf/tst-array1.c (init): Set constructor priority to 1000.
10937 (fini): Set destructor priority to 1000.
10938 * elf/tst-array2dep.c: Likewise.
10939
2b766585
SP
109402012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10941
10942 [BZ #11741]
10943 * libio/fileops.c (_IO_new_file_write): Correctly return error.
10944 (_IO_new_file_xsputn): Also return EOF if none of the input
10945 data was written when overflow failed.
10946 * libio/iopadn.c (_IO_padn): Likewise.
10947 * libio/iowpadn.c (_IO_wpadn): Likewise.
10948 * stdio-common/tst-put-error.c: Add copyright notice.
10949 (do_test): Add case for printing padded string.
10950 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10951 _IO_padn returned error.
10952 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10953 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10954 return EOF.
10955
b1848fde
SP
109562012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10957
10958 * libio/libioP.h: Add comment note that the references to C++
10959 bits are now obsolete.
10960
2fd89785
MS
109612012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10962
10963 * math/libm-test.inc (check_complex): Use asprintf.
10964
e3ea5409
JM
109652012-11-14 Joseph Myers <joseph@codesourcery.com>
10966
10967 * debug/pcprofiledump.c (print_version): Update copyright year.
10968 * malloc/memusagestat.c (print_version): Likewise.
10969
2e64d265
L
109702012-11-14 H.J. Lu <hongjiu.lu@intel.com>
10971
10972 [BZ #14831]
10973 * elf/Makefile (tests): Add tst-audit8.
10974 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10975 ($(objpfx)tst-audit8.out): New target.
10976 (tst-audit8-ENV): New variable.
10977 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10978 audit if l_reloc_result is NULL.
10979 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
10980 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
10981 * elf/tst-audit8.c: New file.
10982
c485e4d2
MS
109832012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10984
10985 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
10986 * misc/Makefile (CFLAGS-select.c): Define.
10987 * posix/Makefile (CFLAGS-pause.c): Define.
10988
3a0d900a
DM
109892012-11-13 David S. Miller <davem@davemloft.net>
10990
10991 * crypt/Makefile: Move test targets after toplevel Rules
10992 inclusion. Grab any necessary sysdep routines when linking.
10993 * crypt/md5.c (md5_process_block): Remove define, we will always
10994 name it __md5_process_block.
10995 (md5_finish_ctx): Update md5_process_block call.
10996 (md5_stream): Likewise.
10997 (md5_process_bytes): Likewise.
10998 (md5_process_block): Rename to __md5_process_block and move to ...
10999 * crypt/md5-block.c: ... here.
11000 * crypt/sha256.c (sha256_process_block): Move to ...
11001 * crypt/sha256-block.c: ... here.
11002 * crypt/sha512.c (sha512_process_block): Move to ...
11003 * crypt/sha512-block.c: ... here.
11004 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11005 path.
11006 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11007 * sysdeps/sparc/sparc64/multiarch/Makefile
11008 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11009 crypt subdir.
11010 (localedef-aux): Add md5 crypto assembler when in locale subdir.
11011 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11012 multiarch changes.
11013 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11014 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11015 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11016 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11017 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11018 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11019 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11020 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11021 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11022 file.
11023 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11024 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11025 file.
11026 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11027
8ca89318
JM
110282012-11-13 Joseph Myers <joseph@codesourcery.com>
11029
e27d476a
JM
11030 * timezone/tzselect.ksh: Update from tzcode git revision
11031 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11032 * timezone/zdump.c: Likewise.
11033 * timezone/zic.c: Likewise.
11034 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11035 in TZVERSION setting, not $(PKGVERSION).
11036 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
11037 REPORT_BUGS_TO settings.
11038
8ca89318
JM
11039 [BZ #14838]
11040 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11041 macro.
11042
47594329
MS
110432012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11044
11045 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11046 detection to immediately after _FP_ROUND().
11047 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11048 bits are 0.
11049
640ac3f1
DM
110502012-11-11 David S. Miller <davem@davemloft.net>
11051
11052 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11053 inttypes.h
11054 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11055 __close rather than their public counterparts.
11056
3d2577bb
JM
110572012-11-10 Joseph Myers <joseph@codesourcery.com>
11058
11059 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11060 file.
11061 [UNIX98] (sem_timedwait): Do not expect.
11062 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11063 [XPG4 || UNIX98] (sockatmark): Do not expect.
11064 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11065 (clock_getcpuclockid): Do not expect.
11066 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11067 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11068 Do not expect.
11069 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11070 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11071 [UNIX98] (vwscanf): Likewise.
11072 [UNIX98] (vswscanf): Likewise.
11073
fb1ae1ee
JM
110742012-11-09 Joseph Myers <joseph@codesourcery.com>
11075
9ec6f8bd
JM
11076 * timezone/version.h: Remove file.
11077 * timezone/README: Do not refer to version.h.
11078 * timezone/Makefile ($(objpfx)zic.o): New dependency on
11079 $(objpfx)version.h.
11080 ($(objpfx)zdump.o): Likewise.
c3f81911 11081 ($(objpfx)version.h): New target.
9ec6f8bd 11082
0aa8f8a1
JM
11083 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11084 2012i.
11085 * timezone/README: Don't mention modification to tzselect.ksh.
11086 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11087 work on unmodified tzselect.ksh. Substitute version numbers in
11088 tzselect.ksh.
11089
4e87147f
JM
11090 * Makefile (format-me): Remove.
11091 (INSTALL): Adjust indentation. Use commands directly instead of
11092 using $(format-me).
11093
8b748aed
JM
11094 * aclocal.m4 (ACX_PKGVERSION): New macro.
11095 (ACX_BUGURL): Likewise.
11096 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11097 (PKGVERSION): New AC_DEFINE_UNQUOTED.
11098 (REPORT_BUGS_TO): Likewise.
11099 * configure: Regenerated.
11100 * config.h.in (PKGVERSION): New macro.
11101 (REPORT_BUGS_TO): Likewise.
11102 * config.make.in (PKGVERSION): New variable.
11103 (PKGVERSION_TEXI): Likewise.
11104 (REPORT_BUGS_TO): Likewise.
11105 (REPORT_BUGS_TEXI): Likewise.
11106 * Makefile (format-me): Use -I$(common-objpfx)manual.
11107 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11108 ($(common-objpfx)manual/%): New target.
11109 (manual/%): Remove target.
11110 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
11111 (print_version): Use PKGVERSION.
11112 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
11113 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
11114 and REPORT_BUGS_TO.
11115 ($(objpfx)xtrace): Likewise.
11116 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
11117 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
11118 (print_version): Use PKGVERSION.
11119 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
11120 (do_version): Use PKGVERSION.
11121 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
11122 REPORT_BUGS_TO.
11123 (common-ldd-rewrite): Likewise.
11124 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
11125 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
11126 (print_version): Use PKGVERSION.
11127 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
11128 * elf/pldd.c (argp_program_bug_address): Remove variable.
11129 (more_help): New function.
11130 (argp): Use more_help.
11131 (print_version): Use PKGVERSION.
11132 * elf/sln.c (main): Use PKGVERSION.
11133 (usage): Use REPORT_BUGS_TO.
11134 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
11135 (top level): Use PKGVERSION.
11136 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
11137 (print_version): Use PKGVERSION.
11138 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
11139 (print_version): Use PKGVERSION.
11140 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
11141 (print_version): Use PKGVERSION.
11142 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11143 (print_version): Use PKGVERSION.
11144 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11145 (print_version): Use PKGVERSION.
11146 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11147 (print_version): Use PKGVERSION.
11148 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11149 and BUGURL.
11150 ($(objpfx)memusage): Likewise.
11151 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11152 (do_version): Use PKGVERSION.
11153 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11154 (print_version): Use PKGVERSION.
11155 * malloc/mtrace.pl ($PACKAGE): Remove variable.
11156 ($PKGVERSION): New variable.
11157 ($REPORT_BUGS_TO): Likewise.
11158 (usage): Use $REPORT_BUGS_TO.
11159 (top level): Use $PKGVERSION.
11160 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11161 ($(objpfx)pkgvers.texi): New rule.
11162 ($(objpfx)stamp-pkgvers): Likewise.
11163 * manual/install.texi: Include pkgvers.texi.
11164 (--with-pkgversion): Document new configure option.
11165 (--with-bugurl): Likewise.
11166 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11167 than necessarily for this particular distribution. Use
11168 REPORT_BUGS_TO for where to report bugs.
11169 * INSTALL: Regenerated.
11170 * manual/libc.texinfo: Include pkgvers.texi.
11171 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11172 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11173 (print_version): Use PKGVERSION.
11174 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11175 (print_version): Use PKGVERSION.
11176 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11177 (print_version): Use PKGVERSION.
11178 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11179 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11180 macro.
11181 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11182 (print_version): Use PKGVERSION.
11183 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11184 (print_version): Use PKGVERSION.
11185 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11186 and PKGVERSION.
11187
92e4b6a9
JM
11188 * timezone/checktab.awk: Update from tzcode 2012i.
11189 * timezone/ialloc.c: Likewise.
11190 * timezone/private.h: Likewise.
11191 * timezone/scheck.c: Likewise.
11192 * timezone/tzfile.h: Likewise.
11193 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
11194 (TZVERSION): Hardcode tzcode version number.
11195 * timezone/zdump.c: Update from tzcode 2012i.
11196 * timezone/zic.c: Likewise.
11197 * timezone/version.h: New file.
11198 * timezone/README: Describe version.h. Update upstream location.
11199
9bde902c
JM
11200 [BZ #14824]
11201 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11202 (mktemp): Enable declaration.
11203 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11204 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
11205 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
11206 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
11207 Likewise.
11208 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11209 Likewise.
11210 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11211 Likewise.
11212 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11213 Likewise.
11214 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11215 Likewise.
11216 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11217 Likewise.
11218
fb1ae1ee
JM
11219 [BZ #14821]
11220 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11221 offset in buffer as u_int32_t not u_long. Consistently use memcpy
11222 for copies of such integer values.
11223 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11224 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11225
2c1adbcb
AJ
112262012-11-09 Andreas Jaeger <aj@suse.de>
11227
11228 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11229 definitions and declarations that are provided by
11230 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11231
d0f8457e
AK
112322012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11233
3a235abb 11234 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
11235 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11236 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11237 definition.
11238
57241e26
MS
112392012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11240
11241 * elf/elf.h: Update comment before AArch64 relocations.
11242
60e8270d
DM
112432012-11-07 David S. Miller <davem@davemloft.net>
11244
11245 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11246 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11247 (__start_context): Declare.
11248 (__makecontext_ret): Delete.
11249 (__makecontext): Hook up __start_context instead of
11250 __makecontext_ret.
11251 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11252 (sysdep_routines): Add __start_context when in stdlib.
11253
0fbb0fbc
JM
112542012-11-07 Joseph Myers <joseph@codesourcery.com>
11255
11256 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11257 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11258 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
11259 hardcoded "nm".
11260 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
11261 (READELF): New variable. Use it instead of hardcoded "readelf".
11262
eb48db7e
L
112632012-11-07 H.J. Lu <hongjiu.lu@intel.com>
11264
11265 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11266 * sysdeps/x86/Makefile: Here.
11267 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11268 * sysdeps/x86/tst-xmmymm.sh: This.
11269
05bcf62a
JM
112702012-11-07 Joseph Myers <joseph@codesourcery.com>
11271
c4b6cf53
JM
11272 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11273 expectations.
11274 [UNIX98] (pthread_barrier_t): Do not expect.
11275 [UNIX98] (pthread_barrierattr_t): Likewise.
11276 [UNIX98] (pthread_spinlock_t): Likewise.
11277 [UNIX98] (pthread_barrier_destroy): Likewise.
11278 [UNIX98] (pthread_barrier_init): Likewise.
11279 [UNIX98] (pthread_barrier_wait): Likewise.
11280 [UNIX98] (pthread_barrierattr_destroy): Likewise.
11281 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11282 [UNIX98] (pthread_barrierattr_init): Likewise.
11283 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11284 [UNIX98] (pthread_getcpuclockid): Likewise.
11285 [UNIX98] (pthread_mutex_timedlock): Likewise.
11286 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11287 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11288 [UNIX98] (pthread_sigmask): Likewise.
11289 [UNIX98] (pthread_spin_destroy): Likewise.
11290 [UNIX98] (pthread_spin_init): Likewise.
11291 [UNIX98] (pthread_spin_lock): Likewise.
11292 [UNIX98] (pthread_spin_trylock): Likewise.
11293 [UNIX98] (pthread_spin_unlock): Likewise.
11294 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11295 Do not expect.
11296 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11297 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11298 [XPG3 || XPG4] (pthread_cond_t): Likewise.
11299 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11300 [XPG3 || XPG4] (pthread_key_t): Likewise.
11301 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11302 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11303 [XPG3 || XPG4] (pthread_once_t): Likewise.
11304 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11305 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11306 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11307 [XPG3 || XPG4] (pthread_t): Likewise.
11308
cbe6e120
JM
11309 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11310 not expect.
11311 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11312
1b126443
JM
11313 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11314 Change function return type to int.
11315
b961a573
JM
11316 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11317 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11318 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11319 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11320 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11321 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11322 [!POSIX] (posix_madvise): Likewise.
11323 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11324 && !UNIX98].
11325 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11326 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11327 (mode_t): Likewise.
11328 (posix_mem_offset): Likewise.
11329 (posix_typed_mem_get_info): Likewise.
11330 (posix_typed_mem_open): Likewise.
11331
9e188909
JM
11332 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11333 Change condition to [XOPEN2K8].
11334
05bcf62a
JM
11335 * conform/conformtest.pl: Preprocess allow-header data with -x c
11336 instead of from stdin.
11337 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11338 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11339 [C99-based standards] (cerfc): Likewise.
11340 [C99-based standards] (cexp2): Likewise.
11341 [C99-based standards] (cexpm1): Likewise.
11342 [C99-based standards] (clog10): Likewise.
11343 [C99-based standards] (clog1p): Likewise.
11344 [C99-based standards] (clog2): Likewise.
11345 [C99-based standards] (clgamma): Likewise.
11346 [C99-based standards] (ctgamma): Likewise.
11347 [C99-based standards] (cerff): Likewise.
11348 [C99-based standards] (cerfcf): Likewise.
11349 [C99-based standards] (cexp2f): Likewise.
11350 [C99-based standards] (cexpm1f): Likewise.
11351 [C99-based standards] (clog10f): Likewise.
11352 [C99-based standards] (clog1pf): Likewise.
11353 [C99-based standards] (clog2f): Likewise.
11354 [C99-based standards] (clgammaf): Likewise.
11355 [C99-based standards] (ctgammaf): Likewise.
11356 [C99-based standards] (cerfl): Likewise.
11357 [C99-based standards] (cerfcl): Likewise.
11358 [C99-based standards] (cexp2l): Likewise.
11359 [C99-based standards] (cexpm1l): Likewise.
11360 [C99-based standards] (clog10l): Likewise.
11361 [C99-based standards] (clog1pl): Likewise.
11362 [C99-based standards] (clog2l): Likewise.
11363 [C99-based standards] (clgammal): Likewise.
11364 [C99-based standards] (ctgammal): Likewise.
11365 * conform/data/inttypes.h-data [C99-based standards]: Include
11366 stdint.h-data. Remove all expectations for stdint.h contents.
11367 [C99-based standards] (PRI*): Do not allow.
11368 [C99-based standards] (SCN*): Likewise.
11369 [C99-based standards] (*_t): Likewise.
11370 [C99-based-standards] (PRId8): Expect macro.
11371 [C99-based-standards] (PRIi8): Likewise.
11372 [C99-based-standards] (PRIo8): Likewise.
11373 [C99-based-standards] (PRIu8): Likewise.
11374 [C99-based-standards] (PRIx8): Likewise.
11375 [C99-based-standards] (PRIX8): Likewise.
11376 [C99-based-standards] (SCNd8): Likewise.
11377 [C99-based-standards] (SCNi8): Likewise.
11378 [C99-based-standards] (SCNo8): Likewise.
11379 [C99-based-standards] (SCNu8): Likewise.
11380 [C99-based-standards] (SCNx8): Likewise.
11381 [C99-based-standards] (PRIdLEAST8): Likewise.
11382 [C99-based-standards] (PRIiLEAST8): Likewise.
11383 [C99-based-standards] (PRIoLEAST8): Likewise.
11384 [C99-based-standards] (PRIuLEAST8): Likewise.
11385 [C99-based-standards] (PRIxLEAST8): Likewise.
11386 [C99-based-standards] (PRIXLEAST8): Likewise.
11387 [C99-based-standards] (SCNdLEAST8): Likewise.
11388 [C99-based-standards] (SCNiLEAST8): Likewise.
11389 [C99-based-standards] (SCNoLEAST8): Likewise.
11390 [C99-based-standards] (SCNuLEAST8): Likewise.
11391 [C99-based-standards] (SCNxLEAST8): Likewise.
11392 [C99-based-standards] (PRIdFAST8): Likewise.
11393 [C99-based-standards] (PRIiFAST8): Likewise.
11394 [C99-based-standards] (PRIoFAST8): Likewise.
11395 [C99-based-standards] (PRIuFAST8): Likewise.
11396 [C99-based-standards] (PRIxFAST8): Likewise.
11397 [C99-based-standards] (PRIXFAST8): Likewise.
11398 [C99-based-standards] (SCNdFAST8): Likewise.
11399 [C99-based-standards] (SCNiFAST8): Likewise.
11400 [C99-based-standards] (SCNoFAST8): Likewise.
11401 [C99-based-standards] (SCNuFAST8): Likewise.
11402 [C99-based-standards] (SCNxFAST8): Likewise.
11403 [C99-based-standards] (PRId16): Likewise.
11404 [C99-based-standards] (PRIi16): Likewise.
11405 [C99-based-standards] (PRIo16): Likewise.
11406 [C99-based-standards] (PRIu16): Likewise.
11407 [C99-based-standards] (PRIx16): Likewise.
11408 [C99-based-standards] (PRIX16): Likewise.
11409 [C99-based-standards] (SCNd16): Likewise.
11410 [C99-based-standards] (SCNi16): Likewise.
11411 [C99-based-standards] (SCNo16): Likewise.
11412 [C99-based-standards] (SCNu16): Likewise.
11413 [C99-based-standards] (SCNx16): Likewise.
11414 [C99-based-standards] (PRIdLEAST16): Likewise.
11415 [C99-based-standards] (PRIiLEAST16): Likewise.
11416 [C99-based-standards] (PRIoLEAST16): Likewise.
11417 [C99-based-standards] (PRIuLEAST16): Likewise.
11418 [C99-based-standards] (PRIxLEAST16): Likewise.
11419 [C99-based-standards] (PRIXLEAST16): Likewise.
11420 [C99-based-standards] (SCNdLEAST16): Likewise.
11421 [C99-based-standards] (SCNiLEAST16): Likewise.
11422 [C99-based-standards] (SCNoLEAST16): Likewise.
11423 [C99-based-standards] (SCNuLEAST16): Likewise.
11424 [C99-based-standards] (SCNxLEAST16): Likewise.
11425 [C99-based-standards] (PRIdFAST16): Likewise.
11426 [C99-based-standards] (PRIiFAST16): Likewise.
11427 [C99-based-standards] (PRIoFAST16): Likewise.
11428 [C99-based-standards] (PRIuFAST16): Likewise.
11429 [C99-based-standards] (PRIxFAST16): Likewise.
11430 [C99-based-standards] (PRIXFAST16): Likewise.
11431 [C99-based-standards] (SCNdFAST16): Likewise.
11432 [C99-based-standards] (SCNiFAST16): Likewise.
11433 [C99-based-standards] (SCNoFAST16): Likewise.
11434 [C99-based-standards] (SCNuFAST16): Likewise.
11435 [C99-based-standards] (SCNxFAST16): Likewise.
11436 [C99-based-standards] (PRId32): Likewise.
11437 [C99-based-standards] (PRIi32): Likewise.
11438 [C99-based-standards] (PRIo32): Likewise.
11439 [C99-based-standards] (PRIu32): Likewise.
11440 [C99-based-standards] (PRIx32): Likewise.
11441 [C99-based-standards] (PRIX32): Likewise.
11442 [C99-based-standards] (SCNd32): Likewise.
11443 [C99-based-standards] (SCNi32): Likewise.
11444 [C99-based-standards] (SCNo32): Likewise.
11445 [C99-based-standards] (SCNu32): Likewise.
11446 [C99-based-standards] (SCNx32): Likewise.
11447 [C99-based-standards] (PRIdLEAST32): Likewise.
11448 [C99-based-standards] (PRIiLEAST32): Likewise.
11449 [C99-based-standards] (PRIoLEAST32): Likewise.
11450 [C99-based-standards] (PRIuLEAST32): Likewise.
11451 [C99-based-standards] (PRIxLEAST32): Likewise.
11452 [C99-based-standards] (PRIXLEAST32): Likewise.
11453 [C99-based-standards] (SCNdLEAST32): Likewise.
11454 [C99-based-standards] (SCNiLEAST32): Likewise.
11455 [C99-based-standards] (SCNoLEAST32): Likewise.
11456 [C99-based-standards] (SCNuLEAST32): Likewise.
11457 [C99-based-standards] (SCNxLEAST32): Likewise.
11458 [C99-based-standards] (PRIdFAST32): Likewise.
11459 [C99-based-standards] (PRIiFAST32): Likewise.
11460 [C99-based-standards] (PRIoFAST32): Likewise.
11461 [C99-based-standards] (PRIuFAST32): Likewise.
11462 [C99-based-standards] (PRIxFAST32): Likewise.
11463 [C99-based-standards] (PRIXFAST32): Likewise.
11464 [C99-based-standards] (SCNdFAST32): Likewise.
11465 [C99-based-standards] (SCNiFAST32): Likewise.
11466 [C99-based-standards] (SCNoFAST32): Likewise.
11467 [C99-based-standards] (SCNuFAST32): Likewise.
11468 [C99-based-standards] (SCNxFAST32): Likewise.
11469 [C99-based-standards] (PRId64): Likewise.
11470 [C99-based-standards] (PRIi64): Likewise.
11471 [C99-based-standards] (PRIo64): Likewise.
11472 [C99-based-standards] (PRIu64): Likewise.
11473 [C99-based-standards] (PRIx64): Likewise.
11474 [C99-based-standards] (PRIX64): Likewise.
11475 [C99-based-standards] (SCNd64): Likewise.
11476 [C99-based-standards] (SCNi64): Likewise.
11477 [C99-based-standards] (SCNo64): Likewise.
11478 [C99-based-standards] (SCNu64): Likewise.
11479 [C99-based-standards] (SCNx64): Likewise.
11480 [C99-based-standards] (PRIdLEAST64): Likewise.
11481 [C99-based-standards] (PRIiLEAST64): Likewise.
11482 [C99-based-standards] (PRIoLEAST64): Likewise.
11483 [C99-based-standards] (PRIuLEAST64): Likewise.
11484 [C99-based-standards] (PRIxLEAST64): Likewise.
11485 [C99-based-standards] (PRIXLEAST64): Likewise.
11486 [C99-based-standards] (SCNdLEAST64): Likewise.
11487 [C99-based-standards] (SCNiLEAST64): Likewise.
11488 [C99-based-standards] (SCNoLEAST64): Likewise.
11489 [C99-based-standards] (SCNuLEAST64): Likewise.
11490 [C99-based-standards] (SCNxLEAST64): Likewise.
11491 [C99-based-standards] (PRIdFAST64): Likewise.
11492 [C99-based-standards] (PRIiFAST64): Likewise.
11493 [C99-based-standards] (PRIoFAST64): Likewise.
11494 [C99-based-standards] (PRIuFAST64): Likewise.
11495 [C99-based-standards] (PRIxFAST64): Likewise.
11496 [C99-based-standards] (PRIXFAST64): Likewise.
11497 [C99-based-standards] (SCNdFAST64): Likewise.
11498 [C99-based-standards] (SCNiFAST64): Likewise.
11499 [C99-based-standards] (SCNoFAST64): Likewise.
11500 [C99-based-standards] (SCNuFAST64): Likewise.
11501 [C99-based-standards] (SCNxFAST64): Likewise.
11502 [C99-based-standards] (PRIdMAX): Likewise.
11503 [C99-based-standards] (PRIiMAX): Likewise.
11504 [C99-based-standards] (PRIoMAX): Likewise.
11505 [C99-based-standards] (PRIuMAX): Likewise.
11506 [C99-based-standards] (PRIxMAX): Likewise.
11507 [C99-based-standards] (PRIXMAX): Likewise.
11508 [C99-based-standards] (SCNdMAX): Likewise.
11509 [C99-based-standards] (SCNiMAX): Likewise.
11510 [C99-based-standards] (SCNoMAX): Likewise.
11511 [C99-based-standards] (SCNuMAX): Likewise.
11512 [C99-based-standards] (SCNxMAX): Likewise.
11513 [C99-based-standards] (PRIdPTR): Likewise.
11514 [C99-based-standards] (PRIiPTR): Likewise.
11515 [C99-based-standards] (PRIoPTR): Likewise.
11516 [C99-based-standards] (PRIuPTR): Likewise.
11517 [C99-based-standards] (PRIxPTR): Likewise.
11518 [C99-based-standards] (PRIXPTR): Likewise.
11519 [C99-based-standards] (SCNdPTR): Likewise.
11520 [C99-based-standards] (SCNiPTR): Likewise.
11521 [C99-based-standards] (SCNoPTR): Likewise.
11522 [C99-based-standards] (SCNuPTR): Likewise.
11523 [C99-based-standards] (SCNxPTR): Likewise.
11524 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11525 allow.
11526 * conform/data/stdint.h-data: Update comments to clarify
11527 requirements.
11528 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11529 type.
11530 [C99-based standards] (INT8_MAX): Likewise.
11531 [C99-based standards] (INT16_MIN): Likewise.
11532 [C99-based standards] (INT16_MAX): Likewise.
11533 [C99-based standards] (INT32_MIN): Likewise.
11534 [C99-based standards] (INT32_MAX): Likewise.
11535 [C99-based standards] (INT64_MIN): Likewise.
11536 [C99-based standards] (INT64_MAX): Likewise.
11537 [C99-based standards] (UINT8_MAX): Likewise.
11538 [C99-based standards] (UINT16_MAX): Likewise.
11539 [C99-based standards] (UINT32_MAX): Likewise.
11540 [C99-based standards] (UINT64_MAX): Likewise.
11541 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11542 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11543 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11544 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11545 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11546 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11547 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11548 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11549 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11550 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11551 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11552 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11553 [C99-based standards] (INT_FAST8_MIN): Likewise.
11554 [C99-based standards] (INT_FAST8_MAX): Likewise.
11555 [C99-based standards] (INT_FAST16_MIN): Likewise.
11556 [C99-based standards] (INT_FAST16_MAX): Likewise.
11557 [C99-based standards] (INT_FAST32_MIN): Likewise.
11558 [C99-based standards] (INT_FAST32_MAX): Likewise.
11559 [C99-based standards] (INT_FAST64_MIN): Likewise.
11560 [C99-based standards] (INT_FAST64_MAX): Likewise.
11561 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11562 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11563 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11564 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11565 [C99-based standards] (INTPTR_MIN): Likewise.
11566 [C99-based standards] (INTPTR_MAX): Likewise.
11567 [C99-based standards] (UINTPTR_MAX): Likewise.
11568 [C99-based standards] (INTMAX_MIN): Likewise.
11569 [C99-based standards] (INTMAX_MAX): Likewise.
11570 [C99-based standards] (UINTMAX_MAX): Likewise.
11571 [C99-based standards] (PTRDIFF_MIN): Likewise.
11572 [C99-based standards] (PTRDIFF_MAX): Likewise.
11573 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11574 [C99-based standards] (SIZE_MAX): Likewise.
11575 [C99-based standards] (WCHAR_MAX): Likewise.
11576 [C99-based standards] (WINT_MAX): Likewise.
11577 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11578 constraint on value.
11579 [C99-based standards] (WCHAR_MIN): Likewise.
11580 [C99-based standards] (WINT_MIN): Likewise.
11581 [C99-based standards] (*_t): Allow.
11582 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11583 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11584 Include math.h-data and complex.h-data. Remove all expectations
11585 of math.h and complex.h contents.
11586 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11587 at end of line.
11588 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11589 (struct tm): Expect tag.
11590 [C99-based-standards] (wcstof): Expect function.
11591 [C99-based-standards] (wcstold): Likewise.
11592 [C99-based-standards] (wcstoll): Likewise.
11593 [C99-based-standards] (wcstoull): Likewise.
11594 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11595 macro-int-constant. Specify type.
11596 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11597 constraint on value.
11598 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11599 Specify type.
11600 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11601 Specify value.
11602 [ISO C standards]: Do not allow headers.
11603 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11604 wcs[abcdefghijklmnopqrstuvwxyz]*.
11605 [ISO C standards] (*_t): Do not allow.
11606 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11607 Expect function.
11608 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11609 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11610 Specify type.
11611 [ISO C standards]: Do not allow headers.
11612 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11613 is[abcdefghijklmnopqrstuvwxyz]*.
11614 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11615 to[abcdefghijklmnopqrstuvwxyz]*.
11616 [ISO C standards] (*_t): Do not allow.
11617 * conform/data/stdalign.h-data: New file.
11618 * conform/data/stdbool.h-data: Likewise.
11619 * conform/data/stdnoreturn.h-data: Likewise.
11620
7514feb8
RM
116212012-11-07 Roland McGrath <roland@hack.frob.com>
11622
11623 [BZ #14815]
11624 * manual/filesys.texi (Directory Entries): Typo fix.
11625 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11626
19b2ecfc
MS
116272012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11628
11629 * elf/elf.h (EM_AARCH64): New macro.
11630 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11631 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11632 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11633 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11634 (R_AARCH64_TLSDESC): Likewise.
11635 (NT_ARM_TLS): Likewise.
11636 (NT_ARM_HW_BREAK): Likewise.
11637 (NT_ARM_HW_WATCH): Likewise.
11638
60e235ee
JM
116392012-11-07 Joseph Myers <joseph@codesourcery.com>
11640
11641 [BZ #14811]
11642 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11643 (__ieee754_powl): Saturate nonzero exponents with absolute value
11644 below 0x1p-79 to +/- 0x1p-79.
11645 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11646 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11647 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11648 nonzero exponents with absolute value below 0x1p-32 to +/-
11649 0x1p-32.
11650 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11651 (__ieee754_powl): Saturate nonzero exponents with absolute value
11652 below 0x1p-79 to +/- 0x1p-79.
11653 * math/libm-test.inc (pow_test): Add more tests.
11654
0ab234b7
AK
116552012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11656
11657 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11658 _dl_s390_cap_flags with kernel. Increase string length.
11659 (_dl_s390_platforms): Add z196 and zEC12.
11660
45832f74
JM
116612012-11-07 Joseph Myers <joseph@codesourcery.com>
11662
11663 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11664 Change XOPEN21K to XOPEN2K.
11665
19218757
MK
116662012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11667
11668 * string/memmove.c: Use memcpy when possible.
11669
c5f45721
AJ
116702012-11-06 Andreas Jaeger <aj@suse.de>
11671
11672 * po/eo.po: Update from translation team.
11673
82477c28
JM
116742012-11-06 Joseph Myers <joseph@codesourcery.com>
11675
11676 [BZ #14793]
11677 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11678 exponent and small x and y exponents, scale x or y up. Increase
11679 by 2 the exponent used in scaling up.
11680 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11681 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11682 * math/libm-test.inc (fma_test): Add more tests.
11683 (fma_test_towardzero): Likewise.
11684 (fma_test_downward): Likewise.
11685 (fma_test_upward): Likewise.
11686
99252c8c
JM
116872012-11-05 Joseph Myers <joseph@codesourcery.com>
11688
acfa885f
JM
11689 [BZ #14805]
11690 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11691 fenv_t *.
11692
99252c8c
JM
11693 [BZ #14801]
11694 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11695 namespace for names of struct fields.
11696 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11697 fenv_t fields.
11698 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11699 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11700
d6d98dea
ST
117012012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11702
11703 [BZ #3665]
11704 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11705
e10bb107
TS
117062012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11707
11708 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11709 PTR_DEMANGLE.
11710
11711 [BZ #5246]
11712 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11713 PTR_DEMANGLE.
11714
a0c2940d
JM
117152012-11-04 Joseph Myers <joseph@codesourcery.com>
11716
11717 [BZ #14797]
11718 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11719 definitely overflow as x * y not x * y + z.
11720 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11721 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11722 * math/libm-test.inc (fma_test): Add more tests.
11723 (fma_test_towardzero): Likewise.
11724 (fma_test_downward): Likewise.
11725 (fma_test_upward): Likewise.
11726
b830319d
TS
117272012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11728
11729 [BZ #157]
11730
11731 * include/stub-tag.h: Remove file.
11732 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11733 '#include' of it.
11734 * manual/maint.texi (Porting): Don't reference it.
11735 * Makerules ($(objpfx)stubs): Likewise.
11736 * dirent/closedir.c: Don't include <stub-tag.h>.
11737 * dirent/dirfd.c: Likewise.
11738 * dirent/fdopendir.c: Likewise.
11739 * dirent/getdents.c: Likewise.
11740 * dirent/getdents64.c: Likewise.
11741 * dirent/opendir.c: Likewise.
11742 * dirent/readdir.c: Likewise.
11743 * dirent/readdir64.c: Likewise.
11744 * dirent/readdir64_r.c: Likewise.
11745 * dirent/readdir_r.c: Likewise.
11746 * dirent/rewinddir.c: Likewise.
11747 * dirent/seekdir.c: Likewise.
11748 * dirent/telldir.c: Likewise.
11749 * gmon/profil.c: Likewise.
11750 * grp/setgroups.c: Likewise.
11751 * inet/if_index.c: Likewise.
11752 * io/access.c: Likewise.
11753 * io/chdir.c: Likewise.
11754 * io/chmod.c: Likewise.
11755 * io/chown.c: Likewise.
11756 * io/close.c: Likewise.
11757 * io/dup.c: Likewise.
11758 * io/dup2.c: Likewise.
11759 * io/dup3.c: Likewise.
11760 * io/euidaccess.c: Likewise.
11761 * io/faccessat.c: Likewise.
11762 * io/fchdir.c: Likewise.
11763 * io/fchmod.c: Likewise.
11764 * io/fchmodat.c: Likewise.
11765 * io/fchown.c: Likewise.
11766 * io/fchownat.c: Likewise.
11767 * io/fcntl.c: Likewise.
11768 * io/flock.c: Likewise.
11769 * io/fstatfs.c: Likewise.
11770 * io/fstatfs64.c: Likewise.
11771 * io/fstatvfs.c: Likewise.
11772 * io/fstatvfs64.c: Likewise.
11773 * io/futimens.c: Likewise.
11774 * io/fxstat.c: Likewise.
11775 * io/fxstat64.c: Likewise.
11776 * io/fxstatat.c: Likewise.
11777 * io/fxstatat64.c: Likewise.
11778 * io/getcwd.c: Likewise.
11779 * io/isatty.c: Likewise.
11780 * io/lchmod.c: Likewise.
11781 * io/lchown.c: Likewise.
11782 * io/link.c: Likewise.
11783 * io/linkat.c: Likewise.
11784 * io/lseek.c: Likewise.
11785 * io/lseek64.c: Likewise.
11786 * io/lxstat64.c: Likewise.
11787 * io/mkdir.c: Likewise.
11788 * io/mkdirat.c: Likewise.
11789 * io/mkfifo.c: Likewise.
11790 * io/mkfifoat.c: Likewise.
11791 * io/open.c: Likewise.
11792 * io/open64.c: Likewise.
11793 * io/openat.c: Likewise.
11794 * io/openat64.c: Likewise.
11795 * io/pipe.c: Likewise.
11796 * io/pipe2.c: Likewise.
11797 * io/poll.c: Likewise.
11798 * io/posix_fadvise.c: Likewise.
11799 * io/posix_fadvise64.c: Likewise.
11800 * io/posix_fallocate.c: Likewise.
11801 * io/posix_fallocate64.c: Likewise.
11802 * io/read.c: Likewise.
11803 * io/readlink.c: Likewise.
11804 * io/readlinkat.c: Likewise.
11805 * io/rmdir.c: Likewise.
11806 * io/sendfile.c: Likewise.
11807 * io/sendfile64.c: Likewise.
11808 * io/statfs.c: Likewise.
11809 * io/statfs64.c: Likewise.
11810 * io/statvfs.c: Likewise.
11811 * io/statvfs64.c: Likewise.
11812 * io/symlink.c: Likewise.
11813 * io/symlinkat.c: Likewise.
11814 * io/ttyname.c: Likewise.
11815 * io/ttyname_r.c: Likewise.
11816 * io/umask.c: Likewise.
11817 * io/unlink.c: Likewise.
11818 * io/unlinkat.c: Likewise.
11819 * io/utime.c: Likewise.
11820 * io/utimensat.c: Likewise.
11821 * io/write.c: Likewise.
11822 * io/xmknod.c: Likewise.
11823 * io/xmknodat.c: Likewise.
11824 * io/xstat.c: Likewise.
11825 * io/xstat64.c: Likewise.
11826 * login/getpt.c: Likewise.
11827 * login/grantpt.c: Likewise.
11828 * login/unlockpt.c: Likewise.
11829 * math/e_acoshl.c: Likewise.
11830 * math/e_acosl.c: Likewise.
11831 * math/e_asinl.c: Likewise.
11832 * math/e_atan2l.c: Likewise.
11833 * math/e_atanhl.c: Likewise.
11834 * math/e_coshl.c: Likewise.
11835 * math/e_expl.c: Likewise.
11836 * math/e_fmodl.c: Likewise.
11837 * math/e_gammal_r.c: Likewise.
11838 * math/e_hypotl.c: Likewise.
11839 * math/e_j0l.c: Likewise.
11840 * math/e_j1l.c: Likewise.
11841 * math/e_jnl.c: Likewise.
11842 * math/e_lgammal_r.c: Likewise.
11843 * math/e_log10l.c: Likewise.
11844 * math/e_log2l.c: Likewise.
11845 * math/e_logl.c: Likewise.
11846 * math/e_powl.c: Likewise.
11847 * math/e_rem_pio2l.c: Likewise.
11848 * math/e_sinhl.c: Likewise.
11849 * math/e_sqrtl.c: Likewise.
11850 * math/fclrexcpt.c: Likewise.
11851 * math/fedisblxcpt.c: Likewise.
11852 * math/feenablxcpt.c: Likewise.
11853 * math/fegetenv.c: Likewise.
11854 * math/fegetexcept.c: Likewise.
11855 * math/fegetround.c: Likewise.
11856 * math/feholdexcpt.c: Likewise.
11857 * math/fesetenv.c: Likewise.
11858 * math/fesetround.c: Likewise.
11859 * math/feupdateenv.c: Likewise.
11860 * math/fgetexcptflg.c: Likewise.
11861 * math/fraiseexcpt.c: Likewise.
11862 * math/fsetexcptflg.c: Likewise.
11863 * math/ftestexcept.c: Likewise.
11864 * math/k_cosl.c: Likewise.
11865 * math/k_rem_pio2l.c: Likewise.
11866 * math/k_sinl.c: Likewise.
11867 * math/k_tanl.c: Likewise.
11868 * math/s_asinhl.c: Likewise.
11869 * math/s_atanl.c: Likewise.
11870 * math/s_cbrtl.c: Likewise.
11871 * math/s_erfl.c: Likewise.
11872 * math/s_expm1l.c: Likewise.
11873 * math/s_log1pl.c: Likewise.
11874 * math/s_tanhl.c: Likewise.
11875 * misc/acct.c: Likewise.
11876 * misc/brk.c: Likewise.
11877 * misc/chflags.c: Likewise.
11878 * misc/chroot.c: Likewise.
11879 * misc/fchflags.c: Likewise.
11880 * misc/fgetxattr.c: Likewise.
11881 * misc/flistxattr.c: Likewise.
11882 * misc/fremovexattr.c: Likewise.
11883 * misc/fsetxattr.c: Likewise.
11884 * misc/fsync.c: Likewise.
11885 * misc/ftruncate.c: Likewise.
11886 * misc/futimes.c: Likewise.
11887 * misc/futimesat.c: Likewise.
11888 * misc/getdomain.c: Likewise.
11889 * misc/getdtsz.c: Likewise.
11890 * misc/gethostid.c: Likewise.
11891 * misc/gethostname.c: Likewise.
11892 * misc/getloadavg.c: Likewise.
11893 * misc/getpagesize.c: Likewise.
11894 * misc/getsysstats.c: Likewise.
11895 * misc/getxattr.c: Likewise.
11896 * misc/gtty.c: Likewise.
11897 * misc/ioctl.c: Likewise.
11898 * misc/lgetxattr.c: Likewise.
11899 * misc/listxattr.c: Likewise.
11900 * misc/llistxattr.c: Likewise.
11901 * misc/lremovexattr.c: Likewise.
11902 * misc/lsetxattr.c: Likewise.
11903 * misc/lutimes.c: Likewise.
11904 * misc/madvise.c: Likewise.
11905 * misc/mincore.c: Likewise.
11906 * misc/mlock.c: Likewise.
11907 * misc/mlockall.c: Likewise.
11908 * misc/mmap.c: Likewise.
11909 * misc/mprotect.c: Likewise.
11910 * misc/msync.c: Likewise.
11911 * misc/munlock.c: Likewise.
11912 * misc/munlockall.c: Likewise.
11913 * misc/munmap.c: Likewise.
11914 * misc/preadv.c: Likewise.
11915 * misc/preadv64.c: Likewise.
11916 * misc/ptrace.c: Likewise.
11917 * misc/pwritev.c: Likewise.
11918 * misc/pwritev64.c: Likewise.
11919 * misc/readv.c: Likewise.
11920 * misc/reboot.c: Likewise.
11921 * misc/remap_file_pages.c: Likewise.
11922 * misc/removexattr.c: Likewise.
11923 * misc/revoke.c: Likewise.
11924 * misc/select.c: Likewise.
11925 * misc/setdomain.c: Likewise.
11926 * misc/setegid.c: Likewise.
11927 * misc/seteuid.c: Likewise.
11928 * misc/sethostid.c: Likewise.
11929 * misc/sethostname.c: Likewise.
11930 * misc/setregid.c: Likewise.
11931 * misc/setreuid.c: Likewise.
11932 * misc/setxattr.c: Likewise.
11933 * misc/sstk.c: Likewise.
11934 * misc/stty.c: Likewise.
11935 * misc/swapoff.c: Likewise.
11936 * misc/swapon.c: Likewise.
11937 * misc/sync.c: Likewise.
11938 * misc/syncfs.c: Likewise.
11939 * misc/syscall.c: Likewise.
11940 * misc/truncate.c: Likewise.
11941 * misc/ualarm.c: Likewise.
11942 * misc/usleep.c: Likewise.
11943 * misc/ustat.c: Likewise.
11944 * misc/utimes.c: Likewise.
11945 * misc/vhangup.c: Likewise.
11946 * misc/writev.c: Likewise.
11947 * posix/_exit.c: Likewise.
11948 * posix/alarm.c: Likewise.
11949 * posix/execve.c: Likewise.
11950 * posix/fexecve.c: Likewise.
11951 * posix/fork.c: Likewise.
11952 * posix/fpathconf.c: Likewise.
11953 * posix/getaddrinfo.c: Likewise.
11954 * posix/getegid.c: Likewise.
11955 * posix/geteuid.c: Likewise.
11956 * posix/getgid.c: Likewise.
11957 * posix/getgroups.c: Likewise.
11958 * posix/getlogin.c: Likewise.
11959 * posix/getlogin_r.c: Likewise.
11960 * posix/getpgid.c: Likewise.
11961 * posix/getpid.c: Likewise.
11962 * posix/getppid.c: Likewise.
11963 * posix/getresgid.c: Likewise.
11964 * posix/getresuid.c: Likewise.
11965 * posix/getsid.c: Likewise.
11966 * posix/getuid.c: Likewise.
11967 * posix/glob64.c: Likewise.
11968 * posix/nanosleep.c: Likewise.
11969 * posix/pathconf.c: Likewise.
11970 * posix/pause.c: Likewise.
11971 * posix/posix_madvise.c: Likewise.
11972 * posix/pread.c: Likewise.
11973 * posix/pread64.c: Likewise.
11974 * posix/pwrite.c: Likewise.
11975 * posix/pwrite64.c: Likewise.
11976 * posix/sched_getaffinity.c: Likewise.
11977 * posix/sched_getp.c: Likewise.
11978 * posix/sched_gets.c: Likewise.
11979 * posix/sched_primax.c: Likewise.
11980 * posix/sched_primin.c: Likewise.
11981 * posix/sched_rr_gi.c: Likewise.
11982 * posix/sched_setaffinity.c: Likewise.
11983 * posix/sched_setp.c: Likewise.
11984 * posix/sched_sets.c: Likewise.
11985 * posix/sched_yield.c: Likewise.
11986 * posix/setgid.c: Likewise.
11987 * posix/setlogin.c: Likewise.
11988 * posix/setpgid.c: Likewise.
11989 * posix/setresgid.c: Likewise.
11990 * posix/setresuid.c: Likewise.
11991 * posix/setsid.c: Likewise.
11992 * posix/setuid.c: Likewise.
11993 * posix/sleep.c: Likewise.
11994 * posix/spawni.c: Likewise.
11995 * posix/sysconf.c: Likewise.
11996 * posix/times.c: Likewise.
11997 * posix/wait.c: Likewise.
11998 * posix/wait3.c: Likewise.
11999 * posix/wait4.c: Likewise.
12000 * posix/waitpid.c: Likewise.
12001 * resolv/gai_sigqueue.c: Likewise.
12002 * resource/getpriority.c: Likewise.
12003 * resource/getrlimit.c: Likewise.
12004 * resource/getrusage.c: Likewise.
12005 * resource/nice.c: Likewise.
12006 * resource/setpriority.c: Likewise.
12007 * resource/setrlimit.c: Likewise.
12008 * resource/ulimit.c: Likewise.
12009 * rt/aio_cancel.c: Likewise.
12010 * rt/aio_fsync.c: Likewise.
12011 * rt/aio_read.c: Likewise.
12012 * rt/aio_sigqueue.c: Likewise.
12013 * rt/aio_suspend.c: Likewise.
12014 * rt/aio_write.c: Likewise.
12015 * rt/clock_getres.c: Likewise.
12016 * rt/clock_gettime.c: Likewise.
12017 * rt/clock_nanosleep.c: Likewise.
12018 * rt/clock_settime.c: Likewise.
12019 * rt/lio_listio.c: Likewise.
12020 * rt/mq_close.c: Likewise.
12021 * rt/mq_getattr.c: Likewise.
12022 * rt/mq_notify.c: Likewise.
12023 * rt/mq_open.c: Likewise.
12024 * rt/mq_receive.c: Likewise.
12025 * rt/mq_send.c: Likewise.
12026 * rt/mq_setattr.c: Likewise.
12027 * rt/mq_timedreceive.c: Likewise.
12028 * rt/mq_timedsend.c: Likewise.
12029 * rt/mq_unlink.c: Likewise.
12030 * rt/shm_open.c: Likewise.
12031 * rt/shm_unlink.c: Likewise.
12032 * rt/timer_create.c: Likewise.
12033 * rt/timer_delete.c: Likewise.
12034 * rt/timer_getoverr.c: Likewise.
12035 * rt/timer_gettime.c: Likewise.
12036 * rt/timer_settime.c: Likewise.
12037 * setjmp/__longjmp.c: Likewise.
12038 * setjmp/setjmp.c: Likewise.
12039 * signal/kill.c: Likewise.
12040 * signal/killpg.c: Likewise.
12041 * signal/raise.c: Likewise.
12042 * signal/sigaction.c: Likewise.
12043 * signal/sigaltstack.c: Likewise.
12044 * signal/sigblock.c: Likewise.
12045 * signal/sigignore.c: Likewise.
12046 * signal/sigintr.c: Likewise.
12047 * signal/signal.c: Likewise.
12048 * signal/sigpause.c: Likewise.
12049 * signal/sigpending.c: Likewise.
12050 * signal/sigqueue.c: Likewise.
12051 * signal/sigreturn.c: Likewise.
12052 * signal/sigset.c: Likewise.
12053 * signal/sigsetmask.c: Likewise.
12054 * signal/sigstack.c: Likewise.
12055 * signal/sigsuspend.c: Likewise.
12056 * signal/sigtimedwait.c: Likewise.
12057 * signal/sigvec.c: Likewise.
12058 * signal/sigwait.c: Likewise.
12059 * signal/sigwaitinfo.c: Likewise.
12060 * signal/sysv_signal.c: Likewise.
12061 * socket/accept.c: Likewise.
12062 * socket/accept4.c: Likewise.
12063 * socket/bind.c: Likewise.
12064 * socket/connect.c: Likewise.
12065 * socket/getpeername.c: Likewise.
12066 * socket/getsockname.c: Likewise.
12067 * socket/getsockopt.c: Likewise.
12068 * socket/isfdtype.c: Likewise.
12069 * socket/listen.c: Likewise.
12070 * socket/recv.c: Likewise.
12071 * socket/recvfrom.c: Likewise.
12072 * socket/recvmsg.c: Likewise.
12073 * socket/send.c: Likewise.
12074 * socket/sendmsg.c: Likewise.
12075 * socket/sendto.c: Likewise.
12076 * socket/setsockopt.c: Likewise.
12077 * socket/shutdown.c: Likewise.
12078 * socket/sockatmark.c: Likewise.
12079 * socket/socket.c: Likewise.
12080 * socket/socketpair.c: Likewise.
12081 * stdio-common/ctermid.c: Likewise.
12082 * stdio-common/cuserid.c: Likewise.
12083 * stdio-common/remove.c: Likewise.
12084 * stdio-common/rename.c: Likewise.
12085 * stdio-common/renameat.c: Likewise.
12086 * stdio-common/tempname.c: Likewise.
12087 * stdlib/getcontext.c: Likewise.
12088 * stdlib/makecontext.c: Likewise.
12089 * stdlib/setcontext.c: Likewise.
12090 * stdlib/swapcontext.c: Likewise.
12091 * stdlib/system.c: Likewise.
12092 * streams/fattach.c: Likewise.
12093 * streams/fdetach.c: Likewise.
12094 * streams/getmsg.c: Likewise.
12095 * streams/getpmsg.c: Likewise.
12096 * streams/putmsg.c: Likewise.
12097 * streams/putpmsg.c: Likewise.
12098 * sysdeps/unix/bsd/getpt.c: Likewise.
12099 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12100 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12101 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12103 Likewise.
12104 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12105 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12106 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12107 * sysvipc/msgctl.c: Likewise.
12108 * sysvipc/msgget.c: Likewise.
12109 * sysvipc/msgrcv.c: Likewise.
12110 * sysvipc/msgsnd.c: Likewise.
12111 * sysvipc/semctl.c: Likewise.
12112 * sysvipc/semget.c: Likewise.
12113 * sysvipc/semop.c: Likewise.
12114 * sysvipc/semtimedop.c: Likewise.
12115 * sysvipc/shmat.c: Likewise.
12116 * sysvipc/shmctl.c: Likewise.
12117 * sysvipc/shmdt.c: Likewise.
12118 * sysvipc/shmget.c: Likewise.
12119 * termios/tcdrain.c: Likewise.
12120 * termios/tcflow.c: Likewise.
12121 * termios/tcflush.c: Likewise.
12122 * termios/tcgetattr.c: Likewise.
12123 * termios/tcgetpgrp.c: Likewise.
12124 * termios/tcsendbrk.c: Likewise.
12125 * termios/tcsetattr.c: Likewise.
12126 * termios/tcsetpgrp.c: Likewise.
12127 * time/adjtime.c: Likewise.
12128 * time/clock.c: Likewise.
12129 * time/getitimer.c: Likewise.
12130 * time/gettimeofday.c: Likewise.
12131 * time/setitimer.c: Likewise.
12132 * time/settimeofday.c: Likewise.
12133 * time/stime.c: Likewise.
12134 * time/time.c: Likewise.
12135
121362012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 12137
a20492cf
PT
12138 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12139 /usr/old/bin.
12140
72e182e3
PT
12141 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12142 instead of spaces.
12143 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12144
fbeafede
JM
121452012-11-03 Joseph Myers <joseph@codesourcery.com>
12146
5b5b04d6
JM
12147 [BZ #14796]
12148 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12149 FE_TONEAREST before applying Dekker multiplication and Knuth
12150 addition. Clear inexact exceptions and check for exact zero
12151 results afterwards.
12152 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12153 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12154 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12155 * math/libm-test.inc (fma_test): Add more tests.
12156 (fma_test_towardzero): Likewise.
12157 (fma_test_downward): Likewise.
12158 (fma_test_upward): Likewise.
12159 * sysdeps/generic/math_private.h (default_libc_fesetround): New
12160 function.
12161 (libc_fesetround): New macro.
12162 (libc_fesetroundf): Likewise.
12163 (libc_fesetroundl): Likewise.
12164 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12165 function.
12166 (libc_fesetround_387): Likewise.
12167 (libc_fesetroundf): New macro.
12168 (libc_fesetround): Likewise.
12169 (libc_fesetroundl): Likewise.
12170 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12171 function.
12172 (libc_fesetroundf): New macro.
12173 (libc_fesetround): Likewise.
12174 (libc_fesetroundl): Likewise.
12175 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12176 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12177 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12178 libm_hidden_ver.
12179 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12180 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12181 libm_hidden_def.
12182 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12183 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12184 libm_hidden_ver.
12185 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12186 libm_hidden_def.
12187
fbeafede
JM
12188 [BZ #3439]
12189 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12190 integer constant usable in #if and use that to give value to enum
12191 constant.
12192 (FE_DIVBYZERO): Likewise.
12193 (FE_UNDERFLOW): Likewise.
12194 (FE_OVERFLOW): Likewise.
12195 (FE_INVALID): Likewise.
12196 (FE_INVALID_SNAN): Likewise.
12197 (FE_INVALID_ISI): Likewise.
12198 (FE_INVALID_IDI): Likewise.
12199 (FE_INVALID_ZDZ): Likewise.
12200 (FE_INVALID_IMZ): Likewise.
12201 (FE_INVALID_COMPARE): Likewise.
12202 (FE_INVALID_SOFTWARE): Likewise.
12203 (FE_INVALID_SQRT): Likewise.
12204 (FE_INVALID_INTEGER_CONVERSION): Likewise.
12205 (FE_TONEAREST): Likewise.
12206 (FE_TOWARDZERO): Likewise.
12207 (FE_UPWARD): Likewise.
12208 (FE_DOWNWARD): Likewise.
12209 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
12210 (FE_DIVBYZERO): Likewise.
12211 (FE_OVERFLOW): Likewise.
12212 (FE_UNDERFLOW): Likewise.
12213 (FE_INEXACT): Likewise.
12214 (FE_TONEAREST): Likewise.
12215 (FE_DOWNWARD): Likewise.
12216 (FE_UPWARD): Likewise.
12217 (FE_TOWARDZERO): Likewise.
12218 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12219 (FE_UNDERFLOW): Likewise.
12220 (FE_OVERFLOW): Likewise.
12221 (FE_DIVBYZERO): Likewise.
12222 (FE_INVALID): Likewise.
12223 (FE_TONEAREST): Likewise.
12224 (FE_TOWARDZERO): Likewise.
12225 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12226 (FE_OVERFLOW): Likewise.
12227 (FE_UNDERFLOW): Likewise.
12228 (FE_DIVBYZERO): Likewise.
12229 (FE_INEXACT): Likewise.
12230 (FE_TONEAREST): Likewise.
12231 (FE_TOWARDZERO): Likewise.
12232 (FE_UPWARD): Likewise.
12233 (FE_DOWNWARD): Likewise.
12234 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12235 (FE_DIVBYZERO): Likewise.
12236 (FE_OVERFLOW): Likewise.
12237 (FE_UNDERFLOW): Likewise.
12238 (FE_INEXACT): Likewise.
12239 (FE_TONEAREST): Likewise.
12240 (FE_DOWNWARD): Likewise.
12241 (FE_UPWARD): Likewise.
12242 (FE_TOWARDZERO): Likewise.
12243
105ca950
CM
122442012-11-02 Chris Metcalf <cmetcalf@tilera.com>
12245
12246 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12247
a542b389
AS
122482012-11-03 Andreas Schwab <schwab@linux-m68k.org>
12249
12250 * scripts/cross-test-ssh.sh (command): Use newlines to separate
12251 commands. Quote $PWD.
12252 (blacklist_exports): Don't use remove_newlines. Replace "declare
12253 -x" by "export".
12254 (remove_newlines): Remove.
12255
f62c8abc
L
122562012-11-02 H.J. Lu <hongjiu.lu@intel.com>
12257
12258 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12259 * stdlib/stdlib.h (atof): Moved to ...
12260 * include/bits/stdlib-float.h: Here. New file.
12261 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12262 * stdlib/bits/stdlib-float.h: New file.
12263 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12264 -mno-sse -mno-mmx.
12265 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12266 <xmmintrin.h>.
12267
0155d5b2
JM
122682012-11-02 Joseph Myers <joseph@codesourcery.com>
12269
a68d0680
JM
12270 * conform/conformtest.pl (@headers): Add fenv.h.
12271 * conform/data/fenv.h-data: New file.
12272 * include/fenv.h [_ISOMAC]: Disable all contents of file except
12273 include of <math/fenv.h>.
12274
caf7f573
JM
12275 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12276 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12277 && !UNIX98]. Enables tests for XOPEN2K8.
12278 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12279 POSIX2008]: Likewise.
12280
6c073ad6
JM
12281 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12282 (struct rusage): Do not expect type or its members.
12283
0155d5b2
JM
12284 [BZ #3439]
12285 * math/math.h (FP_NAN): Define macro to integer constant usable in
12286 #if and use that to give value to enum constant.
12287 (FP_INFINITE): Likewise.
12288 (FP_ZERO): Likewise.
12289 (FP_SUBNORMAL): Likewise.
12290 (FP_NORMAL): Likewise.
12291
b5dcacb4
AS
122922012-11-02 Andreas Schwab <schwab@linux-m68k.org>
12293
12294 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12295 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12296 arguments.
12297
f7934be8
RM
122982012-11-02 Roland McGrath <roland@hack.frob.com>
12299
12300 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12301 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12302 autoconf-time if not.
12303 * configure.in: Remove AC_PREREQ.
12304
d7d08bde
TMQMF
123052012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12306
12307 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12308 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12309 of the internal implementation.
12310
dcdae19a
JM
123112012-11-02 Joseph Myers <joseph@codesourcery.com>
12312
12313 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12314 except include of <misc/sys/syslog.h>.
12315
d6cffd3e
AS
123162012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12317
12318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12319 function returns with a NULL context exit with zero.
12320
b3563932
TMQMF
123212012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12322
12323 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12324
b288a93d
L
123252012-11-01 H.J. Lu <hongjiu.lu@intel.com>
12326
12327 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12328 (run_program_cmd): This.
12329 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12330 (tst_langinfo): New variable. Use it.
12331
a2421a68
SAS
123322012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
12333
12334 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12335 floating point opcodes.
12336
6f796e1b
TS
123372012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12338
7402596b
TS
12339 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12340 variable.
12341
d0d4f868
TS
12342 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12343
6f796e1b
TS
12344 * sysdeps/mach/hurd/powerpc: Remove directory.
12345 * sysdeps/mach/powerpc: Likewise.
12346
4da224a2
AS
123472012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12348
12349 * scripts/check-local-headers.sh: Ignore c++ headers.
12350
341dd673
TS
123512012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12352
12353 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12354 __libc_cleanup_region_start argument.
12355
473611b2
JM
123562012-11-01 Joseph Myers <joseph@codesourcery.com>
12357
12358 [BZ #14784]
12359 [BZ #14785]
12360 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12361 x * y using scaling, not as x * y + z.
12362 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12363 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12364 * math/libm-test.inc (fma_test): Add more tests.
12365 (fma_test_towardzero): Likewise.
12366 (fma_test_downward): Likewise.
12367 (fma_test_upward): Likewise.
12368
4078da3d
TS
123692012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12370
12371 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12372
903252aa
JM
123732012-10-31 Joseph Myers <joseph@codesourcery.com>
12374
12375 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12376 New variable.
12377
cbc818d0
TS
123782012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12379
12380 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12381
5a03cb1e
AS
123822012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12383
12384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12385 Fix sort order.
12386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12387 Likewise.
12388
90aff2ff
TMQMF
123892012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12390
12391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12392 Fix the order of the list for glibc 2.17.
12393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12394 Likewise.
12395
1818fcb7
AS
123962012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12397
12398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12399
ef82f4da
JM
124002012-10-31 Joseph Myers <joseph@codesourcery.com>
12401
16a0e2ec
JM
12402 [BZ #14610]
12403 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12404 for low part of x being zero before using __atanl (y).
12405 * math/libm-test.inc (atan2_test): Add another test.
12406
0eb69512
JM
12407 * manual/install.texi (Configuring and compiling): Document
12408 general use of test-wrapper and test-wrapper-env.
12409 * INSTALL: Regenerated.
12410
ef82f4da
JM
12411 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12412 (__fma): Do not extract and scale down low bits on after-rounding
12413 systems when result rounded to normal precision would have normal
12414 exponent.
12415 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12416 (__fmal): Do not extract and scale down low bits on after-rounding
12417 systems when result rounded to normal precision would have normal
12418 exponent.
12419 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12420 (__fmal): Do not extract and scale down low bits on after-rounding
12421 systems when result rounded to normal precision would have normal
12422 exponent.
12423 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12424 macro.
12425 (fma_test): Add more tests.
12426 (fma_test_towardzero): Likewise.
12427 (fma_test_downward): Likewise.
12428 (fma_test_upward): Likewise.
12429
954ef0d9
L
124302012-10-30 H.J. Lu <hongjiu.lu@intel.com>
12431
12432 * sysdeps/i386/tininess.h: Renamed to ...
12433 * sysdeps/x86/tininess.h: This.
12434 * sysdeps/x86_64/tininess.h: Removed.
12435
df61ffb2
JM
124362012-10-30 Joseph Myers <joseph@codesourcery.com>
12437
12438 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12439 input. Use $(build-program-cmd).
12440 ($(objpfx)tst-array1-static.out): Likewise.
12441 ($(objpfx)tst-array2.out): Likewise.
12442 ($(objpfx)tst-array3.out): Likewise.
12443 ($(objpfx)tst-array4.out): Likewise.
12444 ($(objpfx)tst-array5.out): Likewise.
12445 ($(objpfx)tst-array5-static.out): Likewise.
12446
01767843
CM
124472012-10-30 Chris Metcalf <cmetcalf@tilera.com>
12448
47cc1490
CM
12449 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12450 if defined.
12451
01767843
CM
12452 * nss/nsswitch.h (nss_interface_function): Provide new
12453 macro for use with NSS functions.
12454 * grp/initgroups.c: Use new macro.
12455 * nss/getXXbyYY.c: Likewise.
12456 * nss/getXXbyYY_r.c: Likewise.
12457 * nss/getXXent.c: Likewise.
12458 * nss/getXXent_r.c: Likewise.
12459 * sysdeps/posix/getaddrinfo.c: Likewise.
12460
8321aa97
AJ
124612012-10-30 Andreas Jaeger <aj@suse.de>
12462
12463 * po/ru.po: Update Russion translation from translation project.
12464
2a27fd6d
JM
124652012-10-30 Joseph Myers <joseph@codesourcery.com>
12466
8627a232
JM
12467 [BZ #14152]
12468 [BZ #14783]
12469 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12470 result and shift together with sticky bit instead of replicating
12471 round-to-nearest rounding.
12472 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12473 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12474 * math/libm-test.inc (fma_test): Add more tests. Do not permit
12475 missing underflow exceptions.
12476 (fma_test_towardzero): Add more tests.
12477 (fma_test_downward): Likewise.
12478 (fma_test_upward): Likewise.
12479
2a27fd6d
JM
12480 [BZ #14047]
12481 * sysdeps/generic/tininess.h: New file.
12482 * sysdeps/i386/tininess.h: Likewise.
12483 * sysdeps/sh/tininess.h: Likewise.
12484 * sysdeps/x86_64/tininess.h: Likewise.
12485 * stdlib/tst-strtod-underflow.c: Likewise.
12486 * stdlib/tst-tininess.c: Likewise.
12487 * stdlib/strtod_l.c: Include <tininess.h>.
12488 (round_and_return): Do not set errno for exact underflow cases.
12489 Force an underflow exception when setting errno for underflow.
12490 Determine underflow based on rounding to normal precision if
12491 TININESS_AFTER_ROUNDING.
12492 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12493 ERANGE for exact underflow cases.
12494 * stdlib/Makefile (tests): Add tst-tininess and
12495 tst-strtod-underflow.
12496 ($(objpfx)tst-tininess): Use $(link-libm).
12497 ($(objpfx)tst-strtod-underflow): Likewise.
12498
e7170363
AJ
124992012-10-30 Andreas Jaeger <aj@suse.de>
12500
e5088dc6
AJ
12501 [BZ#14767]
12502 * elf/Makefile (tests): Remove conditional for have-initfini-array
12503 since this is now always required and the variable does not exist
12504 anymore.
12505 (tests-static): Likewise.
12506 (modules-names): Likewise.
12507
e7170363 12508 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
12509
12510 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12511 merged with constructor/destructor.
12512 (init_array): Likewise.
12513 * elf/tst-array2dep.c (fini_array): Likewise.
12514 (init_array): Likewise.
12515
60457d8a
MF
125162012-10-29 Mike Frysinger <vapier@gentoo.org>
12517
12518 * manual/message.texi: Delete @cartouche tags.
12519
8bece752
PT
125202012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12521
94ce799f
PT
12522 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12523 EOPNOTSUPP.
12524 * sysdeps/mach/hurd/fsync.c: Likewise.
12525
8bece752
PT
12526 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12527 [_POSIX_REALTIME_SIGNALS]: Change condition to
12528 [_POSIX_REALTIME_SIGNALS > 0].
12529
86ebe6b1
AJ
125302012-10-27 Andreas Jaeger <aj@suse.de>
12531
12532 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12533 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12534 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12535 [__WORDSIZE != 64]: Likewise.
12536
54399c08
L
125372012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12538
12539 * iconvdata/tst-table.sh: Remove ${SHELL}.
12540 * iconvdata/tst-tables.sh: Likewise.
12541
e2211bed
DM
125422012-10-25 David S. Miller <davem@davemloft.net>
12543
12544 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12545 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12546 of strtoull.
12547
f303f97c
DM
12548 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12549 ifunc-impl-list.c
12550 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12551 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12552 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12553 file.
12554
1e9d84cd
RM
125552012-10-25 Roland McGrath <roland@hack.frob.com>
12556
12557 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12558 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12559 __getdirentries.
12560
df381762
JM
125612012-10-25 Joseph Myers <joseph@codesourcery.com>
12562 Jim Blandy <jimb@codesourcery.com>
12563
12564 * scripts/cross-test-ssh.sh: New file.
12565 * manual/install.texi (Configuring and compiling): Document use of
12566 cross-test-ssh.sh.
12567 * INSTALL: Regenerated.
12568
bff64913
PT
125692012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12570
12571 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12572 EOPNOTSUPP.
12573
25fe8932
JM
125742012-10-25 Joseph Myers <joseph@codesourcery.com>
12575
12576 * Makeconfig (run-program-prefix): Fix comment.
12577
cc1290d0
JM
125782012-10-24 Joseph Myers <joseph@codesourcery.com>
12579 Jim Blandy <jimb@codesourcery.com>
12580
12581 * Makeconfig (test-wrapper): New variable,
12582 (test-wrapper-env): Likewise.
12583 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12584 (run-built-tests): Define to yes.
12585 (run-program-prefix): Use $(test-wrapper).
12586 (built-program-cmd): Likewise.
12587 * Rules (make-test-out): Use $(test-wrapper-env) and
12588 $(host-built-program-cmd).
12589 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12590 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12591 tst-pathopt.sh.
12592 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12593 $(test-wrapper-env) to tst-rtld-load-self.sh.
12594 ($(objpfx)order2.out): Use $(test-wrapper).
12595 ($(objpfx)tst-initorder.out): Likewise.
12596 ($(objpfx)tst-initorder2.out): Likewise.
12597 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12598 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12599 (test_wrapper_env): New variable. Use it to run ld.so.
12600 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12601 Use it to run ld.so.
12602 (test_wrapper_env): Likewise.
12603 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12604 $(test-wrapper) to run-iconv-test.sh.
12605 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12606 (ICONV): Use $test_wrapper.
12607 * posix/Makefile ($(objpfx)globtest.out): Pass
12608 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12609 globtest.sh, not $(run-program-prefix).
12610 * posix/globtest.sh (run_via_rtld_prefix): New variable.
12611 (test_wrapper): Likewise.
12612 (test_wrapper_env): Likewise. Use it to run globtest with HOME
12613 set together with run_via_rtld_prefix.
12614 (run_program_prefix): Define in terms of test_wrapper and
12615 run_via_rtld_prefix.
12616
6e6249d0
RM
126172012-10-24 Roland McGrath <roland@hack.frob.com>
12618
12619 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12620 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12621 Targets removed.
12622
12623 [BZ #14743]
12624 * include/time.h: Remove librt_hidden_proto (clock_gettime).
12625 Declare __clock_getres, __clock_gettime, __clock_settime,
12626 __clock_nanosleep, and __clock_getcpuclockid.
12627 * rt/clock_gettime.c: Define __clock_gettime as an alias.
12628 Remove librt_hidden_def (clock_gettime).
12629 * sysdeps/unix/clock_gettime.c: Likewise.
12630 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12631 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12632 * rt/clock_getres.c: Define __clock_getres as an alias.
12633 * sysdeps/posix/clock_getres.c: Likewise.
12634 * rt/clock_settime.c: Define __clock_settime as an alias.
12635 * sysdeps/unix/clock_settime.c: Likewise.
12636 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12637 * sysdeps/unix/clock_nanosleep.c: Likewise.
12638 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12639 * rt/clock-compat.c: New file.
12640 * rt/Makefile (librt-routines): Add clock-compat and move
12641 $(clock-routines) to ...
12642 (routines): ... here, new variable.
12643 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12644 Don't add get_clockfreq here.
12645 * rt/Versions (libc: GLIBC_2.17): New version set.
12646 Add clock_* symbols here.
12647 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
12648 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12649 (GLIBC_2.17): Add clock_* symbols.
12650 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12652 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12654 Likewise.
12655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12656 Likewise.
12657 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12658 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12659 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12661 * NEWS: Mention the move.
12662
12663 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12664 Use __open, __read, __close rather than their public counterparts.
12665 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12666 (__get_clockfreq_via_cpuinfo): Likewise.
12667 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12668 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12669
12670 * config.h.in (HAVE_IFUNC): New #undef.
12671 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12672 was successful.
12673 * configure: Regenerated.
12674
0cae3f4b
MF
126752012-10-24 Mike Frysinger <vapier@gentoo.org>
12676
12677 * configure.in: Move READELF check to start of file.
12678 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12679 libc_cv_asm_gnu_indirect_function in the process.
12680 * configure: Regenerated.
12681
8175a253
MF
126822012-10-24 Mike Frysinger <vapier@gentoo.org>
12683
12684 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12685 send the output to /dev/null.
12686 (libc_cv_cc_with_libunwind): Likewise.
12687 (libc_cv_as_noexecstack): Likewise.
12688 * configure: Regenerate.
12689
0708a7d1
JM
126902012-10-24 Joseph Myers <joseph@codesourcery.com>
12691
10b40d85
JM
12692 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12693
0708a7d1
JM
12694 * posix/globtest.sh (TMPDIR): Do not set.
12695 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12696 (testout): Likewise.
12697
9fddec1a
AJ
126982012-10-24 Andreas Jaeger <aj@suse.de>
12699
3a8db22f
AJ
12700 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12701 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12702 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12703 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12704 posix_fadvise64, posix_fallocate64.
12705
9fddec1a
AJ
12706 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12707 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12708 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12709 Likewise.
12710 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12711 Likewise.
12712 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12713
12714 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12715 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12716 <bits/fcntl-linux.h>.
12717 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12718
12719 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12720 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12721 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12722 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12723 [__WORDSIZE != 64]: Likewise.
12724
ebfd1bbd
JM
127252012-10-23 Joseph Myers <joseph@codesourcery.com>
12726
03ac099f
JM
12727 * Makeconfig (run-built-tests): New variable.
12728 * Rules [$(cross-compiling) = yes]: Change condition to
12729 [$(run-built-tests) = no].
12730 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12731 to [$(run-built-tests) = yes].
12732 * elf/Makefile [$(cross-compiling) = no]: Likewise
12733 * grp/Makefile [$(cross-compiling) = no]: Likewise.
12734 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12735 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12736 * intl/Makefile [$(cross-compiling) = no]: Likewise.
12737 * io/Makefile [$(cross-compiling) = no]: Likewise.
12738 * libio/Makefile [$(cross-compiling) = no]: Likewise.
12739 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12740 * misc/Makefile [$(cross-compiling) = no]: Likewise.
12741 * posix/Makefile [$(cross-compiling) = no]: Likewise.
12742 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12743 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12744 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12745 * string/Makefile [$(cross-compiling) = no]: Likewise.
12746
ebfd1bbd
JM
12747 * posix/Makefile ($(objpfx)globtest.out): Pass
12748 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12749 $(rtld-installed-name).
12750 * posix/globtest.sh (elf_objpfx): Remove variable.
12751 (rtld_installed_name): Likewise.
12752 (library_path): Likewise.
12753 (run_program_prefix): New variable. Use for running globtest
12754 binary.
12755
166bca24
JB
127562012-10-23 Jim Blandy <jimb@codesourcery.com>
12757 Joseph Myers <joseph@codesourcery.com>
12758
12759 * Makeconfig (host-built-program-cmd): New variable.
12760 * elf/Makefile (tst-stackguard1-ARGS): Use
12761 $(host-built-program-cmd).
12762 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12763 (tst-spawn-ARGS): Likewise.
12764 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12765
88866099
JM
127662012-10-23 Joseph Myers <joseph@codesourcery.com>
12767 Jim Blandy <jimb@codesourcery.com>
12768
12769 * Makeconfig (run-via-rtld-prefix): New variable.
12770 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12771 (built-program-cmd): Likewise.
12772
b4b4c296
AJ
127732012-10-22 Andreas Jaeger <aj@suse.de>
12774
12775 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12776 __O_RSYNC if it exists, otherwise to O_SYNC.
12777
6fb54a22
JB
127782012-10-22 Jim Blandy <jimb@codesourcery.com>
12779 Joseph Myers <joseph@codesourcery.com>
12780
12781 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12782 /dev/null.
12783 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12784 from /dev/null
12785 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12786 /dev/null.
12787
481b90b9
AJ
127882012-10-22 Andreas Jaeger <aj@suse.de>
12789
2a0e2669
AJ
12790 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12791 Define always.
12792 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12793
76e38f9a
AJ
12794 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12795 bits/fcntl-linux.h.
12796
7cd37b43
AJ
12797 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12798 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12799
481b90b9
AJ
12800 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12801 to __O_LARGEFILE.
12802 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12803 to __O_LARGEFILE.
12804
aba75984
JB
128052012-10-21 Jim Blandy <jimb@codesourcery.com>
12806 Joseph Myers <joseph@codesourcery.com>
12807
12808 * config.make.in (NM): New variable.
12809
88d4247f
AJ
128102012-10-21 Andreas Jaeger <aj@suse.de>
12811
12812 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12813 definitions and declarations that are provided by
12814 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12815
f2eed205
L
128162012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12817
12818 [BZ #14683]
12819 * elf/Makefile (tests-static): Add tst-leaks1-static.
12820 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12821 ($(objpfx)tst-leaks1-static): New rule.
12822 ($(objpfx)tst-leaks1-static-mem): Likewise.
12823 (tst-leaks1-static-ENV): New macro.
12824 * elf/dl-open.c (dl_open_worker): Check the main application
12825 only if SHARED is defined.
12826 * elf/tst-leaks1-static.c: New file.
12827
335e6931
AJ
128282012-10-20 Andreas Jaeger <aj@suse.de>
12829
12830 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12831 generic values for Linux.
12832 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12833 and declarations that are provided by <bits/fcntl-linux.h> and
12834 include <bits/fcntl-linux.h>.
12835 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12836 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12837
ac5c94d3
RM
128382012-10-20 Roland McGrath <roland@hack.frob.com>
12839
12840 * io/fcntl.h: Move include of <bits/types.h> to the top and
12841 include it unconditionally.
12842
de54b33a
L
128432012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12844
228cfb01
L
12845 * wcsmbs/Makefile (tests-ifunc): New variable.
12846 (tests): Add $(tests-ifunc).
12847 * wcsmbs/test-wcschr-ifunc.c: New file.
12848 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12849 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12850 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12851 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12852 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12853
69f07e5f
L
12854 * string/Makefile (tests-ifunc): New variable.
12855 (tests): Add $(tests-ifunc).
12856 * string/test-memccpy.c (TEST_NAME): New macro.
12857 * string/test-memchr.c (TEST_NAME): Likewise.
12858 * string/test-memcmp.c (TEST_NAME): Likewise.
12859 * string/test-memcpy.c (TEST_NAME): Likewise.
12860 * string/test-memmem.c (TEST_NAME): Likewise.
12861 * string/test-memmove.c (TEST_NAME): Likewise.
12862 * string/test-memset.c (TEST_NAME): Likewise.
12863 * string/test-rawmemchr.c (TEST_NAME): Likewise.
12864 * string/test-stpcpy.c (TEST_NAME): Likewise.
12865 * string/test-stpncpy.c (TEST_NAME): Likewise.
12866 * string/test-strcasecmp.c (TEST_NAME): Likewise.
12867 * string/test-strcasestr.c (TEST_NAME): Likewise.
12868 * string/test-strcat.c (TEST_NAME): Likewise.
12869 * string/test-strchr.c (TEST_NAME): Likewise.
12870 * string/test-strcmp.c(TEST_NAME): Likewise.
12871 * string/test-strcpy.c (TEST_NAME): Likewise.
12872 * string/test-strcspn.c (TEST_NAME): Likewise.
12873 * string/test-strlen.c (TEST_NAME): Likewise.
12874 * string/test-strncasecmp.c (TEST_NAME): Likewise.
12875 * string/test-strncmp.c (TEST_NAME): Likewise.
12876 * string/test-strncpy.c (TEST_NAME): Likewise.
12877 * string/test-strnlen.c (TEST_NAME): Likewise.
12878 * string/test-strpbrk.c (TEST_NAME): Likewise.
12879 * string/test-strrchr.c (TEST_NAME): Likewise.
12880 * string/test-strspn.c (TEST_NAME): Likewise.
12881 * string/test-strstr.c (TEST_NAME): Likewise.
12882 * string/test-bcopy-ifunc.c: New file.
12883 * string/test-bzero-ifunc.c: Likewise.
12884 * string/test-memccpy-ifunc.c: Likewise.
12885 * string/test-memchr-ifunc.c: Likewise.
12886 * string/test-memcmp-ifunc.c: Likewise.
12887 * string/test-memcpy-ifunc.c: Likewise.
12888 * string/test-memmem-ifunc.c: Likewise.
12889 * string/test-memmove-ifunc.c: Likewise.
12890 * string/test-mempcpy-ifunc.c: Likewise.
12891 * string/test-memset-ifunc.c: Likewise.
12892 * string/test-rawmemchr-ifunc.c: Likewise.
12893 * string/test-stpcpy-ifunc.c: Likewise.
12894 * string/test-stpncpy-ifunc.c: Likewise.
12895 * string/test-strcasecmp-ifunc.c: Likewise.
12896 * string/test-strcasestr-ifunc.c: Likewise.
12897 * string/test-strcat-ifunc.c: Likewise.
12898 * string/test-strchr-ifunc.c: Likewise.
12899 * string/test-strchrnul-ifunc.c: Likewise.
12900 * string/test-strcmp-ifunc.c: Likewise.
12901 * string/test-strcpy-ifunc.c: Likewise.
12902 * string/test-strcspn-ifunc.c: Likewise.
12903 * string/test-strlen-ifunc.c: Likewise.
12904 * string/test-strncasecmp-ifunc.c: Likewise.
12905 * string/test-strncat-ifunc.c: Likewise.
12906 * string/test-strncmp-ifunc.c: Likewise.
12907 * string/test-strncpy-ifunc.c: Likewise.
12908 * string/test-strnlen-ifunc.c: Likewise.
12909 * string/test-strpbrk-ifunc.c: Likewise.
12910 * string/test-strrchr-ifunc.c: Likewise.
12911 * string/test-strspn-ifunc.c: Likewise.
12912 * string/test-strstr-ifunc.c: Likewise.
12913
de54b33a
L
12914 * debug/Makefile (tests-ifunc): New variable.
12915 (tests): Add $(tests-ifunc).
12916 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12917 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12918 * debug/test-stpcpy_chk-ifunc.c: New file.
12919 * debug/test-strcpy_chk-ifunc.c: Likewise.
12920
88481c16
SP
129212012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12922
12923 [BZ #13601]
12924 * elf/dl-load.c (open_verify): Retry read if the entire ELF
12925 header is not read in.
12926
135948bd
JM
129272012-10-19 Joseph Myers <joseph@codesourcery.com>
12928
89f1c388
JM
12929 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
12930 script to $(SHELL) as $<. Pass $(common-objpfx) to script
12931 directly. Pass built executable to script as
12932 $(built-program-cmd).
12933 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
12934 $testprogram without using LD_LIBRARY_PATH and $ldso.
12935
e40a0d21
JM
12936 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12937 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12938 $(rtld-installed-name).
12939 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12940 (rtld_installed_name): Likewise.
12941 (library_path): Likewise.
12942 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
12943 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12944 $(run-program-prefix) to tst-tables.sh.
12945 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
12946 it to run tst-table-from and tst-table-to.
12947 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12948 Pass it to tst-table.sh.
12949 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12950 $(run-program-prefix) to tst-gettext.sh.
12951 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12952 tst-translit.sh.
12953 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12954 tst-gettext2.sh.
12955 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
12956 to run tst-gettext.
12957 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
12958 to run tst-gettext2.
12959 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
12960 to run tst-translit.
12961 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12962 $(run-program-prefix) to tst-mtrace.sh.
12963 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
12964 to run tst-mtrace.
12965 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12966 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12967 $(rtld-installed-name).
12968 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12969 (rtld_installed_name): Likewise.
12970 (run_program_prefix): New variable. Use it to run wordexp-test.
12971
728e272a
JM
12972 * Makeconfig (ARCH): Remove all definitions.
12973 (machine): Likewise.
12974 [ARCH]: Remove conditional code.
12975 [!objdir]: Give error.
12976 [!objdir] (objpfx): Remove.
12977 [!objdir] (common-objpfx): Likewise.
12978 [!objdir] (common-objdir): Likewise.
12979 * configure.in (config_makefile): Remove. Hardcode Makefile in
12980 AC_CONFIG_FILES call.
12981 * configure: Regenerated.
12982
d528cdcf
JM
12983 [BZ #13888]
12984 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
12985 or TMPDIR.
12986 (testout): Likewise.
12987
135948bd
JM
12988 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
12989 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
12990 $(rtld-installed-name).
12991 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
12992 (rtld_installed_name): Likwise.
12993 (runit): Remove function.
12994 (run_getconf): New variable, Use it for running getconf binary.
12995
38c78296
L
129962012-10-18 H.J. Lu <hongjiu.lu@intel.com>
12997
12998 [BZ #14716]
12999 * string/test-memmem.c (check_result): New function.
13000 (do_one_test): Use it.
13001 (check1): New function.
13002 (test_main): Use it.
13003
d077f65f
MT
130042012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
13005
13006 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13007
ced52c71
JM
130082012-10-18 Joseph Myers <joseph@codesourcery.com>
13009
13010 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13011 (_G_LSEEK64): Likewise.
13012 (_G_MMAP64): Likewise.
13013 (_G_FSTAT64): Likewise.
13014 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13015 (_G_LSEEK64): Likewise.
13016 (_G_MMAP64): Likewise.
13017 (_G_FSTAT64): Likewise.
13018 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13019 unconditional. Call __mmap64 directly.
13020 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13021 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
13022 __lseek64 directly.
13023 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13024 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
13025 __mmap64 directly.
13026 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13027 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
13028 __lseek64 directly.
13029 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13030 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
13031 __lseek64 directly.
13032 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13033 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
13034 __lseek64 directly.
13035 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13036 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
13037 __fxstat64 directly.
13038 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13039 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13040 unconditional.
13041 (freopen64) [!_G_OPEN64]: Remove conditional code.
13042 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13043 unconditional.
13044 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13045 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13046 unconditional.
13047 (ftello64) [!_G_LSEEK64]: Remove conditional code.
13048 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13049 unconditional.
13050 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13051 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13052 unconditional.
13053 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13054 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13055 unconditional.
13056 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13057 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13058 unconditional.
13059 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13060 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13061 unconditional.
13062 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13063
b741de23
SP
130642012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13065
13066 [BZ #12140]
13067 * manual/memory.texi (Malloc Tunable Parameters): Add note
13068 about free list pointers overwriting some perturb bytes.
13069 Wording suggested by Roland McGrath.
13070
f9b9d9c9
JM
130712012-10-17 Joseph Myers <joseph@codesourcery.com>
13072
13073 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13074 (lgamma_test): Likewise.
13075 (tgamma_test): Likewise.
13076
172a631a
FW
130772012-10-16 Florian Weimer <fweimer@redhat.com>
13078
13079 [BZ #14700]
13080 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13081 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13082
e9f37252
MK
130832012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
13084
13085 * NEWS: Mention BZ #14716.
13086 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13087 when removing AVAILABLE1_USES_J macro.
13088
d394eb74
L
130892012-10-12 H.J. Lu <hongjiu.lu@intel.com>
13090
13091 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13092 (__bswap_64): __uint64_t for unsigned 64-bit int.
13093
ca38dc17
AS
130942012-10-12 Andreas Schwab <schwab@linux-m68k.org>
13095
13096 * include/string.h (memmem): Declare libc hidden alias.
13097 * string/memmem.c (memmem): Define libc hidden alias.
13098 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13099 __read, __close instead of open, read, close.
13100
9a387d1f
L
131012012-10-11 H.J. Lu <hongjiu.lu@intel.com>
13102
ac49ecaf
L
13103 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13104 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13105 global and hidden.
13106 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13107 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13108 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13109 Likewise.
13110 (__rawmemchr_sse2): Likewise.
13111 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
13112 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13113 (__strchr_sse2): Likewise.
13114 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
13115 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
13116 (__strcasecmp_sse2): Likewise.
13117 (__strncasecmp_sse2): Likewise.
13118 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
13119 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
13120 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
13121 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
13122 (__strrchr_sse2): Likewise.
13123 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
13124 ifunc-impl-list.c.
13125 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13126 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13127 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13128 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13129 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13130 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13131 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13132 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13133 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
13134 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
13135 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
13136 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
13137 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
13138 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13139 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13140 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13141 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13142 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13143 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13144 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13145 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13146 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13147 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13148 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13149 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13150 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13151 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13152 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13153 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13154 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13155
b090e8ea
L
13156 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13157 global and hidden.
13158 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13159 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13160 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13161 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13162 Likewise.
13163 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13164 Likewise.
13165 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13166 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13167 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13168 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13169 ifunc-impl-list.c.
13170 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13171 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13172 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13173 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13174 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13175 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13176 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13177 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13178 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13179 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13180 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13181 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13182 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13183 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13184 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13185 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13186 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13187 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13188 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13189 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13190 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13191 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13192 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13193 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13194 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13195 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13196 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13197 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13198 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13199 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13200 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13201 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13202 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13203 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13204 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13205 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13206 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13207 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13208 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13209 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13210 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13211
11dd4af6
L
13212 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13213 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13214 * include/ifunc-impl-list.h: New file.
13215 * misc/ifunc-impl-list.c: Likewise.
13216 * misc/Makefile (routines): Add ifunc-impl-list.
13217 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13218 * string/test-string.h: Include <ifunc-impl-list.h>.
13219 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13220 impl_array): New variables.
13221 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13222 are defined.
13223 (test_init): Call __libc_ifunc_impl_list to initialize
13224 func_list if TEST_IFUNC and TEST_NAME are defined.
13225
9a387d1f
L
13226 * string/Makefile (strop-tests): Add bcopy and bzero.
13227 * string/test-bcopy.c: New file.
13228 * string/test-bzero.c: Likewise.
13229 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13230 defined.
13231 * string/test-memset.c: Support bzero test if TEST_BZERO is
13232 defined.
13233 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13234 __libc_memmove.
13235 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13236 __libc_memset.
13237 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13238 of memset.
13239
472371b9
JM
132402012-10-10 Joseph Myers <joseph@codesourcery.com>
13241
1e4a9536
JM
13242 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13243 * configure: Regenerated.
13244
d173d12e
JM
13245 * Makeconfig (+link-static-before-libc): Don't include
13246 $(link-static-libc).
13247
472371b9
JM
13248 * libio/libio.h (_IO_pos_t): Remove.
13249
89a3ad0b
AO
132502012-10-10 Alexandre Oliva <aoliva@redhat.com>
13251
13252 * NEWS: Add note about FIPS mode. Wording suggested by Roland
13253 McGrath.
13254
e7451425
AO
132552012-10-10 Alexandre Oliva <aoliva@redhat.com>
13256
13257 * crypt/crypt-entry.c: Include fips-private.h.
13258 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13259 * crypt/md5c-test.c (main): Tolerate disabled MD5.
13260 * sysdeps/unix/sysv/linux/fips-private.h: New file.
13261 * sysdeps/generic/fips-private.h: New file, dummy fallback.
13262
4ba74a35
AO
132632012-10-10 Alexandre Oliva <aoliva@redhat.com>
13264
13265 * crypt/crypt-private.h: Include stdbool.h.
13266 (_ufc_setup_salt_r): Return bool.
13267 * crypt/crypt-entry.c: Include errno.h.
13268 (__crypt_r): Return NULL with EINVAL for bad salt.
13269 * crypt/crypt_util.c (bad_for_salt): New.
13270 (_ufc_setup_salt_r): Check that salt is long enough and within
13271 the specified alphabet.
13272 * crypt/badsalttest.c: New file.
13273 * crypt/Makefile (tests): Add it.
13274 ($(objpfx)badsalttest): New.
13275
f96f1242
MK
132762012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
13277
13278 * NEWS: Add entry for BZ #14602.
13279
0e8e0c1c
JM
132802012-10-09 Joseph Myers <joseph@codesourcery.com>
13281
13282 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13283 type-generic.
13284 * math/libm-test.inc: Update comment listing what functions and
13285 macros are tested.
13286 (isgreater_test): New function.
13287 (isgreaterequal_test): Likewise.
13288 (isless_test): Likewise.
13289 (islessequal_test): Likewise.
13290 (islessgreater_test): Likewise.
13291 (isunordered_test): Likewise.
13292 (main): Call the new functions.
13293
273edc5e
RM
132942012-10-09 Roland McGrath <roland@hack.frob.com>
13295
b8493de0
RM
13296 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13297 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13298 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13299 * sysdeps/i386/configure: Regenerated.
13300 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13301 * sysdeps/mach/configure: Regenerated.
13302 * sysdeps/mach/hurd/configure: Regenerated.
13303 * sysdeps/powerpc/configure: Regenerated.
13304 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13305 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13306 * sysdeps/s390/s390-32/configure: Regenerated.
13307 * sysdeps/s390/s390-64/configure: Regenerated.
13308 * sysdeps/sh/configure: Regenerated.
13309 * sysdeps/sparc/configure: Regenerated.
13310 * sysdeps/unix/sysv/linux/configure: Regenerated.
13311 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13312 * sysdeps/x86_64/configure: Regenerated.
13313
273edc5e
RM
13314 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13315 defined. Don't check if MAP is NULL.
13316
c8450f70
JM
133172012-10-09 Joseph Myers <joseph@codesourcery.com>
13318
13319 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13320 (_G_stat64): Likewise.
13321 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13322 (_G_stat64): Likewise.
13323 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13324 instead of struct _G_stat64.
13325 * libio/fileops.c (mmap_remap_check): Likewise.
13326 (decide_maybe_mmap): Likewise.
13327 (_IO_new_file_seekoff): Likewise.
13328 (_IO_file_stat): Likewise.
13329 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13330 _G_off64_t.
13331 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13332 instead of struct _G_stat64.
13333 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13334
57e605ba
MK
133352012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
13336
13337 [BZ #14602]
13338 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13339 Replace with ...
13340 (CHECK_EOL): New macro.
13341 (two_way_short_needle): Check beginning of haystack for EOL. Use
13342 CHECK_EOL.
13343 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13344 Replace with CHECK_EOL.
13345 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13346 Replace with CHECK_EOL.
13347
ef1bb361
JM
133482012-10-08 Joseph Myers <joseph@codesourcery.com>
13349
13350 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13351 type-generic.
13352 * math/libm-test.inc: Update comment listing what functions and
13353 macros are tested.
13354 (finite_test): New function.
13355 (isinf_test): Likewise.
13356 (isnan_test): Likewise.
13357 (fpclassify_test): Test subnormal input.
13358 (isfinite_test): Likewise.
13359 (isnormal_test): Likewise.
13360 (main): Call the new functions.
13361
55f11534
JN
133622012-10-08 Jonathan Nieder <jrnieder@gmail.com>
13363
13364 [BZ #14660]
13365 * Makerules (%.dynsym): Force C locale when running
13366 $(OBJDUMP) --dynamic-syms.
13367
1ab29350
AS
133682012-10-08 Andreas Schwab <schwab@linux-m68k.org>
13369
13370 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13371 <stdint.h>.
13372
f1ecb7ef
DM
133732012-10-06 David S. Miller <davem@davemloft.net>
13374
13375 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13376 upper 32-bits of the length value in %o2 since we use branch-on-register
13377 tests which consider the entire 64-bit register.
13378
5d41d91a
L
133792012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13380
13381 * string/test-strstr.c (check2): Add a test for page boundary.
13382
3baddb72
DM
133832012-10-05 David S. Miller <davem@davemloft.net>
13384
13385 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13386 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13387 file.
13388 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13389 sysdep_routines.
13390 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13391 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13392 and bzero when HWCAP_SPARC_CRYPTO is present.
13393
9cee5585
L
133942012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13395
d7e0dab9
L
13396 [BZ #14602]
13397 * string/test-strstr.c (check2): New function.
13398 (test_main): Call check2.
13399
03759f47
L
13400 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13401 and bug-strchr1.
13402 * string/bug-strcasestr1.c (do_test): Moved to ...
13403 * string/test-strcasestr.c (check1): Here. New function.
13404 (do_one_test): Break out result checking code into ...
13405 (check_result): This. New function.
13406 (do_one_test): Call check_result.
13407 (test_main): Call check1.
13408 * string/bug-strchr1.c (do_test): Moved to ...
13409 * string/test-strchr.c (check1): Here. New function.
13410 (do_one_test): Break out result checking code into ...
13411 (check_result): This. New function.
13412 (do_one_test): Call check_result.
13413 (test_main): Call check1.
13414 * string/bug-strstr1.c (main): Moved to ...
046f153e 13415 * string/test-strstr.c (check1): Here. New function.
03759f47
L
13416 (do_one_test): Break out result checking code into ...
13417 (check_result): This. New function.
13418 (do_one_test): Call check_result.
13419 (test_main): Call check1.
13420 * string/bug-strcasestr1.c: Removed.
13421 * string/bug-strchr1.c: Likewise.
13422 * string/bug-strstr1.c: Likewise.
13423
53cea63e
L
13424 * elf/Makefile (dl-routines): Add hwcaps.
13425 * elf/dl-support.c (_dl_important_hwcaps): Removed.
13426 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13427 (_dl_important_hwcaps): Moved to ...
13428 * elf/dl-hwcaps.c: Here. New file.
13429 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13430
9cee5585 13431 [BZ #14557]
bb859b06
L
13432 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13433 if IS_IN_rtld isn't defined.
13434
9cee5585
L
13435 * elf/dl-support.c (_dl_sysinfo_map): New.
13436 Include "get-dynamic-info.h" and "setup-vdso.h".
13437 (_dl_non_dynamic_init): Call setup_vdso.
13438 * elf/dynamic-link.h: Don't include <assert.h>.
13439 (elf_get_dynamic_info): Moved to ...
13440 * elf/get-dynamic-info.h: Here. New file.
13441 * elf/dynamic-link.h: Include "get-dynamic-info.h".
13442 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13443 * elf/setup-vdso.h: Here. New file.
13444 * elf/rtld.c: Include "setup-vdso.h".
13445 (dl_main): Call setup_vdso.
13446
23c31b76
JM
134472012-10-05 Joseph Myers <joseph@codesourcery.com>
13448
28234b07
JM
13449 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13450 creal in comment listing functions tested. List finite, isinf,
13451 isnan, isless, islessequal, isgreater, isgreaterequal,
13452 islessgreater, isunordered, lgamma_r and pow10 as functions and
13453 macros not tested. Mention which functions not tested are aliases
13454 for other functions. Fix typo. Note that signs of NaNs are not
13455 tested.
13456
23c31b76
JM
13457 * scripts/config.guess: Update from config.git.
13458 * scripts/config.sub: Likewise.
13459
9043e228
RM
134602012-10-04 Roland McGrath <roland@hack.frob.com>
13461
13462 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13463 * misc/madvise.c (madvise): Renamed to __madvise.
13464 Make madvise a weak alias.
13465 * include/sys/mman.h: Declare __madvise.
13466 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13467 * sysdeps/unix/syscalls.list
13468 (madvise): Make __madvise the strong name, and madvise a weak alias.
13469 * sysdeps/unix/sysv/linux/syscalls.list
13470 (madvise, mmap): Remove redundant entries.
13471 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13472 * malloc/malloc.c (mtrim): Likewise.
13473 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13474
f57f8055
RM
134752012-10-03 Roland McGrath <roland@hack.frob.com>
13476
13477 * sysdeps/mach/hurd/dl-cache.c: File removed.
13478 * config.h.in (USE_LDCONFIG): New #undef.
13479 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13480 * configure: Regenerated.
13481 * elf/Makefile (dl-routines): Add dl-cache only under
13482 [$(use-ldconfig) = yes].
13483 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13484 cache on [USE_LDCONFIG].
13485 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13486 [USE_LDCONFIG].
13487 * elf/rtld.c (dl_main): Likewise.
13488
5bb0c10a
PT
134892012-10-03 Pino Toscano <toscano.pino@tiscali.it>
13490
13491 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13492 _SC_LEVEL4_CACHE_LINESIZE.
13493
010188c6
RM
134942012-10-03 Roland McGrath <roland@hack.frob.com>
13495
13496 * sysdeps/unix/bsd/confstr.h: File removed.
13497
b6c5ec07
AO
134982012-10-02 Alexandre Oliva <aoliva@redhat.com>
13499
13500 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13501 sys/sdt-config.h.
13502
408223d4
RM
135032012-10-02 Roland McGrath <roland@hack.frob.com>
13504
13505 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13506 Make 'mapoff' field ElfW(Off) rather than off_t.
13507
bb9510dc
DL
135082012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13509
fc997c6e
DL
13510 * nscd/Makefile: Remove nscd-cflags and all its users.
13511 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13512 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13513
bb9510dc
DL
13514 [BZ #10631]
13515 * malloc.c (malloc_printerr): Clarify error message.
13516
05699367
L
135172012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13518
13519 [BZ #14648]
13520 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13521 Set bit_FMA_Usable if FMA is supported.
13522 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13523 macro.
13524 (bit_FMA4_Usable): Updated.
13525 (index_FMA_Usable): New macro.
13526 (CPUID_FMA): Likewise
13527 (HAS_FMA): Defined with bit_FMA_Usable.
13528
51367701
RM
135292012-10-01 Roland McGrath <roland@hack.frob.com>
13530
13531 * bits/types.h (__swblk_t): Type removed.
13532 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13533 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13534 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13535 (__SWBLK_T_TYPE): Likewise.
13536 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13537 (__SWBLK_T_TYPE): Likewise.
13538 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13539 (__SWBLK_T_TYPE): Likewise.
13540 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13541 (__SWBLK_T_TYPE): Likewise.
13542
4d57bf63 135432012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 13544 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
13545
13546 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13547 (xdr_mapname): Use YPMAXMAP as maxsize.
13548 (xdr_peername): Use YPMAXPEER as maxsize.
13549 (xdr_keydat): Use YPAXRECORD as maxsize.
13550 (xdr_valdat): Use YPMAXRECORD as maxsize.
13551
93c65d43
RM
135522012-10-01 Roland McGrath <roland@hack.frob.com>
13553
497a03d6
RM
13554 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13555
93c65d43
RM
13556 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13557 * csu/init-first.c: ... here.
13558 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13559 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13560 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13561 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13562 * sysdeps/i386/init-first.c: File removed.
13563 * sysdeps/sh/init-first.c: File removed.
13564
bec749fd
JM
135652012-10-01 Joseph Myers <joseph@codesourcery.com>
13566
13567 [BZ #14645]
13568 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13569 if x * y might underflow to zero and z is zero.
13570 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13571 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13572 * math/libm-test.inc (min_subnorm_value): New variable.
13573 (fma_test): Add more tests.
13574 (fma_test_towardzero): Likewise.
13575 (fma_test_downward): Likewise
13576 (fma_test_upward): Likewise.
13577 (initialize): Set min_subnorm_value.
13578
8ec5b013
JM
135792012-09-29 Joseph Myers <joseph@codesourcery.com>
13580
13581 [BZ #14638]
13582 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13583 0 + 0.
13584 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13585 mode for addition resulting in exact zero.
13586 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13587 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13588 exact 0 + 0.
13589 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13590 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13591 * math/libm-test.inc (fma_test): Add more tests.
13592 (fma_test_towardzero): New function.
13593 (fma_test_downward): Likewise.
13594 (fma_test_upward): Likewise.
13595 (main): Call the new functions.
13596
b1fa802e
DM
135972012-09-28 David S. Miller <davem@davemloft.net>
13598
13599 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13600
d3b9fd9e
RM
136012012-09-28 Roland McGrath <roland@hack.frob.com>
13602
ea4d37b3
RM
13603 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13604 instead of SIGALRM.
13605
ac51c949
RM
13606 * sysdeps/gnu/_G_config.h: Moved to ...
13607 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13608 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13609 * sysdeps/generic/_G_config.h: ... here.
13610
28c195f7
RM
13611 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13612
848917f9
RM
13613 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13614
6bacf05b
RM
13615 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13616 Conditionalize target on [libnss_test1.so-version].
13617
91363dbb
RM
13618 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13619
cc87f7d8
RM
13620 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13621 (elfobjdir): Move out of conditionals.
13622
b1c608fe
RM
13623 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13624 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13625 (__nss_lookup_function): Conditionalize label remove_from_tree on
13626 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 13627
1d9a6d96
DM
136282012-09-28 David S. Miller <davem@davemloft.net>
13629
13630 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13631 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13632 file.
13633 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13634 sysdep_routines.
13635 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13636 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13637 when HWCAP_SPARC_CRYPTO is present.
13638
72581615
PT
136392012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13640
13641 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13642
715a900c
JL
136432012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13644
13645 [BZ #6530]
13646 * stdio-common/vfprintf.c (process_string_arg): Revert
13647 2000-07-22 change.
13648
136492011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13650
13651 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13652 for testcase.
13653 * stdio-common/tst-sprintf.c: Include <locale.h>
13654 (main): Test sprintf's handling of incomplete multibyte
13655 characters.
13656
9bac1d86
L
136572012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13658
13659 * elf/dl-runtime.c (VERSYMIDX): Removed.
13660 * elf/dl-version.c (VERSYMIDX): Likewise.
13661 * elf/do-rel.h (VERSYMIDX): Likewise.
13662 (VALIDX): Likewise.
13663 * elf/dynamic-link.h (VERSYMIDX): Likewise.
13664 * elf/rtld.c (VALIDX): Likewise.
13665 (ADDRIDX): Likewise.
9bac1d86
L
13666 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13667 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13668 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
13669 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13670 (VALIDX): Likewise.
13671 (ADDRIDX): Likewise.
9bac1d86 13672
b31606c0
PT
136732012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13674
13675 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13676
11541177
JL
136772012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13678
13679 [BZ #11438]
13680 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13681 to global scope.
13682 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13683 addresses are in the same scope as 192.0.2/24.
13684 * posix/gai.conf: Document new scope table defaults.
13685
adb26fae
SP
136862012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13687
13688 [BZ #5298]
13689 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13690 for ftell. Compute offsets from write pointers instead.
13691 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13692
4573c6b0
SP
136932012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13694
13695 [BZ #14543]
13696 * libio/Makefile (tests): New test case tst-fseek.
13697 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13698 combination works in wide mode.
13699 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13700 state when the external buffer state changes.
13701
aa9bbfe6
DM
137022012-09-27 David S. Miller <davem@davemloft.net>
13703
13704 [BZ #14376]
13705 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13706 pass reloc->r_addend in as the 'high' argument to
13707 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13708
784421e7
DM
13709 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13710
c39bc8b8
PT
137112012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13712
13713 * rt/tst-aio2.c: Include <pthread.h>.
13714 * rt/tst-aio3.c: Likewise.
13715
1ccc2399
SE
137162012-09-27 Steve Ellcey <sellcey@mips.com>
13717
13718 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13719
31ed4153
L
137202012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13721
25f5f885
L
13722 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13723 contents on [SHARED].
31ed4153 13724
b7bfe116
MP
137252012-09-26 Marek Polacek <polacek@redhat.com>
13726
13727 [BZ #14530]
13728 [BZ #13741]
13729 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13730 for C++ and GCC <4.3 as well as for non GCC compilers.
13731
43c4edba
MT
137322012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13733
13734 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13735
6a1bf82f
RM
137362012-09-25 Roland McGrath <roland@hack.frob.com>
13737
13738 * Makefile.in (all, install): Declare with .PHONY.
13739 Reported by Michael Hope <michael.hope@linaro.org>.
13740
8ad11b9a
TMQMF
137412012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13742
13743 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13744 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13745 system header.
13746 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13747 Likewise.
13748 (sydep_routines): Add the new and the internal functions.
13749 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13750 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13752 (GLIBC_2.17): Add the new function.
13753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13754 (GLIBC_2.17): Likewise.
13755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13756 (GLIBC_2.17): Likewise.
13757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13758 (GLIBC_2.17): Likewise.
13759 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13760
7e2fca8d
AM
137612012-09-25 Alan Modra <amodra@gmail.com>
13762
13763 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13764 Add release barrier before setting once_control to say
13765 initialisation is done. Add hints on lwarx. Use macro in
13766 place of isync.
13767 (clear_once_control): Add release barrier.
13768
b87c4b24
JM
137692012-09-25 Joseph Myers <joseph@codesourcery.com>
13770
d032e0d2
JM
13771 [BZ #13629]
13772 * math/s_clog.c (__clog): Handle more values close to |z| = 1
13773 specially.
13774 * math/s_clog10.c (__clog10): Likewise.
13775 * math/s_clog10f.c (__clog10f): Likewise.
13776 * math/s_clog10l.c (__clog10l): Likewise.
13777 * math/s_clogf.c (__clogf): Likewise.
13778 * math/s_clogl.c (__clogl): Likewise.
13779 * math/Makefile (libm-calls): Add x2y2m1.
13780 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13781 (__x2y2m1): Likewise.
13782 (__x2y2m1l): Likewise.
13783 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13784 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13785 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13786 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13787 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13788 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13789 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13790 * sysdeps/i386/fpu/libm-test-ulps: Update.
13791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13792
b87c4b24
JM
13793 [BZ #14621]
13794 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13795 int as type of variable DEPTH.
13796 (glob): Use size_t instead of int as type of variables NEWCOUNT
13797 and OLD_PATHC.
13798
6d3bf199
LD
137992012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13800
22bf5c17
LD
13801 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13802 Add s_sincosf-sse2.
13803 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13804 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13805 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13806 macros for using routine as __sincosf_ia32.
13807 Use macro for function declaration and weak_alias.
13808 * sysdeps/i386/fpu/libm-test-ulps: Update.
13809
13810 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13811 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13812
13813 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
13814 subnormal argument.
13815 * math/s_cexpf.c (__cexpf): Likewise.
13816 * math/s_csinf.c (__csinf): Likewise.
13817 * math/s_csinhf.c (__csinhf): Likewise.
13818 * math/s_ctanf.c (__ctanf): Likewise.
13819 * math/s_ctanhf.c (__ctanhf): Likewise.
13820 * math/s_ccosh.c (__ccoshf): Likewise.
13821 * math/s_cexp.c (__cexpl): Likewise.
13822 * math/s_csin.c (__csin): Likewise.
13823 * math/s_csinh.c (__csinh): Likewise.
13824 * math/s_ctan.c (__ctan): Likewise.
13825 * math/s_ctanh.c (ctanh): Likewise.
13826 * math/s_ccoshl.c (__ccoshl): Likewise.
13827 * math/s_cexpl.c (__cexpl): Likewise.
13828 * math/s_csinl.c (__csinl): Likewise.
13829 * math/s_csinhl.c (__csinhl): Likewise.
13830 * math/s_ctanl.c (__ctanl): Likewise.
13831 * math/s_ctanhl.c (__ctanhl): Likewise.
13832
203e5603
JM
138332012-09-25 Joseph Myers <joseph@codesourcery.com>
13834
13835 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13836 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13837 (_IO_off_t): Define to __off_t, not _G_off_t.
13838 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13839 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13840 (_IO_wint_t): Define to wint_t, not _G_wint_t.
13841 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13842 type of __dummy and __dummy2 fields.
13843 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13844 (_G_ssize_t): Likewise.
13845 (_G_off_t): Likewise.
13846 (_G_pid_t): Likewise.
13847 (_G_uid_t): Likewise.
13848 (_G_wchar_t): Likewise.
13849 (_G_wint_t): Likewise.
13850 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13851 (_G_ssize_t): Likewise.
13852 (_G_off_t): Likewise.
13853 (_G_pid_t): Likewise.
13854 (_G_uid_t): Likewise.
13855 (_G_wchar_t): Likewise.
13856 (_G_wint_t): Likewise.
13857 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13858 (_G_ssize_t): Likewise.
13859 (_G_off_t): Likewise.
13860 (_G_pid_t): Likewise.
13861 (_G_uid_t): Likewise.
13862 (_G_wchar_t): Likewise.
13863 (_G_wint_t): Likewise.
13864
9fab36eb
SP
138652012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13866
13867 * malloc/arena.c: Include malloc-sysdep.h.
13868 (shrink_heap): Use check_may_shrink_heap to decide if madvise
13869 is sufficient to shrink the heap or an unmap is needed.
13870 * sysdeps/generic/malloc-sysdep.h: New file. Define
13871 new function check_may_shrink_heap.
13872 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
13873 new function check_may_shrink_heap.
13874
2b4f00d1
SP
138752012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13876
13877 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13878 comments.
13879
9a9028b1
DL
138802012-09-24 Dmitry V. Levin <ldv@altlinux.org>
13881
57c69bef
DL
13882 * catgets/test-gencat.sh: Add "set -e".
13883 * elf/tst-pathopt.sh: Likewise.
13884 * grp/tst_fgetgrent.sh: Likewise.
13885 * iconvdata/run-iconv-test.sh: Likewise.
13886 * intl/tst-gettext.sh: Likewise.
13887 * intl/tst-gettext2.sh: Likewise.
13888 * intl/tst-gettext4.sh: Likewise.
13889 * intl/tst-gettext6.sh: Likewise.
13890 * intl/tst-translit.sh: Likewise.
13891 * io/ftwtest-sh: Likewise.
13892 * libio/test-freopen.sh: Likewise.
13893 * malloc/tst-mtrace.sh: Likewise.
13894 * posix/globtest.sh: Likewise.
13895 * posix/tst-getconf.sh: Likewise.
13896 * posix/wordexp-tst.sh: Likewise.
13897 * stdio-common/tst-printf.sh: Likewise.
13898 * stdio-common/tst-unbputc.sh: Likewise.
13899 * stdlib/tst-fmtmsg.sh: Likewise.
13900 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13901 * catgets/Makefile: Do not specify -e option when running
13902 testsuite shell scripts.
13903 * elf/Makefile: Likewise.
13904 * grp/Makefile: Likewise.
13905 * iconvdata/Makefile: Likewise.
13906 * intl/Makefile: Likewise.
13907 * io/Makefile: Likewise.
13908 * libio/Makefile: Likewise.
13909 * malloc/Makefile: Likewise.
13910 * posix/Makefile: Likewise.
13911 * stdio-common/Makefile: Likewise.
13912 * stdlib/Makefile: Likewise.
13913 * sysdeps/x86_64/Makefile: Likewise.
13914
9a9028b1
DL
13915 * io/ftwtest-sh: Add copyright header.
13916 * posix/globtest.sh: Likewise.
13917 * posix/tst-getconf.sh: Likewise.
13918 * posix/wordexp-tst.sh: Likewise.
13919 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13920
ced6f16e
L
139212012-09-24 H.J. Lu <hongjiu.lu@intel.com>
13922
94b32c39
L
13923 [BZ #13679]
13924 * Makeconfig (+link): Defined as $(+link-static) if
13925 $(build-shared) isn't yes.
13926 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13927 isn't yes.
13928 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13929
189e935b
L
13930 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13931
ced6f16e
L
13932 [BZ #14562]
13933 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13934 new chunk size with MALLOC_ALIGN_MASK.
13935
a9f8e53a
JM
139362012-09-24 Joseph Myers <joseph@codesourcery.com>
13937
13938 [BZ #5044]
13939 * stdio-common/printf_fphex.c: Include <stdbool.h> and
13940 <rounding-mode.h>.
13941 (__printf_fphex): Determine rounding using get_rounding_mode and
13942 round_away.
13943 * stdio-common/tst-printf-round.c (struct hex_test): New
13944 structure.
13945 (hex_tests): New variable.
13946 (test_hex_in_one_mode): New function.
13947 (do_test): Also run tests for hex float output.
13948
43153109
JM
139492012-09-21 Joseph Myers <joseph@codesourcery.com>
13950
13951 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13952 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13953 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13954 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13955 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13956 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13957 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13958 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13959
8a26625d
JM
139602012-09-20 Joseph Myers <joseph@codesourcery.com>
13961
13962 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13963 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13964 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13965 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13966
f3fd569c
DL
139672012-09-19 Dmitry V. Levin <ldv@altlinux.org>
13968
13969 [BZ #14579]
13970 * elf/rtld.c (dl_main): Limit the check for self loading to normal
13971 mode only.
13972 * elf/tst-rtld-load-self.sh: New test.
13973 * elf/Makefile: Run it.
13974
63bbedd4
JM
139752012-09-18 Joseph Myers <joseph@codesourcery.com>
13976
13977 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13978 (tst-writev-ENV): Remove.
13979 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
13980
626f8b6a
CM
139812012-09-17 Chris Metcalf <cmetcalf@tilera.com>
13982
13983 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
13984
b7aaa4d6
JM
139852012-09-17 Joseph Myers <joseph@codesourcery.com>
13986
13987 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
13988 unconditional.
13989 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
13990 Likewise.
13991 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
13992 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
13993 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
13994 Likewise.
13995
65513990
L
139962012-09-14 H.J. Lu <hongjiu.lu@intel.com>
13997
13998 [BZ #14587]
13999 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14000 * config.make.in (have-cpp-asm-debuginfo): Removed.
14001 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14002 * configure: Regenerated.
14003
784761be
JM
140042012-09-14 Joseph Myers <joseph@codesourcery.com>
14005
14006 [BZ #5044]
14007 * stdio-common/printf_fp.c: Include <stdbool.h> and
14008 <rounding-mode.h>.
14009 (___printf_fp): Determine rounding using get_rounding_mode and
14010 round_away.
14011 * stdio-common/tst-printf-round.c: New file.
14012 * stdio-common/Makefile (tests): Add tst-printf-round.
14013 (link-libm): New variable.
14014 ($(objpfx)tst-printf-round): Depend in $(link-libm).
14015
9503345f
L
140162012-09-13 H.J. Lu <hongjiu.lu@intel.com>
14017
14018 [BZ #14576]
14019 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14020 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14021 Likewise.
14022 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14023 Likewise.
14024
ad35fc00
JM
140252012-09-13 Joseph Myers <joseph@codesourcery.com>
14026
14027 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14028 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14029 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14030 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14031
6c9b0f68
JM
140322012-09-12 Joseph Myers <joseph@codesourcery.com>
14033
14034 [BZ #14518]
14035 * include/rounding-mode.h: New file.
14036 * sysdeps/generic/get-rounding-mode.h: Likewise.
14037 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14038 * stdlib/strtod_l.c: Include <rounding-mode.h>.
14039 (MAX_VALUE): New macro.
14040 (MIN_VALUE): Likewise.
14041 (overflow_value): New function.
14042 (underflow_value): Likewise.
14043 (round_and_return): Use overflow_value and underflow_value to
14044 determine return values in overflow and underflow cases. Use
14045 round_away to determine rounding depending on rounding mode.
14046 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14047 determine return values in overflow and underflow cases.
14048 * stdlib/tst-strtod-round.c: Include <fenv.h>.
14049 (struct test_results): New structure.
14050 (struct test): Use struct test_results to store expected results
14051 for all rounding modes.
14052 (TEST): Include expected results for all rounding modes.
14053 (test_in_one_mode): New function.
14054 (do_test): Use test_in_one_mode to compute and check results.
14055 Check results for all rounding modes.
14056 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14057 $(link-libm).
14058
19fcedd5
AM
140592012-12-09 Allan McRae <allan@archlinux.org>
14060
1e9d84cd 14061 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 14062
8bbfd2f1
JM
140632012-09-11 Joseph Myers <joseph@codesourcery.com>
14064
14065 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14066 (_G_int32_t): Likewise.
14067 (_G_uint16_t): Likewise.
14068 (_G_uint32_t): Likewise.
14069 (_G_HAVE_BOOL): Likewise.
14070 (_G_HAVE_ATEXIT): Likewise.
14071 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14072 (_G_HAVE_IO_FILE_OPEN): Likewise.
14073 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14074 (_G_int32_t): Likewise.
14075 (_G_uint16_t): Likewise.
14076 (_G_uint32_t): Likewise.
14077 (_G_HAVE_BOOL): Likewise.
14078 (_G_HAVE_ATEXIT): Likewise.
14079 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14080 (_G_HAVE_IO_FILE_OPEN): Likewise.
14081 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14082 (_G_int32_t): Likewise.
14083 (_G_uint16_t): Likewise.
14084 (_G_uint32_t): Likewise.
14085 (_G_HAVE_BOOL): Likewise.
14086 (_G_HAVE_ATEXIT): Likewise.
14087 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14088 (_G_HAVE_IO_FILE_OPEN): Likewise.
14089
b1dc5912
L
140902012-09-11 H.J. Lu <hongjiu.lu@intel.com>
14091
14092 * csu/libc-tls.c: Update copyright years.
14093
0e886ef9
JM
140942012-09-10 Joseph Myers <joseph@codesourcery.com>
14095
28361c5e
JM
14096 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14097 [!_G_USING_THUNKS]: Remove conditional code.
14098 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14099 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14100
0e886ef9
JM
14101 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14102 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14103 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14104 (_G_VTABLE_LABEL_PREFIX): Likewise.
14105 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14106 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14107 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14108 (_G_VTABLE_LABEL_PREFIX): Likewise.
14109 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14110 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14111 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14112 (_G_VTABLE_LABEL_PREFIX): Likewise.
14113 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14114
bcba7aa2
L
141152012-09-10 H.J. Lu <hongjiu.lu@intel.com>
14116
14117 * libio/Makefile: Include ../Makeconfig before tests.
14118 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
14119 only if $(build-shared) is yes.
14120
06585ee8
L
14121 * iconv/gconv_db.c: Update copyright years.
14122
80ccd52c
LD
141232012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14124
14125 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
14126 unwind info if defined PIC. Fix special cases description.
14127 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
14128
14129 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14130 DP_HI_MASK entry.
14131 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14132
691bc9c1
L
141332012-09-07 H.J. Lu <hongjiu.lu@intel.com>
14134
3d9b46b3
L
14135 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
14136
de2139a9
L
14137 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14138 is NULL.
14139
5ca78dd0
L
14140 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
14141 (LDLIBS-tst-chk4): This.
14142 (LDFLAGS-tst-chk5): Renamed to ...
14143 (LDLIBS-tst-chk5): This.
14144 (LDFLAGS-tst-chk6): Renamed to ...
14145 (LDLIBS-tst-chk6): This.
14146 (LDFLAGS-tst-lfschk4): Renamed to ...
14147 (LDLIBS-tst-lfschk4): This.
14148 (LDFLAGS-tst-lfschk5): Renamed to ...
14149 (LDLIBS-tst-lfschk5): This.
14150 (LDFLAGS-tst-lfschk6): Renamed to ...
14151 (LDLIBS-tst-lfschk6): This.
14152
691bc9c1
L
14153 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14154 on $(common-objpfx)soversions.mk.
14155
65cafb1c
JM
141562012-09-07 Joseph Myers <joseph@codesourcery.com>
14157
14158 [BZ #10014]
14159 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14160 example host name.
14161
c78ab094
SP
141622012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14163
14164 * malloc/arena.c (arena_get_retry): New function that gets
14165 another arena for the caller to try its request on.
14166 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14167 current arena cannot fulfill the request.
14168 (__libc_memalign): Likewise.
14169 (__libc_memalign): Likewise.
14170 (__libc_pvalloc): Likewise.
14171 (__libc_calloc): Likewise.
14172
01f49f59
JT
141732012-09-05 John Tobey <john.tobey@gmail.com>
14174
14175 [BZ #13542]
14176 * manual/arith.texi (Operations on Complex): Fix description
14177 of carg branch cut.
14178
4c23fed5
JM
141792012-09-06 Joseph Myers <joseph@codesourcery.com>
14180
1d3c8572
JM
14181 [BZ #10014]
14182 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14183 host name.
14184
4c23fed5
JM
14185 [BZ #10038]
14186 * manual/memory.texi (Memory): Make order of menu items match
14187 order of sections.
14188
04570aaa
L
141892012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14190
14191 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14192 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
14193 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
14194
b80af2f4
L
141952012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14196
14197 * csu/libc-tls.c (static_dtv): Renamed to ...
14198 (_dl_static_dtv): This. Make it global.
14199 (_dl_initial_dtv): Removed.
14200 (__libc_setup_tls): Updated.
14201 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14202 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14203 DL_INITIAL_DTV.
14204
2abe9f15
PM
142052012-09-06 Petr Machata <pmachata@redhat.com>
14206
14207 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14208 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
14209 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
14210 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14211
0948c3af
L
142122012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14213
14214 [BZ #14545]
14215 * csu/libc-tls.c (_dl_initial_dtv): New variable.
14216 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14217 freeing dtv[-1].
14218
a5055ad1
L
142192012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14220
14221 [BZ #14544]
14222 * Makeconfig (link-static-before-libc): Replace $(+prector)
14223 with $(+prectorT).
14224 (link-static-after-libc): Replace $(+postctor) with
14225 $(+postctorT).
14226 (link-bounded): Replace $(+prector)/$(+postctor) with
14227 $(+prectorT)/$(+postctorT).
14228 (+prectorT): New macro.
14229 (+postctorT): Likewise.
14230
ed8c2ecd
JM
142312012-09-06 Joseph Myers <joseph@codesourcery.com>
14232
14233 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14234 (round_str): Handle values above the maximum for IBM long double
14235 as inexact.
14236 * stdlib/tst-strtod-round.c (tests): Regenerated.
14237
14c996c8
AK
142382012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14239
14240 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14241 assembler flag.
14242 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14243 zarch_nohighgprs around the zarch optimized routines.
14244 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14245 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14246 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14247 for zarch.
14248
430d6ce6
DM
142492012-09-05 David S. Miller <davem@davemloft.net>
14250
14251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14252
ff04dda4
DM
14253 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14254 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14255 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14256 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14257 entries.
14258
24d4e01b
AO
142592012-09-05 Alexandre Oliva <aoliva@redhat.com>
14260
14261 * malloc/arena.c: Fold copyright years.
14262 * malloc/mcheck.c, malloc/memusage.c: Likewise.
14263
61d58174
AO
142642012-09-05 Alexandre Oliva <aoliva@redhat.com>
14265
14266 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14267
20196a5e
AO
142682012-09-05 Alexandre Oliva <aoliva@redhat.com>
14269
14270 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
14271
5c447383
AO
142722012-09-05 Alexandre Oliva <aoliva@redhat.com>
14273
14274 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14275 change internal state upon failure.
14276
fad64255
AO
142772012-09-05 Alexandre Oliva <aoliva@redhat.com>
14278
14279 * malloc/mcheck.c (mcheck_check_all): Fix typo.
14280 * malloc/memusage.c (mmap): Likewise.
14281 (mmap64, mremap): Likewise. Adjust name in comment.
14282
1ffb8c90
SP
142832012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14284
14285 * libio/fileops.c: Fix typos in comments.
14286 * libio/oldfileops.c: Likewise.
14287 * libio/wfileops.c: Likewise.
14288
6ef9cc37
SP
142892012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14290
14291 [BZ #1349]
14292 * malloc/Makefile (tests): Add tst-malloc-usable test case.
14293 (tst-malloc-usable-ENV): Set environment for test case.
14294 * malloc/hooks.c (malloc_check_get_size): New function to get
14295 requested size.
14296 * malloc/malloc.c (musable): Use malloc_check_get_size.
14297 * malloc/tst-malloc-usable.c: New test case.
14298
4d038ae3
AS
142992012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14300
14301 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14302
c4e85184
AM
143032012-09-05 Allan McRae <allan@archlinux.org>
14304
b9dafc56 14305 [BZ #13966]
c4e85184
AM
14306 * configure.in (CXX_SYSINCLUDES): Use compiler output to
14307 determine header location.
14308 * configure: Regenerated.
14309
e1343020
AS
143102012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14311
14312 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14313 float format.
14314 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
14315 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14316 format.
e1343020
AS
14317 (test): Regenerate.
14318
0a9f1987
DM
143192012-09-04 David S. Miller <davem@davemloft.net>
14320
14321 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14322 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14323 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14324
29237804
FW
143252012-09-04 Florian Weimer <fweimer@redhat.com>
14326
14327 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14328 failures.
14329
edb3cb88
FW
14330 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14331
60160d83
JM
143322012-09-04 Joseph Myers <joseph@codesourcery.com>
14333
14334 [BZ #9914]
14335 * libio/iogetdelim.c: Include <limits.h>.
14336 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14337 + len + 1 would overflow.
14338
bcd6c8dc
AJ
143392012-09-03 Andreas Jaeger <aj@suse.de>
14340
14341 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14342 * sysdeps/i386/fpu/libm-test-ulps: Update.
14343
4ffffbd2
LD
143442012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14345
14346 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14347 Add s_sinf-sse2, s_conf-sse2.
14348
14349 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14350 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14351 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14352 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14353
14354 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14355 for using routine as __sinf_ia32.
14356 Use macro for function declaration and weak_alias.
14357 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14358 for using routine as __cosf_ia32.
14359 Use macro for function declaration and weak_alias.
14360
14361 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14362 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14363
14364 * sysdeps/x86_64/fpu/s_sinf.S: New file.
14365 * sysdeps/x86_64/fpu/s_cosf.S: New file.
14366 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14367
14368 * math/libm-test.inc (cos_test): Add more test cases.
14369 (sin_test): Likewise.
14370 (sincos_test): Likewise.
14371
511fa286
AK
143722012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14373
14374 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14375 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14376 hidden.
14377 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14378
5f30cfec
L
143792012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14380
14381 [BZ #14538]
14382 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14383 first element of the GOT.
14384 (elf_machine_load_address): Return the difference between
14385 the runtime address of _DYNAMIC and elf_machine_dynamic ().
14386
0786794f
AM
143872012-09-01 Allan McRae <allan@archlinux.org>
14388
5f30cfec
L
14389 [BZ #13412]
14390 * configure.in (AWK): Require gawk version 3.0 or later.
14391 * configure: Regenerated.
0786794f 14392
26889eac
JM
143932012-09-01 Joseph Myers <joseph@codesourcery.com>
14394
14395 * sysdeps/unix/sysv/linux/kernel-features.h
14396 (__ASSUME_POSIX_CPU_TIMERS): Remove.
14397 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14398 [__NR_clock_getres]: Make code unconditional.
14399 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14400 (clock_getcpuclockid): Remove code left unreachable by removal of
14401 conditionals.
14402 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14403 code unconditional.
14404 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14405 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14406 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14407 Make code unconditional.
14408 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14409 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14410 * sysdeps/unix/sysv/linux/clock_settime.c
14411 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14412 conditional code.
14413 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14414 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14415
d22e28b0
L
144162012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14417
14418 [BZ #14476]
14419 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14420 scripts/test-installation.pl.
14421
14422 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14423 and $ld_so_version if it is set.
14424
050af9c4
SP
144252012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14426
14427 [BZ #14516]
14428 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14429 failure if reading from procfs failed.
14430 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14431
ad845c0b
JM
144322012-08-27 Joseph Myers <joseph@codesourcery.com>
14433
14434 * sysdeps/unix/sysv/linux/kernel-features.h
14435 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14436 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14437 Remove conditional code.
14438 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14439 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14440 Remove conditional code.
14441 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14442 * sysdeps/unix/sysv/linux/i386/fxstat.c
14443 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14444 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14445 * sysdeps/unix/sysv/linux/i386/fxstatat.c
14446 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14447 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14448 * sysdeps/unix/sysv/linux/i386/lxstat.c
14449 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14450 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14451 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14452 Remove conditional code.
14453 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14454 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14455 Remove conditional code.
14456 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14457 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14458 <kernel-features.h>.
14459 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14460 Remove.
14461 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14462 Remove conditional code.
14463 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14464 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14465 Remove conditional.
14466
5dbf56af
MF
144672012-08-27 Mike Frysinger <vapier@gentoo.org>
14468
14469 [BZ #5400]
14470 * NEWS: Add fixed bug number.
14471
d6e70f43
JM
144722012-08-27 Joseph Myers <joseph@codesourcery.com>
14473
7efb4737
JM
14474 [BZ #14519]
14475 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14476 underflowing exponent in case of negative sign.
14477 * stdlib/tst-strtod-round-data: Add more tests.
14478 * stdlib/tst-strtod-round.c (tests): Regenerated.
14479
af92131a
JM
14480 [BZ #3479]
14481 * stdlib/strtod_l.c (NDIG): Remove.
14482 (HEXNDIG): Likewise.
14483 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14484 smallest representable value.
14485 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14486 lie within an exact representation of 1/2 ulp of the result.
14487 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14488 unconditionally.
14489 (TENS_P9_IDX): Define unconditionally.
14490 (TENS_P9_SIZE): Likewise.
14491 (TENS_P10_IDX): Likewise.
14492 (TENS_P10_SIZE): Likewise.
14493 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14494 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14495 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14496 entries for 10^2^13 and 10^2^14.
14497 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14498 (TENS_P13_IDX): Define.
14499 (TENS_P13_SIZE): Likewise.
14500 (TENS_P14_IDX): Likewise.
14501 (TENS_P14_SIZE): Likewise.
14502 (_fpioconst_pow10): Change array size to
14503 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14504 unconditional.
14505 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14506 1024]: Add entries for 10^2^13 and 10^2^14.
14507 [LAST_POW10 > _LAST_POW10]: Remove #error.
14508 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14509 (_fpioconst_pow10): Change array size to
14510 FPIOCONST_POW10_ARRAY_SIZE.
14511 * stdlib/gen-fpioconst.c: New file.
14512 * stdlib/gen-tst-strtod-round.c: Likewise.
14513 * stdlib/tst-strtod-round-data: Likewise.
14514 * stdlib/tst-strtod-round.c: Likewise.
14515 * stdlib/Makefile (tests): Add tst-strtod-round.
14516
d6e70f43
JM
14517 [BZ #14459]
14518 * stdlib/strtod_l.c: Include <stdint.h>.
14519 (NDEBUG): Do not define.
14520 (round_and_return): Change EXPONENT parameter to type intmax_t.
14521 Rearrange calculations to avoid internal overflow possibilities.
14522 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14523 Rearrange calculations to avoid internal overflow possibilities.
14524 Assert that number fits inside MPNSIZE limbs.
14525 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14526 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14527 calculations and add assertions to avoid internal overflow
14528 possibilities. Add casts to avoid signed/unsigned operations.
14529 * stdlib/tst-strtod-overflow.c: New file.
14530 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14531
1f529f7d
MP
145322012-08-25 Marek Polacek <polacek@redhat.com>
14533
14534 * time/time.h: Fix some typos in comments.
14535
59a629f1
RM
145362012-08-23 Roland McGrath <roland@hack.frob.com>
14537
14538 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14539 * posix/tst-rfc3484-2.c: Likewise.
14540 * posix/tst-rfc3484-3.c: Likewise.
14541
d3bafbc9
SM
145422012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14543
14544 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14545 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14546
4efcc022
JM
145472012-08-23 Joseph Myers <joseph@codesourcery.com>
14548
14549 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14550 #include of fxstatat64.c.
14551
3cc3ef96
RM
145522012-08-22 Roland McGrath <roland@hack.frob.com>
14553
f04e2132
RM
14554 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14555 * shadow/getspent_r.c: Likewise.
14556 * shadow/getspnam.c: Likewise.
14557 * shadow/getspnam_r.c: Likewise.
14558 * gshadow/getsgent.c: Likewise.
14559 * gshadow/getsgent_r.c: Likewise.
14560 * gshadow/getsgnam.c: Likewise.
14561 * gshadow/getsgnam_r.c: Likewise.
14562 * inet/getnetbyad.c: Likewise.
14563 * inet/getnetbyad_r.c: Likewise.
14564 * inet/getnetbynm.c: Likewise.
14565 * inet/getnetbynm_r.c: Likewise.
14566 * inet/getnetent.c: Likewise.
14567 * inet/getnetent_r.c: Likewise.
14568 * inet/getproto.c: Likewise.
14569 * inet/getproto_r.c: Likewise.
14570 * inet/getprtent.c: Likewise.
14571 * inet/getprtent_r.c: Likewise.
14572 * inet/getprtname.c: Likewise.
14573 * inet/getprtname_r.c: Likewise.
14574 * inet/getrpcbyname.c: Likewise.
14575 * inet/getrpcbyname_r.c: Likewise.
14576 * inet/getrpcbynumber.c: Likewise.
14577 * inet/getrpcbynumber_r.c: Likewise.
14578 * inet/getrpcent.c: Likewise.
14579 * inet/getrpcent_r.c: Likewise.
14580 * inet/getaliasent.c: Likewise.
14581 * inet/getaliasent_r.c: Likewise.
14582 * inet/getaliasname.c: Likewise.
14583 * inet/getaliasname_r.c: Likewise.
14584 * nscd/getgrgid_r.c: Likewise.
14585 * nscd/getgrnam_r.c: Likewise.
14586 * nscd/gethstbyad_r.c: Likewise.
14587 * nscd/gethstbynm3_r.c: Likewise.
14588 * nscd/getpwnam_r.c: Likewise.
14589 * nscd/getpwuid_r.c: Likewise.
14590 * nscd/getsrvbynm_r.c: Likewise.
14591 * nscd/getsrvbypt_r.c: Likewise.
14592 * nscd/gai.c: Likewise.
14593
c53d909c
RM
14594 * configure.in (build_nscd): New substituted variable, set
14595 by --disable-build-nscd and defaults to $use_nscd.
14596 * configure: Regenerated.
14597 * config.make.in (build-nscd): New substituted variable.
14598 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14599 Change conditional to require [$(build-nscd) = yes] as well.
14600 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14601
3cc3ef96
RM
14602 [BZ# 13696]
14603 * configure.in (use_nscd): New substituted variable, set by
14604 --disable-nscd. If enabled, define USE_NSCD.
14605 * configure: Regenerated.
14606 * config.h.in: Add USE_NSCD.
14607 * config.make.in (use-nscd): New substituted variable.
14608 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14609 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14610 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14611 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14612 (CFLAGS-getgrnam_r.c): Likewise.
14613 (CFLAGS-initgroups.c): Likewise.
14614 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14615 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14616 Variables removed.
14617 * inet/getnetgrent_r.c
14618 (nscd_setnetgrent): New function, broken out of ...
14619 (setnetgrent): ... here. Call it.
14620 (innetgr): Conditionalize nscd bits on [USE_NSCD].
14621 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14622 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14623 * nscd/Makefile (routines, aux): Move definitions after include of
14624 Makeconfig. Conditionalize on [$(use-nscd) != no].
14625 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14626 Conditionalize on [USE_NSCD].
14627 (is_nscd, nscd_init_cb): Likewise.
14628 (nss_load_library): Conditionalize init callback on [USE_NSCD].
14629 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14630 * nss/nss_db/db-init.c: Likewise.
14631 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14632 [USE_NSCD].
14633 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14634 (make_request): Use it.
14635 (cache_valid_p): New function.
14636 (__check_pf): Use it.
14637 * NEWS: Add item for --disable-nscd.
14638
07e51550
DL
146392012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14640
14641 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14642 to support sed >= 4.2.1-20-ga9bf076.
14643 * configure: Regenerated.
14644
35a5b08b
RM
146452012-08-22 Roland McGrath <roland@hack.frob.com>
14646
14647 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14648 Conditionalize whole body on [IREL].
14649
8479f23a
JL
146502012-08-22 Jeff Law <law@redhat.com>
14651
14652 [BZ #14505]
14653 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14654 if the family is PF_UNSPEC.
14655
48da0b21
MF
146562012-08-22 Mike Frysinger <vapier@gentoo.org>
14657
14658 * Makerules (lib-version): Rename from V.
14659 (install-lib-nosubdir): Change V to lib-version.
14660
15d0da8c
WS
146612012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14662
14663 [BZ #14252]
14664 * powerpc32/power6/wcschr.c: New file.
14665 * powerpc32/power6/wcscpy.c: New file.
14666 * powerpc32/power6/wcsrchr.c: New file.
14667 * powerpc64/power6/wcschr.c: New file.
14668 * powerpc64/power6/wcscpy.c: New file.
14669 * powerpc64/power6/wcsrchr.c: New file.
14670
bcca0895
MK
146712012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14672
14673 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14674 (two_way_short_needle): Use it.
5a4aaa33
RM
14675 * string/strstr.c (AVAILABLE1_USES_J): Define.
14676 * string/strcasestr.c: Likewise.
99677e57
MK
14677
14678 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14679 array references.
14680 * string/strcasestr.c (TOLOWER): Make side-effect safe.
14681
400726de
MK
14682 [BZ #11607]
14683 * NEWS: Add an entry.
14684 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14685 define their defaults.
14686 (two_way_short_needle): Detect end-of-string on-the-fly.
14687 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14688 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14689 * string/bug-strcasestr1.c: New test.
14690 * string/Makefile: Run it.
14691
20a71f2c
MK
146922012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14693
14694 [BZ #11607]
14695 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14696 the first character.
14697
21ad0558
RM
146982012-08-21 Roland McGrath <roland@hack.frob.com>
14699
14700 * csu/elf-init.c (__libc_csu_irel): Function removed.
14701 * csu/libc-start.c (apply_irel): New function.
14702 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14703
0e1d9911
JM
147042012-08-21 Joseph Myers <joseph@codesourcery.com>
14705
14706 * sysdeps/unix/sysv/linux/kernel-features.h
14707 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14708 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14709 <kernel-features.h>.
14710 [__NR_fadvise64_64]: Make code unconditional.
14711 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14712 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14713 !__NR_fadvise64_64)]: Likewise.
14714 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14715 !__NR_fadvise64_64))]: Likewise.
14716 [__NR_fadvise64]: Make code unconditional.
14717 [!__NR_fadvise64]: Remove conditional code.
14718 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14719 <kernel-features.h>.
14720 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14721 unconditional.
14722 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14723 conditional code.
14724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14725 not include <kernel-features.h>.
14726 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14727 unconditional.
14728 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14729 conditional code.
14730 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14731 include <kernel-features.h>.
14732 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14733 unconditional.
14734 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14735 conditional code.
14736
14a50c9d
WS
147372012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14738
14739 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14740 slight instruction rearrangements per scrollpipe analysis.
14741 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14742
c0f4faf0
RM
147432012-08-20 Roland McGrath <roland@hack.frob.com>
14744
696da859
RM
14745 * manual/syslog.texi (syslog; vsyslog, closelog):
14746 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14747 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14748
c0f4faf0
RM
14749 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14750 DSOCAPS to match condition on defining it.
14751
348363b2
JM
147522012-08-20 Joseph Myers <joseph@codesourcery.com>
14753
a35cbf28
JM
14754 * sysdeps/unix/sysv/linux/kernel-features.h
14755 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14757 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14758 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14760 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14761 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14763 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14764 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14765
445f7ecd
JM
14766 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14767 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14768
348363b2
JM
14769 * sysdeps/unix/sysv/linux/kernel-features.h
14770 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14771 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14772 unconditional.
14773 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14774 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14775 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14776 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14777 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14778 Make code unconditional.
14779 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14780 (__mmap64) [!__NR_mmap2]: Likewise.
14781 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14782 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14783 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14784 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14785 [__NR_mmap2]: Make code unconditional.
14786 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14787 (__mmap64) [!__NR_mmap2]: Likewise.
14788
bc5bc0e5
AK
147892012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14790
14791 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14792
88d506de
AJ
147932012-08-18 Andreas Jaeger <aj@suse.de>
14794
14795 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14796
493387d2
MF
147972012-08-18 Mike Frysinger <vapier@gentoo.org>
14798
14799 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14800 * include/unistd.h (__have_sock_cloexec): Likewise.
14801 (__have_pipe2): Likewise.
14802 (__have_dup3): Likewise.
14803
a277af22
MF
148042012-08-18 Mike Frysinger <vapier@gentoo.org>
14805
14806 [BZ #9685]
14807 * include/unistd.h (__have_pipe2): Change define into an extern int.
14808 (__have_dup3): Likewise.
14809 * socket/have_sock_cloexec.c: Include fcntl.h.
14810 (__have_pipe2): New variable.
14811 (__have_dup3): Likewise.
14812
fdab8fd3
MF
148132012-08-17 Mike Frysinger <vapier@gentoo.org>
14814
14815 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14816
31035e80
MP
148172012-08-17 Marek Polacek <polacek@redhat.com>
14818
14819 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14820 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14821
3bd9e993
RM
148222012-08-17 Roland McGrath <roland@hack.frob.com>
14823
c91c505f
RM
14824 * configure.in: Add AC_SUBST for sysheaders.
14825 * configure: Regenerated.
14826 * config.make.in (sysheaders): New substituted variable.
14827
7c6f9d53
RM
14828 * sysdeps/unix/mkfifo.c: Moved ...
14829 * sysdeps/posix/mkfifo.c: ... here.
14830 * sysdeps/unix/mkfifoat.c: Moved ...
14831 * sysdeps/posix/mkfifoat.c: ... here.
14832
14833 * sysdeps/unix/utime.c: Moved ...
14834 * sysdeps/posix/utime.c: ... here.
14835
14836 * sysdeps/unix/time.c: Moved ...
14837 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
14838 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14839 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
14840
14841 * sysdeps/unix/nice.c: Moved ...
14842 * sysdeps/posix/nice.c: ... here.
14843
14844 * sysdeps/unix/alarm.c: Moved ...
14845 * sysdeps/posix/alarm.c: ... here.
14846
3bd9e993
RM
14847 * intl/Makefile ($(codeset_mo)): Depend on the input file.
14848
d1f09384
JL
148492012-08-17 Jeff Law <law@redhat.com>
14850
14851 * intl/Makefile (codeset_mo): New variable.
14852 ($(codeset_mo)): New target.
14853 (tst-codeset.out): Depend on that. Remove explicit rule.
14854 (tst-gettext3.out, tst-gettext5.out): Likewise.
14855 (LOCPATH-ENV, tst-codeset-ENV): New variables.
14856 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14857 * intl/tst-codeset.sh: Remove.
14858 * intl/tst-gettext3.sh: Likewise.
14859 * intl/tst-gettext5.sh: Likewise.
14860
2ae1ae5c
RM
148612012-08-17 Roland McGrath <roland@hack.frob.com>
14862
c31fdb83
RM
14863 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
14864 * sysdeps/unix/syscalls.list: ... here.
14865
a0844057
RM
14866 * sysdeps/posix/getaddrinfo.c
14867 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14868 (gaiconf_init, gaiconf_reload): Use them.
14869 [!_STATBUF_ST_NSEC]
14870 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14871 Define using time_t rather than struct timespec.
14872
750c1f2a
RM
14873 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14874 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14875 Macros removed.
14876 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14877 [!NO_THREADS].
14878 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14879 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14880 Likewise.
14881
2ae1ae5c
RM
14882 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14883 __libc_cleanup_push argument.
14884
e66a42f5
RM
14885 * bits/param.h: New file.
14886 * misc/sys/param.h: New file.
14887 * include/sys/param.h: New file.
14888 * misc/Makefile (headers): Add bits/param.h.
14889 * sysdeps/generic/sys/param.h: File removed.
14890 * sysdeps/unix/sysv/linux/bits/param.h: New file.
14891 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14892 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 14893 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 14894
b7c08a66
RM
14895 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14896 last change.
14897
b2e1c562
RM
14898 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14899 [_IO_MTSAFE_IO].
14900 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14901 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14902 New macros.
14903
c75ccd4c
RM
14904 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14905 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14906 rather than -D_IO_MTSAFE_IO conditionally.
14907 * stdio-common/Makefile (CPPFLAGS): Likewise.
14908 * wcsmbs/Makefile (CPPFLAGS): Likewise.
14909 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14910 Use $(libio-mtsafe).
14911 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14912 of -D_IO_MTSAFE_IO.
14913 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14914 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14915 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14916 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14917 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14918 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14919 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14920 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14921 (CFLAGS-fread_u_chk.c): Likewise.
14922 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14923 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14924 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14925 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14926 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14927 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14928 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14929 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14930 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14931
14932 * libio/Makefile: Test [$(libc-reentrant) = yes]
14933 instead of [$(filter %REENTRANT, $(defines)) nonempty].
14934
14935 * Makeconfig
14936 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14937 * sysdeps/pthread/configure: File removed.
14938 * sysdeps/pthread/Makeconfig: New file.
14939 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14940 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14941
d9195db8
GB
149422012-08-16 Gary Benson <gbenson@redhat.com>
14943
14944 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14945 unmapping the first object in a namespace.
14946
86466cd9
RM
149472012-08-16 Roland McGrath <roland@hack.frob.com>
14948
14949 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14950 (__internal_setnetgrent): ... this. Add internal_function to
14951 definition. Add libc_hidden_def.
14952 (setnetgrent): Update caller.
14953 (internal_endnetgrent): Renamed to ...
14954 (__internal_endnetgrent): ... this. Add internal_function to
14955 definition. Add libc_hidden_def.
14956 (endnetgrent): Update caller.
14957 (internal_getnetgrent_r): Renamed to ...
14958 (__internal_getnetgrent_r): ... this. Add internal_function to
14959 definition. Add libc_hidden_def.
14960 (__getnetgrent_r): Update caller.
14961 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
14962
c3c8283c
JM
149632012-08-16 Joseph Myers <joseph@codesourcery.com>
14964
14965 * stdlib/longlong.h: Update from GCC.
14966
db1ee0a8
RM
149672012-08-16 Roland McGrath <roland@hack.frob.com>
14968
14969 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14970 on _QL, which is set by umul_ppmm but never used.
14971 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14972 variables, which are set by GMP macros but never used.
14973 * stdio-common/_itowa.c (_itowa): Likewise.
14974 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14975 * stdlib/mod_1.c (mpn_mod_1): Likewise.
14976
30f69637
CD
149772012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
14978
14979 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
14980 struct La_sh_regs is not constant.
14981 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
14982 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
14983 and struct La_sparc64_regs are not constant.
14984
93a78ac4
JM
149852012-08-16 Joseph Myers <joseph@codesourcery.com>
14986
14987 * sysdeps/unix/sysv/linux/kernel-features.h
14988 (__ASSUME_POSIX_TIMERS): Remove.
14989 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14990 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14991 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
14992 Make code unconditional.
14993 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14994 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
14995 Make code unconditional.
14996 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14997 * sysdeps/unix/sysv/linux/clock_nanosleep.c
14998 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
14999 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15000 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15001 Make code unconditional.
15002 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15003 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15004 (__libc_missing_posix_timers): Remove.
15005
dd924cd7
RM
150062012-08-15 Roland McGrath <roland@hack.frob.com>
15007
4b4f2771
RM
15008 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15009 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15010
601c888b
RM
15011 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15012
176790a7
RM
15013 * elf/dl-sym.c: Include <stdlib.h>.
15014
329bc018
RM
15015 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15016 constants, which avoids warnings in 32-bit builds.
15017
e04e272d
RM
15018 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15019 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15020
952bf94a
RM
15021 * misc/lseek.c: File moved to ...
15022 * io/lseek.c: ... here.
15023
7c99b50a
RM
15024 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15025
dd924cd7
RM
15026 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15027 shifting LEN more than 31 bits at once.
15028
b3f479a8
LD
150292012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15030
15031 [BZ #14195]
8c4ae0d4
RM
15032 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15033 segmentation fault for a case of two empty input strings.
b3f479a8
LD
15034 * string/test-strncasecmp.c (check1): Renamed to...
15035 (bz12205): ...this.
15036 (bz14195): Add new testcase for two empty input strings and N > 0.
15037 (test_main): Call new testcase, adapt for renamed function.
15038
9c55864e
AJ
150392012-08-15 Andreas Jaeger <aj@suse.de>
15040
15041 [BZ #14090]
15042 * crypt/md5test2.c: New test, based on test supplied by Serge
15043 Belyshev <belyshev@depni.sinp.msu.ru>.
15044 * crypt/Makefile (xtests): Add md5test-giant..
15045 * crypt/Makefile ($(objpfx)md5test-giant): Add.
15046
02dcb6c5
PE
150472012-08-15 Paul Eggert <eggert@cs.ucla.edu>
15048
15049 [BZ #14090]
15050 * crypt/md5.c (md5_process_block): Don't assume the buffer
15051 length is less than 2**32.
15052 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15053 length is less than 2**64.
15054
a3f95dcc
RM
150552012-08-15 Roland McGrath <roland@hack.frob.com>
15056
be75d758
RM
15057 * string/str-two-way.h: Include <sys/param.h>.
15058 (MAX): Macro removed.
15059
7312ca90
RM
15060 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15061 Move #define and #undef of memmove to just before and after
15062 including <string.h>.
15063
9a0a5486
RM
15064 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15065 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15066 and after including <string.h>. Move declarations of
15067 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15068 to before #include "string/memmove.c".
15069
67cc348d
RM
15070 * include/dirent.h: Declare __getdirentries.
15071
a3f95dcc
RM
15072 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15073 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15074
ca98e171
MF
150752012-08-14 Mike Frysinger <vapier@gentoo.org>
15076
15077 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15078 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15079 * sysdeps/i386/configure: Regenerated.
15080 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15081 STABS_CURRENT_FILE, and STABS_FUN.
15082 (END): Remove call to STABS_FUN_END.
15083 (STABS_CURRENT_FILE1): Delete.
15084 (STABS_CURRENT_FILE): Likewise.
15085 (STABS_FUN): Likewise.
15086 (STABS_FUN_END): Likewise.
15087 (STABS_FUN2): Likewise.
15088 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15089 * sysdeps/x86_64/configure: Regenerated.
15090
5908bf46
RM
150912012-08-14 Roland McGrath <roland@hack.frob.com>
15092
15093 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 15094 * elf/dl-lookup.c: Likewise.
5908bf46 15095
f2c05b9e
JM
150962012-08-14 Joseph Myers <joseph@codesourcery.com>
15097
15098 * sysdeps/unix/sysv/linux/kernel-features.h
15099 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15100 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15101 unconditionally.
15102 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15103 unconditionally.
15104 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15105 condition on __ASSUME_CLONE_THREAD_FLAGS.
15106
e11f5155
AJ
151072012-08-14 Andreas Jaeger <aj@suse.de>
15108
15109 * sysdeps/i386/fpu/libm-test-ulps: Update.
15110
51a9ba86
MK
151112012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
15112
2fdd4f78
AJ
15113 * include/atomic.h (atomic_exchange_and_add): Split into ...
15114 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15115 New atomic macros.
51a9ba86 15116
ba6cba9e
MT
151172012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
15118
15119 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15120
42443a47
JL
151212012-08-13 Jeff Law <law@redhat.com>
15122
15123 * manual/stdio.texi (snprintf): Clarify handling of the trailing
15124 null byte in the output string.
15125
121dce05
JM
151262012-08-10 Joseph Myers <joseph@codesourcery.com>
15127
15128 * sysdeps/unix/sysv/linux/kernel-features.h
15129 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
15130 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
15131 (__ASSUME_ARG_MAX_STACK_BASED): Define.
15132 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15133 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
15134 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
15135 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
15136
bf51f568
JL
151372012-08-09 Jeff Law <law@redhat.com>
15138
15139 [BZ #13939]
15140 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
15141 When avoid_arena is set, don't retry in the that arena. Pick the
15142 next one, whatever it might be.
15143 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15144 (arena_lock): Pass in new parameter to arena_get2.
15145 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15146 arena_get2.
15147 (__libc_malloc): Unify retrying after main arena failure with
15148 __libc_memalign version.
15149 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15150
f85fa270
L
151512012-08-09 H.J. Lu <hongjiu.lu@intel.com>
15152
15153 [BZ #14166]
15154 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15155 to __redirect_strstr.
15156 (__strstr_sse42): Use typeof __redirect_strstr.
15157 (__strstr_ia32): Likewise.
15158 (__libc_strstr): New prototype.
15159 (strstr): Renamed to ...
15160 (__libc_strstr): This.
15161 (strstr): New strong alias of __libc_strstr.
15162 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15163 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15164 __redirect_time.
15165 Include <time.h>.
15166 (__libc_time): New prototype.
15167 (time_ifunc): Replace time with __libc_time.
15168 (time): New strong alias and hidden definition of __libc_time.
15169 (__GI_time): Remove strong alias.
15170 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15171 Include <stddef.h>.
15172 (memmove): Redefined to __redirect_memmove.
15173 (__memmove_sse2): Use typeof __redirect_memmove.
15174 (__memmove_ssse3): Likewise.
15175 (__memmove_ssse3_back): Likewise.
15176 (__libc_memmove): New prototype.
15177 (memmove): Renamed to ...
15178 (__libc_memmove): This.
15179 (memmove): New strong alias of __libc_memmove.
15180
33b4a91e
MS
151812012-08-08 Mark Salter <msalter@redhat.com>
15182
15183 * elf/elf.h
15184 (R_MN10300_TLS_GD): Define.
15185 (R_MN10300_TLS_LD): Likewise.
15186 (R_MN10300_TLS_LDO): Likewise.
15187 (R_MN10300_TLS_GOTIE): Likewise.
15188 (R_MN10300_TLS_IE): Likewise.
15189 (R_MN10300_TLS_LE): Likewise.
15190 (R_MN10300_TLS_DTPMOD): Likewise.
15191 (R_MN10300_TLS_DTPOFF): Likewise.
15192 (R_MN10300_TLS_TPOFF): Likewise.
15193 (R_MN10300_SYM_DIFF): Likewise.
15194 (R_MN10300_ALIGN): Likewise.
15195 (R_MN10300_NUM): Update.
15196
b36137f1
JM
151972012-08-08 Joseph Myers <joseph@codesourcery.com>
15198
15199 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15200 Remove.
15201
cdd915fd
RM
152022012-08-08 Roland McGrath <roland@hack.frob.com>
15203
a2433aac
RM
15204 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15205
cdd915fd
RM
15206 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
15207 sysdeps/unix -> sysdeps/posix move.
15208 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15209
bf9b740a
AM
152102012-08-07 Allan McRae <allan@archlinux.org>
15211
15212 [BZ #14303]
15213 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15214 (SUNOS_CPP): Likewise.
15215 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15216 not found.
15217 (open_input): Call CPP using execvp.
15218
93df14ee
JM
152192012-08-07 Joseph Myers <joseph@codesourcery.com>
15220
15221 * sysdeps/unix/sysv/linux/kernel-features.h
15222 (__ASSUME_PROT_GROWSUPDOWN): Remove.
15223 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15224 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15225 (__ASSUME_WAITID_SYSCALL): Likewise.
15226 * sysdeps/unix/sysv/linux/dl-execstack.c
15227 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15228 code unconditional.
15229 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15230 conditional code.
15231 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15232 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15233 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15234 code.
15235 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15236 unconditional.
15237 [__ASSUME_WAITID_SYSCALL]: Likewise.
15238 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15239
d34689de
RM
152402012-08-07 Roland McGrath <roland@hack.frob.com>
15241
a281decc
RM
15242 * sysdeps/unix/closedir.c: Renamed to ...
15243 * sysdeps/posix/closedir.c: ... here.
15244 * sysdeps/unix/dirfd.c: Renamed to ...
15245 * sysdeps/posix/dirfd.c: ... here.
15246 * sysdeps/unix/dirstream.h: Renamed to ...
15247 * sysdeps/posix/dirstream.h: ... here.
15248 * sysdeps/unix/fdopendir.c: Renamed to ...
15249 * sysdeps/posix/fdopendir.c: ... here.
15250 * sysdeps/unix/opendir.c: Renamed to ...
15251 * sysdeps/posix/opendir.c: ... here.
15252 * sysdeps/unix/readdir.c: Renamed to ...
15253 * sysdeps/posix/readdir.c: ... here.
15254 * sysdeps/unix/readdir_r.c: Renamed to ...
15255 * sysdeps/posix/readdir_r.c: ... here.
15256 * sysdeps/unix/rewinddir.c: Renamed to ...
15257 * sysdeps/posix/rewinddir.c: ... here.
15258 * sysdeps/unix/seekdir.c: Renamed to ...
15259 * sysdeps/posix/seekdir.c: ... here.
15260 * sysdeps/unix/telldir.c: Renamed to ...
15261 * sysdeps/posix/telldir.c: ... here.
15262 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15263 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15264 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15265 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15266
22895b47
RM
15267 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15268 * bits/fcntl.h: ... here.
15269
707a53b6
RM
15270 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15271 not 0.
15272 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15273 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15274 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15275 (struct flock): Move l_start, l_len to the beginning.
15276 Use __pid_t for l_pid.
15277 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15278 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15279 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15280 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15281 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15282 [__USE_LARGEFILE64] (struct flock64): New type.
15283 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15284
f0bd3e25
RM
15285 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15286 * bits/dirent.h: ... here.
15287
d34689de
RM
15288 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15289 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15290
6dad2c06
JM
152912012-08-07 Joseph Myers <joseph@codesourcery.com>
15292
15293 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15294 Change from 2.6.0 to 2.6.16.
15295 * sysdeps/unix/sysv/linux/configure: Regenerated.
15296 * sysdeps/unix/sysv/linux/kernel-features.h
15297 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15298 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15299 version.
15300 (__ASSUME_UTIMES): Likewise.
15301 (__ASSUME_CLONE_STOPPED): Remove.
15302 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15303 architectures, not kernel version.
15304 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15305 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15306 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15307 (__ASSUME_WAITID_SYSCALL): Likewise.
15308 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15309 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15310 * README: State 2.6.16 as minimum Linux kernel version. Do not
15311 refer to older versions.
15312
03af9520
RM
153132012-08-06 Roland McGrath <roland@hack.frob.com>
15314
8e49df1d
RM
15315 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15316 Define alphasort64 as an alias.
15317 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15318 Define versionsort64 as an alias.
15319 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15320 Define scandir64 as an alias.
15321 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15322 Define scandirat64 as an alias.
15323 * dirent/alphasort64.c (alphasort64):
15324 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15325 * dirent/versionsort64.c: Likewise.
15326 * dirent/scandir64.c: Likewise.
15327 * dirent/scandirat64.c: Likewise.
15328 * sysdeps/wordsize-64/alphasort.c: File removed.
15329 * sysdeps/wordsize-64/alphasort64.c: File removed.
15330 * sysdeps/wordsize-64/scandir.c: File removed.
15331 * sysdeps/wordsize-64/scandir64.c: File removed.
15332 * sysdeps/wordsize-64/scandirat.c: File removed.
15333 * sysdeps/wordsize-64/scandirat64.c: File removed.
15334 * sysdeps/wordsize-64/versionsort.c: File removed.
15335 * sysdeps/wordsize-64/versionsort64.c: File removed.
15336 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15337 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15338 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15339 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15340 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15341 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15342 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15343 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15344
15345 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15346 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15347 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15348 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15349 [defined __arch64__ || defined __sparcv9]
15350 (__INO_T_MATCHES_INO64_T): New macro.
15351 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15352 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15353 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15354 * sysdeps/unix/sysv/linux/bits/dirent.h
15355 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15356 (_DIRENT_MATCHES_DIRENT64): New macro.
15357
03af9520
RM
15358 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15359 Define lockf64 as an alias.
15360 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15361 Define fseeko64 as an alias.
15362 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15363 Define ftello64 as an alias.
15364 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15365 Define _IO_fgetpos64 and fgetpos64 as aliases.
15366 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15367 Define _IO_fsetpos64 and fsetpos64 as aliases.
15368 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15369 Conditionalize body on this.
15370 * libio/fseeko64.c: Likewise.
15371 * libio/ftello64.c: Likewise.
15372 * libio/iofgetpos64.c: Likewise.
15373 * libio/iofsetpos64.c: Likewise.
15374 * sysdeps/wordsize-64/lockf.c: File removed.
15375 * sysdeps/wordsize-64/lockf64.c: File removed.
15376 * sysdeps/wordsize-64/fseeko.c: File removed.
15377 * sysdeps/wordsize-64/fseeko64.c: File removed.
15378 * sysdeps/wordsize-64/ftello.c: File removed.
15379 * sysdeps/wordsize-64/ftello64.c: File removed.
15380 * sysdeps/wordsize-64/iofgetpos.c: File removed.
15381 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15382 * sysdeps/wordsize-64/iofsetpos.c: File removed.
15383 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15384 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15385 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15386 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15387 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15388 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15389 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15390 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15391 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15392 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15393 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15394
15395 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15396 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15397 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15398 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15399 [defined __arch64__ || defined __sparcv9]
15400 (__OFF_T_MATCHES_OFF64_T): New macro.
15401 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15402 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15403 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15404 (__OFF_T_MATCHES_OFF64_T): New macro.
15405
c5757acd
L
154062012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15407
15408 * stdlib/secure-getenv.c (__secure_getenv): Replace
15409 GLIBC_2_16 with GLIBC_2_17.
15410
3a31811e
L
154112012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15412
15413 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15414 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15415
faa2bccb
DM
154162012-08-03 David S. Miller <davem@davemloft.net>
15417
15418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15419
85fe1997
JM
154202012-08-03 Joseph Myers <joseph@codesourcery.com>
15421
15422 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15423 Remove.
15424 (__ASSUME_CORRECT_SI_PID): Likewise.
15425 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15426 (__ASSUME_TMPFS_NAME): Likewise.
15427 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15428 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15429 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15430 (HAVE_AUX_SECURE): Make definition unconditional.
15431 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15432 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15433
4f75b7a0
RM
154342012-08-03 Roland McGrath <roland@hack.frob.com>
15435
15436 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15437 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15438 * sysdeps/mach/hurd/eloop-threshold.h: New file.
15439 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15440 __eloop_threshold instead of SYMLOOP_MAX.
15441
15442 * sysdeps/generic/eloop-threshold.h: New file.
15443 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15444 of MAXSYMLINKS.
15445 * elf/chroot_canon.c (chroot_canon): Likewise.
15446
7aab07e4
JM
154472012-08-03 Joseph Myers <joseph@codesourcery.com>
15448
15449 [BZ #13717]
15450 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15451 Change to 2.6.0 everywhere.
15452 * sysdeps/unix/sysv/linux/configure: Regenerated.
15453 * sysdeps/unix/sysv/linux/kernel-features.h
15454 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15455 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15456 kernel versions.
15457 (__ASSUME_POSIX_TIMERS): Define unconditionally.
15458 (__ASSUME_FUTEX_REQUEUE): Remove.
15459 (__ASSUME_STATFS64): Define unconditionally.
15460 (__ASSUME_AT_SECURE): Likewise.
15461 (__ASSUME_CORRECT_SI_PID): Likewise.
15462 (__ASSUME_TGKILL): Define without depending on kernel version for
15463 i386.
15464 (__ASSUME_UTIMES): Likewise.
15465 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15466 kernel version.
15467 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15468 (__ASSUME_TMPFS_NAME): Likewise.
15469 * README: Update reference to Linux kernel versions.
15470
b67e9372
MP
154712012-08-02 Marek Polacek <polacek@redhat.com>
15472
1f529f7d 15473 [BZ# 14150]
b67e9372
MP
15474 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
15475 libc_cv_asm_type_prefix with %.
15476 * configure: Regenerated.
d2441631
RM
15477 * include/libc-symbols.h: Remove comment about
15478 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
15479 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15480 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15481 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15482 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15483 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15484 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15485 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15486 * elf/tst-unique2mod1.c: Likewise.
15487 * elf/tst-unique1mod2.c: Likewise.
15488 * elf/tst-unique1mod1.c: Likewise.
15489 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15490 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15491 Replace ASM_TYPE_DIRECTIVE with .type.
15492 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15493 * sysdeps/i386/sysdep.h: Likewise.
15494 * sysdeps/x86_64/sysdep.h: Likewise.
15495 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
15496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15497 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 15498 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
15499 * sysdeps/powerpc/powerpc32/sysdep.h:
15500 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
15501 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15502 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15503 * sysdeps/i386/fpu/e_powf.S: Likewise.
15504 * sysdeps/i386/fpu/e_expl.S: Likewise.
15505 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15506 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15507 * sysdeps/i386/fpu/e_pow.S: Likewise.
15508 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15509 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15510 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15511 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15512 * sysdeps/i386/fpu/e_log2.S: Likewise.
15513 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15514 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15515 * sysdeps/i386/fpu/e_powl.S: Likewise.
15516 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15517 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15518 * sysdeps/i386/fpu/e_logl.S: Likewise.
15519 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15520 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15521 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15522 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15523 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15524 * sysdeps/i386/fpu/e_log.S: Likewise.
15525 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15526 * sysdeps/i386/fpu/e_logf.S: Likewise.
15527 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15528 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15529 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15530 * sysdeps/i386/fpu/e_log10.S: Likewise.
15531 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15532 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15533 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15534 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15535 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15536 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15537 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15538 * sysdeps/i386/i686/strtok.S: Likewise.
15539 * sysdeps/i386/i386-mcount.S: Likewise.
15540 * sysdeps/i386/strtok.S: Likewise.
15541 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15542 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15543 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15544 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15545 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15546 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15547 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15548 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15549 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15550 * sysdeps/x86_64/_mcount.S: Likewise.
15551 * sysdeps/x86_64/strtok.S: Likewise.
15552 * sysdeps/sh/_mcount.S: Likewise.
15553
2747bf9a
RM
155542012-08-01 Roland McGrath <roland@hack.frob.com>
15555
15556 * libio/iofopen.c: Include <fcntl.h>.
15557 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15558 (_IO_fopen64, fopen64): Define as aliases.
15559 * libio/iofopen64.c: Include <fcntl.h>.
15560 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15561 Conditionalize body on this.
15562 * sysdeps/wordsize-64/iofopen.c: File removed.
15563 * sysdeps/wordsize-64/iofopen64.c: File removed.
15564
3fb791b8
MP
155652012-08-01 Marek Polacek <polacek@redhat.com>
15566
15567 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15568 Use dlfcn directly instead of a variable.
15569 (binfmt-subdir): Do not define.
15570 (dlfcn): Likewise.
15571
a9f1039f
JM
155722012-08-01 Joseph Myers <joseph@codesourcery.com>
15573
23bddc06
JM
15574 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15575 Remove all definitions.
15576 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15577 <kernel-features.h>.
15578 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15579 (miss_F_GETOWN_EX): Remove all definitions.
15580 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15581 macro definition.
15582 [!__ASSUME_FCNTL64]: Remove conditional code.
15583 [__ASSUME_FCNTL64]: Make code unconditional.
15584 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15585 <kernel-features.h>.
15586 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15587 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15588 (lockf64) [__NR_fcntl64]: Make code unconditional.
15589 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15590
a9f1039f
JM
15591 * sysdeps/unix/sysv/linux/kernel-features.h
15592 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15593 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15594 Make code unconditional.
15595 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15596 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15598 [__NR_vfork]: Make code unconditional.
15599 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15600 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15602 [__NR_vfork]: Make code unconditional.
15603 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15604 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15605
09c0ee5f
RM
156062012-08-01 Roland McGrath <roland@hack.frob.com>
15607
48aec5b9
RM
15608 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15609 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15610
cd97c966
RM
15611 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15612 Define mkstemp64 as an alias.
3f55550c
RM
15613 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15614 Define mkstemps64 as an alias.
cd97c966
RM
15615 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15616 Define mkostemp64 as an alias.
b8625cfc
RM
15617 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15618 Define mkostemps64 as an alias.
cd97c966
RM
15619 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15620 Conditionalize body on this.
15621 * misc/mkostemp64.c: Likewise.
b8625cfc 15622 * misc/mkostemps64.c: Likewise.
3f55550c 15623 * misc/mkstemps64.c: Likewise.
cd97c966
RM
15624 * sysdeps/wordsize-64/mkstemp64.c: File removed.
15625 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15626 * sysdeps/wordsize-64/mkostemp.c: File removed.
15627 * sysdeps/wordsize-64/mkstemp.c: File removed.
15628 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15629 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15630 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15631 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15632
09c0ee5f
RM
15633 [BZ #14138]
15634 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15635 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15636 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15637 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15638
15639 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15640 compat_symbol macros from <shlib-compat.h> rather than the underlying
15641 default_symbol_version and symbol_version macros, so that DEFAULT
15642 lines in shlib-versions are respected.
15643 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15644
7e66ee51
FW
156452012-08-01 Florian Weimer <fweimer@redhat.com>
15646
15647 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15648 Declare with warn_unused_result.
15649 (setgid, setregid, setegid, setresgid): Likewise.
15650 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15651 Likewise.
15652 * WUR-REPORT: Remove set*id functions.
15653
d2a54255
PT
156542012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15655
15656 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15657
7ecdb005
RM
156582012-07-31 Roland McGrath <roland@hack.frob.com>
15659
b4180a5e 15660 [BZ #10191]
789bd351
RM
15661 * include/sys/socket.h (__libc_accept, __libc_accept4):
15662 Add attribute_hidden.
15663 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15664
40ce302d
RM
15665 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15666 use of PTR_MANGLE.
15667 * inet/getnetgrent_r.c (setup): Likewise.
15668
7ecdb005
RM
15669 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15670
e2eabb2c
DM
156712012-07-31 David S. Miller <davem@davemloft.net>
15672
15673 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15674
d0419dbf
JM
156752012-07-31 Joseph Myers <joseph@codesourcery.com>
15676
15677 [BZ #13629]
15678 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15679 value between 1.0 and 2.0 and smaller part has absolute value less
15680 than 1.0.
15681 * math/s_clog10.c (__clog10): Likewise.
15682 * math/s_clog10f.c (__clog10f): Likewise.
15683 * math/s_clog10l.c (__clog10l): Likewise.
15684 * math/s_clogf.c (__clogf): Likewise.
15685 * math/s_clogl.c (__clogl): Likewise.
15686 * math/libm-test.inc (clog_test): Add more tests.
15687 (clog10_test): Likewise.
15688 * sysdeps/i386/fpu/libm-test-ulps: Update.
15689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15690
2bc13872
FW
156912012-07-31 Florian Weimer <fweimer@redhat.com>
15692
15693 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15694 Exit with zero in case no suitable GID is found, and write a
15695 message to standard error.
15696
bea9b193
RM
156972012-07-30 Roland McGrath <roland@hack.frob.com>
15698
15699 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15700 rather than to 1.
15701 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15702 (MAXPATHLEN): Removed.
15703 (NOGROUP, NODEV): New macros.
15704 (setbit, clrbit, isset, isclr): New macros.
15705 (howmany, roundup, powerof2): New macros.
15706 (DEV_BSIZE): New macro.
15707
15708 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15709 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15710
15711 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15712 definition on [!__NO_LONG_DOUBLE_MATH].
15713
15714 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15715 PTR_MANGLE and PTR_DEMANGLE.
15716
15717 * socket/accept4.c (accept4): Rename to __libc_accept4.
15718 Define accept4 as a weak alias.
15719
15720 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15721 on [_DIRENT_HAVE_D_TYPE].
15722 * io/ftw.c (ftw_dir): Likewise.
15723
15724 * io/xmknod.c (__xmknod): Don't check PATH for being null.
15725
15726 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15727
15728 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15729 Use the BSD numbers rather than the arbitrary ones we had.
15730 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15731 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15732 (SIGXCPU, SIGXFSZ): New macros.
15733 (_NSIG): Now 32.
15734
15735 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15736 initializer on [_LIBC_REENTRANT].
15737
15738 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15739 definitions inside [_POSIX_MAPPED_FILES].
15740
15741 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15742
15743 * dirent/opendir.c: Include <fcntl.h>.
15744
15745 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15746 (__libc_getspecific): Likewise.
15747 (__libc_key_create): Likewise.
15748
15749 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15750 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15751 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15752 (tmpfile64): Define as alias.
15753 * sysdeps/wordsize-64/tmpfile.c: File removed.
15754 * sysdeps/wordsize-64/tmpfile64.c: File removed.
15755 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15756 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15757
15758 * stdio-common/vfscanf.c: Include <stdbool.h>.
15759 * nss/makedb.c: Likewise.
15760 * stdio-common/_i18n_number.h: Likewise.
15761 * argp/argp-help.c: Likewise.
15762 * posix/wordexp.c: Likewise.
15763 * sysdeps/posix/spawni.c: Likewise.
15764 * nss/nss_files/files-initgroups.c: Likewise.
15765 * stdio-common/reg-modifier.c: Include <stdlib.h>.
15766 * nss/nss_files/files-initgroups.c: Likewise.
15767 * nss/nss_db/db-netgrp.c: Likewise.
15768 * nss/nss_db/db-initgroups.c: Likewise.
15769 * io/fchmodat.c: Include <sys/stat.h>.
15770
15771 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15772 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15773
15774 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15775 [HAVE_MMAP].
15776
15777 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15778 Add multiple inclusion protection.
15779
e5abc686
DM
157802012-07-27 David S. Miller <davem@davemloft.net>
15781
15782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15783
815e6fa3
GB
157842012-07-27 Gary Benson <gbenson@redhat.com>
15785
15786 [BZ #14298]
15787 * elf/rtld.c: Include <stap-probe.h>.
15788 (dl_main): Added static probes "init_start" and "init_complete".
15789 * elf/dl-load.c: Include <stap-probe.h>.
15790 (lose): Take new parameter "nsid".
15791 Added static probe "map_failed".
15792 (_dl_map_object_from_fd): Pass namespace id to lose.
15793 Added static probe "map_start".
15794 (open_verify): Pass namespace id to lose.
15795 * elf/dl-open.c: Include <stap-probe.h>.
15796 (dl_open_worker) Added static probes "map_complete", "reloc_start"
15797 and "reloc_complete".
15798 * elf/dl-close.c: Include <stap-probe.h>.
15799 (_dl_close_worker): Added static probes "unmap_start" and
15800 "unmap_complete".
15801 * elf/rtld-debugger-interface.txt: New file documenting the above.
15802
9f98c16c
RM
158032012-07-26 Roland McGrath <roland@hack.frob.com>
15804
15805 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15806 rather than a string variable.
15807 * sunrpc/rpc_main.c (h_output): Likewise.
15808 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15809
f3c22df3
PT
158102012-07-26 Pino Toscano <toscano.pino@tiscali.it>
15811
15812 * inet/check_native.c: New file.
15813
3129cfc6
JM
158142012-07-26 Joseph Myers <joseph@codesourcery.com>
15815
da865e95
JM
15816 [BZ #13629]
15817 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15818 if larger part has absolute value 1.0.
15819 * math/s_clog10.c (__clog10): Likewise.
15820 * math/s_clog10f.c (__clog10f): Likewise.
15821 * math/s_clog10l.c (__clog10l): Likewise.
15822 * math/s_clogf.c (__clogf): Likewise.
15823 * math/s_clogl.c (__clogl): Likewise.
15824 * math/libm-test.inc (clog_test): Add more tests.
15825 (clog10_test): Likewise.
15826 * sysdeps/i386/fpu/libm-test-ulps: Update.
15827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15828
3129cfc6
JM
15829 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15830 (pltexit): Likewise.
15831 (La_regs): Likewise.
15832 (La_retval): Likewise.
15833 (int_retval): Likewise.
15834 Update #error for removed macros to refer only to definitions in
15835 tst-audit.h.
15836 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15837 macro.
15838 (pltexit): Likewise.
15839 (La_regs): Likewise.
15840 (La_retval): Likewise.
15841 (int_retval): Likewise.
15842 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
15843 macro.
15844 (pltexit): Likewise.
15845 (La_regs): Likewise.
15846 (La_retval): Likewise.
15847 (int_retval): Likewise.
15848 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
15849 macro.
15850 (pltexit): Likewise.
15851 (La_regs): Likewise.
15852 (La_retval): Likewise.
15853 (int_retval): Likewise.
15854 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
15855 macro.
15856 (pltexit): Likewise.
15857 (La_regs): Likewise.
15858 (La_retval): Likewise.
15859 (int_retval): Likewise.
15860 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
15861 macro.
15862 (pltexit): Likewise.
15863 (La_regs): Likewise.
15864 (La_retval): Likewise.
15865 (int_retval): Likewise.
15866 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
15867 macro.
15868 (pltexit): Likewise.
15869 (La_regs): Likewise.
15870 (La_retval): Likewise.
15871 (int_retval): Likewise.
15872 * sysdeps/generic/tst-audit.h: Update comment to refer only to
15873 macro definitions in tst-audit.h.
15874 * sysdeps/i386/tst-audit.h: New file.
15875 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15876 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15877 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15878 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15879 * sysdeps/sh/tst-audit.h: Likewise.
15880 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15881 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15882 * sysdeps/x86_64/tst-audit.h: Likewise.
15883
bfc07087
AJ
158842012-07-26 Andreas Jaeger <aj@suse.de>
15885
b1b2aaf8
AJ
15886 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15887 ptrace.
15888
15889 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15890 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15891 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15892 PTRACE_O_MASK.
15893 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15894 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15895 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15896
bfc07087
AJ
15897 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15898 value.
15899
15900 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15901 _sigsys.
15902 (si_call_addr, si_syscall, si_arch): Define new macro.
15903 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15904 _sigsys.
15905 (si_call_addr, si_syscall, si_arch): Define new marcro.
15906 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15907 _sigsys.
15908 (si_call_addr, si_syscall, si_arch): Define new macro.
15909 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15910 _sigsys.
15911 (si_call_addr, si_syscall, si_arch): Define new macro.
15912
89b4b02f
JM
159132012-07-25 Joseph Myers <joseph@codesourcery.com>
15914
15915 [BZ #13717]
15916 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15917 Change to 2.4.21 where previously 2.4.1.
15918 * sysdeps/unix/sysv/linux/configure: Regenerated.
15919 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15920 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15921 Linux kernel version.
15922 (__ASSUME_STD_AUXV): Remove.
15923 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15924 kernel version.
15925 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15926 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15927 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15928 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15929 (__ASSUME_NETLINK_SUPPORT): Likewise.
15930 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15931 (__no_netlink_support): Remove conditional definition.
15932 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15933 Remove.
15934 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15935 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15936 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15937 (if_nameindex_ioctl): Remove.
15938 (if_nameindex_netlink): Do not handle __no_netlink_support.
15939 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15940 code.
15941 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15942 Remove conditional code.
15943 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15944 code.
15945 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15946 unconditional.
15947 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15948 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15949 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15950 Remove.
15951 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15952 [!__ASSUME_STD_AUXV]: Remove conditional code.
15953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15954 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15955 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15957 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15958 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15959 code.
15960 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15962 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15963 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15964 conditional code.
15965 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15967 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15968 code.
15969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15970 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15971 conditional code.
15972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15973 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15974 code unconditional.
15975 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15976 conditional code.
15977 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15978 unconditional.
15979 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15980 conditional code.
15981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15982 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15983 unconditional.
15984 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15985 conditional code.
15986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15987 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15988 code unconditional.
15989 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15990 conditional code.
15991 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15992 unconditional.
15993 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15994 conditional code.
15995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15996 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15997 code unconditional.
15998 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15999 conditional code.
16000 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16001 unconditional.
16002 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16003 conditional code.
16004
842a39cd
AS
160052012-07-25 Andreas Schwab <schwab@linux-m68k.org>
16006
16007 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16008 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16009 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16010 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16011 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16012 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16013 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16014 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16015 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16016 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16017 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16018 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16019 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16020 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16021 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16022 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16023 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16024 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16025 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16026 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16027 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16028 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16029 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16030
84b3fd84
FW
160312012-07-25 Florian Weimer <fweimer@redhat.com>
16032
16033 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
16034 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16035 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16036 Introduce __libc_secure_getenv.
0c7936d5
FW
16037 * stdlib/Versions (2.17): Add secure_getenv
16038 (GLIBC_PRIVATE): Add __libc_secure_getenv.
16039 * stdlib/secure-getenv.c: Rename __secure_getenv to
16040 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
16041 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
16042 * stdlib/tst-secure-getenv.c: New.
16043 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
16044 * manual/startup.texi (Environment Access): Document
16045 secure_getenv.
84b3fd84
FW
16046 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16047 __libc_secure_getenv.
16048 * inet/ruserpass.c (ruserpass): Likewise.
16049 * malloc/mtrace.c (mtrace): Likewise.
16050 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 16051 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
16052 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16053 * sysdeps/posix/tempname.c: Likewise. Evaluate
16054 HAVE_SECURE_GETENV.
16055 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 16056 __secure_getenv to __libc_secure_getenv.
84b3fd84 16057 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
16058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16059 Likewise.
16060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16061 Likewise.
16062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16064 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16065 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16066 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16067 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16068 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 16069
56e49b71
JM
160702012-07-25 Joseph Myers <joseph@codesourcery.com>
16071
16072 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16073 (struct La_i86_retval): Likewise.
16074 (struct La_x86_64_regs): Likewise.
16075 (struct La_x86_64_retval): Likewise.
16076 (struct La_x32_regs): Likewise.
16077 (struct La_x32_retval): Likewise.
16078 (struct La_ppc32_regs): Likewise.
16079 (struct La_ppc32_retval): Likewise.
16080 (struct La_ppc64_regs): Likewise.
16081 (struct La_ppc64_retval): Likewise.
16082 (struct La_sh_regs): Likewise.
16083 (struct La_sh_retval): Likewise.
16084 (struct La_s390_32_regs): Likewise.
16085 (struct La_s390_32_retval): Likewise.
16086 (struct La_s390_64_regs): Likewise.
16087 (struct La_s390_64_retval): Likewise.
16088 (struct La_sparc32_regs): Likewise.
16089 (struct La_sparc32_retval): Likewise.
16090 (struct La_sparc64_regs): Likewise.
16091 (struct La_sparc64_retval): Likewise.
16092 (struct audit_ifaces): Remove architecture-specific pltenter and
16093 pltexit members.
16094 * sysdeps/i386/ldsodefs.h: New file.
16095 * sysdeps/powerpc/ldsodefs.h: Likewise.
16096 * sysdeps/s390/ldsodefs.h: Likewise.
16097 * sysdeps/sh/ldsodefs.h: Likewise.
16098 * sysdeps/sparc/ldsodefs.h: Likewise.
16099 * sysdeps/x86_64/ldsodefs.h: Likewise.
16100
354691b7
MP
161012012-07-25 Marek Polacek <polacek@redhat.com>
16102
16103 [BZ #6808]
16104 * math/libm-test.inc (yn_test): Add another test.
16105 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16106 to ERANGE when the result is +-Inf.
16107 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16108 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16109 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16110 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
16111
bf9e2071
JM
161122012-07-24 Joseph Myers <joseph@codesourcery.com>
16113
16114 * conform/data/time.h-data (NULL): Use macro-constant. Require
16115 equal to 0.
16116 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
16117 clock_t.
16118 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
16119
57633811
TS
161202012-07-23 Thomas Schwinge <thomas@codesourcery.com>
16121
16122 * configure.in <sysdeps resolving>: Correct printing
16123 Implies_before.
16124 * configure: Regenerate.
16125
c23c33b0
TS
161262012-07-22 Thomas Schwinge <thomas@codesourcery.com>
16127
16128 * math/w_ilogb.c: Include <limits.h>.
16129 * math/w_ilogbl.c: Likewise.
16130
b5982523
JM
161312012-07-20 Joseph Myers <joseph@codesourcery.com>
16132
16133 * manual/lang.texi (__va_copy): Document primarily as ISO C99
16134 va_copy. Document allowing for unavailable va_copy only as
16135 pre-C99 compatibility.
16136 * manual/string.texi (Copying and Concatenation): Use va_copy
16137 instead of __va_copy in concat example.
16138
ac4ea442
PT
161392012-07-20 Pino Toscano <toscano.pino@tiscali.it>
16140
16141 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16142 (__sendto): Use create_address_port. Initialize APORT and deallocate
16143 it if not null.
16144
f98eafbd
PT
16145 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16146 with O_NOLINK passed to __file_name_lookup.
16147
898c7aab
PT
16148 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16149 with O_NOLINK passed to __file_name_lookup.
16150
0ced335a
PT
16151 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16152 negative N or less than NGIDS.
16153
b3404dbd
PT
16154 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16155 type to string_t. Set ERANGE as errno and return it if NAME is not big
16156 enough. Use memcpy instead of strncpy.
16157
0f48659e
JM
161582012-07-20 Joseph Myers <joseph@codesourcery.com>
16159
16160 * elf/Makefile (check-data): Remove.
16161 (localplt.data): New vpath directive.
16162 ($(objpfx)check-localplt.out): Use localplt.data from vpath
16163 instead of $(check-data).
16164 * scripts/data/localplt-generic.data: Move to ...
16165 * sysdeps/generic/localplt.data: ... here.
16166 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16167 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16168 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16170 ... here.
16171 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16173 ... here.
16174 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16175 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16176 ... here.
16177 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16179 ... here.
16180 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16181 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16182 ... here.
16183 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16184 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16185 ... here.
16186
d37cbdaa
AZ
161872012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16188
16189 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16190 PPC32 and PPC64 files.
16191 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16192 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16193
46f85fc2
AK
161942012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16195
16196 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16197 __makecontext_ret to ...
16198 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16199 ... here and call exit if uc_link is NULL. New file.
16200 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16201 __makecontext_ret.S.
16202 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16203 __makecontext_ret to ...
16204 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16205 ... here and call exit if uc_link is NULL. New file.
16206 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16207 __makecontext_ret.S.
16208
08f43f9b
AK
162092012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16210
16211 * elf/elf.h (R_390_IRELATIVE): New definition.
16212 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16213 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
16214 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16215 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16216 (elf_machine_lazy_rel): Likewise.
16217 * sysdeps/s390/dl-irel.h: New file.
16218 * sysdeps/s390/s390-64/memcpy.S: New asm code.
16219 * sysdeps/s390/s390-64/memset.S: New asm code.
16220 * sysdeps/s390/s390-64/memcmp.S: New asm code.
16221 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16222 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16223 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16224 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16225 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16226 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16227 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16228 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16229 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16230 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16231 * sysdeps/s390/s390-32/memcpy.S: New asm code.
16232 * sysdeps/s390/s390-32/memset.S: New asm code.
16233 * sysdeps/s390/s390-32/memcmp.S: New asm code.
16234
3b05db33
MP
162352012-07-17 Marek Polacek <polacek@redhat.com>
16236
16237 [BZ #14349]
16238 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16239 * sysdeps/s390/s390-64/configure.in: Likewise.
16240 * sysdeps/sparc/configure.in: Likewise.
16241 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16242 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16243 * sysdeps/i386/configure.in: Likewise.
16244 * sysdeps/x86_64/configure.in: Likewise.
16245 * sysdeps/sh/configure.in: Likewise.
16246 * sysdeps/s390/s390-32/configure: Regenerated.
16247 * sysdeps/s390/s390-64/configure: Likewise.
16248 * sysdeps/x86_64/configure: Likewise.
16249 * sysdeps/sh/configure: Likewise.
16250 * sysdeps/powerpc/powerpc64/configure: Likewise.
16251 * sysdeps/powerpc/powerpc32/configure: Likewise.
16252 * sysdeps/sparc/configure: Likwise.
16253 * sysdeps/i386/configure: Likewise.
16254
a66877c6
MP
16255 * elf/dl-open.c: Comment fixes.
16256
cfc82fd8
JM
162572012-07-17 Joseph Myers <joseph@codesourcery.com>
16258
bd29910a
JM
16259 * Makefile [CXX] (check-data): Remove.
16260 [CXX] (c++-types.data): New vpath directive.
16261 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16262 vpath. Do not allow for C++ type data being missing.
16263 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16264 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16265 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16266 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16267 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16268 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16269 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16271 ... here.
16272 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16274 ... here.
16275 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16276 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16277 ... here.
16278 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16279 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16280 ... here.
16281 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16282 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16283 ... here.
16284 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16285 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16286 ... here.
16287 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16289 ... here.
16290 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16291 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16292
cfc82fd8
JM
16293 * elf/tls-macros.h (TLS_LE): Move architecture-specific
16294 definitions to architecture-specific files.
16295 (TLS_IE): Likewise.
16296 (TLS_LD): Likewise.
16297 (TLS_GD): Likewise.
16298 * sysdeps/i386/tls-macros.h: New file.
16299 * sysdeps/powerpc/tls-macros.h: Likewise.
16300 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16301 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16302 * sysdeps/sh/tls-macros.h: Likewise.
16303 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16304 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16305 * sysdeps/x86_64/tls-macros.h: Likewise.
16306
f7db3170
TS
163072012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16308
07cbfc23
TS
16309 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16310 zero value for regular exit case.
16311
f7db3170
TS
16312 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16313 (__start_context): Preserve zero value for regular exit case.
16314
dc97c227
TS
163152012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16316 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16317
16318 * manual/setjmp.texi (setcontext): Clarify normal process
16319 termination when uc_link is the null pointer.
16320 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16321 exit call.
16322
d0cd7d02
AS
163232012-07-16 Andreas Schwab <schwab@linux-m68k.org>
16324
16325 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16326 preprocessor. Test for each exception mask separately.
16327
dd318934
AJ
163282012-07-16 Andreas Jaeger <aj@suse.de>
16329
16330 * po/ru.po: Update from translation team.
16331
8048311a
JM
163322012-07-15 Joseph Myers <joseph@codesourcery.com>
16333
16334 * conform/data/string.h-data (NULL): Use macro-constant. Require
16335 equal to 0.
16336 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16337 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16338 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16339 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16340 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16341
b637d46e
AJ
163422012-07-13 Andreas Jaeger <aj@suse.de>
16343
16344 * po/fr.po: Update from translation team.
16345
541428fe
MP
163462012-07-12 Marek Polacek <polacek@redhat.com>
16347
16348 [BZ #14173]
16349 * math/libm-test.inc (yn_test): Add test for BZ #14173.
16350 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16351 loop condition.
16352
ec332e94
JM
163532012-07-12 Joseph Myers <joseph@codesourcery.com>
16354
16355 [BZ #13717]
16356 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16357 Change to 2.4.1 where previously 2.4.0.
16358 * sysdeps/unix/sysv/linux/configure: Regenerated.
16359 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16360 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16361 version.
16362 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16363 (__ASSUME_AT_CLKTCK): Remove.
16364 (__ASSUME_AT_PAGESIZE): Likewise.
16365 (__ASSUME_AT_XID): Likewise.
16366 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16367 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16368 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16369 unconditionally.
16370 (HAVE_AUX_PAGESIZE): Likewise.
16371 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16372 [__ASSUME_AT_CLKTCK]: Make code unconditional.
16373 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16374
7b6e99be
JB
163752012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16376
16377 [BZ #14307]
16378 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16379 the temporary buffer used to invoke __gethostbyname2_r,
16380 __gethostbyaddr_r and gethostbyname4_r to make room for struct
16381 host_data / struct gaih_addrtuple.
16382 * resolv/nss_dns/dns-host.c (global scope): Move definition of
16383 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16384 header file nss/nsswitch.h.
16385 * nss/nsswitch.h (global scope): Add definition of implementation
16386 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16387 resolv/nss_dns/dns-host.c).
16388
608404eb
AJ
163892012-07-11 Andreas Jaeger <aj@suse.de>
16390
16391 * po/fr.po: Update from translation team.
16392
71220aca
AJ
16393 * po/sv.po: Update from translation team
16394 * po/fr.po: Another update from translation team.
16395
28cfe843
AZ
163962012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16397
16398 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16399 for subnormals or multiply small sinh result by itself.
16400 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16402
6b90f981
DM
164032012-07-11 David S. Miller <davem@davemloft.net>
16404
16405 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16406
c6825772
AS
164072012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16408
16409 [BZ #14347]
16410 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16411 (INTERNAL_MARK): Shift it here.
16412
7b8e0d49
MP
164132012-07-10 Marek Polacek <polacek@redhat.com>
16414
16415 [BZ #14151]
16416 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
16417 libc_cv_asm_global_directive with .globl.
16418 * configure: Regenerated.
16419 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16420 with .globl.
16421 * sysdeps/i386/configure: Regenerated.
16422 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16423 with .globl.
16424 * sysdeps/x86_64/configure: Regenerated.
16425 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16426 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16427 * elf/tst-unique2mod2.c: Likewise.
16428 * elf/tst-unique2mod1.c: Likewise.
16429 * elf/tst-unique1mod2.c: Likewise.
16430 * elf/tst-unique1mod1.c: Likewise.
16431 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16432 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16433 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16434 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16435 * sysdeps/mach/sysdep.h: Likewise.
16436 * sysdeps/i386/sysdep.h: Likewise.
16437 * sysdeps/i386/i386-mcount.S: Likewise.
16438 * sysdeps/x86_64/_mcount.S: Likewise.
16439 * sysdeps/x86_64/sysdep.h: Likewise.
16440 * sysdeps/sh/_mcount.S: Likewise.
16441 * sysdeps/sh/sysdep.h: Likewise.
16442 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16443 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16444 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16445 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16446 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16447 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16448 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16449 * locale/localeinfo.h: Likewise.
16450 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16451 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16452
6c55cda3
RM
164532012-07-09 Roland McGrath <roland@hack.frob.com>
16454
16455 [BZ #14336]
16456 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16457 system".
16458 * manual/message.texi (The Uniforum approach): Likewise.
16459 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16460 (glibc iconv Implementation): Likewise.
16461
638a572e
JM
164622012-07-09 Joseph Myers <joseph@codesourcery.com>
16463
16464 [BZ #14337]
16465 * math/s_clog.c (__clog): Avoid scaling a value down where that
16466 could result in underflow.
16467 * math/s_clog10.c (__clog10): Likewise.
16468 * math/s_clog10f.c (__clog10f): Likewise.
16469 * math/s_clog10l.c (__clog10l): Likewise.
16470 * math/s_clogf.c (__clogf): Likewise.
16471 * math/s_clogl.c (__clogl): Likewise.
16472 * math/libm-test.inc (clog_test): Add more tests.
16473 (clog10_test): Likewise.
16474 * sysdeps/i386/fpu/libm-test-ulps: Update.
16475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16476
261f4859
AS
164772012-07-06 Andreas Schwab <schwab@linux-m68k.org>
16478
0abaf3e4
AS
16479 [BZ #14283]
16480 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16481 by 7 not 8 to examine high bit of fractional part.
16482
261f4859
AS
16483 [BZ #14042]
16484 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16485 for call to __mcount_internal.
16486 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16487 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16488 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16489
f17ac40d
JM
164902012-07-06 Joseph Myers <joseph@codesourcery.com>
16491
9ad63c23
JM
16492 [BZ #14154]
16493 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16494 approximation for values within 0x1p-13f of an odd multiple of
16495 pi/4.
16496 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16497 exception. Add more tests.
16498 * sysdeps/i386/fpu/libm-test-ulps: Update.
16499
f17ac40d
JM
16500 [BZ #6778]
16501 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16502 inputs and return -1 for them. Do not check for +Inf in case not
16503 reachable for +Inf.
16504 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16505 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16506 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16507 and return -1 for them. Do not check for +Inf in case not
16508 reachable for +Inf.
16509 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16510 define.
16511 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16512 and return -1 for them. Do not check for +Inf in case not
16513 reachable for +Inf.
16514 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16515 spurious underflow.
16516 * sysdeps/i386/fpu/libm-test-ulps: Update.
16517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16518
fb21f89b
MF
165192012-07-06 Mike Frysinger <vapier@gentoo.org>
16520
16521 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16522
cdfe2c5e
JM
165232012-07-05 Joseph Myers <joseph@codesourcery.com>
16524
16525 [BZ #14157]
16526 [BZ #14331]
16527 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16528 could result in spurious underflow. Scale down values above
16529 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16530 * math/s_csqrtf.c (__csqrtf): Likewise.
16531 * math/s_csqrtl.c (__csqrtl): Likewise.
16532 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16533 spurious underflow.
16534 * sysdeps/i386/fpu/libm-test-ulps: Update.
16535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16536
70d35b67
AS
165372012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16538
704bc459
AS
16539 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16540 xopen-msg.sed.
16541 * catgets/xopen-msg.awk: New file.
16542 * catgets/xopen-msg.sed: Removed.
16543
70d35b67
AS
16544 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16545 po2text.sed.
16546 * intl/po2test.awk: New file.
16547 * intl/po2test.sed: Removed.
16548
ca61cf32
JM
165492012-07-04 Joseph Myers <joseph@codesourcery.com>
16550
16551 [BZ #14328]
16552 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16553 or multiply small sinh result by itself.
16554 * math/s_ctanf.c (__ctanf): Likewise.
16555 * math/s_ctanh.c (__ctanh): Likewise.
16556 * math/s_ctanhf.c (__ctanhf): Likewise.
16557 * math/s_ctanhl.c (__ctanhl): Likewise.
16558 * math/s_ctanl.c (__ctanl): Likewise.
16559 * math/libm-test.inc (ctan_test_tonearest): New function.
16560 (ctan_test_towardzero): Likewise.
16561 (ctan_test_downward): Likewise.
16562 (ctan_test_upward): Likewise.
16563 (ctanh_test_tonearest): Likewise.
16564 (ctanh_test_towardzero): Likewise.
16565 (ctanh_test_downward): Likewise.
16566 (ctanh_test_upward): Likewise.
16567 (main): Call these new functions.
16568 * sysdeps/i386/fpu/libm-test-ulps: Update.
16569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16570
ca48a46a
MF
165712012-07-03 Mike Frysinger <vapier@gentoo.org>
16572
16573 * .gitignore: Delete /ports entry.
16574
9d63d37d
AJ
165752012-07-03 Andreas Jaeger <aj@suse.de>
16576
16577 * po/bg.po: Update from translation team.
16578 * po/cs.po: Likewise.
16579 * po/de.po: Likewise.
16580 * po/hr.po: Likewise.
16581 * po/nl.pl: Likewise.
16582 * po/pl.po: Likewise.
16583 * po/vi.po: Likewise.
16584
370ca3d2
JM
165852012-07-03 Joseph Myers <joseph@codesourcery.com>
16586
95f5a9a8
JM
16587 * Makeconfig [!+link] (+link-before-libc): New variable.
16588 [!+link] (+link-after-libc): Likewise.
16589 [!+link] (+link-tests): Likewise.
16590 [!+link] (+link): Define in terms of $(+link-before-libc) and
16591 $(+link-after-libc).
16592 [!+link-static] (+link-static-before-libc): New variable.
16593 [!+link-static] (+link-static-after-libc): Likewise.
16594 [!+link-static] (+link-static-tests): Likewise.
16595 [!+link-static] (+link-static): Define in terms of
16596 $(+link-static-before-libc) and $(+link-static-after-libc).
16597 [build-shared] (link-libc-before-gnulib): New variable.
16598 [build-shared] (link-libc-tests): Likewise.
16599 [build-shared] (link-libc): Define in terms of
16600 $(link-libc-before-gnulib).
16601 [!build-shared] (link-libc-tests): New variable.
16602 (link-libc-static-tests): New variable.
16603 [!gnulib] (gnulib-arch): New variable.
16604 [!gnulib] (gnulib-tests): Likewise.
16605 [!gnulib] (static-gnulib-arch): Likewise.
16606 [!gnulib] (static-gnulib-tests): Likewise.
16607 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16608 Define with "=" instead of ":=".
16609 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
16610 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
16611 * Rules (binaries-all-notests): New variable.
16612 (binaries-all-tests): Likewise.
16613 (binaries-static-notests): Likewise.
16614 (binaries-static-tests): Likewise.
16615 (binaries-all): Define using $(binaries-all-notests) and
16616 $(binaries-all-tests).
16617 (binaries-static): Define using $(binaries-static-notests) and
16618 $(binaries-static-tests).
16619 (binaries-shared-tests): New variable.
16620 (binaries-shared-notests): Likewise.
16621 (binaries-shared): Remove variable.
16622 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16623 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16624 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16625 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16626 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16627 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16628 * elf/Makefile (sln-modules): New variable.
16629 (extra-objs): Add $(sln-modules:=.o).
16630 (ldconfig-modules): Add static-stubs.
16631 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16632 * elf/static-stubs.c: New file.
16633
7a845b2c
JM
16634 [BZ #14283]
16635 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16636 by 7 not 8 to examine high bit of fractional part. Use volatile
16637 variables when splitting into final array of floats if
16638 __FLT_EVAL_METHOD__ != 0.
16639 * math/libm-test.inc (cos_test): Add another test.
16640 (sin_test): Likewise.
16641 * sysdeps/i386/fpu/libm-test-ulps: Update.
16642
e2283f38
JM
16643 [BZ #14273]
16644 * math/libm-test.inc (cosh_test): Add more tests.
16645
370ca3d2
JM
16646 * version.h (RELEASE): Set to "development".
16647 (VERSION): Set to "2.16.90".
16648
ee9247c3
CD
166492012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16650
16651 * NEWS: Update copyright. Remove last-updated date.
16652 Mention math library bug fixes and timezone data changes.
16653 * README: Mention GNU/Hurd, x32, and HPPA support status.
16654
4648c381
TS
166552012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16656
16657 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16658
aac78a43
AJ
166592012-06-27 Andreas Jaeger <aj@suse.de>
16660
16661 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16662
ed3dbfad
AJ
166632012-06-25 Andreas Jaeger <aj@suse.de>
16664
16665 * sysdeps/s390/fpu/libm-test-ulps: Update.
16666
4d0ee855
AS
166672012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16668 Thomas Schwinge <thomas@codesourcery.com>
16669
16670 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16671 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16672 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16673 fanotify_mark.
16674
af1bce34
TS
166752012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16676
a9fa33ba
TS
16677 * sysdeps/mach/start.c: Remove file.
16678 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16679 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16680 * sysdeps/sh/init-first.c: Likewise.
16681
58f902b8
TS
16682 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16683 registers for frame unwinding purposes, add CFI directives.
16684 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16685 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16686 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16687 Likewise.
16688
1518f58b
TS
16689 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16690 __fortify_fail returning.
16691 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16692
db9b5059
TS
16693 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16694 sysdeps/sh/____longjmp_chk.S.
16695 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16696 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16697 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16698 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16699
967705fe
TS
16700 * sysdeps/sh/abort-instr.h: New file.
16701 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16702 process in case exit returns.
16703
a9def8c4
TS
16704 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16705 initialize the GOT register before use.
16706
2a649725
TS
16707 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16708 calculation of ARGC > 4.
16709
af1bce34
TS
16710 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16711 meaningful names to some local labels.
16712
d230f50a
KK
167132012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16714 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16715
16716 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16717 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16718 (__arch_compare_and_exchange_val_16_acq): Likewise.
16719 (__arch_compare_and_exchange_val_32_acq): Likewise.
16720 (atomic_exchange_and_add): Fix gUSA sequence.
16721 (atomic_add): Likewise.
16722 (atomic_add_negative): Likewise.
16723 (atomic_add_zero): Likewise.
16724 (atomic_bit_test_set): Likewise.
16725
0479b305
AS
167262012-06-22 Andreas Schwab <schwab@redhat.com>
16727
16728 [BZ #13579]
16729 * include/link.h (struct link_map): Add l_free_initfini.
16730 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16731 l_initfini.
16732 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16733 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16734 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16735 set.
16736
0e3933b9
CD
167372012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
16738
16739 * configure.in: Use AC_LANG_SOURCE.
16740 * configure: Regenerate.
16741
4248b1b1
RM
167422012-06-22 Roland McGrath <roland@hack.frob.com>
16743
16744 * configure.in (libc_cv_localstatedir): New substituted variable.
16745 * configure: Regenerated.
16746 * config.make.in (localstatedir): New variable, substituted from
16747 libc_cv_localstatedir.
16748 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16749 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16750 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16751 * sysdeps/gnu/configure: Regenerated.
16752
006dd861
JL
167532012-06-21 Jeff Law <law@redhat.com>
16754
16755 [BZ #14277]
16756 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16757 free. Simplify list management for _LIBC case.
16758
79662d42
JM
167592012-06-21 Joseph Myers <joseph@codesourcery.com>
16760
b7abb4bf
JM
16761 [BZ #14273]
16762 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16763 Clear sign bit of 64-bit integer value before comparing against
16764 overflow value.
16765
79662d42
JM
16766 * sysdeps/mach/configure: Regenerated.
16767
1f150908
L
167682012-06-21 H.J. Lu <hongjiu.lu@intel.com>
16769
16770 [BZ #14278]
16771 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16772
28363bbf
JL
167732012-06-21 Jeff Law <law@redhat.com>
16774
16775 [BZ #13882]
16776 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
16777 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 16778 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
16779 * elf/dl-open.c (dl_open_worker): Likewise.
16780
09615db4
CD
167812012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
16782
16783 * scripts/list-sources.sh: Scan PORTS for translations.
16784 * po/libc.pot: Regenerated.
16785
2174c6dd
AJ
167862012-06-21 Andreas Jaeger <aj@suse.de>
16787
16788 [BZ #12194]
16789 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16790 warning.
16791 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16792 * bits/byteswap-16.h (__bswap_16): Likewise.
16793 * bits/byteswap.h (__bswap_constant_16): Likewise.
16794
3ee947b1
L
167952012-06-18 H.J. Lu <hongjiu.lu@intel.com>
16796
16797 [BZ #14117]
a2f34833
L
16798 * sysdeps/i386/fpu_control.h: Removed.
16799 * sysdeps/x86_64/fpu_control.h: Moved to ...
16800 * sysdeps/x86/fpu_control.h: Here.
16801
3ee947b1
L
16802 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16803 (_FPU_SETCW): Likewise.
16804
ed1825f8
L
168052012-06-15 H.J. Lu <hongjiu.lu@intel.com>
16806
25f1282a
L
16807 [BZ #14117]
16808 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16809 * sysdeps/x86/fpu/bits/mathinline.h: This.
16810 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16811
ed1825f8
L
16812 [BZ #14050]
16813 [BZ #14117]
16814 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16815 functions if __x86_64__ is defined.
16816
36d54b74
CLT
168172012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
16818
16819 * string/endian.h: Add !__ASSEMBLER__ condition for including
16820 conversion interfaces.
16821
10285c21
JM
168222012-06-15 Joseph Myers <joseph@codesourcery.com>
16823
16824 [BZ #14241]
16825 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16826 of ABS(x) in calculating zero to negative powers other than odd
16827 integers.
16828 * math/libm-test.inc (pow_test): Add more tests.
16829
06c5abbd
AJ
168302012-06-15 Andreas Jaeger <aj@suse.de>
16831
16832 * manual/contrib.texi (Contributors): Update entry of Liubov
16833 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16834 Machado Filho.
16835
a3aeac40
CH
168362012-06-15 Cyril Hrubis <metan@ucw.cz>
16837
16838 * string/string.h: Add __wur to GNU version of strerror_r.
16839
49bdf4c1
L
168402012-06-14 H.J. Lu <hongjiu.lu@intel.com>
16841
16842 [BZ #14229]
16843 * string/Makefile (tests): Add tst-strtok_r.
16844 * string/tst-strtok_r.c: New file.
16845 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16846 RAX_LP/RDX_LP on SAVE_PTR.
16847
834f9b8d
RM
168482012-06-14 Roland McGrath <roland@hack.frob.com>
16849
16850 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16851
75fa1921
JM
168522012-06-14 Joseph Myers <joseph@codesourcery.com>
16853
16854 * libm_test.inc (csqrt_test): Allow more spurious underflow
16855 exceptions.
16856 (j0_test): Likewise.
16857 (j1_test): Likewise.
16858 (y0_test): Likewise.
16859 (y1_test): Likewise.
16860
771766df
CD
168612012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
16862
16863 * po/Makefile (libc.pot): Use UTF-8 charset.
16864
ceb9e56b
PP
168652012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
16866
16867 [BZ #14210]
16868 Suppress sign-conversion warning from FD_SET.
16869 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16870 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16871 not unsigned long int.
16872 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16873
ddb28975
L
168742012-06-12 H.J. Lu <hongjiu.lu@intel.com>
16875
16876 [BZ #14050]
16877 [BZ #14117]
16878 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16879 __extern_always_inline instead of __extern_inline.
16880 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16881 (__signbit): Likewise.
16882 (__signbitl): Support C++ namespace.
16883 (lrintf): New inline function.
16884 (lrint): Likewise.
16885 (llrintf): Likewise.
16886 (llrint): Likewise.
16887 (fmaxf): Likewise.
16888 (fmax): Likewise.
16889 (fminf): Likewise.
16890 (fmin): Likewise.
16891 (rint): Likewise.
16892 (rintf): Likewise.
16893 (ceil): Likewise.
16894 (ceilf): Likewise.
16895 (floor): Likewise.
16896 (floorf): Likewise.
16897 (nearbyint): Likewise.
16898 (nearbyintf): Likewise.
16899
d7b4fb26
TS
169002012-06-12 Thomas Schwinge <thomas@codesourcery.com>
16901
16902 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16903 non-default versions.
16904
eb55f5c2
RM
169052012-06-11 Roland McGrath <roland@hack.frob.com>
16906
16907 [BZ #14218]
16908 * manual/argp.texi (Argp): Reword argp_parse description slightly.
16909
366af02c
TS
169102012-06-09 Thomas Schwinge <thomas@codesourcery.com>
16911
99ff6e5c
TS
16912 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16913 (FE_UPWARD, FE_DOWNWARD): Don't define.
16914 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16915 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16916
366af02c
TS
16917 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16918 reading it.
16919 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16920 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16921
793ea851
KK
169222012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16923
16924 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16925 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16926 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16927 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16928
a728a38f
L
169292012-06-06 H.J. Lu <hongjiu.lu@intel.com>
16930
16931 [BZ #14117]
c08010c7
L
16932 * sysdeps/i386/fpu/bits/fenv.h: Removed.
16933 * sysdeps/i386/fpu/Implies: New file.
16934 * sysdeps/x86_64/fpu/Implies: Likewise.
16935 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16936 * sysdeps/x86/fpu/bits/fenv.h: This.
16937
a728a38f
L
16938 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16939 __SSE_MATH__.
16940
6e230d11
SP
169412012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16942
16943 [BZ #14134]
16944 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16945 character 0xffff that matches the last element of the
16946 conversion table.
16947
1b671feb
AZ
169482012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16949
16950 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16951 fmodl commit.
16952
6043738b
AZ
169532012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16954
16955 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16956 values higher than 25.6283.
16957
34ae0b32
AZ
169582012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16959
16960 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16961 subnormal exponent extraction and add some __builtin_expect.
16962 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16963 Fix for subnormal mantissa calculation.
16964
1214ec8f
MF
169652012-06-04 Mike Frysinger <vapier@gentoo.org>
16966
16967 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16968 cpu2 is -1 and errno is not ENOSYS.
16969
f3d1f93c
L
169702012-06-04 H.J. Lu <hongjiu.lu@intel.com>
16971
16972 [BZ #14117]
0e4a3cd7
L
16973 * sysdeps/i386/i486/bits/string.h: Renamed to ...
16974 * sysdeps/x86/bits/string.h: This.
16975 * sysdeps/x86_64/bits/string.h: Removed.
16976
6704c645
L
16977 * sysdeps/i386/i486/bits/string.h: Define inline functions only
16978 if not compiling for x86-64, but compiling for >= i486.
16979
48495318
L
16980 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
16981 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
16982
14adcbfc
L
16983 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
16984 New macro from Linux kernel 3.4.0.
16985 (FP_XSTATE_MAGIC2): Likewise.
16986 (FP_XSTATE_MAGIC2_SIZE): Likewise.
16987 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
16988 (struct _fpx_sw_bytes): New struct.
16989 (struct _xsave_hdr): Likewise.
16990 (struct _ymmh_state): Likewise.
16991 (struct _xstate): Likewise.
16992
68e408ab
L
16993 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
16994 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
16995 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
16996 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
16997 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
16998 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
16999
f3d1f93c
L
17000 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17001 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17002 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17003 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17004 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17005 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17006
d9dc34cd
TMQMF
170072012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17008
17009 [BZ #13743]
17010 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17011 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17012 (sysdep_headers): Include sys/platform/ppc.h.
17013 * sysdeps/powerpc/test-gettimebase.c: Test for
17014 __ppc_get_timebase() to catch future ISA opcode/insn changes.
17015 * manual/Makefile (appendices): Include platform.texi.
17016 * manual/contrib.texi (Contributors): Update @node pointers.
17017 * manual/maint.texi (Maintenance): Likewise.
17018 (Platform): New node.
17019 * manual/platform.texi: New file. Document the new features.
17020
4af3879c
SP
170212012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17022 Jakub Jelinek <jakub@redhat.com>
17023
17024 [BZ #14188]
17025 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17026 where __builtin_expect is unavailable.
17027
2fd6ff13
DM
170282012-06-03 David S. Miller <davem@davemloft.net>
17029
17030 * stdlib/longlong.h: Updated from GCC.
17031
173f7220
AS
170322012-06-02 Andreas Schwab <schwab@linux-m68k.org>
17033
17034 [BZ #14042]
17035 * sysdeps/powerpc/powerpc32/mcount.c: New file.
17036 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17037 __mcount_internal.
17038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17039 (GLIBC_2.16): Likewise.
17040
f34a1c6f
L
170412012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17042
17043 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17044
88a4576f
JM
170452012-06-01 Joseph Myers <joseph@codesourcery.com>
17046
ea32bcdd
JM
17047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17048 (default-abi): New variable.
17049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17050 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17051 variable.
17052 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17053 Likewise.
17054 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17055 Likewise.
17056 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17057 Likewise.
17058
88a4576f
JM
17059 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17060 definition. Document in comment.
17061
402fe938
DM
170622012-06-01 David S. Miller <davem@davemloft.net>
17063
17064 * stdlib/longlong.h: Updated from GCC.
17065
3553723f
L
170662012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17067
17068 [BZ #14117]
3bd872c4
L
17069 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17070 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17071 sys/debugreg.h sys/io.h here.
17072 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17073 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17074 sys/io.h.
17075 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17076 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17077 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17078 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17079 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17080 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17081
3553723f
L
17082 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17083 Define only if __x86_64__ is defined.
17084
4842e4fe
JM
170852012-06-01 Joseph Myers <joseph@codesourcery.com>
17086
c5bfe3d5
JM
17087 [BZ #14048]
17088 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17089 Use int64_t for variable i.
17090 * math/libm-test.inc (fmod_test): Add more tests.
17091
4842e4fe
JM
17092 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17093 z computation is not scheduled after fetestexcept.
17094 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17095 Use math_force_eval instead of asm to ensure calculation scheduled
17096 before exception test.
17097 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17098 Ensure a1 + u.d computation is not scheduled after fetestexcept.
17099
efb73488
AJ
171002012-06-01 Aurelien Jarno <aurelien@aurel32.net>
17101
17102 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17103 computation is not scheduled after fetestexcept.
17104
29bcce7c
L
171052012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17106
17107 [BZ #14117]
17108 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17109 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17110
73a68f94
AZ
171112012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17112
17113 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17114 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17115
67b6df78
L
171162012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17117
edf2933a 17118 [BZ #14117]
ebc64a18
L
17119 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17120 <bits/wordsize.h>.
17121 (__WCHAR_MIN): Support __WORDSIZE == 64.
17122 (__WCHAR_MAX): Likewise.
17123
edf2933a
L
17124 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17125 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17126
57c6cf40
L
17127 [BZ #14183]
17128 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17129 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17130
67b6df78 17131 [BZ #14117]
8eb6281e
L
17132 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17133 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17134
aac639f4
L
17135 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
17136 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
17137
67b6df78
L
17138 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
17139 Defined to 1 if __x86_64__ isn't defined.
17140 (_STAT_VER_LINUX_OLD): New.
17141 (st_atime): Remove duplicate.
17142 (st_mtime): Likewise.
17143 (st_ctime): Likewise.
17144
1c2cfe81
DM
171452012-05-31 David S. Miller <davem@davemloft.net>
17146
17147 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17148 entries.
17149
5be8418c
AS
171502012-06-01 Andreas Schwab <schwab@linux-m68k.org>
17151
e7725326
AS
17152 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17153 gen-libm-test.pl.
17154
5be8418c
AS
17155 [BZ #14132]
17156 * elf/dl-reloc.c: Include <_itoa.h>.
17157 (_dl_reloc_bad_type): Remove use of INTUSE.
17158 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17159 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17160 * stdio-common/psiginfo.c (psiginfo): Likewise.
17161 * stdio-common/psignal.c (psignal): Likewise.
17162 * string/strsignal.c (strsignal): Likewise.
17163 * include/signal.h (_sys_siglist): Declare hidden proto.
17164 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
17165 INTVARDEF with libc_hidden_data_def.
17166 * stdio-common/itoa-udigits.c: Likewise.
17167 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17168 (_itoa_lower_digits_internal): Remove declaration.
17169 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17170 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17171 (_sys_sigabbrev_internal): Remove aliases.
17172 (_sys_siglist): Define hidden alias.
17173
507352f1
MT
171742012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
17175
17176 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17177 bits/sysctl.h.
17178
42bbb1c3
L
171792012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17180
17181 [BZ #14117]
6bd784b6
L
17182 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17183 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17184
8bca20f0
L
17185 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17186 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17187 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17188 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17189 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17190 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17191
f9e890a9
L
17192 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17193 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
17194 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
17195
471101a1
L
17196 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17197 with __addr.
17198 (insw): Likewise.
17199 (insl): Likewise.
17200 (outsb): Likewise.
17201 (outsw): Likewise.
17202 (outsl): Likewise.
17203
6451c862
L
17204 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
17205 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
17206 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
17207
a254b8c9
L
17208 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17209 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
17210 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
17211 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17212 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17213 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17214
b8dfdd92
L
17215 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17216 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17217
578cd270
L
17218 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17219 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17220
de662f5f
L
17221 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17222 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17223 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17224
25653439
L
17225 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17226 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17227 to ...
17228 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17229
6bad24a0
L
17230 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17231 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17232 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17233
42bbb1c3
L
17234 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17235 for x86-64.
17236 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17237
2d10d547
JM
172382012-05-31 Joseph Myers <joseph@codesourcery.com>
17239
17240 * math/math.h (M_El): Use two more decimal places.
17241 (M_LOG2El): Likewise.
17242 (M_LOG10El): Likewise.
17243 (M_LN2l): Likewise.
17244 (M_LN10l): Likewise.
17245 (M_PIl): Likewise.
17246 (M_PI_2l): Likewise.
17247 (M_PI_4l): Likewise.
17248 (M_1_PIl): Likewise.
17249 (M_2_PIl): Likewise.
17250 (M_2_SQRTPIl): Likewise.
17251 (M_SQRT2l): Likewise.
17252 (M_SQRT1_2l): Likewise.
17253
f230c29b
DM
172542012-05-31 David S. Miller <davem@davemloft.net>
17255
17256 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17257 values between float registers.
17258 * sysdeps/sparc/sparc64/memset.S: Likewise.
17259 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17260
fed806c3
MF
172612012-05-31 Mike Frysinger <vapier@gentoo.org>
17262
17263 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17264 -D_FORTIFY_SOURCE=1.
17265 (CPPFLAGS-tst-longjmp_chk.c): Define.
17266 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17267 (CPPFLAGS-tst-longjmp_chk2.c): Define.
17268 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17269 CFLAGS-tst-wchar-h.c.
17270
30917259
MP
172712012-05-31 Marek Polacek <polacek@redhat.com>
17272
17273 [BZ #14132]
17274 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17275 __endmntent_internal): Remove declaration.
17276 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17277 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17278 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17279
1c58d5dc
DM
172802012-05-30 David S. Miller <davem@davemloft.net>
17281
17282 * sysdeps/sparc/sparc32/soft-fp/q_util.c
17283 (___Q_simulate_exceptions): Use real FP ops rather than writing
17284 into the %fsr.
17285 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17286 Likewise.
17287
7dc00e0d
L
172882012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17289
17290 [BZ #14117]
0bd53985
L
17291 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17292 * sysdeps/x86/bits/xtitypes.h: This.
17293
3a257e66
L
17294 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17295 * sysdeps/x86/bits/wordsize.h: This.
17296
62f62904
L
17297 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17298 * sysdeps/x86/bits/huge_vall.h: This.
17299
404fe9d9
L
17300 * sysdeps/i386/bits/select.h: Removed.
17301 * sysdeps/x86_64/bits/select.h: Renamed to ...
17302 * sysdeps/x86/bits/select.h: This.
17303
d48d0446
L
17304 * sysdeps/i386/bits/setjmp.h: Removed.
17305 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17306 * sysdeps/x86/bits/setjmp.h: This.
17307
7dc00e0d
L
17308 * sysdeps/i386/bits/mathdef.h: Removed.
17309 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17310 * sysdeps/x86/bits/mathdef.h: This.
17311
03277f8f
AS
173122012-05-30 Andreas Schwab <schwab@linux-m68k.org>
17313
17314 [BZ #14132]
17315 * include/sys/socket.h (__connect_internal)
17316 (__libc_sa_len_internal): Remove declaration.
17317 (__connect, __libc_sa_len): Declare hidden_proto.
17318 (SA_LEN): Remove use of INTUSE.
17319 * socket/connect.c: Add libc_hidden_def.
17320 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17321 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17322 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17323 alias.
17324 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17325 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17326 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17327 of adding _internal alias.
17328
13764867
L
173292012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17330
17331 [BZ #14117]
6bd97696
L
17332 * sysdeps/i386/bits/link.h: Removed.
17333 * sysdeps/i386/bits/linkmap.h: Likewise.
17334 * sysdeps/x86_64/bits/link.h: Renamed to ...
17335 * sysdeps/x86/bits/link.h: This.
17336 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17337 * sysdeps/x86/bits/linkmap.h: This.
17338
f726f0bb
L
17339 * sysdeps/i386/bits/endian.h: Removed.
17340 * sysdeps/x86_64/bits/endian.h: Renamed to ...
17341 * sysdeps/x86/bits/endian.h: This.
17342
13764867
L
17343 * sysdeps/i386/bits/byteswap.h: Removed.
17344 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17345 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17346 * sysdeps/x86/bits/byteswap.h: This.
17347 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17348 * sysdeps/x86/bits/byteswap-16.h: This.
17349 * sysdeps/i386/Implies: Add x86.
17350 * sysdeps/x86_64/Implies: Likewise.
17351
ae251b0b
DM
173522012-05-30 David S. Miller <davem@davemloft.net>
17353
17354 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17355 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17356 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17357 (FP_TRAPPING_EXCEPTIONS): Define.
17358 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17359 (FP_TRAPPING_EXCEPTIONS): Define.
17360 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17361 subnormals only when inexact has been signalled or underflow
17362 exceptions are enabled.
17363 (_FP_PACK_CANONICAL): Likewise.
17364
d5c90867
L
173652012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17366
17367 [BZ #14183]
17368 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17369 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17370
63f1549e
RH
173712012-05-30 Richard Henderson <rth@twiddle.net>
17372
8d8f2279
RH
17373 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17374 with #ifndef NOT_IN_libc.
17375
63f1549e
RH
17376 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17377 marked to avoid plt entry.
17378
0ab0291b
L
173792012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17380
17381 [BZ #14112]
17382 * Makeconfig (default-abi): New macro.
17383 (abi-includes): Likewise.
17384 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
17385 $(abi-$(default-abi)-lib-soname) for soname if defined.
17386 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17387 abi-variants.
17388 * Makefile (installed-stubs): Likewise.
17389 * include/stubs-biarch.h: Removed.
17390 * scripts/lib-names.awk: Only handle one library at a time.
17391 * scripts/soversions.awk: Remove WORDSIZE support.
17392 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17393 entries.
17394 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17395 Removed.
17396 (syscall-list-default-condition): Likewise.
17397 (syscall-list-default-condition): Likewise.
17398 (syscall-list-includes): Likewise.
17399 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17400 syscall-list-* with abi-*. Handle undefined abi-variants.
17401 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17402 * sysdeps/unix/sysv/linux/i386/Implies: New file.
17403 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17404 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17405 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17406 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17407 Removed.
17408 (syscall-list-32-options): Likewise.
17409 (syscall-list-32-condition): Likewise.
17410 (syscall-list-64-options): Likewise.
17411 (syscall-list-64-condition): Likewise.
17412 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17413 macro.
17414 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17415 Renamed to ...
17416 (abi-*): This.
17417 (abi-64-ld-soname): New macro.
17418 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17419 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17420 Renamed to ...
17421 (abi-*): This.
17422 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17423 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17424
4da0431d
JM
174252012-05-30 Joseph Myers <joseph@codesourcery.com>
17426
3a85279c
JM
17427 * sysdeps/unix/sysv/linux/kernel-features.h
17428 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17429 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17430 include <kernel-features.h>.
17431 [!__NR_ftruncate64]: Remove conditional code.
17432 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17433 [__NR_ftruncate64]: Make code unconditional.
17434 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17435 * sysdeps/unix/sysv/linux/truncate64.c: Do not
17436 include <kernel-features.h>.
17437 [!__NR_ftruncate64]: Remove conditional code.
17438 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17439 [__NR_ftruncate64]: Make code unconditional.
17440 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17442 include <kernel-features.h>.
17443 [!__NR_ftruncate64]: Remove conditional code.
17444 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17445 [__NR_ftruncate64]: Make code unconditional.
17446 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17448 include <kernel-features.h>.
17449 [!__NR_ftruncate64]: Remove conditional code.
17450 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17451 [__NR_ftruncate64]: Make code unconditional.
17452 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17453
4da0431d
JM
17454 * configure.in (libc_cv_fpie): Weaken to a compile test using
17455 LIBC_TRY_CC_OPTION.
17456 * configure: Regenerated.
17457
11ef492c
AK
174582012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17459
17460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17461 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17462 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17464 Refreshed.
17465 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17469 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17470 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17471 Refreshed.
17472
d66ef399
DM
174732012-05-27 David S. Miller <davem@davemloft.net>
17474
17475 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17476 (___Q_zero): New.
17477 (__Q_simulate_exceptions): Return void. Change to simulate
17478 exceptions by writing into the %fsr.
17479 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17480 (__Qp_handle_exceptions): Likewise.
17481 (numbers): Delete.
17482 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17483 __Qp_handle_exceptions.
17484 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17485 __Qp_handle_exceptions.
17486 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17487 as unused and give dummy FP_RND_NEAREST initializer.
17488 (FP_INHIBIT_RESULTS): Define.
17489 (___Q_simulate_exceptions): Update declaration.
17490 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17491 formatting.
17492 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17493 as unused and give dummy FP_RND_NEAREST initializer.
17494 (__Qp_handle_exceptions): Update declaration.
17495 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17496 formatting.
17497
04fb54b5
TS
174982012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17499
17500 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17501 the temporary FPU control word.
17502 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17503 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17504 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17505 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17506 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17507 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17508 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17509 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17510 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17511 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17512 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17513
3f99608f
KK
175142012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17515
17516 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17517 fields.
17518
65a4de4e
CLT
175192012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17520
17521 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17522 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17523 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17524 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17525 Likewise.
17526 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17527 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17528 Likewise.
17529
15749d40
UD
175302012-05-27 Ulrich Drepper <drepper@gmail.com>
17531
17532 * po/h.po: Update from translation team.
17533
25dbcb27
AS
175342012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17535
3d3f8e55
AS
17536 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17537
25dbcb27
AS
17538 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17539 handling of denormals.
17540 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17541 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17542 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17543 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17544 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17545 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17546 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17547 Likewise.
17548
7ad47a80 175492012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
17550
17551 [BZ #14152]
17552 * math/libm-test.inc (fma_test): Don't always expect underflow
17553 exception.
17554
9c6ea9fa
SP
175552012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17556
17557 [BZ #12416]
17558 * elf/tst-execstack.c: Include stackinfo.h.
17559 (do_test): Adjust test case to ensure that pthread_getattr_np
17560 behaviour remains the same after marking stack executable.
17561
a8239222
JM
175622012-05-25 Joseph Myers <joseph@codesourcery.com>
17563
17564 * sysdeps/unix/sysv/linux/kernel-features.h
17565 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17566 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17567 kernel-features.h.
17568 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17569 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17570 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17571 kernel-features.h.
17572 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17573 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17574
918b5606
L
175752012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17576
17577 * configure.in: Define the default includes to being none.
17578 * configure: Regenerated.
17579
3a097cc7
RM
175802012-05-25 Roland McGrath <roland@hack.frob.com>
17581
8422c9a5
RM
17582 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17583 * sysdeps/x86_64/setjmp.S: Likewise.
17584 * sysdeps/i386/bsd-setjmp.S: Likewise.
17585 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17586 * sysdeps/i386/setjmp.S: Likewise.
17587 * sysdeps/i386/__longjmp.S: Likewise.
17588 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17589 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17590
3a097cc7
RM
17591 * include/stap-probe.h: New file.
17592 * configure.in: Handle --enable-systemtap.
17593 * configure: Regenerated.
17594 * config.h.in (USE_STAP_PROBE): New #undef.
17595 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17596 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17597 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17598
21708942
JM
175992012-05-25 Joseph Myers <joseph@codesourcery.com>
17600
17601 [BZ #13717]
17602 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17603 to 2.4.0 where earlier.
17604 * sysdeps/unix/sysv/linux/configure: Regenerated.
17605 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17606 <kernel-features.h>.
17607 [__ASSUME_32BITUIDS]: Make code unconditional.
17608 [!__ASSUME_32BITUIDS]: Remove conditional code.
17609 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
17610 <kernel-features.h>.
17611 [__ASSUME_32BITUIDS]: Make code unconditional.
17612 [!__ASSUME_32BITUIDS]: Remove conditional code.
17613 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
17614 [__ASSUME_32BITUIDS]: Make code unconditional.
17615 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17616 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17617 <kernel-features.h>.
17618 [__ASSUME_32BITUIDS]: Make code unconditional.
17619 [!__ASSUME_32BITUIDS]: Remove conditional code.
17620 * sysdeps/unix/sysv/linux/i386/geteuid.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/getgid.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/getgroups.c: Do not include
17629 <kernel-features.h>.
17630 [__ASSUME_32BITUIDS]: Make code unconditional.
17631 [!__ASSUME_32BITUIDS]: Remove conditional code.
17632 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17633 <kernel-features.h>.
17634 [__ASSUME_32BITUIDS]: Make code unconditional.
17635 [!__ASSUME_32BITUIDS]: Remove conditional code.
17636 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17637 <kernel-features.h>.
17638 [__ASSUME_32BITUIDS]: Make code unconditional.
17639 [!__ASSUME_32BITUIDS]: Remove conditional code.
17640 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
17641 <kernel-features.h>.
17642 [__ASSUME_32BITUIDS]: Make code unconditional.
17643 [!__ASSUME_32BITUIDS]: Remove conditional code.
17644 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17645 <kernel-features.h>.
17646 [__ASSUME_32BITUIDS]: Make code unconditional.
17647 [!__ASSUME_32BITUIDS]: Remove conditional code.
17648 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17649 <kernel-features.h>.
17650 [__ASSUME_32BITUIDS]: Make code unconditional.
17651 [!__ASSUME_32BITUIDS]: Remove conditional code.
17652 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17653 <kernel-features.h>.
17654 [__ASSUME_32BITUIDS]: Make code unconditional.
17655 [!__ASSUME_32BITUIDS]: Remove conditional code.
17656 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17657 <kernel-features.h>.
17658 [__NR_setresgid] (__setresgid): Do not declare.
17659 [__ASSUME_32BITUIDS]: Make code unconditional.
17660 [!__ASSUME_32BITUIDS]: Remove conditional code.
17661 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17662 <kernel-features.h>.
17663 [__NR_setresuid] (__setresuid): Do not declare.
17664 [__ASSUME_32BITUIDS]: Make code unconditional.
17665 [!__ASSUME_32BITUIDS]: Remove conditional code.
17666 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17667 <kernel-features.h>.
17668 [__ASSUME_32BITUIDS]: Make code unconditional.
17669 [!__ASSUME_32BITUIDS]: Remove conditional code.
17670 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17671 <kernel-features.h>.
17672 [__ASSUME_32BITUIDS]: Make code unconditional.
17673 [!__ASSUME_32BITUIDS]: Remove conditional code.
17674 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
17675 <kernel-features.h>.
17676 [__ASSUME_32BITUIDS]: Make code unconditional.
17677 [!__ASSUME_32BITUIDS]: Remove conditional code.
17678 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
17679 <kernel-features.h>.
17680 [__ASSUME_32BITUIDS]: Make code unconditional.
17681 [!__ASSUME_32BITUIDS]: Remove conditional code.
17682 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
17683 <kernel-features.h>.
17684 [__ASSUME_32BITUIDS]: Make code unconditional.
17685 [!__ASSUME_32BITUIDS]: Remove conditional code.
17686 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
17687 <kernel-features.h>.
17688 [__ASSUME_32BITUIDS]: Make code unconditional.
17689 [!__ASSUME_32BITUIDS]: Remove conditional code.
17690 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17691 <kernel-features.h>.
17692 [__ASSUME_32BITUIDS]: Make code unconditional.
17693 [!__ASSUME_32BITUIDS]: Remove conditional code.
17694 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17695 <kernel-features.h>.
17696 [__ASSUME_32BITUIDS]: Make code unconditional.
17697 [!__ASSUME_32BITUIDS]: Remove conditional code.
17698 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17699 <kernel-features.h>.
17700 [__ASSUME_32BITUIDS]: Make code unconditional.
17701 [!__ASSUME_32BITUIDS]: Remove conditional code.
17702 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17703 <kernel-features.h>.
17704 [__ASSUME_32BITUIDS]: Make code unconditional.
17705 [!__ASSUME_32BITUIDS]: Remove conditional code.
17706 * sysdeps/unix/sysv/linux/kernel-features.h
17707 (__ASSUME_SETRESUID_SYSCALL): Remove.
17708 (__ASSUME_SETRESGID_SYSCALL): Likewise.
17709 (__ASSUME_32BITUIDS): Likewise.
17710 (__ASSUME_LDT_WORKS): Likewise.
17711 (__ASSUME_O_DIRECTORY): Likewise.
17712 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17713 architecture but not kernel version.
17714 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17715 (__ASSUME_MMAP2_SYSCALL): Likewise.
17716 (__ASSUME_STAT64_SYSCALL): Likewise.
17717 (__ASSUME_IPC64): Likewise.
17718 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17719 <kernel-features.h>.
17720 [__ASSUME_32BITUIDS]: Make code unconditional.
17721 [!__ASSUME_32BITUIDS]: Remove conditional code.
17722 * sysdeps/unix/sysv/linux/opendir.c: Do not include
17723 <kernel-features.h>.
17724 [__ASSUME_O_DIRECTORY]: Make code unconditional.
17725 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17726 132096]: Remove conditional code.
17727 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17728 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17729 <kernel-features.h>.
17730 [__ASSUME_32BITUIDS]: Make code unconditional.
17731 [!__ASSUME_32BITUIDS]: Remove conditional code.
17732 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17733 <kernel-features.h>.
17734 [__ASSUME_32BITUIDS]: Make code unconditional.
17735 [!__ASSUME_32BITUIDS]: Remove conditional code.
17736 * sysdeps/unix/sysv/linux/setegid.c: Do not include
17737 <kernel-features.h>.
17738 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17739 unconditional.
17740 (__setresgid): Do not declare.
17741 [__ASSUME_32BITUIDS]: Make code unconditional.
17742 [!__ASSUME_32BITUIDS]: Remove conditional code.
17743 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17744 <kernel-features.h>.
17745 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17746 unconditional.
17747 (__setresuid): Do not declare.
17748 [__ASSUME_32BITUIDS]: Make code unconditional.
17749 [!__ASSUME_32BITUIDS]: Remove conditional code.
17750 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17751 <kernel-features.h>.
17752 [__ASSUME_32BITUIDS]: Make code unconditional.
17753 [!__ASSUME_32BITUIDS]: Remove conditional code.
17754 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
17755 <kernel-features.h>.
17756 [__ASSUME_32BITUIDS]: Make code unconditional.
17757 [!__ASSUME_32BITUIDS]: Remove conditional code.
17758
a386f1cc
RH
177592012-05-25 Richard Henderson <rth@twiddle.net>
17760
17761 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17762 dl_hwcap to ifunc resolver.
17763 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17764 elf_ifunc_invoke.
17765 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17766 dl_hwcap to ifunc resolver.
17767 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17768
b6550497
JM
177692012-05-24 Joseph Myers <joseph@codesourcery.com>
17770
17771 [BZ #14153]
17772 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17773 for |x| <= 2**-26, not 2**-57.
17774 * math/libm-test.inc (acos_test): Do not allow spurious underflow
17775 exception.
17776
b0bc23a1
JL
177772012-05-24 Jeff Law <law@redhat.com>
17778
17779 * stdio-common/Makefile (tests): Add bug25.
17780 * stdio-common/bug25.c: New test.
17781
347c92e9
L
177822012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17783
17784 [BZ #13576]
17785 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17786 multiple of MALLOC_ALIGNMENT in size.
17787 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17788
6bcc8b3f
JM
177892012-05-24 Joseph Myers <joseph@codesourcery.com>
17790
17791 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17792 Require >= 256.
17793 (FILENAME_MAX): Use macro-int-constant.
17794 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
17795 (_IOFBF): Use macro-int-constant.
17796 (_IOLBF): Likewise.
17797 (_IONBF): Likewise.
17798 (SEEK_CUR): Likewise.
17799 (SEEK_END): Likewise.
17800 (SEEK_SET): Likewise.
17801 (TMP_MAX): Likewise.
17802 (EOF): Use macro-int-constant. Require < 0.
17803 (NULL): Use macro-constant. Require == 0.
17804 (stdin): Require type to be FILE *.
17805 (stdout): Likewise.
17806 (stderr): Likewise.
17807 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17808 macro-int-constant.
17809 (EXIT_SUCCESS): Likewise.
17810 (NULL): Use macro-constant. Require == 0.
17811 (RAND_MAX): Use macro-int-constant.
17812 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17813 [C99-based standards] (strtof): Require function.
17814 [C99-based standards] (strtold): Likewise.
17815 [C99-based standards] (strtoll): Likewise.
17816 [C99-based standards] (strtoull): Likewise.
17817 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17818 [ISO || ISO99 || ISO11] (limits.h): Likewise.
17819 [ISO || ISO99 || ISO11] (math.h): Likewise.
17820 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17821 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17822 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17823
d18ea0c5
AS
178242012-05-24 Andreas Schwab <schwab@linux-m68k.org>
17825
17826 [BZ #14132]
56d25bb8
AS
17827 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17828 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17829 * intl/dgettext.c (DCGETTEXT): Likewise.
17830 * intl/gettext.c (DCGETTEXT): Likewise.
17831 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17832 * posix/regex_internal.h (gettext): Likewise.
17833 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17834 Remove declaration.
17835 * include/argz.h (__argz_count_internal)
17836 (__argz_stringify_internal): Remove declaration.
17837 (__argz_count, __argz_stringify): Declare hidden proto.
17838 * intl/dcgettext.c: Remove use of INTDEF.
17839 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17840 * string/argz-stringify.c: Likewise.
17841 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17842 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17843 Declare hidden proto.
d18ea0c5
AS
17844 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17845 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17846 Declare hidden proto.
17847 * include/stdio.h (__asprintf_internal): Don't declare.
17848 (__asprintf): Don't define as macro. Declare hidden proto.
17849 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17850 (__fsetlocking): Declare hidden proto.
17851 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17852 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17853 hidden proto.
17854 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17855 (_IO_setlinebuf): Remove use of INTUSE.
17856 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17857 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17858 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17859 Remove declaration.
17860 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17861 (_IO_do_flush): Remove use of INTUSE.
17862 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17863 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17864 (_IO_adjust_column, _IO_least_wmarker)
17865 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17866 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17867 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17868 (_IO_default_doallocate, _IO_wdefault_doallocate)
17869 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17870 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17871 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17872 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17873 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17874 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17875 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17876 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17877 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17878 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17879 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17880 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17881 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17882 proto.
17883 (_IO_flush_all_internal, _IO_adjust_column_internal)
17884 (_IO_default_uflow_internal, _IO_default_finish_internal)
17885 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17886 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17887 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17888 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17889 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17890 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17891 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17892 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17893 (_IO_file_close_internal, _IO_file_close_it_internal)
17894 (_IO_file_underflow_internal, _IO_file_overflow_internal)
17895 (_IO_file_init_internal, _IO_file_attach_internal)
17896 (_IO_file_fopen_internal, _IO_file_read_internal)
17897 (_IO_file_sync_internal, _IO_file_seek_internal)
17898 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17899 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17900 (_IO_str_underflow_internal, _IO_str_overflow_internal)
17901 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17902 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17903 (_IO_list_all_internal, _IO_link_in_internal)
17904 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17905 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17906 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17907 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17908 (_IO_do_write_internal, _IO_padn_internal)
17909 (_IO_getline_info_internal, _IO_getline_internal)
17910 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17911 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17912 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17913 (_IO_vfscanf_internal, _IO_vfprintf_internal)
17914 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17915 (_IO_init_internal, _IO_un_link_internal): Don't declare.
17916 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17917 with libc_hidden_ver, remove use of INTUSE.
17918 * libio/genops.c: Likewise.
17919 * libio/freopen.c: Likewise.
17920 * libio/freopen64.c: Likewise.
17921 * libio/iofclose.c: Likewise.
17922 * libio/iofdopen.c: Likewise.
17923 * libio/iofflush.c: Likewise.
17924 * libio/iofflush_u.c: Likewise.
17925 * libio/iofgets.c: Likewise.
17926 * libio/iofgets_u.c: Likewise.
17927 * libio/iofopen.c: Likewise.
17928 * libio/iofopncook.c: Likewise.
17929 * libio/iofread.c: Likewise.
17930 * libio/iofread_u.c: Likewise.
17931 * libio/ioftell.c: Likewise.
17932 * libio/iofwrite.c: Likewise.
17933 * libio/iogetline.c: Likewise.
17934 * libio/iogets.c: Likewise.
17935 * libio/iogetwline.c: Likewise.
17936 * libio/iopadn.c: Likewise.
17937 * libio/iopopen.c: Likewise.
17938 * libio/ioseekoff.c: Likewise.
17939 * libio/ioseekpos.c: Likewise.
17940 * libio/iosetbuffer.c: Likewise.
17941 * libio/iosetvbuf.c: Likewise.
17942 * libio/ioungetc.c: Likewise.
17943 * libio/ioungetwc.c: Likewise.
17944 * libio/iovdprintf.c: Likewise.
17945 * libio/iovsprintf.c: Likewise.
17946 * libio/iovsscanf.c: Likewise.
17947 * libio/memstream.c: Likewise.
17948 * libio/obprintf.c: Likewise.
17949 * libio/oldfileops.c: Likewise.
17950 * libio/oldiofclose.c: Likewise.
17951 * libio/oldiofdopen.c: Likewise.
17952 * libio/oldiofopen.c: Likewise.
17953 * libio/oldiopopen.c: Likewise.
17954 * libio/oldstdfiles.c: Likewise.
17955 * libio/putc.c: Likewise.
17956 * libio/setbuf.c: Likewise.
17957 * libio/setlinebuf.c: Likewise.
17958 * libio/stdfiles.c: Likewise.
17959 * libio/strops.c: Likewise.
17960 * libio/vasprintf.c: Likewise.
17961 * libio/vscanf.c: Likewise.
17962 * libio/vsnprintf.c: Likewise.
17963 * libio/vswprintf.c: Likewise.
17964 * libio/wfiledoalloc.c: Likewise.
17965 * libio/wfileops.c: Likewise.
17966 * libio/wgenops.c: Likewise.
17967 * libio/wmemstream.c: Likewise.
17968 * libio/wstrops.c: Likewise.
17969 * libio/__fpurge.c: Likewise.
17970 * libio/__fsetlocking.c: Likewise.
17971 * assert/assert.c: Likewise.
17972 * debug/fgets_chk.c: Likewise.
17973 * debug/fgets_u_chk.c: Likewise.
17974 * debug/fread_chk.c: Likewise.
17975 * debug/fread_u_chk.c: Likewise.
17976 * debug/gets_chk.c: Likewise.
17977 * debug/obprintf_chk.c: Likewise.
17978 * debug/vasprintf_chk.c: Likewise.
17979 * debug/vdprintf_chk.c: Likewise.
17980 * debug/vsnprintf_chk.c: Likewise.
17981 * debug/vsprintf_chk.c: Likewise.
17982 * malloc/mtrace.c: Likewise.
17983 * misc/error.c: Likewise.
17984 * misc/syslog.c: Likewise.
17985 * stdio-common/asprintf.c: Likewise.
17986 * stdio-common/fxprintf.c: Likewise.
17987 * stdio-common/getw.c: Likewise.
17988 * stdio-common/isoc99_fscanf.c: Likewise.
17989 * stdio-common/isoc99_scanf.c: Likewise.
17990 * stdio-common/isoc99_vfscanf.c: Likewise.
17991 * stdio-common/isoc99_vscanf.c: Likewise.
17992 * stdio-common/isoc99_vsscanf.c: Likewise.
17993 * stdio-common/printf-prs.c: Likewise.
17994 * stdio-common/printf_fp.c: Likewise.
17995 * stdio-common/printf_fphex.c: Likewise.
17996 * stdio-common/printf_size.c: Likewise.
17997 * stdio-common/putw.c: Likewise.
17998 * stdio-common/scanf.c: Likewise.
17999 * stdio-common/sprintf.c: Likewise.
18000 * stdio-common/tmpfile.c: Likewise.
18001 * stdio-common/vfprintf.c: Likewise.
18002 * stdio-common/vfscanf.c: Likewise.
18003 * stdlib/strfmon_l.c: Likewise.
18004 * sunrpc/openchild.c: Likewise.
18005 * sunrpc/xdr_stdio.c: Likewise.
18006 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18007 * sysdeps/mach/hurd/tmpfile.c: Likewise.
18008
d6c33fda
RM
180092012-05-24 Roland McGrath <roland@hack.frob.com>
18010
c1487492
RM
18011 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18012
18013 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18014 in the third column, to generate for the shared library an IFUNC
18015 that uses _dl_vdso_vsym.
18016 * Makerules (COMPILE.c, compile-stdin.c): New variables.
18017 * Makeconfig (object-suffixes-noshared): New variable.
18018
18019 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18020 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18021 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18022 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18023
d6c33fda
RM
18024 [BZ #14132]
18025 * include/sys/time.h (__gettimeofday): Remove macro.
18026 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18027 * time/gettimeofday.c (__gettimeofday): Remove #undef.
18028 Remove INTDEF.
18029 (__gettimeofday): Add libc_hidden_def.
18030 (gettimeofday): Add libc_hidden_weak.
18031 * sysdeps/mach/gettimeofday.c: Likewise.
18032 * sysdeps/posix/gettimeofday.c: Likewise.
18033 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18034 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18035 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18036 (__gettimeofday_internal): Remove strong_alias.
18037 (__gettimeofday): Add libc_hidden_def.
18038 (gettimeofday): Add libc_hidden_weak.
18039 * sysdeps/unix/syscalls.list (gettimeofday):
18040 Remove __gettimeofday_internal alias.
18041
b5a2bbe6
L
180422012-05-24 Daniel Jacobowitz <drow@false.org>
18043 H.J. Lu <hongjiu.lu@intel.com>
18044
18045 [BZ #12495]
18046 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18047 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18048 (largebin_index_32_big): New.
18049 (largebin_index): Use it for 16-byte alignment.
18050 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
18051 correction with front_misalign.
18052
cfba4fda
L
180532012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18054
7f907421
L
18055 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18056 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18057 Likewise.
18058 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18059 Likewise.
18060 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18061 Likewise.
18062 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18063 Likewise.
18064 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18065 Likewise.
18066 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18067 Likewise.
18068 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18069 Likewise.
18070 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18071 Likewise.
18072 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18073 Likewise.
18074 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18075 Likewise.
18076 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18077 Likewise.
18078 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18079 Likewise.
18080
cfba4fda
L
18081 * scripts/data/c++-types-x32-linux-gnu.data: New file.
18082 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18083
80bad0cc
JM
180842012-05-24 Joseph Myers <joseph@codesourcery.com>
18085
7a25eb06
JM
18086 [BZ #10846]
18087 [BZ #14036]
18088 * math/libm-test.inc (exp_test): Add test from bug 14036.
18089 (pow_test): Add test from bug 10846.
18090
795405f9
JM
18091 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18092 and other flags.
18093 (special_function): Do not include flags in test name.
18094 (parse_args): Likewise.
18095 * sysdeps/i386/fpu/libm-test-ulps: Update.
18096 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18097 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18098 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18100
80bad0cc
JM
18101 * math/gen-libm-test.pl (%beautify): Add entries for underflow
18102 exceptions.
18103 * math/libm-test.inc ("Philosophy"): Update comment about
18104 exception testing.
18105 (UNDERFLOW_EXCEPTION): New macro.
18106 (UNDERFLOW_EXCEPTION_OK): Likewise.
18107 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18108 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18109 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18110 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
18111 (INVALID_EXCEPTION_OK): Update value.
18112 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18113 (OVERFLOW_EXCEPTION_OK): Likewise.
18114 (IGNORE_ZERO_INF_SIGN): Likewise.
18115 (test_exceptions): Handle underflow exceptions.
18116 (acos_test): Update for underflow exception expectations.
18117 (cexp_test): Likewise.
18118 (clog_test): Likewise.
18119 (clog10_test): Likewise.
18120 (csqrt_test): Likewise.
18121 (ctan_test): Likewise.
18122 (ctanh_test): Likewise.
18123 (exp_test): Likewise.
18124 (exp10_test): Likewise.
18125 (exp2_test): Likewise.
18126 (expm1_test): Likewise.
18127 (fma_test): Likewise.
18128 (j0_test): Likewise.
18129 (jn_test): Likewise.
18130 (nexttoward_test): Likewise.
18131 (pow_test): Likewise.
18132 (scalbn_test): Likewise.
18133 (scalbln_test): Likewise.
18134 (tan_test): Likewise.
18135 (y1_test): Likewise.
18136 * sysdeps/i386/fpu/libm-test-ulps: Update.
18137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18138
9e0e3d0b
DM
181392012-05-23 David S. Miller <davem@davemloft.net>
18140
18141 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18142 (__libc_sigaction): Remove unused local variables.
18143
ccd0a08f
L
181442012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18145
18146 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18147
62bdf9a6
PE
181482012-05-23 Paul Eggert <eggert@cs.ucla.edu>
18149
f8591f80
PE
18150 mktime: avoid signed integer overflow
18151 * time/mktime.c (__mktime_internal): Do not mishandle the case
18152 where diff == INT_MIN.
18153
94c7d826
PE
18154 mktime: simplify computation of average
18155 * time/mktime.c (ranged_convert): Use new time_t_avg function
18156 instead of rolling our own (probably-slower) code.
18157
ce73d683
PE
18158 mktime: do not assume signed right shift propagates sign bit
18159 * time/mktime.c (isdst_differ): New static function.
18160 (__mktime_internal): No need to normalize tm_isdst now.
18161 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18162 tm_isdst values.
18163
72a22e59
PE
18164 mktime: merge another wrapv change from gnulib
18165 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18166 from some compilers.
18167
68605433
PE
18168 mktime: remove incorrect attempt at unusual arithmetics
18169 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18170 The code didn't really work on such machines anyway.
18171 (TYPE_MINIMUM): Assume two's complement.
18172 (twos_complement_arithmetic): Verify that long_int and time_t
18173 are two's complement (or unsigned, in the latter case).
18174
03cf7fe3
PE
18175 mktime: check signed shifts on long_int and time_t, too
18176 * time/mktime.c (SHR): Check that shifts work as desired
18177 on the types long_int and time_t too, as SHR is used on
18178 such types.
18179
f04dfbc2
PE
18180 mktime: do not assume 'long' is wide enough
18181 * time/mktime.c (verify): Move decl up.
18182 (long_int): New type.
18183 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18184 to remove assumption in the code that 'long' is wide enough to
18185 store year values. This assumption is not true on x32 and on
18186 some non-glibc platforms.
18187
62bdf9a6
PE
18188 mktime: merge wrapv change from gnulib
18189 * time/mktime.c (WRAPV): New macro.
18190 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18191 (guess_time_tm, __mktime_internal): Do not assume that signed
18192 integer overflow wraps around; modern compilers generate code
18193 where this assumption is no longer valid.
18194
5e292e4f
L
181952012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18196
18197 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18198 Replace "jmp L(pseudo_end)" with "ret".
18199 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18200 Likewise.
18201
8caf8c87
AJ
182022012-05-23 Andreas Jaeger <aj@suse.de>
18203
18204 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18205 * sysdeps/unix/sysv/linux/poll.c: Remove file.
18206
1a09dc56
AJ
182072012-05-23 Andreas Jaeger <aj@suse.de>
18208 Maximilian Attems <max@stro.at>
18209
18210 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18211 New macros.
18212
1c87aba0
L
182132012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18214
18215 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18216 code so that pseudo_end is just ret and the stack pointer is
18217 correct also for static library in error case.
18218
40e45bd5
JM
182192012-05-23 Joseph Myers <joseph@codesourcery.com>
18220
c2670533
JM
18221 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18222 move to syscalls.list.
18223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18227
40e45bd5
JM
18228 * manual/install.texi (Running make install): Do not mention Linux
18229 kernel version for which pt_chown is not needed.
18230 (Linux): Do not mention problems with nscd with 2.0 kernels.
18231 * INSTALL: Regenerated.
18232
be08eda5
AJ
182332012-05-23 Andreas Jaeger <aj@suse.de>
18234
18235 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18236 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18237 macro.
18238 * sysdeps/unix/sysv/linux/s390/bits/mman.h
18239 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18240 * sysdeps/unix/sysv/linux/sh/bits/mman.h
18241 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18242 * sysdeps/unix/sysv/linux/i386/bits/mman.h
18243 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18244 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18245 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18246 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18247 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18248 * sysdeps/unix/sysv/linux/bits/in.h
18249 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18250
a6a056bb
RM
182512012-05-22 Roland McGrath <roland@hack.frob.com>
18252
18253 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18254 (PREPARE_VERSION): Just use assert instead, it will be elided
18255 under [NDEBUG] anyway.
18256
c9009328
L
182572012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18258
18259 * sysdeps/unix/sysv/linux/Makefile: Include
18260 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 18261 (sysdep_routines): Remove sysctl.
c9009328
L
18262 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18263 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18264 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18265 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18266 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18267
73338355
AJ
182682012-05-22 Andreas Jaeger <aj@suse.de>
18269
18270 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18271 that pseudo_end is just ret and the stack pointer is correct also
18272 for static library in error case.
18273
d44638b0
PP
182742012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
18275
18276 [BZ #14122]
18277 * nss/nsswitch.c (defconfig_entries): New variable.
18278 (__nss_database_lookup): Don't leak defconfig entries.
18279 (nss_parse_service_list): Don't leak on error paths.
18280 (free_database_entries): New function.
18281 (free_defconfig): New function.
18282 (free_mem): Move common code to free_database_entries.
18283
31a39bd8
L
182842012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18285
da0331a8
L
18286 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18287 Add arch_prctl.
18288 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18289
31a39bd8
L
18290 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18291 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18292 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18293 New macro.
18294 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18295 (INTERNAL_SYSCALL_TYPES): Likewise.
18296 (LOAD_ARGS_TYPES_[1-6]): Likewise.
18297 (LOAD_REGS_TYPES_[1-6]): Likewise.
18298 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18299 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18300
45470df3
AZ
183012012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18302
18303 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18304 copysignl for GLIBC_2_0.
18305 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18306 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18307 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18308 logbl for GLIBC_2_0.
18309 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18310 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18311
98a61bcb
L
183122012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18313
a4f6e481
L
18314 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18315 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18316
f63d5db6
L
18317 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18318 Use "neg %eax".
18319
98a61bcb
L
18320 * time/mktime.c: Update copyright years.
18321
95770f14
PE
183222012-05-22 Paul Eggert <eggert@cs.ucla.edu>
18323
6226efbd
PE
18324 mktime: merge comment-quoting-style change from gnulib
18325 * time/mktime.c: Quote 'like this' in comments.
18326 The GNU coding standards suggest that we no longer quote `like this',
18327 as "`" and "'" are typically rendered asymmetrically nowadays.
18328 The typical gnulib style is to quote 'like this' when quoting
18329 code, and "like this" when quoting English.
18330
b99e4f78
PE
18331 * time/mktime.c (compile-command): Add "-I.".
18332
643e01e6
PE
18333 mktime: merge mktime-internal.h change from gnulib
18334 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18335
2554247d
PE
18336 mktime: merge time_r change from gnulib
18337 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18338
826dd0ab
PE
18339 mktime: merge DEBUG change from gnulib
18340 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18341 case system <time.h> has a #define.
18342
bd83aabe
PE
18343 mktime: merge <sys/types.h> change from gnulib
18344 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18345 since <time.t> is now guaranteed to define time_t.
18346
95770f14
PE
18347 mktime: merge HAVE_CONFIG_H change from gnulib
18348 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18349
5e1a27a9
L
183502012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18351
0e44a77e
L
18352 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18353 Use "neg %eax".
18354
5e1a27a9
L
18355 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18356 __rlim_t cast.
18357 (struct rusage): Use anonymous union to pad each field to
18358 __syscall_slong_t.
18359
46259bec
DM
183602012-05-21 David S. Miller <davem@davemloft.net>
18361
18362 * Makefules (o-iterator): Remove .s cases.
18363 (compile-command.s): Delete.
18364 (COMPILE.s): Delete.
18365 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18366
59f0c22e
JM
183672012-05-21 Joseph Myers <joseph@codesourcery.com>
18368
18369 * configure.in (libc_cv_predef_stack_protector): Only consider
18370 "foobar" and "__stack_chk_fail" lines in libc_undefs.
18371 * configure: Regenerated.
18372
20c07380
L
183732012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18374
bbb3154b
L
18375 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18376 New macro. Use R*LP on int and pointer.
18377 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
18378 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18379 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
18380 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18381
20c07380
L
18382 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18383 [__WORDSIZE_TIME64_COMPAT32] instead of
18384 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18385 (struct utmp): Likewise.
18386 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18387 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18388 Renamed to ...
18389 (__WORDSIZE_TIME64_COMPAT32): This.
18390 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18391 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18392 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18393 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18394 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18395 (__WORDSIZE_TIME64_COMPAT32): New macro.
18396
d8d1017e
AJ
183972012-05-21 Andreas Jaeger <aj@suse.de>
18398
18399 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18400 only if [SHARED]. Add prototype for __wcschr_ia32.
18401
6c7fb145
RM
184022012-05-21 Roland McGrath <roland@hack.frob.com>
18403
18404 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18405 of %rbp unmolested in the jmp_buf while mangling the low bits.
18406 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18407 unmolested high bits of %rbp while demangling the low bits.
18408 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18409
66274218
AJ
184102012-05-21 Andreas Jaeger <aj@suse.de>
18411
07c58f8f
AJ
18412 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18413 * sunrpc/svc_simple.c: Use it for registerrpc.
18414 * sunrpc/xcrypt.c: Use it for passwd2des.
18415
66274218
AJ
18416 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18417
61f65140
L
184182012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18419
18420 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18421 Don't define if [__SYSCALL_WORDSIZE != 32].
18422 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18423 New macro.
18424
5fefb436
AJ
184252012-05-21 Bruno Haible <bruno@clisp.org>
18426 Andreas Jaeger <aj@suse.de>
18427
18428 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18429 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18430 inptr and inend for must_buffer_ch.
18431 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18432 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18433 * stdio-common/Makefile (tests): Remove bug15.
18434 (bug15-ENV): Remove macro.
18435 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18436 anymore.
18437
d8e272ab
AJ
184382012-05-19 Andreas Jaeger <aj@suse.de>
18439 Roland McGrath <roland@hack.frob.com>
18440
18441 * manual/contrib.texi: Completely rewritten. It contains now an
18442 alphabetical list of contributors and their contributions.
18443
4a56a162
RH
184442012-05-21 Richard Henderson <rth@twiddle.net>
18445
18446 * misc/getauxval.c (__getauxval): Use unsigned long int.
18447 * misc/sys/auxv.h: Include <sys/cdefs.h>.
18448 (getauxval): Use unsigned long int.
18449
d024d23c
L
184502012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18451
18452 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18453
cbc00a03
RM
184542012-05-21 Roland McGrath <roland@hack.frob.com>
18455
18456 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18457 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18458 __alignof__ (long double).
18459
478143fa
AZ
184602012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18461
18462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18463
c7683a6d
RH
184642012-05-20 Richard Henderson <rth@twiddle.net>
18465
18466 * misc/getauxval.c: New file.
18467 * misc/sys/auxv.h: New file.
18468 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18469 (routines): Add getauxval.
18470 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18471 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18472 * elf/dl-sysdep.c (_dl_auxv): Remove.
18473 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18474 * elf/dl-support.c (_dl_auxv): New variable.
18475 (_dl_aux_init): Initialize it.
18476 * manual/startup.texi (Auxiliary Vector): New node.
18477 * sysdeps/generic/bits/hwcap.h: New file.
18478 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18479 * sysdeps/powerpc/sysdep.h: ... here. Include it.
18480 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18481 * sysdeps/sparc/sysdep.h: ... here. Include it.
18482 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18483 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
18484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18485 Update.
c7683a6d
RH
18486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18488 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18489 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18490 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18491 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18493 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18494
a6f1845d
AZ
184952012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18496
18497 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18498
cbcbe830
DM
184992012-05-19 David S. Miller <davem@davemloft.net>
18500
18501 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18502
e0b16cc2
JM
185032012-05-19 Joseph Myers <joseph@codesourcery.com>
18504
18505 [BZ #14123]
18506 * math/s_ccosh.c: Include <float.h>
18507 (__ccosh): Avoid internal overflow calculating sinh and cosh
18508 values before multiplying by sin and cos values.
18509 * math/s_ccoshf.c: Likewise.
18510 * math/s_ccoshl.c: Likewise.
18511 * math/s_csin.c: Likewise.
18512 * math/s_csinf.c: Likewise.
18513 * math/s_csinl.c: Likewise.
18514 * math/s_csinh.c: Likewise.
18515 * math/s_csinhf.c: Likewise.
18516 * math/s_csinhl.c: Likewise.
18517 * math/libm-test.inc (ccos_test): Add more tests.
18518 (ccosh_test): Likewise.
18519 (csin_test): Likewise.
18520 (csinh_test): Likewise.
18521 * sysdeps/i386/fpu/libm-test-ulps: Update.
18522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18523
6ad13e08
L
185242012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18525
f66f0ce8
L
18526 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18527 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18528
6ad13e08
L
18529 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18530
b1d072a7
JM
185312012-05-19 Joseph Myers <joseph@codesourcery.com>
18532
18533 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18534 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18535 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18536 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18537 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18538 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18539 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18540 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18541 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18542 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18543 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18544 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18545 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18546 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18547 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18548 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18549 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18550 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18551 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18552 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18553 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18554 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18555 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18556 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18557 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18558 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18559 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18560 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18561 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18562 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18563 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18564
9eae47cb
AJ
185652012-05-18 Andreas Jaeger <aj@suse.de>
18566
18567 * csu/.gitignore: Delete.
18568
bb07f69f
L
185692012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18570
18571 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18572 (timex): Use __syscall_slong_t.
18573
e6bdb741
AJ
185742012-05-18 Andreas Jaeger <aj@suse.de>
18575 Carlos O'Donell <carlos_odonell@mentor.com>
18576
18577 * manual/install.texi (Configuring and compiling): Update
18578 description about files modified in the source directory.
d6c33fda 18579 * INSTALL: Regenerated.
e6bdb741 18580
1b74487e
L
185812012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18582
18583 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18584 value. Use "or" to set return value to -1.
18585 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18586 negate return value.
18587
a88b64b9
TMQMF
185882012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18589
18590 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18591 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18592 failure if the compiler has Graphite support disabled.
18593 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18594 Likewise.
18595 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18596 CFLAGS-memmove.c): Likewise.
18597 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18598 Likewise.
18599
3707636e
L
186002012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18601
610b8622
L
18602 * sysdeps/x86_64/x32/_itoa.h: New file.
18603
7cd195df
L
18604 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18605 getdents system call only if kernel and user dirents have the
18606 same d_ino and d_off.
18607
94b07d20
L
18608 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18609 LLONG_MAX != LONG_MAX.
18610 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18611 (_fitoa_word): Likewise.
18612
18298070
L
18613 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18614 years.
18615 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18616 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18617 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18618
553c7ea4
L
18619 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18620 include <bits/wordsize.h>. Check __x86_64__ instead of
18621 __WORDSIZE.
18622 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18623 if __x86_64__ is defined. Use anonymous union on fpstate.
18624
3707636e
L
18625 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18626 anonymous union.
18627
b53ef01a
AS
186282012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18629
37fb1dc0
AS
18630 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18631 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18632 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18633 Refer to _rtld_local_ro instead of _rtld_global_ro.
18634 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18635 Likewise.
18636 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18637 Likewise.
18638 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18639 Likewise.
18640 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18641 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18642 of _rtld_global, and rtld_progname instead of _dl_argv[0].
18643
b53ef01a
AS
18644 * sysdeps/powerpc/powerpc32/dl-machine.c
18645 (__elf_machine_runtime_setup) [PROF]: Don't reference
18646 _dl_prof_resolve.
18647
7a185db2
AJ
186482012-05-18 Andreas Jaeger <aj@suse.de>
18649
18650 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18651 function only available for GCCs before 3.4 since GCC 3.4
18652 introduced a builtin.
18653 (lrint): Likewise.
18654 (llrintf): Likewise.
18655 (llrint): Likewise.
18656 (fmaxf): Likewise.
18657 (fmax): Likewise.
18658 (fminf): Likewise.
18659 (fmin): Likewise.
18660 (rint): Likewise.
18661 (rintf): Likewise.
18662 (nearbyint): Likewise.
18663 (nearbyintf): Likewise.
18664 (ceil): Likewise.
18665 (ceilf): Likewise.
18666 (floor): Likewise.
18667 (floorf): Likewise.
18668
3e5aef87
L
186692012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18670
428bd707
L
18671 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18672 on both fields and cast pointer to __syscall_ulong_t.
18673
3e5aef87
L
18674 * bits/types.h (__fsword_t): New type.
18675 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18676 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18677 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18678 (__FSWORD_T_TYPE): Likewise.
18679 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18680 (__FSWORD_T_TYPE): Likewise.
18681 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18682 (__FSWORD_T_TYPE): Likewise.
18683 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18684 (__FSWORD_T_TYPE): Likewise.
18685 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18686 __SWORD_TYPE with __fsword_t.
18687 (statfs64): Likewise.
18688
1ba7c3dc
DM
186892012-05-17 David S. Miller <davem@davemloft.net>
18690
18691 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18692
59910343
AJ
186932012-05-17 Andreas Jaeger <aj@suse.de>
18694
18695 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18696 warning.
18697
2e4c1e9e
L
186982012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18699
18700 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18701
de7f5ce7
AJ
187022012-05-17 Andreas Jaeger <aj@suse.de>
18703
18704 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18705 when it is used.
18706
286abc3d
CM
187072012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18708
18709 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18710
477cc68e
L
187112012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18712
18713 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18714 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18715
1a0994f5
CD
187162012-05-17 Andreas Jaeger <aj@suse.de>
18717 Carlos O'Donell <carlos_odonell@mentor.com>
18718
18719 [BZ #14059]
18720 * sysdeps/x86_64/multiarch/init-arch.h
18721 (bit_YMM_Usable): Rename to...
18722 (bit_AVX_Usable): ... this.
18723 (bit_FMA4_Usable): New macro.
18724 (bit_XMM_state): New macro.
18725 (bit_YMM_state): New macro.
18726 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18727 [__ASSEMBLER__] (index_AVX_Usable): ... this.
18728 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18729 (CPUID_OSXSAVE): New macro.
18730 (CPUID_AVX): New macro.
18731 (CPUID_FMA4): New macro.
18732 (index_YMM_Usable): Rename to...
18733 (index_AVX_Usable): ... this.
18734 (HAS_AVX): Use HAS_ARCH_FEATURE.
18735 (HAS_FMA4): Likewise.
18736 (HAS_YMM_USABLE): Remove.
18737 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18738 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18739 are present.
18740 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18741 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18742 * sysdeps/x86_64/multiarch/Makefile: Likewise.
18743 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18744 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18745
0af797de
CM
187462012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18747
18748 * math/libm-test.c: Support platforms without multiple rounding modes.
18749 * math/bug-nextafter.c: Support platforms without FP exceptions.
18750 * math/bug-nexttoward.c: Likewise.
18751 * math/test-fenv.c: Likewise.
18752 * math/test-misc.c: Likewise.
18753 * stdlib/bug-getcontext.c: Likewise.
18754
e39745ff
AJ
187552012-05-17 Andreas Jaeger <aj@suse.de>
18756
18757 * manual/examples/search.c (critter_cmp): Change signature to
18758 avoid warnings.
18759 * manual/string.texi (Collation Functions): Likewise.
18760
48970aba
L
187612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18762
18763 * bits/types.h: Fold copyright years.
18764 * bits/typesizes.h: Likewise.
18765 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18766 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18767 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18768 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18769 * time/time.h: Likewise.
18770
bedee953
PP
187712012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
18772
18773 [BZ #208]
18774 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18775 in instead of returning them. Return void.
18776 (__libc_mallinfo): Accumulate over all arenas.
18777 (__malloc_stats): Adjust for change in int_mallinfo interface.
18778
61653dfb
RM
187792012-05-16 Roland McGrath <roland@hack.frob.com>
18780
30b99d79
RM
18781 [BZ #10375]
18782 * configure.in (NM): Add AC_CHECK_TOOL for it.
18783 (libc_extra_cflags): New substituted variable.
18784 Check for -fstack-protector being used implicitly.
18785 * configure: Regenerated.
18786 * config.make.in (config-extra-cflags): New variable,
18787 gets @libc_extra_cflags@.
18788 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18789
61653dfb
RM
18790 [BZ #10375]
18791 * configure.in: Check for _FORTIFY_SOURCE being predefined.
18792 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18793 * configure: Regenerated.
18794 * config.make.in (CPPUNDEFS): New substituted variable.
18795 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18796 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18797 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18798
661768bb
L
187992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18800
18801 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18802 (mq_attr): Use __syscall_slong_t.
18803
d4261567
L
188042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18805
18806 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18807 Check __x86_64__ instead of __WORDSIZE.
18808 (_STAT_VER_LINUX): Likewise.
18809 (stat): Check __x86_64__ instead of __WORDSIZE. Use
18810 __syscall_ulong_t and __syscall_slong_t.
18811 (stat64): Likewise.
18812
cf3ff365
L
188132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18814
18815 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18816
76cf3e4d
L
188172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18818
18819 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18820
a637753a
L
188212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18822
18823 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18824 __syscall_ulong_t.
18825
d5e05119
L
18826 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18827 include <bits/wordsize.h>. Check __x86_64__ instead of
18828 __WORDSIZE.
18829 (greg_t): Use "__extension__ long long int" if __x86_64__ is
18830 defined.
18831 (mcontext_t): Replace "unsigned long" with "unsigned long long".
18832
f62ee380
L
18833 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18834 include <bits/wordsize.h>. Check __x86_64__ instead of
18835 __WORDSIZE.
18836 (user_regs_struct): Use "__extension__ unsigned long long"
18837 instead of "unsigned long" if __x86_64__ is defined.
18838 (user): Likewise. Pad after pointer field if __ILP32__ is
18839 defined.
18840
4e124ced
JM
188412012-05-16 Joseph Myers <joseph@codesourcery.com>
18842
6a3951a0
JM
18843 * configure.in (makeinfo): Require version 4.5 or later. Allow
18844 versions 5 to 9.
18845 * configure: Regenerated.
18846 * manual/install.texi (texinfo): Increase version requirement to
18847 4.5 or later.
18848 * INSTALL: Regenerated.
18849
4e124ced
JM
18850 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18851
953ca31a
L
188522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18853
18854 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18855
617aca05
L
18856 * sysdeps/x86_64/x32/ffs.c: New file.
18857
5762f7ae
L
18858 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18859 __syscall_ulong_t.
18860 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18861 defined. Use __syscall_ulong_t.
18862 (shminfo): Use __syscall_ulong_t.
18863 (shm_info): Likewise.
18864
a26b6856
L
18865 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18866 __syscall_ulong_t.
18867
cb2b9ef7
L
18868 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18869 <bits/wordsize.h>.
18870 (msgqnum_t): Use __syscall_ulong_t.
18871 (msglen_t): Likewise.
18872 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
18873 __syscall_ulong_t.
18874
34683bb0
L
18875 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18876 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18877
84a68786
L
18878 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18879
48baa5f1
L
18880 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18881 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18882
180be88b
L
18883 * sysvipc/sys/msg.h (msgbuf): Replace long int with
18884 __syscall_slong_t.
18885
5e90c8ad
L
18886 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18887 include <bits/wordsize.h>. Check __x86_64__ instead of
18888 __WORDSIZE.
18889
23dfb58b
L
18890 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18891 "unsigned long long int" if __x86_64__ is defined.
18892 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18893
ce5d54b0
L
18894 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18895 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18896 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18897
13dc9eac
L
18898 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18899 <stdint.h>.
18900 (GET_PC): Cast to uintptr_t first.
18901 (GET_FRAME): Likewise.
18902 (GET_STACK): Likewise.
18903
a7895d15
L
18904 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18905 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18906 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18907 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18908 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18909 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18910 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18911 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18912 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18913 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18914 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18915 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18916 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18917 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18918 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18919 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18920 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18921 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18922 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18923 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18924 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18925 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18926 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18927 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18928 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18929 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18930 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18931 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18932 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18933
656416c9
AS
189342012-05-16 Andreas Schwab <schwab@linux-m68k.org>
18935
5bd66283
AS
18936 * Makerules (+depfiles): Also collect depfiles from .oS in
18937 $(extra-objs).
18938 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18939 .oS, $(libnldbl-routines)).
18940
656416c9
AS
18941 * Makerules (native-compile-mkdep-flags): Define.
18942 * sunrpc/Makefile (extra-objs): Add $(addprefix
18943 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18944 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18945 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
18946 calling $(make-target-directory).
18947
a46f2169
L
189482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18949
18950 * bits/types.h (__snseconds_t): Removed.
18951 * time/time.h (struct timespec): Replace __snseconds_t with
18952 __syscall_slong_t.
18953 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18954 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18955 Likewise.
18956 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18957 (__SNSECONDS_T_TYPE): Likewise.
18958 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18959 (__SNSECONDS_T_TYPE): Likewise.
18960 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18961 (__SNSECONDS_T_TYPE): Likewise.
18962
6af6528b
L
189632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18964
18965 * sysdeps/mach/hurd/bits/typesizes.h
18966 (__SYSCALL_SLONG_TYPE): New macro.
18967 (__SYSCALL_ULONG_TYPE): Likewise.
18968
de986b56
L
189692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18970
18971 * bits/types.h (__syscall_slong_t): New type.
18972 (__syscall_ulong_t): Likewise.
18973
18974 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18975 (__SYSCALL_ULONG_TYPE): Likewise.
18976 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18977 (__SYSCALL_SLONG_TYPE): Likewise.
18978 (__SYSCALL_ULONG_TYPE): Likewise.
18979 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18980 (__SYSCALL_SLONG_TYPE): Likewise.
18981 (__SYSCALL_ULONG_TYPE): Likewise.
18982 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18983 (__SYSCALL_SLONG_TYPE): Likewise.
18984 (__SYSCALL_ULONG_TYPE): Likewise.
18985
85736dc7
L
189862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18987
18988 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
18989 Add sigaltstack-offsets.sym.
18990 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
18991 <sigaltstack-offsets.h>.
18992 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
18993 longjmp_msg pointer.
18994 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
18995 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
18996 signal stack.
18997 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
18998
cc03b296
JM
189992012-05-15 Joseph Myers <joseph@codesourcery.com>
19000
a9538892
JM
19001 * elf/stackguard-macros.h: Remove file.
19002 * sysdeps/generic/stackguard-macros.h: New file.
19003 * sysdeps/i386/stackguard-macros.h: Likewise.
19004 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19005 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19006 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19007 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19008 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19009 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19010 * sysdeps/x86_64/stackguard-macros.h: Likewise.
19011 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19012 <elf/stackguard-macros.h>.
19013
cc03b296
JM
19014 [BZ #14109]
19015 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19016 __aligned__ in attribute.
19017 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19018 (gregset_t): Likewise.
19019
93171016
L
190202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19021
19022 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19023 * sysdeps/x86_64/64/Implies-after: Here. New file.
19024 * sysdeps/x86_64/x32/Implies-after: New file.
19025
d86813a0
L
190262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19027
19028 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19029 and access return value for _dl_profile_fixup. Use R10_LP to
19030 load frame size.
19031
2953ec75
L
190322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19033
19034 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19035
3b550e9e
L
190362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19037
19038 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19039 * sysdeps/x86_64/x32/sysdep.h: New file.
19040
eda41706
L
190412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19042
19043 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19044 * sysdeps/x86_64/setjmp.S: Likewise.
19045
9ea01d93
AZ
190462012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19047
19048 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19049 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19050 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19051 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19052 remove unused global constant.
19053
02a91938
CM
190542012-05-15 Chris Metcalf <cmetcalf@tilera.com>
19055
19056 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19057 include of <not-cancel.h>.
19058
6540185f
RM
190592012-05-15 Roland McGrath <roland@hack.frob.com>
19060
19061 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19062
509072a0
AJ
190632012-05-15 Jeff Law <law@redhat.com>
19064 Andreas Jaeger <aj@suse.de>
19065
19066 [BZ #13594]
19067 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19068 out from...
19069 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19070 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19071 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19072 code changing __hst_map_handle.map.
19073
ba75122d
RM
190742012-05-15 Roland McGrath <roland@hack.frob.com>
19075
19076 * configure.in (sysnames): Look for Implies-before and Implies-after
19077 files.
19078 * configure: Regenerated.
19079
890d8bd8
L
190802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19081
19082 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19083 8-byte data alignment with LP_SIZE alignment.
19084
f6ee6623
L
190852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19086
19087 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19088 into R10_LP.
19089
ea2626f6
L
190902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19091
19092 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19093
085f715e
L
190942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19095
19096 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19097 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19098 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19099 Likewise.
19100 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19101
be8498fc
L
191022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19103
19104 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19105 (stackinfo_sub_sp): Likewise.
19106
70bc83b9
L
191072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19108
19109 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19110 RAX_LP.
19111
9bc0b730
L
191122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19113
19114 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19115 into R*_LP.
19116
6d2850e7
L
191172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19118
19119 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19120 sizes into R*_LP.
19121
3cb84561
L
191222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19123
19124 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19125
54e2ed81
L
191262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19127
19128 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
19129 into R11_LP and load __x86_64_shared_cache_size_half into
19130 R8_LP.
19131
8a17f349
L
191322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19133
19134 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
19135 R8_LP.
19136
777b1eea
AZ
191372012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19138
19139 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19140 logb for POWER7.
19141 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19142 logbf for POWER7.
19143 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19144 logbl for POWER7.
19145 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19146 powerpc32/power7/fpu/s_logb.c via #include.
19147 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19148 powerpc32/power7/fpu/s_logbf.c via #include.
19149 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19150 powerpc32/power7/fpu/s_logbl.c via #include.
19151
d20d4ac2
JM
191522012-05-15 Joseph Myers <joseph@codesourcery.com>
19153
19154 * README.libm: Remove file.
19155
6cdef1ab
L
191562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19157
19158 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19159 count for x32. Use R*_LP and omit operand-size suffix.
19160
0b254d8f
L
191612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19162
19163 * shlib-versions: Move x86_64-.*-linux.* entries to ...
19164 * sysdeps/x86_64/64/shlib-versions: Here. New file.
19165 * sysdeps/x86_64/x32/shlib-versions: New file.
19166
ceb809dc
RM
191672012-05-14 Roland McGrath <roland@hack.frob.com>
19168
19169 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19170 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19171 Use _dl_fatal_printf instead.
19172
37f1abd4
JM
191732012-05-14 Joseph Myers <joseph@codesourcery.com>
19174
19175 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19176 set if not set by the user. Do not allow for being unset.
19177 * sysdeps/unix/sysv/linux/configure: Regenerated.
19178
11de3a33
L
191792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19180
19181 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19182 the `q' suffix from lea and replace .quad with ASM_ADDR.
19183
e02f153a
L
191842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19185
19186 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19187 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
19188 instead of $17.
19189 (PTR_DEMANGLE): Likewise.
19190
520ae0fd
L
191912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19192
19193 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19194 (LP_OP): Likewise.
19195 (ASM_ADDR): Likewise.
19196 (RAX_LP): Likewise.
19197 (RBP_LP): Likewise.
19198 (RBX_LP): Likewise.
19199 (RCX_LP): Likewise.
19200 (RDI_LP): Likewise.
19201 (RSI_LP): Likewise.
19202 (RSP_LP): Likewise.
19203 (R8_LP): Likewise.
19204 (R9_LP): Likewise.
19205 (R10_LP): Likewise.
19206 (R10_LP): Likewise.
19207 (R11_LP): Likewise.
19208 (R12_LP): Likewise.
19209 (R13_LP): Likewise.
19210 (R14_LP): Likewise.
19211 (R15_LP): Likewise.
19212
b985be81
L
192132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19214
19215 * sysdeps/x86_64/x32/dl-machine.h: New file.
19216
6a4888ff
AJ
192172012-05-14 Andreas Jaeger <aj@suse.de>
19218
19219 * manual/Makefile (subdir): Remove export of subdir.
19220 (all): Remove target.
19221 (.PHONY): Remove all from list.
19222 (mkinstalldirs): Remove.
19223 (.PHONY): Remove installdirs from list.
19224 ($(inst_infodir)/libc.info): Use make-target-directory.
19225 (installdirs): Remove.
19226 (subdir_%): Remove.
19227 (glibc-targets): Remove.
19228 (lib): Remove.
19229 (stubs): Remove.
19230 ($(objpfx)stubs ../po/manual.pot): Remove.
19231 ($(objpfx)stamp%): Remove.
19232 (make-target-directory): Remove.
19233 (subdir_install): Remove.
19234 (routines): Remove.
19235 (aux): Remove.
19236 (sources): Remove.
19237 (objects): Remove.
19238 (headers): Remove.
19239
19240 [BZ #13750]
19241 * manual/.gitignore: Remove, it's not needed anymore.
19242 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19243 all files in it.
19244 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19245 directory.
19246 (texis): Renamed to $(objpfx)texis.
19247 (texis-path): New, contains path to generated files.
19248 (chapters.%): Use texis-path for complete path, add extra argument
19249 libc-texinfo.sh.
19250 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19251 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19252 (summary,texi, stamp-summary): Use complete path of
19253 files. Generate files in build dir.
19254 (dir-add.texi): Build in build dir.
19255 (libm-err.texi,stamp-libm-err): Likewise.
19256 (version.texi, stamp-version): Likewise.
19257 (.%c.texi): Likewise.
19258 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19259 (mostlyclean): Remove target.
19260 (realclean): Remove target.
19261 (generated): Add new variable with contents from mostlyclean and
19262 realclean, remove entries duplicated in common-mostlyclean, add
19263 stamp-libm-err and stamp-version.
19264 (generated-dirs): Add libc directory.
19265 ($(inst_infodir)/libc.info): Install files from build dir.
19266
19267 * manual/install.texi (Configuring and compiling): Adjust since
19268 the info files are not part of the tar ball anymore.
19269
7ac77294
AJ
192702012-05-14 Andreas Jaeger <aj@suse.de>
19271
19272 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19273 variable.
19274
ffb7875d
JM
192752012-05-14 Joseph Myers <joseph@codesourcery.com>
19276
19277 [BZ #13717]
19278 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19279 to 2.2.0 where earlier.
19280 * sysdeps/unix/sysv/linux/configure: Regenerated.
19281 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19282 Remove conditional code.
19283 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19284 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19285 Remove conditional code.
19286 [!__NR_lchown]: Likewise.
19287 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19288 [__NR_lchown]: Likewise.
19289 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19290 comment referencing __ASSUME_LCHOWN_SYSCALL.
19291 * sysdeps/unix/sysv/linux/i386/sigaction.c
19292 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19293 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19294 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19295 Remove conditional code.
19296 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19297 (__protocol_available): Remove #if 0 code.
19298 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19299 conditional code.
19300 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19301 * sysdeps/unix/sysv/linux/kernel-features.h
19302 (__ASSUME_GETCWD_SYSCALL): Don't define.
19303 (__ASSUME_REALTIME_SIGNALS): Likewise.
19304 (__ASSUME_PREAD_SYSCALL): Likewise.
19305 (__ASSUME_PWRITE_SYSCALL): Likewise.
19306 (__ASSUME_POLL_SYSCALL): Likewise.
19307 (__ASSUME_LCHOWN_SYSCALL): Likewise.
19308 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19309 non-SPARC.
19310 (__ASSUME_SIOCGIFNAME): Don't define.
19311 (__ASSUME_MSG_NOSIGNAL): Likewise.
19312 (__ASSUME_SENDFILE): Define unconditionally.
19313 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19314 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19315 conditional code.
19316 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19317 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19318 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19319 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19320 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19321 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19322 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19324 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19325 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19327 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19328 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19330 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19331 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19333 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19334 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19336 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19337 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19339 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19340 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19342 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19343 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19345 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19346 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19347 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19348 Remove conditional code.
19349 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19350 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19351 Remove conditional code.
19352 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19353 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19354 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19355 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19356 Remove conditional code.
19357 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19358 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19359 Remove conditional code.
19360 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19361 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19362 Remove conditional code.
19363 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19364 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19365 Remove conditional code.
19366 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19367 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19368 Remove conditional code.
19369 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19370 * sysdeps/unix/sysv/linux/sh/pwrite64.c
19371 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19372 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19373 * sysdeps/unix/sysv/linux/sigaction.c
19374 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19375 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19376 * sysdeps/unix/sysv/linux/sigpending.c
19377 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19378 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19379 * sysdeps/unix/sysv/linux/sigprocmask.c
19380 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19381 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19382 * sysdeps/unix/sysv/linux/sigsuspend.c
19383 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19384 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19385 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19386 (__libc_missing_rt_sigs): Remove.
19387 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19388 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19389 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19390 Remove conditional code.
19391 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19392 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19393 return 1.
19394 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19395 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19396 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19397 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19398
1bfb7291
AJ
193992012-05-14 Andreas Jaeger <aj@suse.de>
19400
caae5a81
AJ
19401 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19402 it's not used in glibc.
19403 (__coshm1): Likewise.
19404 (__acosh1p): Likewise.
19405 (__sgn): Likewise.
19406
1bfb7291
AJ
19407 * manual/string.texi (Copying and Concatenation): Add missing
19408 variable in concat example.
19409 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19410
c044d724
L
194112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19412
144c5467 19413 [BZ #14103]
c044d724
L
19414 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19415 __builtin_clzl with __builtin_clzll.
19416
2523c62b
L
194172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19418
19419 [BZ #14104]
19420 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19421 libc_freeres_ptr.
19422
d7bb4c42
LD
194232012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19424
19425 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19426 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19427 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19428 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19429
9dc4e1fb
MF
194302012-05-14 Mike Frysinger <vapier@gentoo.org>
19431
19432 * NEWS: Update ia64 info.
19433
c7df0112
AS
194342012-05-12 Andreas Schwab <schwab@linux-m68k.org>
19435
19436 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19437 used as bcopy.
19438
dc70356c
TS
194392012-05-12 Thomas Schwinge <thomas@codesourcery.com>
19440
19441 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19442 * sysdeps/unix/syscalls.list (dup3): Likewise.
19443 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19444 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19445
9fb1a21f
L
194462012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19447
19448 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19449 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19450
4822a2a5
L
194512012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19452
19453 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19454 thread pointer.
19455 (TLS_IE): Use mov/add instead of movq/addq to load thread
19456 pointer.
19457 (TLS_GD_PREFIX): New.
19458 (TLS_GD): Use it.
19459
842b81d6
DM
194602012-05-11 David S. Miller <davem@davemloft.net>
19461
19462 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19463 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19464 (_FPU_SETCW): Likewise.
19465
1cf463cd
L
194662012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19467
19468 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19469 is 32-byte aligned.
19470
60cc4a18
AS
194712012-05-11 Andreas Schwab <schwab@linux-m68k.org>
19472
19473 [BZ #11837]
19474 * iconvdata/gb18030.c: Update tables.
19475 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
19476 characters specially.
19477 (BODY for TO_LOOP): Add encoding of missing ranges.
19478
febb44a4
TS
194792012-05-11 Thomas Schwinge <thomas@codesourcery.com>
19480
19481 [BZ #13673]
19482 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19483 * sysdeps/mach/hurd/dup3.c: Likewise.
19484 * sysdeps/mach/hurd/readlinkat.c: Likewise.
19485 * sysdeps/powerpc/memmove.c:: Likewise.
19486
0a10fb9e
L
194872012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19488
19489 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19490 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19491
df8a552f
L
194922012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19493
19494 * elf/elf.h (R_X86_64_RELATIVE64): New.
19495 (R_X86_64_NUM): Updated.
19496 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19497 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19498 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19499 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19500 tst-quad1pie tst-quad2pie
19501 (modules-names): Add tst-quadmod1 tst-quadmod2.
19502 ($(objpfx)tst-quad1): New dependency.
19503 ($(objpfx)tst-quad2): Likewise.
19504 ($(objpfx)tst-quad1pie): Likewise.
19505 ($(objpfx)tst-quad2pie): Likewise.
19506 * sysdeps/x86_64/tst-quad1.c: New file.
19507 * sysdeps/x86_64/tst-quad1pie.c: New file.
19508 * sysdeps/x86_64/tst-quad2.c: Likewise.
19509 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19510 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19511 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19512 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19513 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19514
f34d6f84
ST
195152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19516
f42d41d1
ST
19517 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19518 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19519 * streams/stropts.h (t_scalar_t): Define type.
19520
3c3571fc
ST
19521 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19522 (_PATH_PRESERVE): Set to "/var/lib".
19523 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19524
61f06bd3
ST
19525 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19526 instead of int.
19527
918d4d71
ST
19528 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19529 if __dir_mkfile succeeded.
19530
f34d6f84
ST
19531 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19532 checking for _hurd_dtablesize. Unlock it right after having
19533 finished _hurd_dtable allocation.
19534
10589b4a
TS
195352012-05-10 Thomas Schwinge <thomas@schwinge.name>
19536
674cdbc7
TS
19537 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19538 * sysdeps/mach/hurd/configure: Regenerated.
19539 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19540 special-casing to...
19541 * sysdeps/gnu/configure.in: ... this new file.
19542 * sysdeps/unix/sysv/linux/configure: Regenerated.
19543 * sysdeps/gnu/configure: New generated file.
19544
8e41b99f
TS
19545 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19546 for Linux: use nsec instead of usec, as well as:
19547 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19548 members of type struct timespec.
19549 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19550 New macros.
19551 (struct stat64): Likewise.
19552 (_STATBUF_ST_NSEC): New macro.
19553 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19554
10589b4a
TS
19555 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19556 __strtoul_internal rather than strtoul.
19557
63643c85
PT
195582012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19559
19560 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19561 and reject them.
19562
3faebe6a
ST
195632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19564
19565 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19566 which preserves existing values.
19567 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19568
c6474b07
PT
195692012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19570
19571 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19572 TIMEOUT values. Return EINVAL for NFDS values either negative or
19573 greater than FD_SETSIZE.
19574
1043890b
ST
195752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19576
19577 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19578 allocated, call __vm_protect to finish enabling the existing space, and
19579 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19580 allocate the remainder.
19581
37ed8b9b
PT
195822012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19583
19584 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19585 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19586
db653660
ST
195872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19588
37ed8b9b
PT
19589 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19590 sysdeps/mach/hurd/readlink.c.
b29d4053 19591
db653660
ST
19592 * posix/tst-sysconf.c (posix_options): Only use
19593 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19594 _POSIX_SYNCHRONIZED_IO when they are defined
19595 * sysdeps/mach/hurd/bits/posix_opt.h:
19596 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19597 (_XOPEN_REALTIME): Undefine macro.
19598 (_XOPEN_REALTIME_THREADS): Undefine macro.
19599 (_XOPEN_SHM): Undefine macro.
19600 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19601 macro to -1.
19602 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19603 macro to -1.
19604 (_POSIX_ASYNC_IO): Undefine macro.
19605 (_POSIX_PRIORITIZED_IO): Undefine macro.
19606 (_POSIX_SPIN_LOCKS): Define macro to -1.
19607
ee16e894
ST
19608 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19609 SA_NODEFER, SA_RESETHAND.
19610 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19611 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19612 F_DUPFD_CLOEXEC.
19613
6103ae3b
TS
196142012-05-10 Thomas Schwinge <thomas@schwinge.name>
19615
19616 * elf/Makefile (pldd-modules): Define unconditionally.
19617
80b4e5f3
TS
196182012-05-10 Thomas Schwinge <thomas@schwinge.name>
19619
19620 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19621
edadcbd6
ST
196222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19623
19624 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19625 Return ENOENT when name is empty.
19626 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19627
80694780
TS
196282012-05-10 Thomas Schwinge <thomas@schwinge.name>
19629
1792c087
TS
19630 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19631
80694780
TS
19632 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19633
6b645f0d
ST
196342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19635
80694780
TS
19636 Fix mlock in all cases except non-readable pages.
19637 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19638 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 19639
6b645f0d
ST
19640 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19641 (__mkdir): When path is `/', just fail with EEXIST.
19642 * sysdeps/mach/hurd/mkdirat.c: Likewise.
19643
e468f8a3
TS
196442012-05-10 Thomas Schwinge <thomas@schwinge.name>
19645
19646 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19647 <sys/uio.h> (for writev).
19648 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19649 and <sys/param.h> (for MIN).
19650
a4186cff
PT
196512012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19652
19653 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19654 REQUESTED_TIME. Properly set the remaining time and return EINTR
19655 if interrupted.
19656
510bbf14
TS
196572012-05-10 Thomas Schwinge <thomas@schwinge.name>
19658
19659 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19660 Depend on against $(link-rpcuserlibs).
19661
5d5722e8
ST
196622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19663
a4186cff
PT
19664 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19665 (__libc_stack_end): Do not use attribute_relro.
19666 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19667 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 19668 to libthread-provided value.
a4186cff
PT
19669 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19670 attribute_relro.
5d5722e8 19671
37233df9
TS
196722012-05-10 Thomas Schwinge <thomas@schwinge.name>
19673
be971a2b
TS
19674 [BZ #3748]
19675 * bits/libc-lock.h (__libc_once_get): New macro.
19676 * sysdeps/mach/bits/libc-lock.h: Likewise.
19677 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19678 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19679 instead of using implementation details.
19680
37233df9
TS
19681 * libio/fileops.c: Unconditionally include <kernel-features.h>.
19682 * libio/freopen.c: Likewise.
19683 * libio/freopen64.c: Likewise.
19684 * misc/syslog.c: Likewise.
19685 * nscd/connections.c: Likewise.
19686 * nscd/netgroupcache.c: Likewise.
19687 * sysdeps/posix/getcwd.c: Likewise.
19688
38de94a5
RM
196892012-05-10 Roland McGrath <roland@hack.frob.com>
19690
19691 * math/w_ilogbf.c: Add #include <limits.h>.
19692
67530489
ST
196932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19694
a4186cff 19695 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
19696 path instead of returning without unlocking.
19697
67530489
ST
19698 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19699 immediate-write ioctls.
19700 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19701
5aa3a74a
TS
197022012-05-10 Thomas Schwinge <thomas@schwinge.name>
19703
18bad2ae
TS
19704 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19705 __builtin_frame_address instead of making assumptions about the
19706 location of the return address relative to DATA. Force early load of
19707 the return address.
19708 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19709 __builtin_frame_address.
19710
5aa3a74a
TS
19711 dup3 for GNU Hurd.
19712 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19713 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
19714 implement dup3 and do some further code clean-ups.
19715 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19716 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19717
ecd0de9a
ST
197182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19719
cd9fa985
ST
19720 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19721
a4186cff
PT
19722 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19723 HURD_CRITICAL_END around holding _hurd_dtable_lock.
19724 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19725 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19726 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19727 d->port.lock.
802ca5a5 19728
a4186cff
PT
19729 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19730 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
19731 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 19732
bcf55240
TS
197332012-05-10 Thomas Schwinge <thomas@schwinge.name>
19734
6960eb42
TS
19735 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19736 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19737 definitions.
19738
eb43375f
TS
19739 accept4 for GNU Hurd.
19740 * include/sys/socket.h (__libc_accept4): New prototype.
19741 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
19742 to implement __libc_accept4.
19743 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19744 __libc_accept4.
19745 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19746
bcf55240
TS
19747 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19748 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19749 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19750 signal-defines.sym.
19751
6178c55b
ST
197522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19753
a4186cff 19754 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 19755
6f080c2f
TS
197562012-05-10 Thomas Schwinge <thomas@schwinge.name>
19757
19758 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19759 assertion on O_CLOEXEC flag.
19760 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19761 * hurd/intern-fd.c: Likewise.
19762 * hurd/port2fd.c: Likewise.
19763
bcfe3a54
ST
197642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19765
19766 [BZ #3906]
19767 * bits/in.h (IPV6_PKTINFO): Define new macro.
19768 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19769
89c9aa49
AZ
197702012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19771
19772 [BZ #13954]
19773 [BZ #13955]
19774 [BZ #13956]
19775 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19776 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19777 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19778 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19779 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19780 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19781 * math/libm-test.inc (logb_test) : Additional logb tests.
19782
021db4be
AJ
197832012-05-09 Andreas Schwab <schwab@linux-m68k.org>
19784 Andreas Jaeger <aj@suse.de>
19785
19786 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19787 * configure: Regenerated.
19788 * config.h.in (LINK_OBSOLETE_RPC): New macro.
19789 * config.make.in (link-obsolete-rpc): New substituted variable.
19790 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19791 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19792 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19793 (shared-only-routines): Don't set it under [link-obsolete-rpc],
19794 so that libc.a contains the symbols.
19795 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19796 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19797 * sunrpc/auth_none.c: Likewise.
19798 * sunrpc/auth_unix.c: Likewise.
19799 * sunrpc/authdes_prot.c: Likewise.
19800 * sunrpc/authuxprot.c: Likewise.
19801 * sunrpc/clnt_gen.c: Likewise.
19802 * sunrpc/clnt_perr.c: Likewise.
19803 * sunrpc/clnt_raw.c: Likewise.
19804 * sunrpc/clnt_simp.c: Likewise.
19805 * sunrpc/clnt_tcp.c: Likewise.
19806 * sunrpc/clnt_udp.c: Likewise.
19807 * sunrpc/clnt_unix.c: Likewise.
19808 * sunrpc/des_crypt.c: Likewise.
19809 * sunrpc/des_soft.c: Likewise.
19810 * sunrpc/get_myaddr.c: Likewise.
19811 * sunrpc/key_call.c: Likewise.
19812 * sunrpc/key_prot.c: Likewise.
19813 * sunrpc/netname.c: Likewise.
19814 * sunrpc/pm_getmaps.c: Likewise.
19815 * sunrpc/pm_getport.c: Likewise.
19816 * sunrpc/pmap_clnt.c: Likewise.
19817 * sunrpc/pmap_prot.c: Likewise.
19818 * sunrpc/pmap_prot2.c: Likewise.
19819 * sunrpc/pmap_rmt.c: Likewise.
19820 * sunrpc/publickey.c: Likewise.
19821 * sunrpc/rpc_cmsg.c: Likewise.
19822 * sunrpc/rpc_common.c: Likewise.
19823 * sunrpc/rpc_dtable.c: Likewise.
19824 * sunrpc/rpc_prot.c: Likewise.
19825 * sunrpc/rpc_thread.c: Likewise.
19826 * sunrpc/rtime.c: Likewise.
19827 * sunrpc/svc.c: Likewise.
19828 * sunrpc/svc_auth.c: Likewise.
19829 * sunrpc/svc_raw.c: Likewise.
19830 * sunrpc/svc_run.c: Likewise.
19831 * sunrpc/svc_tcp.c: Likewise.
19832 * sunrpc/svc_udp.c: Likewise.
19833 * sunrpc/svc_unix.c: Likewise.
19834 * sunrpc/svcauth_des.c: Likewise.
19835 * sunrpc/xcrypt.c: Likewise.
19836 * sunrpc/xdr.c: Likewise.
19837 * sunrpc/xdr_array.c: Likewise.
19838 * sunrpc/xdr_float.c: Likewise.
19839 * sunrpc/xdr_intXX_t.c: Likewise.
19840 * sunrpc/xdr_mem.c: Likewise.
19841 * sunrpc/xdr_rec.c: Likewise.
19842 * sunrpc/xdr_ref.c: Likewise.
19843 * sunrpc/xdr_sizeof.c: Likewise.
19844 * sunrpc/xdr_stdio.c: Likewise.
19845
b5c086a2
RM
198462012-05-10 Roland McGrath <roland@hack.frob.com>
19847
19848 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19849 change. Update copyright years.
19850
6d74dd09
JM
198512012-05-10 Joseph Myers <joseph@codesourcery.com>
19852
19853 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19854
28e72501
MK
198552012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
19856 Joseph Myers <joseph@codesourcery.com>
19857 Paul Pluzhnikov <ppluzhnikov@google.com>
19858
19859 [BZ #14012]
19860 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19861 requiring rpcgen.
19862 [cross-compiling] (extra-libs): Likewise.
19863 [cross-compiling] (extra-libs-others): Likewise.
19864 [cross-compiling] (librpcsvc-routines): Likewise.
19865 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19866 [cross-compiling] (omit-deps): Likewise.
19867 (sunrpc-CPPFLAGS): New variable.
19868 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19869 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19870 (cross-rpcgen-objs): New variable.
19871 (extra-objs): Append $(cross-rpcgen-objs).
19872 ($(cross-rpcgen-objs)): New rule.
19873 ($(objpfx)cross-rpcgen): Likewise.
19874 (rpcgen-cmd): Define to use $(built-program-file). Expand
19875 comment.
19876 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19877 ($(objpfx)x%.stmp): Likewise.
19878 * sunrpc/proto.h [IS_IN_build] (_): Define.
19879 [IS_IN_build] (_libc_intl_domainname): Likewise.
19880
c8c59454
L
198812012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19882
19883 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19884 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19885 and R_X86_64_TPOFF64.
19886
6f27cd16
JM
198872012-05-10 Joseph Myers <joseph@codesourcery.com>
19888
19889 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19890 sysdeps/unix/sysv/syscalls.list.
19891 (stime): Likewise.
19892 (utime): Likewise.
19893 * sysdeps/unix/sysv/syscalls.list: Remove file.
19894
02467e1c
PE
198952012-05-10 Paul Eggert <eggert@cs.ucla.edu>
19896
19897 [BZ #3440]
19898 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19899 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19900 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19901 (__LC_IDENTIFICATION): Make these macros useful in #if
19902 expressions, as required by C99.
19903
da392631
AS
199042012-05-10 Andreas Schwab <schwab@linux-m68k.org>
19905
19906 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19907 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
19908 after this.
19909
8115f29b
L
199102012-05-09 H.J. Lu <hongjiu.lu@intel.com>
19911
19912 * stdlib/longlong.h: Updated from GCC.
19913
bdd74070
AJ
199142012-05-09 Andreas Jaeger <aj@suse.de>
19915
edfe0dbe
AJ
19916 * nscd/nscd.c (run_modes): Make named enum, reorder so that
19917 default is first entry.
19918 (run_mode): Set type.
19919 (main): Remove informal message about syslog.
19920 (options): Fix typo.
19921
bcfe3a54
ST
19922 [BZ #14053]
19923 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 19924 to asm.
bcfe3a54
ST
19925 (lrint): Likewise.
19926 (llrintf): Likewise.
19927 (llrint): Likewise.
19928 (rint): Likewise.
19929 (rintf): Likewise.
19930 (nearbyint): Likewise.
19931 (nearbyintf): Likewise.
bdd74070 19932
91d8d69e
AJ
199332012-05-09 Andreas Jaeger <aj@suse.de>
19934 Pedro Alves <palves@redhat.com>
19935
19936 * nscd/nscd.c (run_mode): Use enum.
19937 (main): Cleanup coding style issue.
19938
bb90b80b
AJ
199392012-05-09 Alexandre Oliva <aoliva@redhat.com>
19940 Andreas Jaeger <aj@suse.de>
19941
bcfe3a54
ST
19942 * nscd/nscd.c (go_background): Replaced with...
19943 (run_mode): ... this.
bb90b80b 19944 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
19945 (options): Add -F --foreground.
19946 (main): Implement it.
19947 (parse_opt): Parse it.
bb90b80b 19948
1a4b75a1
AJ
199492012-05-09 Andreas Jaeger <aj@suse.de>
19950
19951 [BZ #14083]
19952 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19953 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19954 -Wconversion warning.
19955 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19956 Likewise.
19957
b1cc2472
JM
199582012-05-09 Joseph Myers <joseph@codesourcery.com>
19959
19960 * conform/data/locale.h-data (NULL): Use macro-constant. Require
19961 == 0.
19962 (LC_ALL): Use macro-int-constant.
19963 (LC_COLLATE): Likewise.
19964 (LC_CTYPE): Likewise.
19965 (LC_MESSAGES): Likewise.
19966 (LC_MONETARY): Likewise.
19967 (LC_NUMERIC): Likewise.
19968 (LC_TIME): Likewise.
19969 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19970 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19971 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19972 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19973 Specify type.
19974 [C99-based standards] (float_t): Expect type.
19975 [C99-based standards] (double_t): Expect type.
19976 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
19977 type.
19978 [C99-based standards] (HUGE_VALL): Likewise.
19979 [C99-based standards] (INFINITY): Likewise.
19980 [C99-based standards] (NAN): Likewise.
19981 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
19982 [C99-based standards] (FP_NAN): Likewise.
19983 [C99-based standards] (FP_NORMAL): Likewise.
19984 [C99-based standards] (FP_SUBNORMAL): Likewise.
19985 [C99-based standards] (FP_ZERO): Likewise.
19986 [C99-based standards] (FP_FAST_FMA): Use
19987 optional-macro-int-constant. Specify type. Require == 1.
19988 [C99-based standards] (FP_FAST_FMAF): Likewise.
19989 [C99-based standards] (FP_FAST_FMAL): Likewise.
19990 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
19991 [C99-based standards] (FP_ILOGBNAN): Likewise.
19992 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
19993 Specify type.
19994 [C99-based standards] (MATH_ERREXCEPT): Likewise.
19995 [C99-based standards] (math_errhandling): Specify type.
19996 [ISO99 || ISO11] (signgam): Do not allow.
19997 [non-C99-based standards] (copysignf): Do not allow.
19998 [non-C99-based standards] (exp2f): Likewise.
19999 [non-C99-based standards] (log2f): Likewise.
20000 [non-C99-based standards] (modff): Allow.
20001 [non-C99-based standards] (erff): Do not allow.
20002 [non-C99-based standards] (erfcf): Likewise.
20003 [non-C99-based standards] (gammaf): Likewise.
20004 [non-C99-based standards] (hypotf): Likewise.
20005 [non-C99-based standards] (j0f): Likewise.
20006 [non-C99-based standards] (j1f): Likewise.
20007 [non-C99-based standards] (jnf): Likewise.
20008 [non-C99-based standards] (lgammaf): Likewise.
20009 [non-C99-based standards] (tgammaf): Likewise.
20010 [non-C99-based standards] (y0f): Likewise.
20011 [non-C99-based standards] (y1f): Likewise.
20012 [non-C99-based standards] (ynf): Likewise.
20013 [non-C99-based standards] (isnanf): Likewise.
20014 [non-C99-based standards] (acoshf): Likewise.
20015 [non-C99-based standards] (asinhf): Likewise.
20016 [non-C99-based standards] (atanhf): Likewise.
20017 [non-C99-based standards] (cbrtf): Likewise.
20018 [non-C99-based standards] (expm1f): Likewise.
20019 [non-C99-based standards] (ilogbf): Likewise.
20020 [non-C99-based standards] (log1pf): Likewise.
20021 [non-C99-based standards] (logbf): Likewise.
20022 [non-C99-based standards] (nextafterf): Likewise.
20023 [non-C99-based standards] (remainderf): Likewise.
20024 [non-C99-based standards] (rintf): Likewise.
20025 [non-C99-based standards] (scalbf): Likewise.
20026 [non-C99-based standards] (copysignl): Likewise.
20027 [non-C99-based standards] (exp2l): Likewise.
20028 [non-C99-based standards] (log2l): Likewise.
20029 [non-C99-based standards] (modfl): Allow.
20030 [non-C99-based standards] (erfl): Do not allow.
20031 [non-C99-based standards] (erfcl): Likewise.
20032 [non-C99-based standards] (gammal): Likewise.
20033 [non-C99-based standards] (hypotl): Likewise.
20034 [non-C99-based standards] (j0l): Likewise.
20035 [non-C99-based standards] (j1l): Likewise.
20036 [non-C99-based standards] (jnl): Likewise.
20037 [non-C99-based standards] (lgammal): Likewise.
20038 [non-C99-based standards] (tgammal): Likewise.
20039 [non-C99-based standards] (y0l): Likewise.
20040 [non-C99-based standards] (y1l): Likewise.
20041 [non-C99-based standards] (ynl): Likewise.
20042 [non-C99-based standards] (isnanl): Likewise.
20043 [non-C99-based standards] (acoshl): Likewise.
20044 [non-C99-based standards] (asinhl): Likewise.
20045 [non-C99-based standards] (atanhl): Likewise.
20046 [non-C99-based standards] (cbrtl): Likewise.
20047 [non-C99-based standards] (expm1l): Likewise.
20048 [non-C99-based standards] (ilogbl): Likewise.
20049 [non-C99-based standards] (log1pl): Likewise.
20050 [non-C99-based standards] (logbl): Likewise.
20051 [non-C99-based standards] (nextafterl): Likewise.
20052 [non-C99-based standards] (remainderl): Likewise.
20053 [non-C99-based standards] (rintl): Likewise.
20054 [non-C99-based standards] (scalbl): Likewise.
20055 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20056 [non-C99-based standards] (FP_*): Do not allow.
20057 [C99-based standards] (FP_*): Change to
20058 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20059 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20060 allow.
20061 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20062 (SIG_ERR): Likewise.
20063 [X/Open-based standards] (SIG_HOLD): Likewise.
20064 (SIG_IGN): Likewise.
20065 (SIGABRT): Use macro-int-constant. Specify type. Require
20066 positive value.
20067 (SIGFPE): Likewise.
20068 (SIGILL): Likewise.
20069 (SIGINT): Likewise.
20070 (SIGSEGV): Likewise.
20071 (SIGTER): Likewise.
20072 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20073 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20074 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20075 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20076 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20077 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20078 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20079 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20080 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20081 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20082 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20083 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20084 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20085 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20086 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20087 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20088 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20089 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20090 [X/Open-based standards] (SIGTRAP): Likewise.
20091 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20092 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20093 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20094 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20095 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20096 allow.
20097
b9f1922d
IW
200982012-05-08 Ian Wienand <ianw@vmware.com>
20099
20100 [BZ #14080]
20101 * time/tzset.c (__tzset_parse_tz): Update default rules for
20102 daylight time changes in the Energy Policy Act of 2005.
20103
1db86e88
AJ
201042012-05-09 Andreas Jaeger <aj@suse.de>
20105
20106 [BZ #13983]
20107 * elf/ldconfig.c (parse_conf): Change string to make clear that
20108 ldconfig only issued a warning if ld.so.conf does not exist.
20109
dee4a4e3
DM
201102012-05-08 David S. Miller <davem@davemloft.net>
20111
ee0db190
DM
20112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20113 movxtod instead of popping the value on the stack.
20114
dee4a4e3
DM
20115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20116
6a43ec98
CD
201172012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
20118
20119 * config.h.in: Add HAVE_ARM_PCS_VFP.
20120
05c2c961
RMG
201212012-05-08 Roland Mc Grath <roland@hack.frob.com>
20122
bcfe3a54
ST
20123 [BZ #13979]
20124 * include/features.h: Warn if user requests __FORTIFY_SOURCE
20125 checking but the checks are disabled for any reason.
05c2c961 20126
4b30f61a
L
201272012-05-08 H.J. Lu <hongjiu.lu@intel.com>
20128
20129 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20130 and ELF64_R_TYPE with ELFW(R_TYPE).
20131
eee2bc67
JM
201322012-05-08 Joseph Myers <joseph@codesourcery.com>
20133
7ea5391a
JM
20134 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20135 (ulimit): Likewise.
20136
eee2bc67
JM
20137 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20138 (settimeofday): Likewise.
20139
abb66a67
MF
201402012-05-08 Mike Frysinger <vapier@gentoo.org>
20141
20142 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
20143 a struct th_u2 inside the union, and move tu_block/tu_code into
20144 a new th_u3 union of tu_block/tu_code inside of that. Move
20145 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
20146 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
20147 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20148 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20149 (th_stuff): Change to th_u1.tu_stuff.
20150 (th_data): Define.
20151 (th_msg): Change to th_u1.th_u2.tu_data.
20152
7f18b530
DM
201532012-05-07 David S. Miller <davem@davemloft.net>
20154
05760585
DM
20155 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20156
7f18b530
DM
20157 [BZ #14074]
20158 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20159 (SETUP_PIC_REG): Use it.
20160 (SETUP_PIC_REG_LEAF): Use it.
20161
495fd99f
JM
201622012-05-07 Joseph Myers <joseph@codesourcery.com>
20163
20164 [BZ #13885]
20165 [BZ #13923]
20166 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20167 USE_AS_EXPM1L.
20168 (EXPL_FINITE): Likewise.
20169 (FLDLOG): Likewise.
20170 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20171 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20172 e_expl.S.
20173 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20174 USE_AS_EXPM1L.
20175 (EXPL_FINITE): Likewise.
20176 (FLDLOG): Likewise.
20177 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20178 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20179 e_expl.S.
20180 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
20181 test of -max_value argument for long double.
20182 * sysdeps/i386/fpu/libm-test-ulps: Update.
20183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20184
6693d694
DM
201852012-05-06 David S. Miller <davem@davemloft.net>
20186
20187 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20188 quad soft-float symbols whose references which are compiler
20189 generated.
20190 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20191
6c23e11c
JM
201922012-05-06 Joseph Myers <joseph@codesourcery.com>
20193
d8b82cad
JM
20194 [BZ #13884]
20195 [BZ #13914]
20196 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20197 USE_AS_EXP10L.
20198 (EXPL_FINITE): Likewise.
20199 (FLDLOG): Likewise.
20200 (c0): Likewise.
20201 (c1): Likewise.
20202 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20203 Adjust comments for base varying.
20204 (__expl_finite): Change alias to EXPL_FINITE.
20205 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
20206 e_expl.S.
20207 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
20208 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20209 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20210 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
20211 * sysdeps/x86_64/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 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
20221 tests for bugs.
20222 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20223
6c23e11c
JM
20224 [BZ #14064]
20225 * math/libm-test.inc (check_float_internal): Correct ulp
20226 calculation for subnormal expected results.
20227
29ba805c
AJ
202282012-05-06 Andreas Jaeger <aj@suse.de>
20229
20230 * Makeconfig (+math-flags): New, set to -frounding-math.
20231 (+cflags): Add +math-flags so that all of glibc gets compiled with
20232 it.
20233
20234 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20235
7b17aeda
JM
202362012-05-05 Joseph Myers <joseph@codesourcery.com>
20237
5779f134
JM
20238 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20239 Disable one test.
20240
41498f4d
JM
20241 [BZ #13787]
20242 [BZ #13922]
20243 [BZ #14036]
20244 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20245 (__ieee754_expl): Allow for and saturate large arguments.
20246 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20247 (u_threshold): Likewise.
20248 (__exp): Call __ieee754_exp before checking for overflow and
20249 underflow.
20250 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20251 (u_threshold): Likewise.
20252 (__expf): Call __ieee754_expf before checking for overflow and
20253 underflow.
20254 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20255 (u_threshold): Likewise.
20256 (__expl): Call __ieee754_expl before checking for overflow and
20257 underflow.
20258 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20259 (__ieee754_expl): Allow for and saturate large arguments.
20260 * math/libm-test.inc (exp_test): Add another test. Do not allow
20261 missing overflow exception on overflow.
20262 (expm1_test): Do not allow missing overflow exception on overflow.
20263
6698b8bf
JM
20264 * sysdeps/i386/fpu/e_expl.c: Move to ...
20265 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
20266 rather than using inline asm.
20267 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20268 * sysdeps/x86_64/fpu/e_expl.S: Copy from
20269 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20270
7b17aeda
JM
20271 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20272 (nice): Likewise.
20273 (poll): Likewise.
20274 (signal): Likewise.
20275 (time): Likewise.
20276 (times): Likewise.
20277
f7c85819
JM
202782012-05-04 Joseph Myers <joseph@codesourcery.com>
20279
20280 * sysdeps/unix/syscalls.list (adjtime): Add entry from
20281 sysdeps/unix/common/syscalls.list.
20282 (fchmod): Likewise.
20283 (fchown): Likewise.
20284 (ftruncate): Likewise.
20285 (getrusage): Likewise.
20286 (gettimeofday): Likewise.
20287 (setpgid): Likewise.
20288 (setregid): Likewise.
20289 (setreuid): Likewise.
20290 (sigaction): Likewise.
20291 (truncate): Likewise.
20292 (vhangup): Likewise.
20293 * sysdeps/unix/common/syscalls.list: Remove file.
20294 * sysdeps/unix/bsd/Implies: Don't include unix/common.
20295 * sysdeps/unix/sysv/linux/Implies: Likewise.
20296
336270d0
L
202972012-05-04 H.J. Lu <hongjiu.lu@intel.com>
20298
20299 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20300 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20301 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20302 Moved to ...
20303 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20304 Here.
20305 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20306 to ...
20307 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20308 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20309 to ...
20310 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20311 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20312 to ...
20313 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20314 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20315 to ...
20316 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20317 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20318 to ...
20319 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20320 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20321 to ...
20322 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20323 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20324 to ...
20325 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20326 Here.
20327 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20328 to ...
20329 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20330 Here.
20331 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20332 to ...
20333 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20334 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20335 Moved to ...
20336 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20337 Here.
20338 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20339 to ...
20340 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20341
d128e450
JM
203422012-05-04 Joseph Myers <joseph@codesourcery.com>
20343
fa8ee516
JM
20344 * sysdeps/unix/common/bits/dirent.h: Remove file.
20345 * sysdeps/unix/common/bits/fcntl.h: Likewise.
20346
d128e450
JM
20347 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20348 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20349 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20350 * sysdeps/unix/bsd/isatty.c: Likewise.
20351 * sysdeps/unix/bsd/tcdrain.c: Likewise.
20352 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20353 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20354
ff8faaf0 203552012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 20356
62881be4 20357 [BZ #13563]
31dc8730
AZ
20358 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20359 long double comparison inaccuracies.
20360 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20362
6fef930c
AS
203632012-05-04 Andreas Schwab <schwab@linux-m68k.org>
20364
20365 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20366 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20367
8f203e6c
JM
203682012-05-04 Joseph Myers <joseph@codesourcery.com>
20369
20370 [BZ #14049]
20371 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20372 nonzero digits before rounding a hex value.
20373 * stdlib/tst-strtod.c (tests): Add another test.
20374
5197d9c2
AK
203752012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20376
20377 * sysdeps/s390/fpu/libm-test-ulps: Update.
20378
f0c1dedf
AJ
203792012-05-03 Andreas Jaeger <aj@suse.de>
20380
20381 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20382 does not get optimized out.
20383 (malloc_opt_barrier): New.
20384
a65ef2ae 203852012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 20386 Roland McGrath <roland@hack.frob.com>
a65ef2ae 20387
2b942cb7 20388 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 20389 intermediate file deletion.
2b942cb7 20390 (generated): Add .symlist files.
a65ef2ae 20391
54b71e02
JM
203922012-05-03 Joseph Myers <joseph@codesourcery.com>
20393
20394 [BZ #13775]
20395 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20396 Redirect under this condition.
20397 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20398 [__USE_GNU] (__dprintf_chk): Not under this condition.
20399 [__USE_GNU] (__vdprintf_chk): Likewise.
20400 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20401 under this condition.
20402 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20403 [__USE_XOPEN2K8] (dprintf): Define under this condition.
20404 [__USE_XOPEN2K8] (vdprintf): Likewise.
20405 [__USE_GNU] (__dprintf_chk): Not under this condition.
20406 [__USE_GNU] (__vdprintf_chk): Likewise.
20407 [__USE_GNU] (dprintf): Likewise.
20408 [__USE_GNU] (vdprintf): Likewise.
20409
d3dfcc41
RM
204102012-05-03 Roland McGrath <roland@hack.frob.com>
20411
20412 * elf/Makefile (common-generated): Set this instead of generated for
20413 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
20414 $(all-built-dso)-derived lists.
20415
7ac30cc5
AJ
204162012-05-03 Andreas Jaeger <aj@suse.de>
20417
0c51e550
AJ
20418 * sysdeps/i386/fpu/libm-test-ulps: Update.
20419
7ac30cc5
AJ
20420 * FAQ: Removed.
20421 * FAQ.in: Likewise.
20422 * scripts/gen-FAQ.pl: Likewise.
20423 * manual/install.texi (Installation): Point to online location of
20424 FAQ.
20425 * Makefile (files-for-dist): Remove FAQ.
20426 (FAQ): Remove.
20427
d4c2917f
AM
204282012-05-02 Allan McRae <allan@archlinux.org>
20429
20430 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20431 (LDFLAGS-reldepmod5.so): Likewise.
20432 (LDFLAGS-reldep6mod1.so): Likewise.
20433 (LDFLAGS-reldep6mod4.so): Likewise.
20434 (LDFLAGS-reldep8mod3.so): Likewise.
20435 (LDFLAGS-unload4mod1.so): Likewise.
20436 (LDFLAGS-unload4mod2.so): Likewise.
20437 (LDFLAGS-tst-initorder): Likewise.
20438 (LDFLAGS-tst-initordera2.so): Likewise.
20439 (LDFLAGS-tst-initordera3.so): Likewise.
20440 (LDFLAGS-tst-initordera4.so): Likewise.
20441 (LDFLAGS-tst-initorderb2.so): Likewise.
20442 (LDFLAGS-noload): Likewise.
20443 (LDFLAGS-next): Likewise.
20444 (LDFLAGS-order2mod1.so): Likewise.
20445 (LDFLAGS-order2mod2.so): Likewise.
20446 (LDFLAGS-tst-initorder2): Likewise.
20447 (LDFLAGS-tst-initorder2a.so): Likewise.
20448 (LDFLAGS-tst-initorder2b.so): Likewise.
20449 (LDFLAGS-tst-initorder2c.so): Likewise.
20450 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20451
d77f993f
DM
204522012-05-02 David S. Miller <davem@davemloft.net>
20453
20454 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20455
171a70b4
PP
204562012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20457
20458 [BZ #14055]
20459 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20460
0be196ad
AJ
204612012-05-02 Andreas Jaeger <aj@suse.de>
20462
20463 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20464 since we manipulate rounding mode.
20465 (CPPFLAGS-test-idouble.c): Likewise.
20466 (CPPFLAGS-test-ifloat.c): Likewise.
20467 (CFLAGS-test-ldouble.c): Likewise.
20468 (CFLAGS-test-double.c): Likewise.
20469 (CFLAGS-test-float.c): Likewise.
20470 (CFLAGS-test-misc.c): Likewise.
20471 (CFLAGS-test-test-fenv.c): Likewise.
20472
4f9d04aa
AZ
204732012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20474
2b942cb7
RM
20475 [BZ #2550]
20476 [BZ #2570]
20477 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20478 comparisons to determine direction to adjust input.
4f9d04aa 20479
82a79e7d
RM
204802012-05-01 Roland McGrath <roland@hack.frob.com>
20481
f5a01ca9
RM
20482 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20483 output to the target.
20484
90fe4186
RM
20485 * scripts/localplt.awk: New file.
20486 * elf/Makefile ($(objpfx)check-localplt): Target removed.
20487 (check-localplt-CFLAGS): Variable removed.
20488 ($(all-built-dso:=.jmprel)): New static pattern rule.
20489 (generated): Add those targets.
20490 (localplt-built-dso): New variable.
20491 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20492
20493 * elf/check-localplt.c: File removed.
20494
82397ed6
RM
20495 * scripts/check-execstack.awk: New file.
20496 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20497 (check-execstack-CFLAGS): Variable removed.
20498 ($(objpfx)check-execstack.h): Target removed.
20499 ($(objpfx)execstack-default): New target.
20500 (generated): Add that instead of check-execstack.h.
20501 ($(all-built-dso:=.phdr)): New static pattern rule.
20502 (generated): Add those targets.
20503 * elf/check-execstack.c: File removed.
20504
82a79e7d
RM
20505 * scripts/check-textrel.awk: New file.
20506 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20507 (check-textrel-CFLAGS): Variable removed.
20508 (all-built-dso): Use := to define.o
20509 ($(all-built-dso:=.dyn)): New static pattern rule.
20510 (generated): Add those targets.
20511 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20512 * config.make.in (READELF): New substituted variable.
20513 * elf/check-textrel.c: File removed.
20514
62fde54f 205152012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 20516
615605c9
JM
20517 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20518 allow.
20519 * conform/data/ctype.h-data [C99-based standards] (isblank):
20520 Expect function.
20521 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20522 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20523 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20524 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20525 Specify type. Require positive value.
20526 (EILSEQ): Likewise.
20527 (ERANGE): Likewise.
20528 [ISO || POSIX] (EILSEQ): Do not expect.
20529 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20530 Specify type. Require positive value.
20531 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20532 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20533 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20534 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20535 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20536 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20537 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20538 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20539 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20540 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20541 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20542 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20543 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20544 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20545 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20546 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20547 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20548 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20549 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20550 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20551 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20552 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20553 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20554 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20555 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20556 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20557 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20558 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20559 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20560 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20561 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20562 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20563 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20564 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20565 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20566 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20567 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20568 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20569 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20570 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20571 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20572 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20573 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20574 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20575 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20576 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20577 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20578 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20579 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20580 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20581 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20582 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20583 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20584 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20585 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20586 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20587 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20588 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20589 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20590 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20591 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20592 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20593 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20594 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20595 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20596 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20597 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20598 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20599 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20600 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20601 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20602 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20603 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20604 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20605 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20606 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20607 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20608 Require >= 2.
20609 (FLT_ROUNDS): Expect as macro, not constant.
20610 (FLT_MANT_DIG): Use macro-int-constant.
20611 (DBL_MANT_DIG): Likewise.
20612 (LDBL_MANT_DIG): Likewise.
20613 (FLT_DIG): Likewise.
20614 (DBL_DIG): Likewise.
20615 (LDBL_DIG): Likewise.
20616 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
20617 (DBL_MIN_EXP): Likewise.
20618 (LDBL_MIN_EXP): Likewise.
20619 (FLT_MAX_EXP): Use macro-int-constant.
20620 (DBL_MAX_EXP): Likewise.
20621 (LDBL_MAX_EXP): Likewise.
20622 (FLT_MAX_10_EXP): Likewise.
20623 (DBL_MAX_10_EXP): Likewise.
20624 (LDBL_MAX_10_EXP): Likewise.
20625 (FLT_MAX): Use macro-constant.
20626 (DBL_MAX): Likewise.
20627 (LDBL_MAX): Likewise.
20628 (FLT_EPSILON): Use macro-constant. Give upper bound.
20629 (DBL_EPSILON): Likewise.
20630 (LDBL_EPSILON): Likewise.
20631 (FLT_MIN): Likewise.
20632 (DBL_MIN): Likewise.
20633 (LDBL_MIN): Likewise.
20634 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20635 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20636 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20637 [ISO11] (FLT_HAS_SUBNORM): Likewise.
20638 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20639 [ISO11] (DBL_DECIMAL_DIG): Likewise.
20640 [ISO11] (FLT_DECIMAL_DIG): Likewise.
20641 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20642 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20643 [ISO11] (FLT_TRUE_MIN): Likewise.
20644 [ISO11] (LDBL_TRUE_MIN): Likewise.
20645 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20646 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20647 (SCHAR_MIN): Use macro-int-constant. Specify type.
20648 (SCHAR_MAX): Likewise.
20649 (UCHAR_MAX): Likewise.
20650 (CHAR_MIN): Likewise.
20651 (CHAR_MAX): Likewise.
20652 (MB_LEN_MAX): Use macro-int-constant.
20653 (SHRT_MIN): Use macro-int-constant. Specify type.
20654 (SHRT_MAX): Likewise.
20655 (USHRT_MAX): Likewise.
20656 (INT_MAX): Likewise.
20657 (INT_MIN): Use macro-int-constant. Specify type. Make upper
20658 bound negative.
20659 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20660 bound with "U".
20661 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20662 bound with "L".
20663 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
20664 bound negative. Suffix upper bound with "L".
20665 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20666 bound with "UL".
20667 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20668 Specify type.
20669 [C99-based standards] (LLONG_MAX): Likewise.
20670 [C99-based standards] (ULLONG_MAX): Likewise.
20671 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
20672 == 0.
20673 [ISO11] (max_align_t): Require type.
20674 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20675
c9140a62
JM
20676 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20677 from $CFLAGS, without defining away __attribute__ calls.
20678 (checknamespace): Use $CFLAGS_namespace.
20679
9af0bf29
JM
20680 * conform/conformtest.pl (@keywords): Only include C99 keywords
20681 for standards based on C99 or C11.
20682
343222a2
JM
20683 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20684 Disable tests.
20685 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20686 UNIX98]: Likewise.
20687
661f8cf0
JM
20688 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20689 usability of symbols in #if.
20690
ee74b9cb
JM
20691 * conform/conformtest.pl: If macro or constant types start
20692 "promoted:", expect the symbol to be of the following type
20693 promoted by the integer promotions.
62fde54f 20694
aafc49b3
JM
20695 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20696 in one place. Also handle "macro-constant".
20697
fefdf574
JM
20698 * conform/conformtest.pl: Only accept expected macro values with
20699 "==". Parse all "macro" lines in one place.
20700 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20701
f2d922fe
JM
20702 * conform/conformtest.pl: Handle braced types on "constant" lines
20703 instead of handling "typed-constant".
20704 * conform/data/signal.h-data: Use "constant" instead of
20705 "typed-constant".
20706
d22956c9
JM
20707 * conform/conformtest.pl: Handle "optional-" at start of lines in
20708 one place rather than duplicating several cases. Handle each
20709 format of "macro" line with initial "optional-".
20710
028e2e38
JM
20711 * conform/conformtest.pl: Only accept expected constant or
20712 optional-constant values with "==". Parse all "constant" lines in
20713 one place. Parse all "optional-constant" lines in one place.
20714 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20715 * conform/data/fmtmsg.h-data: Likewise.
20716 * conform/data/netinet/in.h-data: Likewise.
20717 * conform/data/tar.h-data: Likewise.
20718 * conform/data/limits.h-data: Use "==" form on "constant" and
20719 "optional-constant" lines.
20720
1b8f2850
JM
20721 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20722 Use -std=c99 for XOPEN2K.
20723 (@knownproblems): Remove.
20724 (newtoken): Don't check %isknown.
20725
a05a144b
JM
20726 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20727 Do not expect macro.
20728 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20729 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20730 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20731 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20732 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20733 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20734 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20735 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20736 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20737 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20738 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20739 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20740 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20741 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20742 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20743 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20744 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20745 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20746 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20747 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20748 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20749 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20750 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20751 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20752 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20753 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20754 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20755 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20756 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20757 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20758 [XPG3] (acosh): Likewise.
20759 [XPG3] (asinh): Likewise.
20760 [XPG3] (atanh): Likewise.
20761 [XPG3] (cbrt): Likewise.
20762 [XPG3] (expm1): Likewise.
20763 [XPG3] (ilogb): Likewise.
20764 [XPG3] (log1p): Likewise.
20765 [XPG3] (logb): Likewise.
20766 [XPG3] (nextafter): Likewise.
20767 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20768 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20769 [XPG3] (remainder): Likewise.
20770 [XPG3] (rint): Likewise.
20771 [XPG3 || XPG4 || UNIX98] (round): Likewise.
20772 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20773 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20774 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20775 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20776 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20777 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20778 [UNIX98 || XOPEN2K] (scalb): Expect.
20779 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20780 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20781 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20782 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20783 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20784 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20785 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20786 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20787 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20788 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20789 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20790 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20791 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20792 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20793 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20794 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20795 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20796 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20797 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20798 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20799 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20800 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20801 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20802 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20803 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20804 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20805 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20806 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20807 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20808 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20809 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20810 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20811 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20812 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20813 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20814 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
20815 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
20816 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20817 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20818 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20819 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20820 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20821 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20822 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20823 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20824 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20825 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20826 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20827 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20828 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20829 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20830 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20831 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20832 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20833 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20834 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20835 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20836 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20837 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20838 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20839 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20840 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20841 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20842 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20843 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20844 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20845 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20846 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20847 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20848 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20849 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20850 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20851 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20852 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20853 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20854 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20855 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20856 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20857 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20858 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20859 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20860 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20861 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20862 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20863 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20864 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20865 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20866 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20867 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20868 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20869 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20870 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20871 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20872 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20873 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20874 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20875 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20876 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20877 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20878 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20879 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20880 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20881 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20882 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20883 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20884 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20885 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20886 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20887 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20888 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20889 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20890 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20891 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20892 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20893 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20894 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20895 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20896 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20897 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20898 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20899 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20900 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20901 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20902 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20903 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20904 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20905 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20906 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20907 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20908 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20909 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20910 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20911 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20912 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20913 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20914 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20915 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20916
73c5ebe3
JM
20917 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20918 _XOPEN_SOURCE_EXTENDED for XPG4.
20919
39c33b6c
JM
20920 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20921
62fde54f
JM
20922 * Makeconfig (localtime): Remove variable.
20923 (inst_localtime-file): Likewise.
20924
0741d64c
AS
209252012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20926
20927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20928 Update.
20929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20930 Update.
20931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20932 Update.
20933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20934 Update.
20935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20936 Update.
20937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20938 Update.
20939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20940 Update.
20941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20942 Update.
20943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20944 Update.
20945
7cb029ee
JM
209462012-05-01 Joseph Myers <joseph@codesourcery.com>
20947
20948 [BZ #2550]
20949 [BZ #2570]
20950 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20951 comparisons to determine direction to adjust input.
20952 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20953 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20954 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20955 Likewise.
20956 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20957 Likewise.
20958 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20959 Likewise.
20960 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20961 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20962 Likewise.
20963 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20964 Likewise.
20965 * math/libm-test.inc (nexttoward_test): Add more tests.
20966
412bd966
AS
209672012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20968
20969 [BZ #14040]
20970 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20971 in version GLIBC_2.1, not GLIBC_2.0.
20972 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20973 Likewise.
20974
9568c0c2
JM
209752012-04-30 Joseph Myers <joseph@codesourcery.com>
20976
adfbc8ac
JM
20977 [BZ #13942]
20978 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
20979 (1 - x) * (1 + x).
20980 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20981 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
20982 * math/libm-test.inc (acos_test): Add more tests.
20983 (asin_test): Likewise.
20984 * sysdeps/i386/fpu/libm-test-ulps: Update.
20985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20986
5ba3cc69
JM
20987 [BZ #14034]
20988 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
20989 of square root.
20990 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
20991 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20992 * math/libm-test.inc (acos_test_tonearest): New function.
20993 (acos_test_towardzero): Likewise.
20994 (acos_test_downward): Likewise.
20995 (acos_test_upward): Likewise.
20996 (asin_test_tonearest): Likewise.
20997 (asin_test_towardzero): Likewise.
20998 (asin_test_downward): Likewise.
20999 (asin_test_upward): Likewise.
21000 (main): Call the new functions.
21001 * sysdeps/i386/fpu/libm-test-ulps: Update.
21002 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21003
9568c0c2
JM
21004 [BZ #13884]
21005 [BZ #13924]
21006 * math/e_exp10.c: Include <float.h>.
21007 (__ieee754_exp10): Handle underflow here rather than multiplying
21008 large negative argument by M_LN10.
21009 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21010 of __ieee754_expf.
21011 * math/e_exp10l.c: Include <float.h>.
21012 (__ieee754_exp10l): Handle underflow here rather than multiplying
21013 large negative argument by M_LN10l.
21014 * math/libm-test.inc (exp10_test): Add another test. Do not allow
21015 spurious overflow exception on underflow.
21016
5ac3ea17
MP
210172012-04-29 Marek Polacek <polacek@redhat.com>
21018
21019 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21020 (__fortify_function): New macro.
21021 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21022 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21023 __extern_always_inline.
21024 * libio/bits/stdio2.h: Likewise.
21025 * libio/bits/stdio.h: Likewise.
21026 * string/string.h: Likewise.
21027 * string/bits/string3.h: Likewise.
21028 * include/stdio.h: Likewise.
21029 * stdlib/bits/stdlib.h: Likewise.
21030 * stdlib/stdlib.h: Likewise.
21031 * rt/bits/mqueue2.h: Likewise.
21032 * rt/mqueue.h: Likewise.
21033 * posix/bits/unistd.h: Likewise.
21034 * posix/unistd.h: Likewise.
21035 * io/bits/poll2.h: Likewise.
21036 * io/bits/fcntl2.h: Likewise.
21037 * io/fcntl.h: Likewise.
21038 * io/sys/poll.h: Likewise.
21039 * misc/bits/syslog.h: Likewise.
21040 * misc/bits/syslog-ldbl.h: Likewise.
21041 * misc/sys/syslog.h: Likewise.
21042 * socket/bits/socket2.h: Likewise.
21043 * socket/sys/socket.h: Likewise.
21044 * debug/tst-chk1.c: Likewise.
21045 * wcsmbs/bits/wchar2.h: Likewise.
21046 * wcsmbs/bits/wchar-ldbl.h: Likewise.
21047 * wcsmbs/wchar.h: Likewise.
21048
ecf0ebfb
AJ
210492012-04-29 Andreas Jaeger <aj@suse.de>
21050
21051 * Makerules (tests): Remove enable-check-abi protection.
21052 (check-abi-warn): Remove.
21053 (check-abi-%): Remove check-abi-warn usage.
21054
21055 * configure.in: Remove check-abi configure option.
21056 * configure: Regenerated.
21057 * config.make.in (enable-check-abi): Remove.
21058
6d5c57fa
AS
210592012-04-28 Andreas Schwab <schwab@linux-m68k.org>
21060
24c5d07e 21061 [BZ #14033]
ded5180a
AS
21062 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21063 double functions to double *_finite functions.
21064
7e0d315d
AS
21065 [BZ #13941]
21066 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21067 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21068 LDBL_MIN_EXP.
21069 * stdio-common/Makefile (tests): Add tst-sprintf3.
21070 * stdio-common/tst-sprintf3.c: New file.
21071
6d5c57fa
AS
21072 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21073 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21074
0749ff8b
JM
210752012-04-28 Joseph Myers <joseph@codesourcery.com>
21076
21077 * conform/conformtest.pl: Remove duplicate typed-constant
21078 handling.
21079
8dbd5d7b
DM
210802012-04-28 David S. Miller <davem@davemloft.net>
21081
21082 * Makerules (%.abilist): Add vpath on sysdep_dirs.
21083 (check-abi-%): Remove AWK script prerequisite and explicit
21084 abilist directory.
21085 (check-abi): Rewrite to just diff the symlist with the abilist.
21086 (config-tls, config-abi-config): Delete, no longer used.
21087 (update-abi-%): Remove AWK script and explicit abilist directory.
21088 (update-abi): Rewrite to simply compare and conditionally copy the
21089 symlist and the sysdep abilist file. Remove update-abi-config
21090 checks.
21091 * abilist/ld.abilist: Remove.
21092 * abilist/libBrokenLocale.abilist: Remove.
21093 * abilist/libanl.abilist: Remove.
21094 * abilist/libcrypt.abilist: Remove.
21095 * abilist/libdl.abilist: Remove.
21096 * abilist/librt.abilist: Remove.
21097 * abilist/libthread_db.abilist: Remove.
21098 * abilist/libutil.abilist: Remove.
21099 * scripts/extract-abilist.awk: Remove.
21100 * scripts/merge-abilist.awk: Remove.
21101 * sysdeps/generic/libcidn.abilist: New file.
21102 * sysdeps/generic/libnss_compat.abilist: New file.
21103 * sysdeps/generic/libnss_db.abilist: New file.
21104 * sysdeps/generic/libnss_dns.abilist: New file.
21105 * sysdeps/generic/libnss_files.abilist: New file.
21106 * sysdeps/generic/libnss_hesiod.abilist: New file.
21107 * sysdeps/generic/libnss_nis.abilist: New file.
21108 * sysdeps/generic/libnss_nisplus.abilist: New file.
21109 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21110 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
21111 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
21112 file.
21113 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
21114 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
21115 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
21116 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
21117 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
21118 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
21119 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
21120 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
21121 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
21122 file.
21123 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
21124 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
21125 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
21126 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
21127 file.
21128 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
21129 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
21130 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
21131 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
21132 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
21133 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
21134 file.
21135 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
21136 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
21137 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
21138 file.
21139 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21140 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21141 New file.
21142 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21143 New file.
21144 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21145 New file.
21146 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21147 New file.
21148 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21149 New file.
21150 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21151 New file.
21152 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21153 New file.
21154 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21155 New file.
21156 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21157 New file.
21158 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21159 New file.
21160 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21161 New file.
21162 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21163 New file.
21164 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21165 New file.
21166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21167 file.
21168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21169 New file.
21170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21171 New file.
21172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21173 file.
21174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21175 New file.
21176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21177 New file.
21178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21179 file.
21180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21181 New file.
21182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21183 New file.
21184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21185 New file.
21186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21187 New file.
21188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21189 New file.
21190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21191 New file.
21192 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21193 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
21194 file.
21195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21196 New file.
21197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21198 file.
21199 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21200 file.
21201 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21202 file.
21203 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21204 file.
21205 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21206 file.
21207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21208 New file.
21209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21210 file.
21211 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21212 file.
21213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21214 New file.
21215 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21216 file.
21217 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21219 file.
21220 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21221 New file.
21222 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21223 file.
21224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21225 file.
21226 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21227 file.
21228 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21229 file.
21230 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21231 file.
21232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21233 New file.
21234 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21235 file.
21236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21237 file.
21238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21239 New file.
21240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21241 file.
21242 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21243 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21244 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21245 file.
21246 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21247 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21248 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21249 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21250 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21251 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21252 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21253 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21254 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21255 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21256 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21257 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21258 file.
21259 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21260 New file.
21261 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21262 file.
21263 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21264 file.
21265 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21266 file.
21267 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21268 file.
21269 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21270 file.
21271 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21272 New file.
21273 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21274 New file.
21275 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21276 file.
21277 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21278 New file.
21279 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21280 file.
21281 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21282 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21283 file.
21284 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21285 New file.
21286 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21287 file.
21288 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21289 file.
21290 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21291 file.
21292 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21293 file.
21294 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21295 file.
21296 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21297 New file.
21298 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21299 New file.
21300 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21301 file.
21302 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21303 New file.
21304 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21305 file.
21306
41d73a1b
JM
213072012-04-28 Joseph Myers <joseph@codesourcery.com>
21308
21309 * conform/conformtest.pl: Fix typo in handling typed-constant from
21310 allow-header.
21311
28aeeda4
JM
213122012-04-27 Joseph Myers <joseph@codesourcery.com>
21313
adae8f5e
JM
21314 * README: Cut down references to pre-2.6 Linux kernels and
21315 Linuxthreads. Update lists of configurations in libc and ports
21316 and sort alphabetically. Say "or newer" with Linux kernel version
21317 requirements.
21318
28aeeda4
JM
21319 * config.h.in [IS_IN_build]: Allow compiling without optimization.
21320
a462cb63
RA
213212012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21322
21323 [BZ #887]
21324 * math/libm-test.inc (logb_test_downward): New test to expose
21325 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21326 rounding mode.
21327
6ad3493e
JM
213282012-04-27 Joseph Myers <joseph@codesourcery.com>
21329
21330 [BZ #14027]
21331 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21332 to be done.
21333 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21334 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21335
2ce4f015
JM
213362012-04-26 Joseph Myers <joseph@codesourcery.com>
21337
5aeb141a
JM
21338 * sysdeps/unix/i386/brk.S: Remove file.
21339 * sysdeps/unix/i386/dl-brk.S: Likewise.
21340 * sysdeps/unix/i386/pipe.S: Likewise.
21341 * sysdeps/unix/i386/sigreturn.S: Likewise.
21342 * sysdeps/unix/i386/syscall.S: Likewise.
21343 * sysdeps/unix/i386/vfork.S: Likewise.
21344 * sysdeps/unix/i386/wait.S: Likewise.
21345
7143acae
JM
21346 * sysdeps/unix/common/tcsendbrk.c: Move to ...
21347 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21348
2ce4f015
JM
21349 * configure.in (arm*-none*): Do not allow without
21350 --enable-hacker-mode.
21351 (netbsd*): Remove case setting base_os.
21352 (386bsd*): Likewise.
21353 (freebsd*): Likewise.
21354 (bsdi*): Likewise.
21355 (osf*): Likewise.
21356 (sunos*): Likewise.
21357 (ultrix*): Likewise.
21358 (newsos*): Likewise.
21359 (dynix*): Likewise.
21360 (*bsd*): Likewise.
21361 (sysv*): Likewise.
21362 (isc*): Likewise.
21363 (esix*): Likewise.
21364 (sco*): Likewise.
21365 (minix*): Likewise.
21366 (irix4*): Likewise.
21367 (irix6*): Likewise.
21368 (solaris[2-9]*): Likewise.
21369 (none): Likewise.
21370 * configure: Regenerated.
21371
0ac229c8
AZ
213722012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21373
21374 [BZ #11521]
21375 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21376 overflow or cancellation in calculating denominator.
21377 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21378 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21379 down expression to avoid unexpected rounding in newer GCCs.
21380 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21381
33f244f4
DM
213822012-04-26 David S. Miller <davem@davemloft.net>
21383
21384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21385 long-double compat symbols.
21386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21399
cfa1f3e8
DM
214002012-04-25 David S. Miller <davem@davemloft.net>
21401
21402 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21403 HWCAP_* values only after the memory barriers have been defined.
21404 (atomic_full_barrier): Define.
21405 (atomic_read_barrier): Define.
21406 (atomic_write_barrier): Define.
21407
6e236b92
SP
214082012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21409
21410 * shlib-versions: Add libgcc_s version information.
21411 * sysdeps/generic/libgcc_s.h: Remove.
21412 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21413 libgcc_s.h.
21414 * sysdeps/gnu/unwind-resume.c: Likewise.
21415 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21416
aab39a09
DM
214172012-04-25 David S. Miller <davem@davemloft.net>
21418
21419 * sysdeps/unix/sparc/brk.S: Delete.
21420 * sysdeps/unix/sparc/dl-brk.S: Delete.
21421 * sysdeps/unix/sparc/pipe.S: Delete.
21422 * sysdeps/unix/sparc/sysdep.S: Delete.
21423 * sysdeps/unix/sparc/sysdep.h: Delete.
21424 * sysdeps/unix/sparc/vfork.S: Delete.
21425 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21426 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21427 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21428 ret_ERRVAL, r0, r1, MOVE): Define.
21429 (JUMPTARGET): Remove.
21430 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21431 sysdeps/unix/sparc/sysdep.h
21432 (ENTRY, END): Remove.
21433 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21434
a3cc4f48
JM
214352012-04-25 Joseph Myers <joseph@codesourcery.com>
21436
2ed8cda2
JM
21437 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21438 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21439 -DIS_IN_build.
21440
35d76d59
JM
21441 * timezone/README: Update upstream location and email address for
21442 tzcode and tzdata.
21443 * timezone/zdump.c: Update from tzcode 2012b.
21444 * timezone/zic.c: Likewise.
21445
a3cc4f48
JM
21446 * configure.in (libc_cv_as_needed): Remove test.
21447 * configure: Regenerated.
21448 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21449 conditional definition.
21450 [$(have-as-needed) != yes] (no-as-needed): Likewise.
21451 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21452 * config.make.in (have-as-needed): Remove variable.
21453
ceab42c3
SP
214542012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21455 Paul Pluzhnikov <ppluzhnikov@google.com>
21456
21457 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21458 strings correctly.
21459
3ce2865f
CLT
214602012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21461
21462 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21463 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21464 * sysdeps/sh/strlen.S: Likewise.
21465
f37e0d68
JM
214662012-04-24 Joseph Myers <joseph@codesourcery.com>
21467
ae186e9a
JM
21468 * sysdeps/unix/fork.S: Remove file.
21469 * sysdeps/unix/i386/fork.S: Likewise.
21470 * sysdeps/unix/sparc/fork.S: Likewise.
21471
b96914af
JM
21472 * sysdeps/unix/system.c: Remove file.
21473 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21474
f37e0d68
JM
21475 * sysdeps/unix/getegid.S: Remove file.
21476 * sysdeps/unix/geteuid.S: Likewise.
21477
87ef29ca
RM
214782012-04-24 Roland McGrath <roland@hack.frob.com>
21479
83bcd236
RM
21480 * scripts/check-localplt.awk: New file.
21481 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21482 of diff.
21483 * scripts/data/localplt-generic.data: Add a comment.
21484
87ef29ca
RM
21485 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21486 NODE when __dir_mkfile failed.
21487 * sysdeps/mach/hurd/symlinkat.c: Likewise.
21488 Reported by Ludovic Courtès <ludo@gnu.org>.
21489
e5a6e567
AJ
214902012-04-24 Andreas Jaeger <aj@suse.de>
21491
21492 * Makerules (common-clean): Also remove gen-as-const-headers
21493 files.
21494
c1820385
JM
214952012-04-24 Joseph Myers <joseph@codesourcery.com>
21496
21497 * Makerules (native-compile): Do not change working directory for
21498 build. Use $(OUTPUT_OPTION) in command.
21499 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21500
94e02fc4
AZ
215012012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21502
21503 [BZ #13886]
21504 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21505 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21506 * math/libm-test.inc (floor_test): Add more tests.
21507 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21508
3a533ca3
JM
215092012-04-24 Joseph Myers <joseph@codesourcery.com>
21510
940ab4b3
JM
21511 * sysdeps/unix/getdents.c: Remove file.
21512 * sysdeps/unix/sysv/getdents.c: Likewise.
21513 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21514
90e037bd
JM
21515 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21516 sysdeps/unix/mman/syscalls.list.
21517 (mmap): Likewise.
21518 (mprotect): Likewise.
21519 (msync): Likewise.
21520 (munmap): Likewise.
21521 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21522 * sysdeps/unix/mman/syscalls.list: Remove.
21523 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21524
3a533ca3
JM
21525 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21526 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21527 * configure: Regenerated.
21528 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21529 $(libgcc_s_suffix).
21530 * config.make.in (libgcc_s_suffix): Remove variable.
21531
1ad743de
JM
215322012-04-23 Joseph Myers <joseph@codesourcery.com>
21533
4ad451e2
JM
21534 * sysdeps/unix/sysv/gethostname.c: Move to ...
21535 * sysdeps/posix/gethostname.c: ... here.
21536
5e37ce39
JM
21537 * sysdeps/unix/execve.S: Remove file.
21538
1ad743de
JM
21539 * sysdeps/unix/_exit.S: Remove file.
21540
4e681b5b
AJ
215412012-04-23 Andreas Jaeger <aj@suse.de>
21542
21543 [BZ #13739]
21544 * manual/Makefile: Remove make dist support, there's no
21545 need for a stand-alone documentation tar ball.
21546 (TEXI2DVI): Define always, it's not in Makeconfig.
21547 (dist): Removed.
21548 (tar-it): Removed.
21549 (edition): Removed.
21550 (glibc-doc-$(edition).tar): Removed
21551 (%.Z): Removed.
21552 (%.gz): Removed.
21553 (%.uu): Removed.
21554 (ETAGS): Remove, it's in Makeconfig.
21555 (move-if-change): Remove, it's in Makeconfig.
21556
38686a03 215572012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
21558
21559 [BZ #13970]
21560 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21561 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21562 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21563 (strtod_l, strtof_l, strtold_l): Remove __wur.
21564 It is not necessarily an error to ignore strtol's return value.
21565 One can reliably look at the stored endptr to decide whether
21566 the number had valid syntax.
21567
7c0616fa
AJ
215682012-04-21 Andreas Jaeger <aj@suse.de>
21569
803cb6b7 21570 [BZ #13739]
7c0616fa
AJ
21571 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21572
b0fe253f
JM
215732012-04-21 Joseph Myers <joseph@codesourcery.com>
21574
21575 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21576 * sysdeps/unix/sysv/Versions: Remove file.
21577
8280f22d
MT
215782012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21579
21580 [BZ #13927]
21581 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21582
75ce411f 215832012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
21584
21585 [BZ #7064]
21586 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21587 version from __vm86.
21588
097d59fa
JM
215892012-04-20 Joseph Myers <joseph@codesourcery.com>
21590
a90f3bcb
JM
21591 * sysdeps/unix/common/lxstat.c: Remove file.
21592 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21593
edc7ea78
JM
21594 * sysdeps/unix/sysv/Makefile: Remove file.
21595
cb78c221
JM
21596 * sysdeps/unix/sysv/direct.h: Remove file.
21597
efa6a45f
JM
21598 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21599 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21600 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21601 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21602 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21603 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21604 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21605
9c9f2d0c
JM
21606 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21607
4541c83b
JM
21608 * sysdeps/unix/xmknod.c: Remove file.
21609 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21610
f5d153a0
JM
21611 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21612
aa746595
JM
21613 * sysdeps/unix/sysv/i386/time.S: Remove file.
21614
cce5905e
JM
21615 * sysdeps/unix/fxstat.c: Remove file.
21616 * sysdeps/unix/xstat.c: Likewise.
21617 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21618
37fa3841
JM
21619 * sysdeps/unix/sysv/sigaction.c: Remove file.
21620
ff1962a3
JM
21621 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21622 (sysdep_headers): Remove variable.
21623 [termio.h not in sysdep_headers] (generated): Likewise.
21624 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21625 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21626 * sysdeps/unix/sysv/tcdrain.c: Likewise.
21627 * sysdeps/unix/sysv/tcflow.c: Likewise.
21628 * sysdeps/unix/sysv/tcflush.c: Likewise.
21629 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21630 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21631 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21632 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21633 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21634
e7740d31
JM
21635 * sysdeps/unix/siglist.c: Remove file.
21636
ee06f18b
JM
21637 * sysdeps/unix/getppid.S: Remove file.
21638
097d59fa
JM
21639 * sysdeps/unix/mkdir.c: Remove file.
21640 * sysdeps/unix/rmdir.c: Likewise.
21641
ff3d51ec
AS
216422012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21643
21644 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21645 ERR_MAX value.
21646 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21647 errlist-compat value.
21648
50f81fd7
DM
216492012-04-18 David S. Miller <davem@davemloft.net>
21650
21651 * sysdeps/generic/memcopy.h (reg_char): Delete.
21652 * debug/strcat_chk.c: Use char, not reg_char.
21653 * debug/strcpy_chk.c: Likewise.
21654 * debug/strncat_chk.c: Likewise.
21655 * debug/strncpy_chk.c: Likewise.
21656 * string/memchr.c: Likewise.
21657 * string/memrchr.c: Likewise.
21658 * string/rawmemchr.c: Likewise.
21659 * string/strcat.c: Likewise.
21660 * string/strchr.c: Likewise.
21661 * string/strchrnul.c: Likewise.
21662 * string/strcmp.c: Likewise.
21663 * string/strcpy.c: Likewise.
21664 * string/strncat.c: Likewise.
21665 * string/strncmp.c: Likewise.
21666 * string/strncpy.c: Likewise.
21667
8ff41c46
WS
216682012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21669
21670 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21671 __builtin_memcopy is called when src and dest ranges are known to not
21672 overlap.
21673
6b652f46
WS
216742012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21675
21676 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21677 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21678 fwd_align_merge macro call.
21679 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21680 bwd_align_merge macro call.
21681 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21682
b282631e
WS
216832012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21684
21685 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21686 bwd_align_merge macros.
21687 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21688 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21689 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21690
95aa737c
DM
216912012-04-18 David S. Miller <davem@davemloft.net>
21692
21693 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21694
7a99a614
AJ
216952012-04-18 Andreas Jaeger <aj@suse.de>
21696
21697 [BZ# 6794]
21698 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21699 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21700 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21701
21702 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21703 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21704 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21705
21706 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21707 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21708 Adjust for changed ldbl-128 files.
21709
21710 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21711 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21712 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21713
e5270c23
DM
217142012-04-17 David S. Miller <davem@davemloft.net>
21715
21716 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21717
fb5e92c9
AS
217182012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21719
21720 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21721 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21722 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21723 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21724 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21725 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21726
76da7265
AZ
217272012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21728
21729 [BZ #6794]
21730 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21731 * math/libm-test.inc: Add ilogb errno and exception tests.
21732 * math/w_ilogb.c: New file: ilogb wrapper.
21733 * math/w_ilogbf.c: New file: ilogbf wrapper.
21734 * math/w_ilogbl.c: New file: ilogbl wrapper.
21735 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21736 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21737 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21738 exception being thrown with 0.0 as argument.
21739 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21740 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21741 exception being thrown with 0.0 as argument.
21742 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21743 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21744 exception being thrown with 0.0 as argument.
21745 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21746 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21747 exception being thrown with 0.0 as argument.
21748 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21749 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 21750 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
21751 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21752 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21753 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21754 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21755 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21756 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21757
0396e69d
PB
217582012-04-17 Petr Baudis <pasky@ucw.cz>
21759
21760 * include/sys/uio.h: Change __vector to __iovec to avoid clash
21761 with altivec.
21762
750b5926
MP
217632012-04-16 Marek Polacek <polacek@redhat.com>
21764
21765 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21766
751728a1
MP
217672012-04-16 Marek Polacek <polacek@redhat.com>
21768
21769 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21770 operands of fdivp instruction.
21771
34a27407
L
217722012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21773
21774 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21775 * elf/tst-auditmod3b.c: Likewise.
21776 * elf/tst-auditmod4b.c: Likewise.
21777 * elf/tst-auditmod5b.c: Likewise.
21778 * elf/tst-auditmod6b.c: Likewise.
21779 * elf/tst-auditmod6c.c: Likewise.
21780 * elf/tst-auditmod7b.c: Likewise.
21781 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21782 * sysdeps/x86_64/preconfigure.in: Likewise.
21783 * sysdeps/x86_64/preconfigure: Regenerated.
21784
7e73e17d
L
217852012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21786
21787 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21788 __ILP32__.
21789
c7a6ab72
AB
217902012-04-13 Antoine Balestrat <merkil33@gmail.com>
21791
21792 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21793 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21794
a9e8e0e0
CL
217952012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
21796
21797 [BZ #13973]
21798 * locale/iso-639.def: Fix gl language name. Spotted by
21799 Yaron Shahrabani.
21800
ec98af7d
RM
218012012-04-12 Roland McGrath <roland@hack.frob.com>
21802
21803 [BZ #2074]
21804 * libio/libio.h (__io_write_fn): Update comment.
21805
247c3ede
PB
218062012-04-12 Petr Baudis <pasky@ucw.cz>
21807
21808 [BZ #2074]
21809 * stdio.texi (Hook Functions): The user provided writer function
21810 is not allowed to return -1.
21811
55939d6d
DM
218122012-04-11 David S. Miller <davem@davemloft.net>
21813
21814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21815
90020f5a
MF
218162012-04-11 Mike Frysinger <vapier@gentoo.org>
21817
21818 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21819 Add a leading slash to rtkaio.
21820
288f9098
JM
218212012-04-11 Jim Meyering <meyering@redhat.com>
21822
90020f5a
MF
21823 [BZ #11959]
21824 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21825 It is not necessarily an error to ignore fwrite's return
21826 value. One can reliably use ferror to test for errors after
21827 the fact.
288f9098 21828
4be2b570
L
218292012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21830
21831 * bits/types.h (__snseconds_t): New type.
21832 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21833
21834 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21835 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21836 (__SNSECONDS_T_TYPE): Likewise.
21837 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21838 (__SNSECONDS_T_TYPE): Likewise.
21839 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21840 (__SNSECONDS_T_TYPE): Likewise.
21841
288f9098 218422012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
21843
21844 [BZ #2636]
21845 * manual/time.texi (Processor Time): Return type of times is
21846 elapsed real time since an arbitrary point in the past.
21847 (CPU Time): Move CLK_TCK from here...
21848 (Processor Time): ...to here. Correct description.
21849 * manual/conf.texi (Constants for Sysconf): Correct description of
21850 _SC_CLK_TCK.
21851
d7dd4413
DM
218522012-04-10 David S. Miller <davem@davemloft.net>
21853
21854 [BZ #13967]
21855 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21856 where the is a gap between DT_REL(A) and DT_JMPREL.
21857
b46068fc
L
218582012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21859
21860 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21861 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21862 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21863
73d65cc3
SP
218642012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21865
21866 * elf/dl-support.c (_dl_inhibit_cache): New variable.
21867 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21868 (dl_main): Handle --inhibit-cache.
21869 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21870 _dl_inhibit_cache.
21871 * elf/dl-load.c (_dl_map_object): Use it.
21872 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21873
bcc8d661
JM
218742012-04-09 Joseph Myers <joseph@codesourcery.com>
21875
8f9a2fae
JM
21876 [BZ #13872]
21877 * sysdeps/i386/fpu/e_powl.S (p78): New object.
21878 (__ieee754_powl): Saturate large exponents rather than testing for
21879 overflow of y*log2(x).
21880 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21881 * math/libm-test.inc (pow_test): Do not permit spurious overflow
21882 exceptions.
21883
bcc8d661
JM
21884 [BZ #11521]
21885 * math/s_ctan.c: Include <float.h>.
21886 (__ctan): Avoid internal overflow or cancellation in calculating
21887 denominator.
21888 * math/s_ctanf.c: Likewise.
21889 * math/s_ctanl.c: Likewise.
21890 * math/s_ctanh.c: Likewise.
21891 * math/s_ctanhf.c: Likewise.
21892 * math/s_ctanhl.c: Likewise.
21893 * math/libm-test.inc (ctan_test): Add more tests.
21894 (ctanh_test): Likewise.
21895 * sysdeps/i386/fpu/libm-test-ulps: Update.
21896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21897
823fbbb4
AJ
218982012-04-09 Andreas Jaeger <aj@suse.de>
21899
03879793
AJ
21900 [BZ #6894]
21901 * manual/filesys.texi (Directory Entries): Mention that d_namlen
21902 is an optional BSD extension.
21903
823fbbb4
AJ
21904 [BZ #10254]
21905 * manual/stdio.texi (Opening Streams): Document additional fopen
21906 parameters.
21907
8de131cb
RM
219082012-04-09 Roland McGrath <roland@hack.frob.com>
21909
21910 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21911 %eax without telling the compiler.
21912
c0ed9d7d
CD
219132012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
21914
21915 [BZ # 13963]
21916 * manual/install.texi: Use sourceware.org.
21917
c483f6b4
JM
219182012-04-09 Joseph Myers <joseph@codesourcery.com>
21919
d7dd9453
JM
21920 [BZ #13873]
21921 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21922 (__ieee754_pow): Generate overflow and underflow using huge*huge
21923 and tiny*tiny rather than just returning constant infinity or zero
21924 for large exponents.
21925 * math/libm-test.inc (pow_test): Require overflow exceptions for
21926 applicable cases of large exponents.
21927
c483f6b4
JM
21928 [BZ #706]
21929 * sysdeps/i386/fpu/e_pow.S (p10): New object.
21930 (__ieee754_pow): Use iterative multiplication algorithm only for
21931 integer exponents with absolute value below 1024. Check for odd
21932 integer exponents when using algorithm for real exponents.
21933 * math/libm-test.inc (pow_test): Add more tests.
21934 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21935
d2de7579
JM
219362012-04-08 Joseph Myers <joseph@codesourcery.com>
21937
21938 [BZ #13705]
21939 * math/libm-test.inc (exp_test): Do not allow overflow exception
21940 on underflow test.
21941
f77f1232
AJ
219422012-04-08 Aurelien Jarno <aurelien@aurel32.net>
21943
21944 [BZ #13705]
21945 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21946 instead of __kernel_standard_f.
21947
3884932b
MF
219482012-04-08 Mike Frysinger <vapier@gentoo.org>
21949
21950 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21951 * sysdeps/x86_64/memset_chk.S: Likewise.
21952
54472e9c
AJ
219532012-04-08 Andreas Jaeger <aj@suse.de>
21954
6ab0fbfc
AJ
21955 [BZ #10153]
21956 * manual/startup.texi (Environment Access): Describe return value
21957 for putenv and setenv.
21958
61efba8c
AJ
21959 [BZ #6895]
21960 * manual/filesys.texi (Directory Entries): Add description for
21961 DT_LNK.
21962
95c3f29a
AJ
21963 [BZ #6890]
21964 * manual/filesys.texi (Directory Entries): Clarify that it's file
21965 system not operating system in the description of DT_UNKNOWN.
21966
54472e9c
AJ
21967 [BZ #6578]
21968 * manual/syslog.texi (closelog): Fix reference, it's openlog.
21969
624254b1
SC
219702012-04-08 Stephen Compall <s11@member.fsf.org>
21971
21972 [BZ #6649]
21973 * manual/llio.texi (Opening and Closing Files): Add cross
21974 reference to explain mode argument.
21975
1e4920e0
MF
219762012-04-07 Mike Frysinger <vapier@gentoo.org>
21977
21978 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
21979 * sysdeps/x86_64/memset_chk.S: Likewise.
21980
5ed848f3
DM
219812012-04-07 David S. Miller <davem@davemloft.net>
21982
21983 * elf/elf.h (R_SPARC_WDISP10): Define.
21984 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
21985 R_SPARC_SIZE32.
21986 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
21987 R_SPARC_SIZE64 and R_SPARC_H34.
21988
96154cd8
CD
219892012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
21990
21991 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
21992 conditions and remove no longer applicable assertion.
21993
9904dc47
L
219942012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21995
21996 * bits/byteswap.h: Include <features.h>.
21997 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21998 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21999
f8887d0a
L
220002012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22001
22002 * bits/byteswap.h (__bswap_16): Removed.
22003 Include <bits/byteswap-16.h> to get __bswap_16.
22004 * sysdeps/i386/bits/byteswap.h: Likewise.
22005 * sysdeps/s390/bits/byteswap.h: Likewise.
22006 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22007 * bits/byteswap-16.h: New file.
22008 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22009 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22010 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22011 * string/Makefile (headers): Add bits/byteswap-16.h.
22012
62470f60
PP
220132012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22014
22015 [BZ #13895]
22016 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22017 extra indirection.
22018 * nss/Makefile (tests-static, tests): Add tst-nss-static.
22019 * nss/tst-nss-static.c: New.
22020
4dad7bab
RM
220212012-04-06 Robert Millan <rmh@gnu.org>
22022
22023 [BZ #6486]
22024 * manual/llio.texi (File Position Primitive): lseek
22025 refers to WHENCE when it really means OFFSET.
22026
e9142a17
AJ
220272012-04-06 Andreas Jaeger <aj@suse.de>
22028
2c040eff
AJ
22029 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22030 strncmp declarations.
22031
e9142a17
AJ
22032 * abilist/libc.abilist: Add __poll and __ppoll.
22033
ff9f1c5f
DM
220342012-04-05 David S. Miller <davem@davemloft.net>
22035
dcd2ae90
DM
22036 * scripts/check-local-headers.sh: Accept a host triplet in the
22037 path matched by the exclude regexp.
22038
993eb054
DM
22039 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22040 definition.
22041 * sysdeps/powerpc/powerpc32/dl-machine.h
22042 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22043 * sysdeps/s390/s390-32/dl-machine.h
22044 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22045 * sysdeps/sparc/sparc32/dl-machine.h
22046 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22047 * sysdeps/sparc/sparc64/dl-machine.h
22048 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22049
ff9f1c5f
DM
22050 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22051 lazy binding.
48e2e132 22052 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
22053 undefined symbol errors.
22054
48e2e132 22055 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
22056 DT_NEEDED entries.
22057
e80d6f94
MM
220582012-04-05 Michael Matz <matz@suse.de>
22059
22060 [BZ #13592]
22061 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22062
349fa79f
AJ
220632012-04-05 Andreas Jaeger <aj@suse.de>
22064
22065 [BZ #13908]
22066 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22067 comment.
22068
f402708f
KK
220692012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22070
22071 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22072 which ROUND is no valid rounding mode.
22073
2ecccfc9
KK
220742012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22075
22076 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22077 read again.
22078 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22079
8a53f50f
KK
220802012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22081
22082 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22083 an exception using FPU order intentionally.
22084
220852012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22086
22087 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22088 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22089 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22090 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22091
d653abb7
SJ
220922012-04-05 Simon Josefsson <simon@josefsson.org>
22093
22094 [BZ #12340]
22095 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22096 EINVAL when BUFLEN is too smal.
22097
c3b1bf7d
TS
220982012-04-05 Thomas Schwinge <thomas@codesourcery.com>
22099
22100 [BZ #13553]
22101 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22102 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22103
b1aa60f3
AJ
221042012-04-03 Andreas Jaeger <aj@suse.de>
22105
c3b1bf7d 22106 [BZ #13938]
67f60a26
AJ
22107 * manual/setjmp.texi (System V contexts): Fix sentence.
22108
b1aa60f3
AJ
22109 [BZ #13926]
22110 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
22111 New macro for this case.
22112 [!__GNUC__] (__bswap_64): New inline function for this case.
22113 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22114 * bits/byteswap.h: Likewise.
22115 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
22116 ull, guard with __GLIBC_HAVE_LONG_LONG.
22117
22118 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22119 __GLIBC_HAVE_LONG_LONG.
22120
22121 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22122 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22123
39c59c35
TMQMF
221242012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22125
22126 [BZ #13691]
22127 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22128 inptr and inend, rather than using last_ch.
22129
135ffda8
DM
221302012-04-02 David S. Miller <davem@davemloft.net>
22131
22132 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
22133 * stdio-common/printf-parse.h (read_int): Change return type to
22134 'int', return -1 on INT_MAX overflow.
22135 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
22136 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
22137 overflows INT_MAX. Check for overflow of in-format-string precision
22138 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
22139 SIZE_MAX not INT_MAX for integer overflow test.
22140 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
22141 skip the construct in the format string but do not record anything.
22142 * stdio-common/bug22.c: Adjust to test both width/prevision
22143 INT_MAX overflow as well as total length INT_MAX overflow. Check
22144 explicitly for proper errno values.
22145
228c019e
TS
221462012-04-02 Thomas Schwinge <thomas@codesourcery.com>
22147
302cadd3
TS
22148 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22149 CHAR_MAX.
22150 * string/test-strcmp.c [! WIDE]: Likewise.
22151 * time/tst-mktime2.c: Likewise for INT_MAX.
22152 * string/test-string.h: #include <sys/param.h> for MIN.
22153
228c019e
TS
22154 * csu/init-first.c (__libc_init_first): Call __ctype_init.
22155 * sysdeps/i386/init-first.c (init): Likewise.
22156 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22157 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22158 * sysdeps/sh/init-first.c (init): Likewise.
22159
cfa633f5
UD
221602012-04-01 Ulrich Drepper <drepper@gmail.com>
22161
22162 * po/ru.po: Update from translation team.
d1635ef8 22163 * po/vi.po: Likewise.
cfa633f5 22164
6cd0a5ea
SP
221652012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22166
22167 * resolv/nss_dns/dns-host.c: Merge copyright years.
22168
4b43400f
LD
221692012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22170
22171 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22172 Optimize memcpy with prefetch if
22173 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
22174 src, dst pointers have unequal 16 byte alignments.
22175
48c41d04
SP
221762012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22177
22178 [BZ #13928]
22179 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22180 from a CNAME entry and return the minimum ttl for the query.
22181 (gaih_getanswer_slice): Likewise.
22182
b8dc394d
JL
221832012-03-30 Jeff Law <law@redhat.com>
22184
22185 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22186 due to long keys.
22187 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22188 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22189
2f5a5ed0
JL
22190 * resolv/nss_dns/dns-host.c: Update copyright year.
22191
1d39e359
UD
221922012-03-30 Ulrich Drepper <drepper@gmail.com>
22193
c030f70c 22194 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 22195 requests to save a system call. Fix check that all bytes are sent.
c030f70c 22196
1d39e359
UD
22197 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22198 comments for sendmmsg.
22199
222002012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
22201
22202 [BZ #13691]
22203 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22204 with only 1 character between 0x0041 and 0x01b0.
22205 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22206 * wcsmbs/tst-mbsnrtowcs.c: New file.
22207
20fde227
DM
222082012-03-29 David S. Miller <davem@davemloft.net>
22209
22210 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22211 small copies by hand.
22212
984a4237
JL
222132012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22214
22215 [BZ #13761]
22216 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22217 _nss_compat_initgroups_dyn): Fall back to malloc/free
22218 for large group memberships.
22219
18c9d62b
DM
222202012-03-28 David S. Miller <davem@davemloft.net>
22221
88d85d4f
DM
22222 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22223 that branches into memcpy.
22224 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22225 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22226 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22227 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22228 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22229 bits.
22230 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22231 implementation too.
22232 * sysdeps/sparc/mempcpy.S: New file.
22233
e5aa83e1
DM
22234 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22235 the IFUNC routine in the libc case.
22236 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22237
88570753
DM
22238 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22239 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22240 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22241 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22242 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22243 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22244 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22245 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22246
249d7567
DM
22247 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22248 loop to 256 bytes instead of 64 bytes and fix test signedness.
22249
18c9d62b
DM
22250 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22251 * sysdeps/sparc/sparc32/Makefile: rather than here...
22252 * sysdeps/sparc/sparc64/Makefile: and here.
22253
05f3d1f6
UD
222542012-03-28 Ulrich Drepper <drepper@gmail.com>
22255
22256 * malloc/mallocbug.c: Avoid warnings about unused variables.
22257
86ae07a8
JL
222582012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22259
22260 [BZ #13760]
22261 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22262 in the right place. Discard and retry query if response is
22263 larger than input buffer size.
22264
41bf21a1
JM
222652012-03-28 Joseph Myers <joseph@codesourcery.com>
22266
d6270972
JM
22267 [BZ #369]
22268 [BZ #2678]
22269 [BZ #3866]
22270 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22271 x for large integer exponent.
22272 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22273 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
22274 sign of result as needed afterwards.
22275 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22276 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22277 result for underflowing pow the same as for overflow.
22278 (__kernel_standard_l): Handle powl overflow and underflow here
22279 rather than calling __kernel_standard.
22280 * math/libm-test.inc (pow_test): Add more tests.
22281
414fca03 22282 [BZ #3868]
41bf21a1
JM
22283 [BZ #13879]
22284 [BZ #13910]
22285 [BZ #13911]
22286 [BZ #13912]
22287 [BZ #13913]
22288 [BZ #13915]
22289 [BZ #13916]
22290 [BZ #13917]
22291 [BZ #13918]
22292 [BZ #13919]
22293 [BZ #13920]
22294 [BZ #13921]
22295 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22296 * sysdeps/ieee754/k_standard.c: Include <float.h>.
22297 (__kernel_standard_l): New function.
22298 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22299 __kernel_standard.
22300 * math/w_acosl.c (__acosl): Likewise.
22301 * math/w_asinl.c (__asinl): Likewise.
22302 * math/w_atan2l.c (__atan2l): Likewise.
22303 * math/w_atanhl.c (__atanhl): Likewise.
22304 * math/w_coshl.c (__coshl): Likewise.
22305 * math/w_exp10l.c (__exp10l): Likewise.
22306 * math/w_exp2l.c (__exp2l): Likewise.
22307 * math/w_fmodl.c (__fmodl): Likewise.
22308 * math/w_hypotl.c (__hypotl): Likewise.
22309 * math/w_j0l.c (__j0l, __y0l): Likewise.
22310 * math/w_j1l.c (__j1l, __y1l): Likewise.
22311 * math/w_jnl.c (__jnl, __ynl): Likewise.
22312 * math/w_lgammal.c (__lgammal): Likewise.
22313 * math/w_log10l.c (__log10l): Likewise.
22314 * math/w_log2l.c (__log2l): Likewise.
22315 * math/w_logl.c (__logl): Likewise.
22316 * math/w_powl.c (__powl): Likewise.
22317 * math/w_remainderl.c (__remainderl): Likewise.
22318 * math/w_scalbl.c (sysv_scalbl): Likewise.
22319 * math/w_sinhl.c (__sinhl): Likewise.
22320 * math/w_sqrtl.c (__sqrtl): Likewise.
22321 * math/w_tgammal.c (__tgammal): Likewise.
22322 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22323 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22324 * math/libm-test.inc (acos_test): Add more tests.
22325 (acosh_test): Likewise.
22326 (asin_test): Likewise.
22327 (atanh_test): Likewise.
22328 (exp_test): Likewise.
22329 (exp10_test): Likewise.
22330 (exp2_test): Likewise.
22331 (expm1_test): Likewise.
22332 (lgamma_test): Likewise.
22333 (log_test): Likewise.
22334 (log10_test): Likewise.
22335 (log1p_test): Likewise.
22336 (log2_test): Likewise.
22337 (pow_test): Do not allow some spurious overflow exceptions.
22338 (sqrt_test): Add more tests.
22339 (tgamma_test): Likewise.
22340 (y0_test): Likewise.
22341 (y1_test): Likewise.
22342 (yn_test): Likewise.
22343
dd62fda6
AB
223442012-03-27 Anton Blanchard <anton@samba.org>
22345
22346 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22347 MAP_HUGETLB.
22348 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22349 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22350 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22351
1e3cdfda
AJ
223522012-03-27 David S. Miller <davem@davemloft.net>
22353
b855ab85
DM
22354 * conform/Makefile: Run run-conformtest.sh using $(BASH).
22355
1e3cdfda
AJ
22356 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22357 have-as-vis3 check.
22358
223592012-03-27 Andreas Jaeger <aj@suse.de>
22360
22361 * sysdeps/x86_64/elf/configure.in: Moved to ...
22362 * sysdeps/x86_64/configure.in: ... here.
22363 * sysdeps/x86_64/elf/start.S: Moved to ...
22364 * sysdeps/x86_64/start.S: ... here.
22365 * sysdeps/x86_64/elf/configure: Delete.
22366
22367 * sysdeps/x86_64/configure.in: Merge contents from
22368 sysdeps/i386/configure.in (without i686 check).
22369
22370 * sysdeps/i386/elf/Versions: Merge into ...
22371 * sysdeps/i386/Versions: ... this.
22372 * sysdeps/i386/elf/Versions: Delete file.
22373 * sysdeps/i386/elf/start.S: Moved to ...
22374 * sysdeps/i386/start.S: ...here.
22375 * sysdeps/i386/elf/configure.in: Merge into...
22376 * sysdeps/i386/configure.in: ...here.
22377 * sysdeps/i386/elf/configure.in: Delete file.
22378 * sysdeps/i386/elf/configure: Delete file.
22379
22380 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22381 * debug/backtracesyms.c: ... here.
22382 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22383 * debug/backtracesymsfd.c: ... here.
22384 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22385 * sysdeps/generic/ifunc-sel.h: ... here.
22386
22387 * sysdeps/unix/i386/start.c: Delete file.
22388 * sysdeps/unix/sparc/start.c: Delete file.
22389 * sysdeps/unix/start.c: Delete file.
22390
22391 * sysdeps/sh/elf/configure.in: Moved to ...
22392 * sysdeps/sh/configure.in: ... here.
22393 * sysdeps/sh/elf/start.S: Moved to ...
22394 * sysdeps/sh/start.S: ... here.
22395 * sysdeps/sh/elf/configure: Delete file.
22396
22397 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22398 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22399 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22400 * sysdeps/powerpc/powerpc64/entry.h: ... here.
22401 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22402 * sysdeps/powerpc/powerpc64/start.S: here.
22403 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22404 * sysdeps/powerpc/powerpc64/Makefile: ... this.
22405 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22406 * sysdeps/powerpc/powerpc64/configure.in: ... this.
22407 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22408
22409 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22410 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22411 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22412 * sysdeps/powerpc/powerpc32/start.S: ... here.
22413 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22414 * sysdeps/powerpc/powerpc32/configure.in: ... this.
22415 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22416
22417 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22418 * sysdeps/powerpc/ifunc-sel.h: ... here.
22419 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22420 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22421
22422 * sysdeps/sparc/elf/configure.in: Moved to ...
22423 * sysdeps/sparc/configure.in: ... here.
22424 * sysdeps/sparc/elf/configure: Delete file.
22425 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22426 * sysdeps/sparc/sparc32/start.S: ... here.
22427 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22428 * sysdeps/sparc/sparc64/start.S: ... here.
22429 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22430 * sysdeps/sparc/sparc32/Makefile: ... this.
22431 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22432 * sysdeps/sparc/sparc64/Makefile: ... this.
22433
22434 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22435 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22436 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22437 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22438 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22439 * sysdeps/s390/s390-32/setjmp.S: ... here.
22440 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22441 * sysdeps/s390/s390-32/configure.in: ... here.
22442 * sysdeps/s390/s390-32/elf/configure: Delete file.
22443 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22444 * sysdeps/s390/s390-32/start.S: ... here.
22445
22446 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22447 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22448 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22449 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22450 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22451 * sysdeps/s390/s390-64/setjmp.S: ... here.
22452 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22453 * sysdeps/s390/s390-64/configure.in: ... here
22454 * sysdeps/s390/s390-64/elf/configure: Delete file.
22455 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22456 * sysdeps/s390/s390-64/start.S: ... here.
22457 * sysdeps/s390/s390-64/elf/configure: Delete.
22458
22459 * configure.in: Remove support for elf directories in sysdeps.
22460
22461 * configure: Regenerated.
22462 * sysdeps/i386/configure: Regenerated.
22463 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22464 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22465 * sysdeps/s390/s390-32/configure: Regenerated.
22466 * sysdeps/s390/s390-64/configure: Regenerated.
22467 * sysdeps/sh/configure: Regenerated.
22468 * sysdeps/sparc/configure: Regenerated.
22469 * sysdeps/x86_64/configure: Regenerated.
22470
a3f61311
AS
224712012-03-26 Andreas Schwab <schwab@linux-m68k.org>
22472
c876e002
AS
22473 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22474
a3f61311
AS
22475 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22476 denormal result into account.
22477
ac4c54f0
RM
224782012-03-25 Roland McGrath <roland@hack.frob.com>
22479
22480 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22481 Reported by Allan McRae <allan@archlinux.org>.
22482
6a9b9c02
JL
224832012-03-23 Jeff Law <law@redhat.com>
22484
22485 * nss/getnssent.c (__nss_getent): Fix typo.
22486
4c42a0c1
DM
224872012-03-23 David S. Miller <davem@davemloft.net>
22488
22489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22490
1532c7ac
L
224912012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22492
22493 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22494 to pad to uint64_t for each field.
22495 (dl_tls_index): Replace unsigned long with uint64_t.
22496
3ff42526
PP
224972012-03-23 Daniel Jacobowitz <dmj@google.com>
22498 Paul Pluzhnikov <ppluzhnikov@google.com>
22499
22500 [BZ #6528]
22501 * grp/Makefile (otherlibs): Don't set it.
22502 * inet/Makefile (otherlibs): Likewise.
22503 * login/Makefile (otherlibs): Likewise.
22504 * nscd/Makefile (otherlibs): Likewise.
22505 * posix/Makefile (otherlibs): Likewise.
22506 * pwd/Makefile (otherlibs): Likewise.
22507 * rt/Makefile (otherlibs): Likewise.
22508 * sunrpc/Makefile (otherlibs): Likewise.
22509 * nss/Makefile (otherlibs): Likewise.
22510 Add libnss_files to routines and static-only-routines.
22511 ($(objpfx)getent): Remove rule.
22512 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22513 static-only-routines.
22514
7c69cd14
JM
225152012-03-22 Joseph Myers <joseph@codesourcery.com>
22516
22517 [BZ #13892]
22518 * math/s_cexp.c: Include <float.h>.
22519 (__cexp): Handle exp result overflowing not necessarily
22520 overflowing both real and imaginary parts of result.
22521 * math/s_cexpf.c: Likewise.
22522 * math/s_cexpl.c: Likewise.
22523 * math/libm-test.inc (cexp_test): Add more tests.
22524 * sysdeps/i386/fpu/libm-test-ulps: Update.
22525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22526
81b035fe
L
225272012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22528
22529 * include/link.h (ELFW): New macro.
22530 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22531 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22532
1da7940c
L
225332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22534
22535 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22536 with uint64_t.
22537
b749dbb9
L
225382012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22539
22540 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22541 declaration.
22542 (struct La_x32_retval): Likewise.
22543
2ff87f3f
L
225442012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22545
22546 * sysdeps/x86_64/preconfigure.in: New file.
22547 * sysdeps/x86_64/preconfigure: New generated file.
22548
c0df8e69
JM
225492012-03-22 Joseph Myers <joseph@codesourcery.com>
22550
48e44791
JM
22551 [BZ #13824]
22552 * math/e_exp2l.c: Include <float.h>.
22553 (__ieee754_exp2l): Handle overflow and underflow cases
22554 separately. Only pass fractional part of argument to
22555 __ieee754_expl.
22556 * math/libm-test.inc (exp2_test): Add more tests.
22557
c0df8e69
JM
22558 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22559 negating x to take absolute value.
22560 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22561 Likewise.
22562 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22563 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22564 Likewise.
22565 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22566 computing low part if x was negated.
22567 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22568
c8e43ba7
L
225692012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22570
22571 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22572 la_x32_gnu_pltexit.
22573 (pltexit): Cast int_retval to ptrdiff_t.
22574 * elf/tst-auditmod3b.c: Likewise.
22575 * elf/tst-auditmod4b.c: Likewise.
22576 * elf/tst-auditmod5b.c: Likewise.
22577 * elf/tst-auditmod6b.c: Likewise.
22578 * elf/tst-auditmod6c.c: Likewise.
22579 * elf/tst-auditmod7b.c: Likewise.
22580
22581 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22582 and x32_gnu_pltexit.
22583
22584 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22585 __ELF_NATIVE_CLASS.
22586 (La_x32_regs): New macro.
22587 (La_x32_retval): Likewise.
22588 (la_x32_gnu_pltenter): New function prototype.
22589 (la_x32_gnu_pltexit): Likewise.
22590
7998fa78
AS
225912012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22592
dcb33988
AS
22593 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22594 exponent.
22595
233fc563
AS
22596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22597
7998fa78
AS
22598 * configure.in (libc_cv_cc_nofma): Check for option to disable
22599 generation of FMA instructions.
22600 * configure: Regenerate.
22601 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22602 * sysdeps/ieee754/dbl-64/Makefile: New file.
22603 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22604 Remove brandred-fma4.
22605 (CFLAGS-brandred-fma4.c): Remove.
22606 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22607 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22608 define.
22609 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22610 define.
22611
8e95c99a
L
226122012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22613
22614 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22615 LLONG_MAX != LONG_MAX.
22616 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22617 (_fitoa_word): Likewise.
22618 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22619 LLONG_MAX != LONG_MAX.
22620 * stdio-common/_itowa.h: Include <_itoa.h>.
22621 (_itowa_word): Use _ITOA_WORD_TYPE on value.
22622 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
22623 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
22624 only if not defined.
22625 (_ITOA_WORD_TYPE): Likewise.
22626 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22627 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22628
6f4db457
DM
226292012-03-21 David S. Miller <davem@davemloft.net>
22630
22631 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22632
7785fe5a
L
226332012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22634
22635 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22636 of x86_64 when setting libc_cv_slibdir, libdir and
22637 libc_cv_localedir.
22638 * sysdeps/unix/sysv/linux/configure: Regenerated.
22639
4535cd55
JM
226402012-03-21 Joseph Myers <joseph@codesourcery.com>
22641
22642 * manual/lang.texi (Old Varargs): Remove section.
22643 (How Variadic): Update menu.
22644 (va_start): Do not mention varargs.h.
22645
17228132
TS
226462012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22647 Joseph Myers <joseph@codesourcery.com>
22648
22649 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22650 link test.
22651 * configure: Regenerated.
22652
8149f976
TS
226532012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22654
05f3d1f6
UD
22655 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22656 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22657 conformtest.pl
8149f976 22658
1a4ac776
JM
226592012-03-21 Joseph Myers <joseph@codesourcery.com>
22660
be22ce65
JM
22661 * NOTES: Remove.
22662 * Makefile (files-for-dist): Remove NOTES.
22663 (NOTES): Remove rule.
22664 * README: Don't refer to NOTES.
22665 * manual/creature.texi: Don't include macros.texi.
22666 * manual/intro.texi (creature.texi): Remove comment referring to
22667 NOTES.
22668
40b601fb
JM
22669 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22670 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22671 * configure: Regenerated.
22672 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22673 LIBC_TRY_CC_OPTION.
22674 (libc_cv_as_i686): Likewise.
22675 (libc_cv_cc_avx): Likewise.
22676 (libc_cv_cc_sse2avx): Likewise.
22677 (libc_cv_cc_fma4): Likewise.
22678 (libc_cv_cc_novzeroupper): Likewise.
22679 * sysdeps/i386/configure: Regenerated.
22680
1a4ac776
JM
22681 [BZ #13883]
22682 * sysdeps/i386/fpu/s_cexp.S: Remove.
22683 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22684 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22685 * math/libm-test.inc (cexp_test): Add more tests.
22686 * sysdeps/i386/fpu/libm-test-ulps: Update.
22687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22688
a458e7fe
AM
226892012-03-21 Allan McRae <allan@archlinux.org>
22690
22691 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22692
0cb7efc5
JM
226932012-03-21 Joseph Myers <joseph@codesourcery.com>
22694
22695 [BZ #13871]
22696 * math/w_exp2.c: Do not include <float.h>.
22697 (o_threshold, u_threshold): Remove.
22698 (__exp2): Calculate result before checking finiteness and calling
22699 __kernel_standard.
22700 * math/w_exp2f.c: Likewise.
22701 * math/w_exp2l.c: Likewise.
22702 * math/libm-test.inc (exp2_test): Require overflow exception for
22703 1e6 input.
2460d3aa
JM
22704
22705 [BZ #3866]
22706 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22707 range of signed 64-bit integers before using fistpll. Remove
22708 checks for whether integers fit in mantissa bits.
22709 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22710 the range of signed 32-bit integers before using fistpl. Remove
22711 checks for whether integers fit in mantissa bits.
22712 * sysdeps/i386/fpu/e_powl.S (p64): New object.
22713 (__ieee754_powl): Test for y outside the range of signed 64-bit
22714 integers before using fistpll. Reduce 64-bit values to 63-bit
22715 ones as needed.
22716 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22717 divide-by-zero is raised for zero to large negative powers.
22718 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22719 (__ieee754_powl): Test for y outside the range of signed 64-bit
22720 integers before using fistpll. Reduce 64-bit values to 63-bit
22721 ones as needed.
22722 * math/libm-test.inc (pow_test): Add more tests.
22723
eb96ffb0
L
227242012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22725
22726 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22727 <stdio-common/_itoa.h>.
22728 * debug/segfault.c: Likewise.
22729 * elf/dl-cache.c: Likewise.
22730 * elf/dl-minimal.c: Likewise.
22731 * elf/dl-misc.c: Likewise.
22732 * elf/dl-sysdep.c: Likewise.
22733 * elf/dl-version.c: Likewise.
22734 * elf/rtld.c: Likewise.
22735 * hurd/hurdsock.c: Likewise.
22736 * hurd/lookup-retry.c: Likewise.
22737 * malloc/malloc.c: Likewise.
22738 * malloc/mtrace.c: Likewise.
22739 * nscd/nscd_getgr_r.c: Likewise.
22740 * nscd/nscd_getpw_r.c: Likewise.
22741 * nscd/nscd_getserv_r.c: Likewise.
22742 * posix/getopt_init.c: Likewise.
22743 * posix/wordexp.c: Likewise.
22744 * stdio-common/_itoa.c: Likewise.
22745 * stdio-common/printf_fphex.c: Likewise.
22746 * stdio-common/vfprintf.c: Likewise.
22747 * string/_strerror.c: Likewise.
22748 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22749 * sysdeps/i386/i686/hp-timing.h: Likewise.
22750 * sysdeps/mach/_strerror.c: Likewise.
22751 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22752 * sysdeps/mach/hurd/sethostid.c: Likewise.
22753 * sysdeps/mach/hurd/xmknodat.c: Likewise.
22754 * sysdeps/mach/xpg-strerror.c: Likewise.
22755 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22756 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22757 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22758 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22759 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22760 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22761 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22762 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22763 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22764 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22765 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22766 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22767 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22768 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22769 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22770 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22771 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22772 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22773 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22774 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22775 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22776
22777 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22778
22779 * stdio-common/_itoa.h: Moved to ...
22780 * sysdeps/generic/_itoa.h: Here.
22781
22782 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22783
22784 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22785 instead of "_itoa.h" and "_itowa.h".
22786 * stdio-common/vfprintf.: Likewise.
22787
d1af992d
L
227882012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22789
22790 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22791 <bits/wordsize.h>.
22792 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22793 (__signbit): Likwise.
22794 (llrintf): Likwise.
22795 (llrint): Likwise.
22796
114883e0
L
227972012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22798
22799 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22800 __WORDSIZE != 64.
22801
c135cc1b
JM
228022012-03-20 Joseph Myers <joseph@codesourcery.com>
22803
22804 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22805 OVERFLOW_EXCEPTION_OK.
22806 * math/libm-test.inc ("Philosophy"): Update comment about
22807 exception testing.
22808 (OVERFLOW_EXCEPTION): Define.
22809 (OVERFLOW_EXCEPTION_OK): Likewise.
22810 (INVALID_EXCEPTION_OK): Renumber.
22811 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22812 (IGNORE_ZERO_INF_SIGN): Likewise.
22813 (test_exceptions): Handle FE_OVERFLOW.
22814 (exp10_test): Expect overflow exceptions.
22815 (exp2_test): Likewise.
22816 (expm1_test): Likewise.
22817 (nextafter_test): Likewise.
22818 (pow_test): Likewise.
22819 (scalbn_test): Likewise.
22820 (scalbln_test): Likewise.
22821
95443d88
L
228222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22823
22824 * sysdeps/x86_64/bits/atomic.h
22825 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22826 64bit integer.
22827 (atomic_exchange_acq): Likewise.
22828 (__arch_exchange_and_add_body): Likewise.
22829 (__arch_add_body): Likewise.
22830 (atomic_add_negative): Likewise.
22831 (atomic_add_zero): Likewise.
22832
490df6c4
L
228332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22834
c2722551 22835 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
22836 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22837
5e52b189
L
228382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22839
22840 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22841 Check __x86_64__ instead of __WORDSIZE.
22842
a9879d4c
L
228432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22844
22845 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22846
5df98260
DM
228472012-03-19 David S. Miller <davem@davemloft.net>
22848
e1497744
DM
22849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22850
5df98260
DM
22851 * sysdeps/sparc/fpu/fenv_private.h: New file.
22852 * sysdeps/sparc/fpu/math_private.h: Use it.
22853 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22854 Remove.
22855 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22856 (libc_feholdexcept_setroundl): Remove.
22857 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22858 Remove.
22859 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22860 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22861
b4c35121
L
228622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22863
22864 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22865 int64_t instead of long int.
22866 (INSERT_WORDS64): Likwise.
22867
56965fd7
L
228682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22869
22870 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22871 _Unwind_GetCFA return to _Unwind_Ptr first.
22872
83d1aec8
JM
228732012-03-19 Joseph Myers <joseph@codesourcery.com>
22874
1897ad44
JM
22875 [BZ #13629]
22876 * math/s_clog.c: Include <float.h>.
22877 (__clog): Scale large or subnormal inputs.
22878 * math/s_clogf.c: Likewise.
22879 * math/s_clogl.c: Likewise.
22880 * math/s_clog10.c: Include <float.h>.
22881 (M_LOG10_2): Define.
22882 (__clog10): Scale large or subnormal inputs.
22883 * math/s_clog10f.c: Likewise.
22884 * math/s_clog10l.c: Likewise.
22885 * math/libm-test.inc (clog_test): Add more tests.
22886 (clog10_test): Likewise.
22887 * sysdeps/i386/fpu/libm-test-ulps: Update.
22888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22889
7726d6a9
JM
22890 [BZ #11451]
22891 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22892 x and y.
22893 * math/libm-test.inc (atan2_test): Add another test.
22894
83d1aec8
JM
22895 * Makerules (common-objdir-compile): Remove.
22896 * sysdeps/unix/Makefile (config-generated): Do not add
22897 $(unix-generated) to variable.
22898 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22899 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22900 Remove rule.
22901 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22902 Likewise.
22903 [generic bits/local_lim.h] (before-compile): Do not append to
22904 variable.
22905 [generic bits/local_lim.h] (common-generated): Likewise.
22906 [generic sys/param.h] (before-compile): Do not append to variable.
22907 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22908 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22909 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22910 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22911 include.
22912 [generic sys/param.h] (sys/param.h-includes): Remove variable.
22913 [generic sys/param.h] (sys/param.h-includes): Remove rule.
22914 [generic sys/param.h] ($(addprefix
22915 $(common-objpfx),$(sys/param.h-includes))): Likewise.
22916 [generic sys/param.h] (common-generated): Do not append to
22917 variable.
22918 [generic sys/param.h] (sysdep_headers): Likewise.
22919 [generic bits/errno.h] (before-compile): Do not append to
22920 variable.
22921 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22922 rule.
22923 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22924 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22925 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22926 [generic bits/errno.h] (common-generated): Do not append to
22927 variable.
22928 [generic bits/ioctls.h] (before-compile): Do not append to
22929 variable.
22930 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22931 rule.
22932 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22933 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22934 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22935 rule.
22936 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22937 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22938 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22939 [generic bits/ioctls.h] (common-generated): Do not append to
22940 variable.
22941 [generic sys/syscall.h] (syscall.h): Remove variable.
22942 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22943 rule.
22944 [generic sys/syscall.h] (before-compile): Do not append to
22945 variable.
22946 [generic sys/syscall.h] (common-generated): Likewise.
22947 * sysdeps/unix/errnos-tmpl.c: Remove file.
22948 * sysdeps/unix/errnos.awk: Likewise.
22949 * sysdeps/unix/ioctls-tmpl.c: Likewise.
22950 * sysdeps/unix/ioctls.awk: Likewise.
22951 * sysdeps/unix/mk-local_lim.c: Likewise.
22952 * sysdeps/unix/snarf-ioctls: Likewise.
22953
4851a949
RH
229542012-03-19 Richard Henderson <rth@twiddle.net>
22955
bd37f2ee
RH
22956 * sysdeps/i386/fpu/fenv_private.h: New file.
22957 * sysdeps/i386/fpu/math_private.h: Use it.
22958 (math_opt_barrier, math_force_eval): Remove.
22959 (libc_feholdexcept_setround_53bit): Remove.
22960 (libc_feupdateenv_53bit): Remove.
22961 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22962 (math_opt_barrier, math_force_eval): Remove.
22963 (libc_feholdexcept): Remove.
22964 (libc_feholdexcept_setround): Remove.
22965 (libc_fetestexcept, libc_fesetenv): Remove.
22966 (libc_feupdateenv_test): Remove.
22967 (libc_feupdateenv, libc_feholdsetround): Remove.
22968 (libc_feresetround): Remove.
22969
d0adc922
RH
22970 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22971 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22972
0fe0f1f8
RH
22973 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22974 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22975 (libc_feupdateenv_testl): New.
22976 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22977 (libc_feupdateenv_testf): New.
22978 (libc_feupdateenv): Use libc_feupdateenv_test.
22979 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
22980 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
22981
eb92c487
RH
22982 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
22983 (libc_feholdsetroundf, libc_feholdsetroundl): New.
22984 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
22985 (libc_feresetround_noex): New.
22986 (libc_feresetround_noexf): New.
22987 (libc_feresetround_noexl): New.
22988 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
22989 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
22990 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
22991 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
22992 SET_RESTORE_ROUND.
22993 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22994 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
22995 (__cos): Likewise.
22996 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
22997 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22998 SET_RESTORE_ROUND_NOEX.
22999 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23000 SET_RESTORE_ROUND_NOEXF.
23001 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23002 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23003 (libc_feholdsetroundf): New.
23004 (libc_feresetround, libc_feresetroundf): New.
23005
7d2e8012
RH
23006 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23007 (libc_feholdexcept_setround_53bit): Convert from macro to function.
23008 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
23009
b4dabbb4
RH
23010 * sysdeps/generic/math_private.h: Include <fenv.h>.
23011 (default_libc_feholdexcept): New.
23012 (default_libc_feholdexcept_setround): New.
23013 (default_libc_fesetenv, default_libc_feupdateenv): New.
23014 (libc_feholdexcept): Only define if undefined.
23015 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23016 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23017 (libc_feholdexcept_setroundl): Likewise.
23018 (libc_feholdexcept_setround_53bit): Likewise.
23019 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23020 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23021 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23022 (libc_feupdateenv_53bit): Likewise.
23023 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23024 (libc_feholdexcept): Convert from macro to inline function.
23025 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23026 (libc_fesetenv, libc_feupdateenv): Likewise.
23027
4851a949
RH
23028 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23029 not previously defined.
23030 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23031 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23032 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23033 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23034 * sysdeps/ieee754/flt-32/math_private.h: New file.
23035 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23036 math_private.h below SET_FLOAT_WORD.
23037 (__isnan, __isinf_ns, __finite): Remove.
23038 (__isnanf, __isinf_nsf, __finitef): Remove.
23039
e79d442e
AS
230402012-03-18 Andreas Schwab <schwab@linux-m68k.org>
23041
23042 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23043
90b80344
DM
230442012-03-17 David S. Miller <davem@davemloft.net>
23045
23046 [BZ #6471]
23047 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23048 for 2.16.
23049
edc21804
DM
230502012-03-16 David S. Miller <davem@davemloft.net>
23051
77e927af
DM
23052 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23053 warnings.
23054
374976dd
DM
23055 [BZ #6471]
23056 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23057 properly.
23058 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23059 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23060 sysdep_routines when subdir is sysvipc.
23061 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23062 __getshmlba helper.
23063
edc21804
DM
23064 * sysdeps/sparc/fpu/libm-test/ulps: Update.
23065
473c3ef3
L
230662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23067
23068 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23069 [__LP64__].
23070
eb0f39b6
L
230712012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23072
23073 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23074 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23075 (__lround): Renamed to ...
23076 (__llround): This. Replace long int with long long int.
23077 Define lround functions as aliases of llround functions.
23078 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23079
6b6cd74b
L
230802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23081
23082 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23083 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
23084 adresses to uintptr_t. Replace "long int" and "unsigned long
23085 int" with "greg_t" on va_arg.
23086
f1a77b01
L
230872012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23088
23089 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23090 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23091
23092 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23093 Move e_machine check before EI_CLASS check. Handle x32
23094 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23095 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23096 SKIP_EM_IA_64 and include
23097 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23098
23099 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23100 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23101 (add_system_dir): New macro.
23102
23103 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23104 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23105
11b90b9f
JM
231062012-03-16 Joseph Myers <joseph@codesourcery.com>
23107
c36e1d23
JM
23108 [BZ #2551]
23109 [BZ #2552]
23110 [BZ #2553]
23111 [BZ #2554]
23112 [BZ #2562]
23113 [BZ #2563]
23114 [BZ #2565]
23115 [BZ #2566]
23116 [BZ #2576]
23117 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23118 (y0): Likewise.
23119 * math/w_j0f.c (j0f): Likewise.
23120 (y0f): Likewise.
23121 * math/w_j0l.c (__j0l): Likewise.
23122 (__y0l): Likewise.
23123 * math/w_j1.c (j1): Likewise.
23124 (y1): Likewise.
23125 * math/w_j1f.c (j1f): Likewise.
23126 (y1f): Likewise.
23127 * math/w_j1l.c (__j1l): Likewise.
23128 (__y1l): Likewise.
23129 * math/w_jn.c (jn): Likewise.
23130 (yn): Likewise.
23131 * math/w_jnf.c (jnf): Likewise.
23132 (ynf): Likewise.
23133 * math/w_jnl.c (__jnl): Likewise.
23134 (__ynl): Likewise.
23135 * math/libm-test.inc (j0_test): Add more tests.
23136 (j1_test): Likewise.
23137 (jn_test): Likewise. Add trailing semicolon to existing test.
23138 (y0_test): Likewise.
23139 (y1_test): Likewise.
23140 * sysdeps/i386/fpu/libm-test-ulps: Update.
23141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23142
11b90b9f
JM
23143 [BZ #13851]
23144 [BZ #13854]
23145 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23146 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23147 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23148 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23149 (__tanl): Set errno for infinite argument.
23150 * sysdeps/i386/fpu/mptan.c: Remove.
23151 * sysdeps/i386/fpu/s_tan.S: Likewise.
23152 * sysdeps/i386/fpu/s_tanl.S: Likewise.
23153 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23154 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23155 * math/libm-test.inc (tan_test): Add more tests and enable more
23156 tests for double and long double.
23157 * sysdeps/i386/fpu/libm-test-ulps: Update.
23158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23159
6a1bd2a1
JK
231602012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23161
23162 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23163 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23164
10a803e0
RM
231652012-03-16 Roland McGrath <roland@hack.frob.com>
23166
23167 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23168 * configure.in: Use it for both main tree and add-ons.
23169 * configure: Regenerated.
23170
f196c7f7
L
231712012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23172
23173 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23174
8848d99d
JM
231752012-03-16 Joseph Myers <joseph@codesourcery.com>
23176
96cbe7f4
JM
23177 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23178 in comment.
23179
8848d99d
JM
23180 [BZ #13851]
23181 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23182 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23183 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23184 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23185 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23186 infinite argument.
23187 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23188 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23189 != 0 for prec == 2.
23190 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23191 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23192 * sysdeps/i386/fpu/s_cosl.S: Likewise.
23193 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
23194 * sysdeps/i386/fpu/s_sinl.S: Likewise.
23195 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23196 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23197 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23198 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23199 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23200 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23201 * math/libm-test.inc (cos_test): Add more tests and enable more
23202 tests for long double.
23203 (sin_test): Likewise.
23204 (sincos_test): Likewise.
23205 * sysdeps/i386/fpu/libm-test-ulps: Update.
23206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23207
dd7f4703
DM
232082012-03-16 David S. Miller <davem@davemloft.net>
23209
23210 * sysdeps/sparc/fpu/math_private.h: New file.
23211
006f1daa
DM
232122012-03-15 David S. Miller <davem@davemloft.net>
23213
c0c83bc8
DM
23214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23215 file.
e6a62e18 23216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
23217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23218 file.
e6a62e18
DM
23219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23220 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23221 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23222 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23223 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23224 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23225 sysdep routines.
23226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23227
88cb87d9
DM
23228 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23229 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23230
006f1daa 23231 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
23232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23233 sparc-ifunc.h
006f1daa 23234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
23235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23236 Likewise.
23237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23238 Likewise.
006f1daa
DM
23239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
23242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23243 Likewise.
006f1daa
DM
23244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
23248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23249 Likewise.
23250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23251 Likewise.
006f1daa
DM
23252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23256 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23257 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23258 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23259 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23260 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23261 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23262 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23263 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23264 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23265 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23266 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23267 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23268 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23269 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23270 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23271 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23272 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23273 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23274 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23275 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23276
11e0098e
AS
232772012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23278
23279 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23280 scaling.
23281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23282
e85b09d0
AJ
232832012-03-15 Andreas Jaeger <aj@suse.de>
23284
23285 [BZ #13852]
23286 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23287 ieee754/flt-32 implementation for sin, cos and sincos.
23288 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23289 * sysdeps/i386/fpu/s_cosf.S: Likewise.
23290 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23291 * sysdeps/i386/fpu/s_sinf.S: Likewise.
23292 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23293 ieee754/flt-32 implementation for tan.
23294
23295 * math/libm-test.inc (cos_test): Enable some large input tests for
23296 float as well
23297 (sin_test): Likewise.
23298 (sincos_test): Likewise.
23299 (tan_test): Add tests for large input.
23300
23301 * sysdeps/i386/fpu/libm-test-ulps: Update.
23302
81c64153
AJ
233032012-03-15 Andreas Jaeger <aj@suse.de>
23304
23305 [BZ #13658]
23306 * math/libm-test.inc (cos_test): Add more test cases.
23307 (sin_test): Likewise.
23308 (sincos_test): Likewise.
23309
7bbfa5c6
AJ
233102012-03-15 Andreas Jaeger <aj@suse.de>
23311
23312 [BZ #13837]
23313 * math/libm-test.inc (cos_test): Add a test case for large input
23314 value.
23315 (sin_test): Likewise.
23316 (sincos_test): Likewise.
23317
233182012-03-15 Andreas Jaeger <aj@suse.de>,
23319 Joseph Myers <joseph@codesourcery.com>
23320
23321 [BZ #13658]
0671f479 23322 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
23323 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23324 * sysdeps/i386/fpu/branred.c: Likewise.
23325 * sysdeps/i386/fpu/dosincos.c: Likewise.
23326 * sysdeps/i386/fpu/mpa.c: Likewise.
23327 * sysdeps/i386/fpu/s_cos.S: Likewise.
23328 * sysdeps/i386/fpu/s_sin.S: Likewise.
23329 * sysdeps/i386/fpu/s_sincos.S: Likewise.
23330 * sysdeps/i386/fpu/sincos32.c: Likewise.
23331
23332 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23333 Define.
23334 (libc_feupdateenv_53bit): Define.
23335 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23336 Define.
23337 (libc_feupdateenv_53bit): Define.
23338
23339 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23340 53 bit (without extend i386 double precision).
23341
23342 * math/libm-test.inc (sincos_test): Add tests for large input.
23343 (sin): Likewise.
23344 (cos): Likewise.
23345
23346 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23347
9cad04ea
AS
233482012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23349
23350 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23351
f7062b9a
DM
233522012-03-15 David S. Miller <davem@davemloft.net>
23353
23354 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23355 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23356 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23357 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23362 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23363 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23364 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23365 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23366 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23367 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23368 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
23369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23370 file.
f7062b9a 23371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
23372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23373 file.
f7062b9a 23374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
23375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23376 file.
f7062b9a 23377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
23378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23379 file.
f7062b9a
DM
23380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23381 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23382 fmin/fmax sysdep routines.
23383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23384
7bd951ff
DM
233852012-03-14 David S. Miller <davem@davemloft.net>
23386
559398ab
DM
23387 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23388 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23389 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23390 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23391 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23392 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23393 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23394 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23395 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23396 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23397 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23398 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23399 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23400 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23401 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23402 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23403 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23404 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23405 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23406 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23407 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23408 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23409 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23410 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23411 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23412 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23413 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23414 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23415 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23416 routines.
23417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23418 file.
559398ab 23419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
23420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23421 file.
559398ab 23422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
23423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23424 file.
559398ab 23425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
23426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23427 file.
559398ab 23428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
23429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23430 file.
559398ab 23431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
23432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23433 file.
23434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23435 file.
23436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23437 file.
23438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23439 file.
23440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23441 New file.
23442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23443 file.
23444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23445 file.
559398ab 23446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
23447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23448 file.
559398ab 23449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23451 file.
559398ab 23452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
23453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23454 file.
559398ab 23455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
23456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23457 VIS3 routines.
559398ab
DM
23458
23459 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23460 New file.
23461
5a1c1e32
DM
23462 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23463
eae47a36
DM
23464 * sysdeps/sparc/configure.in: New file.
23465 * sysdeps/sparc/configure: Generate.
23466 * configure.in (libc_cv_sparc_as_vis3): Substitute.
23467 * configure: Regenerate.
23468 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23469 * config.make.in (have-as-vis3): New.
23470 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23471 available use -Av9d instead of -Av9a.
23472 * sysdeps/sparc/sparc64/Makefile: Likewise.
23473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
23474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23475 New file.
23476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23477 file.
23478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23479 New file.
23480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23481 file.
eae47a36
DM
23482 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23483 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23484 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23485 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23486 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23487
c0c83bc8
DM
23488 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23489 fzeros/fnegs to load 0x80000000 into a float register instead of
23490 using the stack.
7bd951ff
DM
23491 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23492
bd951ccb
JM
234932012-03-14 Joseph Myers <joseph@codesourcery.com>
23494
23495 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23496 bits/syscall.h.
23497 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23498 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23499 ($(inst_includedir)/bits/syscall.h): Remove rule.
23500 ($(objpfx)bits/syscall.d): Include instead of
23501 $(objpfx)syscall-list.d.
23502 (generated): Change syscall-list.h and syscall-list.d to
23503 bits/syscall.h and bits/syscall.d.
23504
bb4e6db2
RM
235052012-03-14 Roland McGrath <roland@hack.frob.com>
23506
23507 [BZ #13846]
23508 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23509
aa4a2ae1
JM
235102012-03-14 Joseph Myers <joseph@codesourcery.com>
23511
e456826d
JM
23512 [BZ #13841]
23513 * math/s_csqrt.c: Include <float.h>.
23514 (__csqrt): Scale large or subnormal inputs.
23515 * math/s_csqrtf.c: Likewise.
23516 * math/s_csqrtl.c: Likewise.
23517 * math/libm-test.inc (csqrt_test): Add more tests.
23518 * sysdeps/i386/fpu/libm-test-ulps: Update.
23519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23520
aa4a2ae1
JM
23521 [BZ #13840]
23522 * math/libm-test.inc (hypot_test): Add more tests.
23523
7c10fd35
DM
235242012-03-13 David S. Miller <davem@davemloft.net>
23525
23526 [BZ #13840]
23527 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23528 double-precision for the calculation instead of scaling.
23529
f453b98b
JM
235302012-03-13 Joseph Myers <joseph@codesourcery.com>
23531
23532 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23533 manipulate bits before adding and subtracting TWO52[sx].
23534 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23535 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23536 Likewise.
23537 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23538
09a3453f
DM
235392012-03-13 David S. Miller <davem@davemloft.net>
23540
8e59da90
DM
23541 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23542 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23543 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23544 rtld-global-offsets.h
23545 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23546
2a8ab7f2
DM
23547 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23548 large parameters.
23549
10f62770
DM
23550 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23551
5f0bdb18
DM
23552 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23553 'err' in the ifdef scope in which it is actually used.
23554
09a3453f
DM
23555 * nss/nss_db/db-init.c: Include string.h
23556
b4b2eb5e
DM
235572012-03-12 David S. Miller <davem@davemloft.net>
23558
98bb2f1c
DM
23559 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23560 masking out of the most significant byte of random value used.
23561 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23562 Fix coding style in previous change.
23563
b4b2eb5e
DM
23564 * sysdeps/unix/sysv/linux/kernel-features.h
23565 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23566 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23567 expression.
23568 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23569 later.
23570
6e226b09
DM
235712012-03-11 David S. Miller <davem@davemloft.net>
23572
a1bcbd40
DM
23573 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23574 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23575 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23576 for 'resultvar' otherwise things get truncated on 64-bit.
23577
cb9d6174
DM
23578 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23579 Fix masking out of the most significant byte of random value used.
23580
6e226b09
DM
23581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23582
058c132d
AS
235832012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23584
23585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23586
2d2cd515
DM
235872012-03-09 David S. Miller <davem@davemloft.net>
23588
23589 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23590 variables with appropriate CPP guards.
23591 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23592 frame pointer, not the stack pointer. Correct layout comments. Fix test
23593 on resulting framesize and the management of the outregs buffer for pltexit.
23594 Preserve floating point return values across _dl_call_pltexit call.
23595 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23596 framesize and the management of the outregs buffer for pltexit.
23597 Preserve floating point return values across _dl_call_pltexit
23598 call.
23599 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23600 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23601 (print_exit): Fix format string for return register value.
23602
9a07f9d0
JM
236032012-03-10 Joseph Myers <joseph@codesourcery.com>
23604
23605 * sunrpc/Makefile (others): Add rpcgen.
23606 ($(objpfx)rpcgen): Remove special build rule and dependency on
23607 libc.
23608 * sunrpc/rpcgen.c: New file.
23609
547b5e30
PE
236102012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23611
c524201a
PE
23612 [BZ #13673]
23613 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23614 * stdio-common/bug-vfprintf-nargs.c: Likewise.
23615 * sysdeps/i386/crti.S: Likewise.
23616 * sysdeps/i386/crtn.S: Likewise.
23617 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23618 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23619 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23620 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23621 * sysdeps/sh/crti.S: Likewise.
23622 * sysdeps/sh/crtn.S: Likewise.
23623 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23624
7b6235f2
PE
23625 [BZ #13673]
23626 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23627 with URL.
23628 * locale/programs/locfile-kw.gperf: Likewise.
23629 * locale/programs/charmap-kw.h: Regenerated.
23630 * locale/programs/locfile-kw.h: Likewise.
23631
547b5e30
PE
23632 [BZ #13673]
23633 * intl/plural.y: Replace FSF snail mail address with URL.
23634 * intl/plural.c: Regenerated.
23635
5f0a5dae
RH
236362012-03-09 Richard Henderson <rth@twiddle.net>
23637
23638 * include/math_private.h: Remove file.
23639 * math/math_private.h: Move file ...
23640 * sysdeps/generic/math_private.h: ... here.
23641
b8c03620
RH
23642 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23643 * sysdeps/powerpc/fpu/math_private.h: Likewise.
23644 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23645
4e234f5d 23646 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
23647 and <math_private.h>.
23648 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23649 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23650 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23651 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23652 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23653 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23654 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23655 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23656 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23657 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23658 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23659 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23660 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23661 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23662 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23663 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23664 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23665 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23666 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23667 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23668 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23669 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23670 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23671 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23672 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23673 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23674 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23675 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23676 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23677 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23678 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23679 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23680 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23681 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23682 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23683 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23684 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23685 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23686 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23687 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23688 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23689 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23690 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23691 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23692 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23693 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23694 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23695 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23696 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23697 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23698 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23699 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23700 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23701 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23702 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23703 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23704 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23705 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23706 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23707 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23708 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23709 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23710 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23711 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23712 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23713 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23714 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23715 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23716 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23717 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23718 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23719 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23720 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23721 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23722 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23723 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23724 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23725 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23726 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23727 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23728 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23729 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23730 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23731 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23732 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23733 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23734 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23735 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23736 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23737 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23738 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23739 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23740 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23741 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23742 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23743 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23744 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23745 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23746 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23747 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23748 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23749 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23750 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23751 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23752 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23753 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23754 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23755 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23756 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23757 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23758 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23759 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23760 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23761 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23762 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23763 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23764 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23765 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23766 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23767 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23768 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23769 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23770 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23771 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23772 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23773 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23774 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23775 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23776 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23777 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23778 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23779 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23780 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23781 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23782 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23783 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23784 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23785 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23786 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23787 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23788 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23789 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23790 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23791 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23792 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23793 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23794 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23795 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23796 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23797 * sysdeps/ieee754/k_standard.c: Likewise.
23798 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23799 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23800 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23801 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23802 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23803 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23804 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23805 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23806 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23807 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23808 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23809 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23810 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23811 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23812 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23813 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23814 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23815 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23816 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23817 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23818 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23819 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23820 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23821 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23822 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23823 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23824 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23825 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23826 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23827 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23828 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23829 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23830 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23831 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23832 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23833 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23834 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23835 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23836 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23837 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23838 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23839 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23840 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23841 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23842 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23843 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23844 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23845 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23846 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23847 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23848 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23849 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23850 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23851 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23852 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23853 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23854 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23855 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23856 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23857 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23858 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23859 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23860 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23861 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23862 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23863 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23864 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23865 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23866 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23867 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23868 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23869 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23870 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23871 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23872 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23873 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23874 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23875 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23876 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23877 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23878 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23879 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23880 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23881 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23882 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23883 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23884 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23885 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23886 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23887 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23888 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23889 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23890 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23891 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23892 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23893 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23894 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23895 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23896 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23897 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23898 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23899 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23900 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23901 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23902 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23903 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23904 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23905 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23906 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23907 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23908 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23909 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23910 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23911 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23912 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23913 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23914 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23915 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23916 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23917 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23918 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23919 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23920 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23921 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23922 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23923 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23924 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23925 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23926 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23927 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23928 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23929 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23930 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23931 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23932 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23933 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23934 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23935 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23936 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23937 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23938 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23939 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23940 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23941 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23942 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23943 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23944 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23945 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23946 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23947 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23948 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23949 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23950 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23951 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23952 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23953 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23954 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23955 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23956 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23957 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23958 * sysdeps/ieee754/s_lib_version.c: Likewise.
23959 * sysdeps/ieee754/s_matherr.c: Likewise.
23960 * sysdeps/ieee754/s_signgam.c: Likewise.
23961 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23962 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23963 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23964 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23965 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23966 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23967 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23968 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23969 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23970 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23971 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23972 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23973 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23974 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23975 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23976 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23977 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23978 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23979 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23980 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23981 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 23982
1991fa03
JM
239832012-03-09 Joseph Myers <joseph@codesourcery.com>
23984
23985 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
23986 * sunrpc/rpc_main.c: Likewise.
23987 * sunrpc/rpc_svcout.c: Likewise.
23988
60d6f5a6
DM
239892012-03-09 David S. Miller <davem@davemloft.net>
23990
23991 * include/math_private.h: New file.
23992
4962050e
JM
239932012-03-09 Joseph Myers <joseph@codesourcery.com>
23994
02a6f887
JM
23995 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
23996 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
23997 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
23998 from <bits/socket_type.h>.
23999 (enum __socket_type): Don't define here.
24000 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24001 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24002 bits/socket_type.h.
24003
c6e013c1
JM
24004 [BZ #13566]
24005 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24006 checking __USE_GNU.
24007
4962050e
JM
24008 * Makerules ($(inst_includedir)/%.h): New rule.
24009 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24010 (install-others): Remove variable setting.
24011 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24012
38842f45
RH
240132012-03-08 Richard Henderson <rth@twiddle.net>
24014
67bb6da6
RH
24015 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24016 from macro to inline function; merge with the
24017 !__LIBC_INTERNAL_MATH_INLINES version.
24018 (__ieee754_sqrtf): Likewise.
24019
15194b4b
RH
24020 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24021 to inline function.
24022 (__rintf, __floor, __floorf): Likewise.
24023
64e21ede
RH
24024 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24025 macro to inline function.
24026 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24027
38842f45
RH
24028 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24029 not <math/math_private.h>.
24030
c64bf5fe
DM
240312012-03-08 David S. Miller <davem@davemloft.net>
24032
24033 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24034 copyright year.
24035 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24036
82d86f28
TS
240372012-03-08 Thomas Schwinge <thomas@codesourcery.com>
24038
24039 * resolv/gai_misc.c (handle_requests): Fix struct timespec
24040 normalization.
24041 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24042 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24043
aea5d727
UD
240442012-03-08 Ulrich Drepper <drepper@gmail.com>
24045
24046 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
24047 be defined individually, they must be defined as a block. Define
24048 S for printing a string instead of hidint the different by using a
24049 macro for adding the 'l'.
24050 * stdio-common/tst-fphex-wide.c: Adjust.
24051
70bca0a3
MP
240522012-03-07 Marek Polacek <polacek@redhat.com>
24053
24054 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24055
65b81130
MP
240562012-03-08 Marek Polacek <polacek@redhat.com>
24057
24058 [BZ #13806]
24059 * stdio-common/Makefile (tests): Add tst-fphex-wide.
24060 * stdio-common/tst-fphex.c: Define a few macros to make the
24061 test reusable. Use them.
24062 * stdio-common/tst-fphex-wide.c: New file.
24063
07037eeb
JM
240642012-03-08 Joseph Myers <joseph@codesourcery.com>
24065
a7a93d50
JM
24066 [BZ #6911]
24067 * manual/macros.texi (gnusystems): New macro.
24068 (nongnusystems): Likewise.
24069 (gnulinuxhurdsystems): Likewise.
24070 (gnuhurdsystems): Likewise..
24071 (gnulinuxsystems): Likewise.
24072 * manual/charset.texi: Use new macros or @theglibc{} to refer to
24073 variants of the GNU system, not "GNU system".
24074 * manual/conf.texi: Likewise.
24075 * manual/errno.texi: Likewise. Update example of errno macro
24076 expansion.
24077 * manual/filesys.texi: Likewise.
24078 (getumask): Document as specific to GNU/Hurd.
24079 * manual/install.texi: Likewise. Reword some references to
24080 GNU/Linux.
24081 * manual/intro.texi: Likewise.
24082 * manual/io.texi: Likewise.
24083 (File Name Portability): Detail which constraints are inapplicable
24084 to all GNU systems and which are only inapplicable to GNU/Hurd.
24085 * manual/job.texi: Likewise.
24086 * manual/llio.texi: Likewise.
24087 (O_NOCTTY): Document as present on GNU/Linux.
24088 * manual/maint.texi: Likewise.
24089 * manual/memory.texi: Likewise.
24090 * manual/pattern.texi: Likewise.
24091 * manual/pipe.texi: Likewise.
24092 * manual/process.texi: Likewise.
24093 * manual/resource.texi: Likewise.
24094 (RUSAGE_CHILDREN): Remove statement about specifying a particular
24095 child on GNU/Hurd.
24096 * manual/setjmp.texi: Likewise.
24097 * manual/signal.texi: Likewise.
24098 * manual/startup.texi: Likewise.
24099 * manual/stdio.texi: Likewise.
24100 * manual/terminal.texi: Likewise.
24101 (ONLCR): Document as POSIX.
24102 (OXTABS): Document availability on GNU/Linux as XTABS.
24103 (ONOEOT): Document availability separately from other bits.
24104 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24105 * manual/time.texi: Likewise.
24106 * manual/users.texi: Likewise.
24107 * INSTALL: Regenerated.
24108 * sysdeps/gnu/errlist.c: Regenerated.
24109
07037eeb
JM
24110 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
24111 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
24112 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
24113 puts.
24114 * configure: Regenerated.
24115
d1d3431a
JM
241162012-03-07 Joseph Myers <joseph@codesourcery.com>
24117
af6a1e37
JM
24118 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
24119 default includes instead of AC_HEADER_CHECK.
24120 * sysdeps/i386/configure: Regenerated.
24121
d1d3431a
JM
24122 [BZ #10716]
24123 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
24124 * math/s_cacoshf.c (__cacoshf): Likewise.
24125 * math/s_cacoshl.c (__cacoshl): Likewise.
24126 * math/s_casinh.c (__casinh): Set signs of result from argument.
24127 * math/s_casinhf.c (__casinhf): Likewise.
24128 * math/s_casinhl.c (__casinhl): Likewise.
24129 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
24130 (casinh_test): Add more tests.
24131 * sysdeps/i386/fpu/libm-test-ulps: Update.
24132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24133
482ff4da
UD
241342012-03-07 Ulrich Drepper <drepper@gmail.com>
24135
872fda05
UD
24136 * po/zh_TW.po: Update from translation team.
24137
a4300c7a
UD
24138 * login/Makefile (distribute): Remove variable.
24139 * catgets/Makefile: Likewise.
24140 * mach/Makefile: Likewise.
24141 * malloc/Makefile: Likewise.
24142 * misc/Makefile: Likewise.
24143 * iconv/Makefile: Likewise.
24144 * nscd/Makefile: Likewise.
24145 * hurd/Makefile: Likewise.
24146 * manual/Makefile: Likewise.
24147 * locale/Makefile: Likewise.
24148 * intl/Makefile: Likewise.
24149 * conform/Makefile: Likewise.
24150 * nss/Makefile: Likewise.
24151 * time/Makefile: Likewise.
24152 * soft-fp/Makefile: Likewise.
24153 * dirent/Makefile: Likewise.
24154 * gmon/Makefile: Likewise.
24155 * po/Makefile: Likewise.
24156 * rt/Makefile: Likewise.
24157 * socket/Makefile: Likewise.
24158 * math/Makefile: Likewise.
24159 * signal/Makefile: Likewise.
24160 * debug/Makefile: Likewise.
24161 * elf/Makefile: Likewise.
24162 * timezone/Makefile: Likewise.
24163 * stdlib/Makefile: Likewise.
24164 * iconvdata/Makefile: Likewise.
24165 * sunrpc/Makefile: Likewise.
24166 * io/Makefile: Likewise.
24167 * argp/Makefile: Likewise.
24168 * inet/Makefile: Likewise.
24169 * hesiod/Makefile: Likewise.
24170 * grp/Makefile: Likewise.
24171 * csu/Makefile: Likewise.
24172 * wctype/Makefile: Likewise.
24173 * crypt/Makefile: Likewise.
24174 * libio/Makefile: Likewise.
24175 * string/Makefile: Likewise.
24176 * nis/Makefile: Likewise.
24177 * resolv/Makefile: Likewise.
24178 * stdio-common/Makefile: Likewise.
24179 * wcsmbs/Makefile: Likewise.
24180 * dlfcn/Makefile: Likewise.
24181 * posix/Makefile: Likewise.
24182
3b7c4e74 24183 [BZ #6959]
482ff4da
UD
24184 * timezone/Makefile: Don't install timezone files, just the programs
24185 and scripts.
24186
f72ed77d
UD
241872012-03-06 Ulrich Drepper <drepper@gmail.com>
24188
a000466f
UD
24189 * nss/databases.def: Add missing gshadow entry.
24190
f72ed77d
UD
24191 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
24192
a53b7a4e
MP
241932012-03-06 Marek Polacek <polacek@redhat.com>
24194
24195 [BZ #13726]
24196 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24197 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24198 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24199 * stdio-common/tst-long-dbl-fphex.c: New file.
24200
e9258400
DM
242012012-03-06 David S. Miller <davem@davemloft.net>
24202
24203 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24204 (set_obp_int): New function.
24205 (get_obp_int): New function.
24206 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
24207 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
24208 Avoid unused variable warnings on 'val' and use builtin_expect.
24209 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24210 __builtin_expect.
e9258400
DM
24211 (INLINE_CLONE_SYSCALL): Likewise.
24212
3bd2c723
DM
242132012-03-05 David S. Miller <davem@davemloft.net>
24214
24215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24216
bbb78d03
AS
242172012-03-05 Andreas Schwab <schwab@linux-m68k.org>
24218
884c5db4
AS
24219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24220
bbb78d03
AS
24221 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24222 only for |x| >= 40.
24223 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24224
1c9f702a 242252012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
24226
24227 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24228 Replace gettimeofday with __vdso_gettimeofday.
24229
7be16f82
RM
24230 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24231 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24232 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
24233
24234 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24235 time with __vdso_time.
24236
ed58a00f
JM
242372012-03-05 Joseph Myers <joseph@codesourcery.com>
24238
24239 * manual/lang.texi (size_t): Note types to which size_t may be
24240 equivalent with the GNU C Library, but do not describe when
24241 differences between them are significant.
24242
30ee4ced
AJ
242432012-03-05 Andreas Jaeger <aj@suse.de>
24244
24245 * sysdeps/i386/fpu/libm-test-ulps: Update.
24246
b7cd39e8
JM
242472012-03-05 Joseph Myers <joseph@codesourcery.com>
24248
24249 [BZ #3976]
24250 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24251 (__ieee754_pow): Save and restore rounding mode and use
24252 round-to-nearest for main computations.
24253 * math/libm-test.inc (pow_test_tonearest): New function.
24254 (pow_test_towardzero): Likewise.
24255 (pow_test_downward): Likewise.
24256 (pow_test_upward): Likewise.
24257 (main): Call the new functions.
24258 * sysdeps/i386/fpu/libm-test-ulps: Update.
24259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
24260
24261 [BZ #3976]
24262 * math/libm-test.inc (cosh_test_tonearest): New function.
24263 (cosh_test_towardzero): Likewise.
24264 (cosh_test_downward): Likewise.
24265 (cosh_test_upward): Likewise.
24266 (sinh_test_tonearest): Likewise.
24267 (sinh_test_towardzero): Likewise.
24268 (sinh_test_downward): Likewise.
24269 (sinh_test_upward): Likewise.
24270 (main): Call the new functions.
24271 * sysdeps/i386/fpu/libm-test-ulps: Update.
24272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24273
6c6a98c9
TV
242742012-03-05 Tom de Vries <tom@codesourcery.com>
24275
24276 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24277 default stack guard is set in last bytes.
24278 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24279
21bb2d2e 242802012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 24281
21bb2d2e 24282 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 24283
21bb2d2e
AJ
24284 [BZ #13656]
24285 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24286 possibly allocate from heap instead of stack.
24287 * stdio-common/bug-vfprintf-nargs.c: New file.
24288 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 24289
c6922934
AS
242902012-03-03 Andreas Schwab <schwab@linux-m68k.org>
24291
24292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24293
bc957d53
MP
242942012-03-03 Marek Polacek <polacek@redhat.com>
24295
24296 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24297 * math/math_private.h: Likewise.
24298 * stdlib/tst-strtod.c: Likewise.
24299 * sysdeps/i386/i486/bits/atomic.h: Likewise.
24300 * sysdeps/x86_64/bits/atomic.h: Likewise.
24301
6358490d
DM
243022012-03-02 David S. Miller <davem@davemloft.net>
24303
24304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24308 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24309 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24310 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24311 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24312
01ae168d
RM
243132012-03-02 Roland McGrath <roland@hack.frob.com>
24314
d9a17c07
RM
24315 [BZ #13792]
24316 * manual/examples/README: New file, says the example source files
24317 can be used under GPL>=2.
24318 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24319 line containing just "*/".
24320 * manual/examples/add.c: Add copyright header (GPL>=2).
24321 * manual/examples/argp-ex1.c: Likewise.
24322 * manual/examples/argp-ex2.c: Likewise.
24323 * manual/examples/argp-ex3.c: Likewise.
24324 * manual/examples/argp-ex4.c: Likewise.
24325 * manual/examples/atexit.c: Likewise.
24326 * manual/examples/db.c: Likewise.
24327 * manual/examples/dir.c: Likewise.
24328 * manual/examples/dir2.c: Likewise.
24329 * manual/examples/execinfo.c: Likewise.
24330 * manual/examples/filecli.c: Likewise.
24331 * manual/examples/filesrv.c: Likewise.
24332 * manual/examples/fmtmsgexpl.c: Likewise.
24333 * manual/examples/genpass.c: Likewise.
24334 * manual/examples/inetcli.c: Likewise.
24335 * manual/examples/inetsrv.c: Likewise.
24336 * manual/examples/isockad.c: Likewise.
24337 * manual/examples/longopt.c: Likewise.
24338 * manual/examples/memopen.c: Likewise.
24339 * manual/examples/memstrm.c: Likewise.
24340 * manual/examples/mkfsock.c: Likewise.
24341 * manual/examples/mkisock.c: Likewise.
24342 * manual/examples/mygetpass.c: Likewise.
24343 * manual/examples/pipe.c: Likewise.
24344 * manual/examples/popen.c: Likewise.
24345 * manual/examples/rprintf.c: Likewise.
24346 * manual/examples/search.c: Likewise.
24347 * manual/examples/select.c: Likewise.
24348 * manual/examples/setjmp.c: Likewise.
24349 * manual/examples/sigh1.c: Likewise.
24350 * manual/examples/sigusr.c: Likewise.
24351 * manual/examples/stpcpy.c: Likewise.
24352 * manual/examples/strdupa.c: Likewise.
24353 * manual/examples/strftim.c: Likewise.
24354 * manual/examples/strncat.c: Likewise.
24355 * manual/examples/subopt.c: Likewise.
24356 * manual/examples/swapcontext.c: Likewise.
24357 * manual/examples/termios.c: Likewise.
24358 * manual/examples/testopt.c: Likewise.
24359 * manual/examples/testpass.c: Likewise.
24360 * manual/examples/timeval_subtract.c: Likewise.
24361
01ae168d
RM
24362 [BZ #13792]
24363 * manual/time.texi (Elapsed Time): Move timeval_subtract example
24364 function to ...
24365 * manual/timeval_subtract.c.texi: ... here, new file.
24366
49efa33d
DM
243672012-03-02 David S. Miller <davem@davemloft.net>
24368
24369 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24370
28afd92d
JM
243712012-03-02 Joseph Myers <joseph@codesourcery.com>
24372
804360ed
JM
24373 [BZ #3976]
24374 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24375 (__sin): Save and restore rounding mode and use round-to-nearest
24376 for all computations.
24377 (__cos): Save and restore rounding mode and use round-to-nearest
24378 for all computations.
24379 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24380 <fenv.h>.
24381 (tan): Save and restore rounding mode and use round-to-nearest for
24382 all computations.
24383 * math/libm-test.inc (cos_test_tonearest): New function.
24384 (cos_test_towardzero): Likewise.
24385 (cos_test_downward): Likewise.
24386 (cos_test_upward): Likewise.
24387 (sin_test_tonearest): Likewise.
24388 (sin_test_towardzero): Likewise.
24389 (sin_test_downward): Likewise.
24390 (sin_test_upward): Likewise.
24391 (tan_test_tonearest): Likewise.
24392 (tan_test_towardzero): Likewise.
24393 (tan_test_downward): Likewise.
24394 (tan_test_upward): Likewise.
24395 (main): Call the new functions.
24396 * sysdeps/i386/fpu/libm-test-ulps: Update.
24397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24398
a6d06d7b
JM
24399 [BZ #10135]
24400 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24401 small n, then large n, before computing and testing k+n.
24402 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24403 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24404 Likewise.
24405 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24406 Likewise.
24407 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24408 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24409 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24410 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24411 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24412 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24413 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24414 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24415 * math/libm-test.inc (scalbn_test): Add more tests.
24416 (scalbln_test): Likewise.
24417
07e12bb3
JM
24418 * manual/filesys.texi (mode_t): Describe constraints on size and
24419 signedness, not exact equivalence to a particular type.
24420 (ino_t): Likewise.
24421 (ino64_t): Likewise.
24422 (dev_t): Likewise.
24423 (nlink_t): Likewise.
24424 (blkcnt_t): Likewise.
24425 (blkcnt64_t): Likewise.
24426 * manual/llio.texi (off_t): Likewise.
24427
28afd92d
JM
24428 [BZ #3976]
24429 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24430 (__ieee754_exp): Save and restore rounding mode and use
24431 round-to-nearest for all computations.
24432 * math/libm-test.inc (exp_test_tonearest): New function.
24433 (exp_test_towardzero): Likewise.
24434 (exp_test_downward): Likewise.
24435 (exp_test_upward): Likewise.
24436 (main): Call the new functions.
24437 * sysdeps/i386/fpu/libm-test-ulps: Update.
24438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24439
b1eeb65d
CD
244402012-03-01 Chris Demetriou <cgd@google.com>
24441
24442 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24443 have predictable order.
24444
53362a4b
DM
244452012-03-01 David S. Miller <davem@davemloft.net>
24446
3c969083
DM
24447 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24448
759707de
DM
24449 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24450 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24451 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24452 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24453
dfdb8ff2
DM
24454 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24455 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24456 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24458 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24459 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24460 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24461 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24462 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24463
ead89f96
DM
24464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24465
7f66bd07
DM
24466 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24467 * sysdeps/sparc/fpu/libm-test-ulps: to here.
24468 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24469
53362a4b
DM
24470 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24471 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24472 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24473 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24474 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24475 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24476 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24477 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24478 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24479 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24480 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24481 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24482 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24483 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24484 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24485 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24486 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24487 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24488 * sysdeps/sparc/elf/configure: Regenerated.
24489
7b1902cb
JM
244902012-03-01 Joseph Myers <joseph@codesourcery.com>
24491
bec039bc
JM
24492 * configure.in (AS, LD): Require binutils 2.20 or later.
24493 * configure: Regenerated.
24494 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24495 as required minimum version.
24496 * INSTALL: Regenerated.
24497
7b1902cb
JM
24498 [BZ #2541]
24499 [BZ #4108]
24500 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24501 before squaring exponent.
24502 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24503 bottom long double and 27 bits of top long double before squaring
24504 exponent.
24505 * math/libm-test.inc (erfc_test): Add more tests.
24506 * sysdeps/i386/fpu/libm-test-ulps: Update.
24507 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24509
f775c276
KT
245102012-03-01 Kai Tietz <ktietz@redhat.com>
24511
24512 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24513 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24514 containing bit-fields.
24515 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24516 * soft-fp/single.h (_FP_UNION_S): Likewise.
24517 * soft-fp/double.h (_FP_UNION_D): Likewise.
24518
5b8a4d4a
JM
245192012-02-29 Joseph Myers <joseph@codesourcery.com>
24520
0bab47b6
JM
24521 [BZ #13786]
24522 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24523 not include ../strcmp.S.
24524 [USE_AS_STRNCASECMP_L]: Likewise.
24525 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24526 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24527 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24528 (__strncasecmp_l_ia32): Define as alias to
24529 __strncasecmp_l_nonascii.
24530
0fcad3e2
JM
24531 [BZ #5794]
24532 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24533 * sysdeps/i386/fpu/libm-test-ulps: Update.
24534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24535
5b8a4d4a
JM
24536 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24538
8fdceb2e
JL
245392012-02-29 Jeff Law <law@redhat.com>
24540
24541 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24542 out of bounds read.
24543
1f393a11
MP
245442012-02-29 Marek Polacek <polacek@redhat.com>
24545
24546 [BZ #13706]
24547 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24548 * elf/Makefile: Add rules to run tst-unused-dep.out.
24549
8847f037
DM
245502012-02-28 David S. Miller <davem@davemloft.net>
24551
24552 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24553 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24554 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24555 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24556 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24557 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24558
169d7f11
JM
245592012-02-29 Joseph Myers <joseph@codesourcery.com>
24560
24561 * math/libm-test.inc (llround_test): Move one test from
24562 lround_test. Use TEST_f_L in moved test.
24563 (lround_test): Move misplaced test to llround_test. Add testcase
24564 from bug 2561.
24565
39adf059
UD
245662012-02-28 Ulrich Drepper <drepper@gmail.com>
24567
24568 * sysdeps/x86_64/fpu/e_expf.S: New file.
24569 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24570
71b5d1c5
SB
245712012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24572
24573 [BZ #13637]
24574 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24575 of remain_len that may cause incomplete multi-byte character and
24576 false match.
24577 * posix/bug-regex33.c: New file.
24578 * posix/Makefile (tests): Add bug-regex33.
24579
1f77f049
JM
245802012-02-28 Joseph Myers <joseph@codesourcery.com>
24581
24582 * manual/macros.texi: New file.
24583 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24584 * manual/libc.texinfo: Include macros.texi.
24585 * manual/creatute.texi: Likewise.
24586 * manual/install.texi: Likewise.
24587 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24588 @glibcadj{} in references to the GNU C Library.
24589 * manual/charset.texi: Likewise.
24590 * manual/conf.texi: Likewise.
24591 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24592 when not using those macros.
24593 * manual/creature.texi: Likewise.
24594 * manual/crypt.texi: Likewise.
24595 * manual/errno.texi: Likewise.
24596 * manual/filesys.texi: Likewise.
24597 * manual/header.texi: Likewise.
24598 * manual/install.texi: Likewise.
24599 * manual/intro.texi: Likewise.
24600 * manual/io.texi: Likewise.
24601 * manual/job.texi: Likewise.
24602 * manual/lang.texi: Likewise.
24603 * manual/libc.texiinfo: Likewise.
24604 * manual/llio.texi: Likewise.
24605 * manual/locale.texi: Likewise.
24606 * manual/maint.texi: Likewise.
24607 * manual/math.texi: Likewise.
24608 * manual/memory.texi: Likewise.
24609 * manual/message.texi: Likewise.
24610 * manual/nss.texi: Likewise.
24611 * manual/pattern.texi: Likewise.
24612 * manual/process.texi: Likewise.
24613 * manual/resource.texi: Likewise.
24614 * manual/search.texi: Likewise.
24615 * manual/setjmp.texi: Likewise.
24616 * manual/signal.texi: Likewise.
24617 * manual/socket.texi: Likewise.
24618 * manual/startup.texi: Likewise.
24619 * manual/stdio.texi: Likewise.
24620 * manual/string.texi: Likewise.
24621 * manual/sysinfo.texi: Likewise.
24622 * manual/syslog.texi: Likewise.
24623 * manual/terminal.texi: Likewise.
24624 * manual/time.texi: Likewise.
24625 * manual/users.texi: Likewise.
24626 * INSTALL: Regenerated.
24627 * NOTES: Regenerated.
d40c5d54 24628 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 24629
450bf206
AS
246302012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24631
24632 * include/dirent.h: Include <dirstream.h> before
24633 <dirent/dirent.h>.
24634
741a235b
DM
246352012-02-28 David S. Miller <davem@davemloft.net>
24636
24637 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24638 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24639 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24640 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24641
d6b5aa58
DM
246422012-02-27 David S. Miller <davem@davemloft.net>
24643
1aff59a3
DM
24644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24646 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24647 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24648
d6b5aa58
DM
24649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24650 frame pointer instead of stack pointer relative arg slot.
24651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24652 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24653 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24654
433f48bf
CD
246552012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24656
24657 [BZ #3992]
24658 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24659
d674b76d
DM
246602012-02-27 David S. Miller <davem@davemloft.net>
24661
24662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24666 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24667 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24668 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24669 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24670
0e7727f7
JM
246712012-02-27 Joseph Myers <joseph@codesourcery.com>
24672
24673 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24674 later. Allow versions 5-9.
43be4ca2 24675 * configure: Regenerated.
0e7727f7
JM
24676 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24677 required minimum version and 4.6 as recommended version. Do not
24678 mention bugs in GCC 2.7 and 2.8.
43be4ca2 24679 * INSTALL: Regenerated.
0e7727f7 24680
a78bc654
DM
246812012-02-27 David S. Miller <davem@davemloft.net>
24682
428d5830
DM
24683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24687 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24688 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24689 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24690 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24691
a78bc654
DM
24692 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24693 manipulate bits before adding and subtracting TWO112[sx].
24694 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24695
4579f81c
RM
246962012-02-27 Roland McGrath <roland@hack.frob.com>
24697
36c8acb4
RM
24698 [BZ #13775]
24699 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24700 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24701 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24702 being in POSIX, because they are in 1003.1-2008.
24703
84ad622b
RM
24704 * rt/tst-aio.c: Include <fcntl.h>.
24705 * rt/tst-aio7.c: Likewise.
24706 * rt/tst-aio64.c: Likewise.
24707
4579f81c
RM
24708 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24709
abd923db
JM
247102012-02-27 Joseph Myers <joseph@codesourcery.com>
24711
24712 * manual/install.texi (--with-headers): Describe headers as
24713 interface headers, not private headers.
24714 (Specific advice for GNU/Linux systems): Describe use of headers
24715 from "make headers_install", not private headers from older
24716 kernels.
43be4ca2 24717 * INSTALL: Regenerated.
abd923db
JM
24718 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24719 Change to 2.6.19.
24720 * sysdeps/unix/sysv/linux/configure: Regenerated.
24721
6664049b
JM
24722 * manual/llio.texi (fclean): Remove documentation.
24723
bb8b6697
JM
24724 * manual/Makefile (libc-texi-generated): New variable. Include
24725 version.texi.
24726 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24727 $(libc-texi-generated), not duplicated list of files.
24728 (version.texi, stamp-version): New rules.
24729 (realclean): Remove $(libc-texi-generated), not individual files
24730 from that list. Do not remove dir-add.texinfo.
24731 * manual/libc.texinfo: Comment out uses of edition numbers and
24732 references to printed manual. Remove last-updated dates.
24733 (EDITION): Comment out.
24734 (ISBN): Likewise.
24735 (VERSION, UPDATED): Remove.
24736 (version.texi): Include.
24737
12e5c3b9
AS
247382012-02-27 Andreas Schwab <schwab@linux-m68k.org>
24739
24740 * sysdeps/posix/spawni.c: Include <signal.h>.
24741 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24742 * sysdeps/pthread/aio_fsync.c: Likewise.
24743
4efeffc1 247442012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 24745
ba63ba08
UD
24746 * conform/Makefile (tests): Run only when not cross-compiling and
24747 when fast-check is not defined.
24748
d94a4670
UD
24749 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24750 * conform/data/limits.h-data: Fixes for POSIX2008.
24751 * conform/run-conformtest.sh: Run all tests.
24752 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24753 headers.
24754 * include/bits/dlfcn.h: Likewise.
24755 * include/langinfo.h: Likewise.
24756 * include/monetary.h: Likewise.
24757 * include/sys/poll.h: Likewise.
24758
24759 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24760 for __USE_GNU.
24761 * posix/spawn.h: Define __need_sigset_t.
24762 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24763 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24764 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
24765 to get sigevent_t only.
24766 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24767 only for __USE_GNU.
24768 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24769 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24770 process_vm_writev only for __USE_GNU.
24771 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
24772
24773 * conform/Makefile: For now ignore errors from run-conformtest.
24774 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
24775 POSIX to avoid namespace pollution. Don't prepend headers.
24776 * conform/data/aio.h-data: Fixes for POSIX testing.
24777 * conform/data/fcntl.h-data: Likewise.
24778 * conform/data/glob.h-data: Likewise.
24779 * conform/data/grp.h-data: Likewise.
24780 * conform/data/pthread.h-data: Likewise.
24781 * conform/data/pwd.h-data: Likewise.
24782 * conform/data/signal.h-data: Likewise.
24783 * conform/data/spawn.h-data: Likewise.
24784 * conform/data/stdio.h-data: Likewise.
24785 * conform/data/stdlib.h-data: Likewise.
24786 * conform/data/stropts.h-data: Likewise.
24787 * conform/data/sys/mman.h-data: Likewise.
24788 * conform/data/sys/stat.h-data: Likewise.
24789 * conform/data/sys/types.h-data: Likewise.
24790 * conform/data/sys/wait.h-data: Likewise.
24791 * conform/data/time.h-data: Likewise.
24792 * conform/data/unistd.h-data: Likewise.
24793 * conform/data/utime.h-data: Likewise.
24794
24795 * io/sys/stat.h: fchmod was always in POSIX.
24796 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24797 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24798 * rt/aio.h: Define __need_timespec before including <time.h>.
24799 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24800 struct. Add forward declaration of pthread_attr_t and use it in
24801 sigevent.
24802 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24803 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24804 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24805 always remove CLK_TCK definition.
24806
c20105c3
AS
248072012-02-26 Andreas Schwab <schwab@linux-m68k.org>
24808
24809 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24810
7a270350
UD
248112012-02-25 Ulrich Drepper <drepper@gmail.com>
24812
31341567
UD
24813 * conform/run-conformtest.sh: New file.
24814 * conform/Makefile: Run run-conformtest for tests.
24815 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
24816 support.
24817
24818 * conform/data/uchar.h-data: New file.
24819 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24820 * conform/data/arpa/inet.h-data: Likewise.
24821 * conform/data/assert.h-data: Likewise.
24822 * conform/data/complex.h-data: Likewise.
24823 * conform/data/cpio.h-data: Likewise.
24824 * conform/data/ctype.h-data: Likewise.
24825 * conform/data/dirent.h-data: Likewise.
24826 * conform/data/dlfcn.h-data: Likewise.
24827 * conform/data/errno.h-data: Likewise.
24828 * conform/data/fcntl.h-data: Likewise.
24829 * conform/data/float.h-data: Likewise.
24830 * conform/data/fmtmsg.h-data: Likewise.
24831 * conform/data/fnmatch.h-data: Likewise.
24832 * conform/data/ftw.h-data: Likewise.
24833 * conform/data/glob.h-data: Likewise.
24834 * conform/data/grp.h-data: Likewise.
24835 * conform/data/iconv.h-data: Likewise.
24836 * conform/data/inttypes.h-data: Likewise.
24837 * conform/data/langinfo.h-data: Likewise.
24838 * conform/data/libgen.h-data: Likewise.
24839 * conform/data/limits.h-data: Likewise.
24840 * conform/data/locale.h-data: Likewise.
24841 * conform/data/math.h-data: Likewise.
24842 * conform/data/monetary.h-data: Likewise.
24843 * conform/data/mqueue.h-data: Likewise.
24844 * conform/data/ndbm.h-data: Likewise.
24845 * conform/data/net/if.h-data: Likewise.
24846 * conform/data/netdb.h-data: Likewise.
24847 * conform/data/netinet/in.h-data: Likewise.
24848 * conform/data/nl_types.h-data: Likewise.
24849 * conform/data/poll.h-data: Likewise.
24850 * conform/data/pthread.h-data: Likewise.
24851 * conform/data/pwd.h-data: Likewise.
24852 * conform/data/regex.h-data: Likewise.
24853 * conform/data/sched.h-data: Likewise.
24854 * conform/data/search.h-data: Likewise.
24855 * conform/data/semaphore.h-data: Likewise.
24856 * conform/data/setjmp.h-data: Likewise.
24857 * conform/data/signal.h-data: Likewise.
24858 * conform/data/spawn.h-data: Likewise.
24859 * conform/data/stdarg.h-data: Likewise.
24860 * conform/data/stdio.h-data: Likewise.
24861 * conform/data/stdlib.h-data: Likewise.
24862 * conform/data/string.h-data: Likewise.
24863 * conform/data/strings.h-data: Likewise.
24864 * conform/data/stropts.h-data: Likewise.
24865 * conform/data/sys/ipc.h-data: Likewise.
24866 * conform/data/sys/mman.h-data: Likewise.
24867 * conform/data/sys/msg.h-data: Likewise.
24868 * conform/data/sys/resource.h-data: Likewise.
24869 * conform/data/sys/select.h-data: Likewise.
24870 * conform/data/sys/sem.h-data: Likewise.
24871 * conform/data/sys/shm.h-data: Likewise.
24872 * conform/data/sys/socket.h-data: Likewise.
24873 * conform/data/sys/stat.h-data: Likewise.
24874 * conform/data/sys/statvfs.h-data: Likewise.
24875 * conform/data/sys/time.h-data: Likewise.
24876 * conform/data/sys/timeb.h-data: Likewise.
24877 * conform/data/sys/times.h-data: Likewise.
24878 * conform/data/sys/types.h-data: Likewise.
24879 * conform/data/sys/uio.h-data: Likewise.
24880 * conform/data/sys/un.h-data: Likewise.
24881 * conform/data/sys/utsname.h-data: Likewise.
24882 * conform/data/sys/wait.h-data: Likewise.
24883 * conform/data/syslog.h-data: Likewise.
24884 * conform/data/tar.h-data: Likewise.
24885 * conform/data/termios.h-data: Likewise.
24886 * conform/data/utime.h-data: Likewise.
24887 * conform/data/utmpx.h-data: Likewise.
24888 * conform/data/varargs.h-data: Likewise.
24889 * conform/data/wchar.h-data: Likewise.
24890 * conform/data/wctype.h-data: Likewise.
24891 * conform/data/wordexp.h-data: Likewise.
24892
24893 * include/stropts.h: New file.
24894 * include/uchar.h: New file.
24895 * include/aio.h: Changes to allow conformtest.pl to use the headers.
24896 * include/assert.h: Likewise.
24897 * include/ctype.h: Likewise.
24898 * include/dirent.h: Likewise.
24899 * include/dlfcn.h: Likewise.
24900 * include/fcntl.h: Likewise.
24901 * include/fnmatch.h: Likewise.
24902 * include/glob.h: Likewise.
24903 * include/grp.h: Likewise.
24904 * include/libio.h: Likewise.
24905 * include/locale.h: Likewise.
24906 * include/math.h: Likewise.
24907 * include/net/if.h: Likewise.
24908 * include/netdb.h: Likewise.
24909 * include/netinet/in.h: Likewise.
24910 * include/pthread.h: Likewise.
24911 * include/pwd.h: Likewise.
24912 * include/regex.h: Likewise.
24913 * include/sched.h: Likewise.
24914 * include/search.h: Likewise.
24915 * include/setjmp.h: Likewise.
24916 * include/signal.h: Likewise.
24917 * include/stdio.h: Likewise.
24918 * include/stdlib.h: Likewise.
24919 * include/string.h: Likewise.
24920 * include/sys/cdefs.h: Likewise.
24921 * include/sys/mman.h: Likewise.
24922 * include/sys/msg.h: Likewise.
24923 * include/sys/resource.h: Likewise.
24924 * include/sys/select.h: Likewise.
24925 * include/sys/socket.h: Likewise.
24926 * include/sys/stat.h: Likewise.
24927 * include/sys/statvfs.h: Likewise.
24928 * include/sys/time.h: Likewise.
24929 * include/sys/times.h: Likewise.
24930 * include/sys/uio.h: Likewise.
24931 * include/sys/utsname.h: Likewise.
24932 * include/sys/wait.h: Likewise.
24933 * include/termios.h: Likewise.
24934 * include/time.h: Likewise.
24935 * include/ulimit.h: Likewise.
24936 * include/unistd.h: Likewise.
24937 * include/utime.h: Likewise.
24938 * include/wchar.h: Likewise.
24939 * include/wctype.h: Likewise.
24940 * include/wordexp.h: Likewise.
24941
24942 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24943
7a270350
UD
24944 * time/time.h: TIME_UTC must be a macro.
24945 Make timespec_get available for ISO C11 only as well.
24946
7724defc
UD
249472012-02-24 Ulrich Drepper <drepper@gmail.com>
24948
24949 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24950 Reported by Peng Haitao <penght@cn.fujitsu.com>.
24951
6b1d1d46
JM
249522012-02-24 Joseph Myers <joseph@codesourcery.com>
24953
24954 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 24955
0f8bbd69
JM
249562012-02-24 Joseph Myers <joseph@codesourcery.com>
24957
24958 * manual/texinfo.tex: Update to version 2012-01-19.16.
24959
66ab80bc
JM
249602012-02-24 Joseph Myers <joseph@codesourcery.com>
24961
24962 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24963
74981cc5
RM
249642012-02-24 Roland McGrath <roland@hack.frob.com>
24965
ee968201
RM
24966 [BZ #13738]
24967 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24968 * manual/fdl-1.3.texi: New file.
24969 * manual/fdl-1.1.texi: File removed.
24970
74981cc5
RM
24971 [BZ #13738]
24972 * manual/libc.texinfo (FDL_VERSION): New @set.
24973 Use it for mention of FDL in cover text.
24974 (Documentation License): Use it in @include file name.
24975
7bb764bc
JM
249762012-02-22 Joseph Myers <joseph@codesourcery.com>
24977 Roland McGrath <roland@hack.frob.com>
24978
24979 [BZ #5461]
24980 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
24981 not LONG_LONG_MAX and LONG_LONG_MIN.
24982 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
24983 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
24984 name.
24985 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
24986
6cbeae47
JM
249872012-02-22 Joseph Myers <joseph@codesourcery.com>
24988
24989 [BZ #2547]
24990 [BZ #11365]
24991 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
24992 manipulate bits before adding and subtracting TWO23[sx].
24993 * math/libm-test.inc (nearbyint_test): Add more tests.
24994
fe45ce09
JM
249952012-02-22 Joseph Myers <joseph@codesourcery.com>
24996
24997 [BZ #2548]
24998 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
24999 bits before adding and subtracting TWO23[sx].
25000 * math/libm-test.inc (rint_test): Add more tests.
25001 (rint_test_tonearest): Likewise.
25002 (rint_test_towardzero): Likewise.
25003 (rint_test_downward): Likewise.
25004 (rint_test_upward: Likewise.
25005
ff3b3d82
JM
250062012-02-22 Joseph Myers <joseph@codesourcery.com>
25007
25008 [BZ #10110]
25009 * include/stdc-predef.h: New file. Extracted from features.h.
25010 * include/features.h: Include stdc-predef.h.
25011 * Makefile (headers): Add stdc-predef.h.
25012 * CONFORMANCE (Compiler limitations): Update.
25013
ef0aab35
JM
250142012-02-22 Joseph Myers <joseph@codesourcery.com>
25015
25016 * manual/libc.texinfo (VERSION, UPDATED): Revert.
25017
58639409
DM
250182012-02-21 David S. Miller <davem@davemloft.net>
25019
25020 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25021 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25022
c0e70b25
DM
250232012-02-20 David S. Miller <davem@davemloft.net>
25024
25025 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25026 using a normal save/restore sequence, rather than allocating a
25027 dummy stack frame just to store a frame pointer and restore.
25028 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25029
fb06851d
JM
250302012-02-21 Joseph Myers <joseph@codesourcery.com>
25031
25032 * manual/install.texi: Fix stray word in line-wrapped comment.
25033
7a8b71c3
DM
250342012-02-20 David S. Miller <davem@davemloft.net>
25035
d510c123
DM
25036 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25037 both binutils and gcc support GOTDATA.
25038
0722d7c2
DM
25039 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25040 "rd %pc" in the PIC register setup sequences.
25041
3d2b3019
DM
25042 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25043 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25044 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25045 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25046 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25047 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25048 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25049 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25050 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25051 (SYSCALL_ERROR_HANDLER): Likewise.
25052 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25053 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25054 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25055 (SYSCALL_ERROR_HANDLER): Likewise.
25056
c80098a9
DM
25057 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25058 (HAVE_GCC_GOTDATA): New.
25059 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25060 relocation support in both binutils and gcc.
25061 * sysdeps/sparc/elf/configure: Regenerate.
25062
3a2545a0
DM
25063 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25064 * sysdeps/sparc/sparc32/elf/configure: Delete.
25065 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25066 * sysdeps/sparc/sparc64/elf/configure: Delete.
25067 * sysdeps/sparc/elf/configure.in: New file.
25068 * sysdeps/sparc/elf/configure: Generate.
25069
7a8b71c3
DM
25070 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25071 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25072 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25073 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25074 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25075
f1e86fca
JM
250762012-02-21 Joseph Myers <joseph@codesourcery.com>
25077
25078 * manual/install.texi: Do not mention specific glibc version
25079 numbers.
25080 * manual/libc.texinfo (VERSION, UPDATED): Update.
25081 (@copying): Use @copyright{} and range of years.
25082
0e7dfaef
JM
250832012-02-21 Joseph Myers <joseph@codesourcery.com>
25084
25085 [BZ #13695]
25086 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25087 [crti.S not in sysdirs] (generated): Do not append.
25088 [crti.S not in sysdirs] (omit-deps): Likewise.
25089 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25090 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25091 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25092 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25093 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25094 Likewise.
25095 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25096 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25097 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25098 * csu/defs.awk: Remove file.
25099 * sysdeps/generic/initfini.c: Likewise.
25100 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25101 variable.
25102 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25103 Likewise.
25104
599af3ca
JM
251052012-02-20 Joseph Myers <joseph@codesourcery.com>
25106
25107 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25108 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25109 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25110 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
25111 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25112 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
25113 <bits/epoll.h>.
25114 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25115 (__EPOLL_PACKED): Define to empty if not defined by
25116 <bits/epoll.h>.
25117 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25118 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25119 bits/epoll.h.
25120
0e499750
JM
251212012-02-20 Joseph Myers <joseph@codesourcery.com>
25122
25123 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
25124 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
25125 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
25126 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
25127 <bits/timerfd.h>.
25128 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25129 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25130 bits/timerfd.h.
25131
5ad91f6e
JM
251322012-02-20 Joseph Myers <joseph@codesourcery.com>
25133
25134 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
25135 in C locale.
25136 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25137 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25138 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
25139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25140
06b99b02
AJ
251412012-02-20 Aurelien Jarno <aurelien@aurel32.net>
25142
25143 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25144 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25145
7638c0fd
AS
251462012-02-19 Andreas Schwab <schwab@linux-m68k.org>
25147
25148 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25149 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25150 defined.
25151 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25152 Likewise.
25153 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25154 entry for 2.16.
25155
92221550
AJ
251562012-02-19 Aurelien Jarno <aurelien@aurel32.net>
25157
25158 * math/w_acos.c: Use non-signaling floating-point comparisons.
25159 * math/w_acosf.c: Likewise.
25160 * math/w_acosh.c: Likewise.
25161 * math/w_acoshf.c: Likewise.
25162 * math/w_acoshl.c: Likewise.
25163 * math/w_acosl.c: Likewise.
25164 * math/w_asin.c: Likewise.
25165 * math/w_asinf.c: Likewise.
25166 * math/w_asinl.c: Likewise.
25167 * math/w_atanh.c: Likewise.
25168 * math/w_atanhf.c: Likewise.
25169 * math/w_atanhl.c: Likewise.
25170 * math/w_exp2.c: Likewise.
25171 * math/w_exp2f.c: Likewise.
25172 * math/w_exp2l.c: Likewise.
25173 * math/w_j0.c: Likewise.
25174 * math/w_j0f.c: Likewise.
25175 * math/w_j0l.c: Likewise.
25176 * math/w_j1.c: Likewise.
25177 * math/w_j1f.c: Likewise.
25178 * math/w_j1l.c: Likewise.
25179 * math/w_jn.c: Likewise.
25180 * math/w_jnf.c: Likewise.
25181 * math/w_log.c: Likewise.
25182 * math/w_log10.c: Likewise.
25183 * math/w_log10f.c: Likewise.
25184 * math/w_log10l.c: Likewise.
25185 * math/w_log2.c: Likewise.
25186 * math/w_log2f.c: Likewise.
25187 * math/w_log2l.c: Likewise.
25188 * math/w_logf.c: Likewise.
25189 * math/w_logl.c: Likewise.
25190 * math/w_sqrt.c: Likewise.
25191 * math/w_sqrtf.c: Likewise.
25192 * math/w_sqrtl.c: Likewise.
25193 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25194 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25195 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25196 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25197 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25198
ebaf36eb
JM
251992012-02-19 Joseph Myers <joseph@codesourcery.com>
25200
25201 [BZ #9739]
25202 * manual/string.texi (strnlen): Use correct parameter name in
25203 equivalent expression.
25204
71c254a6
JM
252052012-02-19 Joseph Myers <joseph@codesourcery.com>
25206
25207 [BZ #11174]
25208 * manual/users.texi (seteuid): Consistently use neweuid for
25209 argument name.
25210
16d2c631
JM
252112012-02-19 Joseph Myers <joseph@codesourcery.com>
25212
25213 [BZ #13704]
25214 * manual/nss.texi (Services in the NSS configuration): Correct
25215 list of services in example configuration file.
25216
cd837b09
NB
252172012-02-19 Nick Bowler <nbowler@draconx.ca>
25218
25219 [BZ #11322]
25220 * manual/arith.texi: Remove statements about negative zero
25221 behaving identically to zero.
25222
02c4bbad
JM
252232012-02-18 Joseph Myers <joseph@codesourcery.com>
25224
25225 [BZ #5993]
25226 * manual/install.texi: Do not document upgrading from libc5.
25227
366842e7
JM
252282012-02-18 Joseph Myers <joseph@codesourcery.com>
25229
25230 [BZ #4596]
25231 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25232
dd54084d
DM
252332012-02-18 David S. Miller <davem@davemloft.net>
25234
25235 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25236 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25237 %o7 across the call.
25238 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25239 instead.
25240 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25241 SETUP_PIC_REG_LEAF.
25242 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25243 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25244 * sysdeps/sparc/crtn.S: Likewise.
25245
2bcc53a3
UD
252462012-02-17 Ulrich Drepper <drepper@gmail.com>
25247
25248 * aout/Makefile: Remove.
25249
09c093b5
RK
252502012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
25251
25252 [BZ #13058]
25253 * manual/examples/argp-ex1.c (main): Format definition in GNU
25254 style.
25255 * manual/examples/argp-ex2.c (main): Likewise.
25256 * manual/examples/argp-ex3.c (main): Likewise.
25257 * manual/examples/argp-ex4.c (main): Likewise.
25258 * manual/examples/longopt.c (main): Use new-style prototype
25259 definition.
25260 * manual/examples/strncat.c (main): Specify return type and use
25261 (void) for arguments.
25262 * manual/examples/subopt.c (main): Use char **argv argument.
25263
2ee633a2
JM
252642012-02-17 Joseph Myers <joseph@codesourcery.com>
25265
25266 [BZ #5077]
25267 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25268 rounding modes.
25269
0520adde
FB
252702012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
25271
25272 [BZ #6907]
25273 * manual/string.texi (strchr): Change when strchrnul is
25274 recommended.
25275
3f4081cd
DGM
252762012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
25277
25278 [BZ #174]
25279 * manual/locale.texi (setlocale): Document LOCPATH.
25280
d1b10e78
JM
252812012-02-17 Joseph Myers <joseph@codesourcery.com>
25282
25283 [BZ #10210]
25284 * manual/process.texi (execle): Move @dots{} before last argument.
25285
79c6869c
PB
252862012-02-17 Paul Bolle <pebolle@tiscali.nl>
25287
25288 [BZ #12047]
25289 * manual/charset.texi (Generic Charset Conversion): Fix typo
25290 (LC_TYPE -> LC_CTYPE).
25291
cc6e48bc
NB
252922012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
25293
25294 [BZ #5805]
25295 * manual/arith.texi (scalbn): Use @var{} on parameter names.
25296 (scalbnf): Likewise.
25297 (scalbnl): Likewise.
25298 (scalbln): Likewise.
25299 (scalblnf): Likewise.
25300 (scalblnl): Likewise.
25301 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25302 (vwarnx): Likewise.
25303 (verr): Likewise.
25304 (verrx): Likewise.
25305 * manual/filesys.texi (telldir): Use braces around return type.
25306 * manual/llio.texi (mmap): Add space after comma.
25307 (mmap64): Likewise.
25308 * manual/math.texi (jn): Use @var{} on parameter names.
25309 (jnf): Likewise.
25310 (jnl): Likewise.
25311 (yn): Likewise.
25312 (ynf): Likewise.
25313 (ynl): Likewise.
25314 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25315 line.
25316 * manual/resource.texi (ulimit): Use @dots{} instead of literal
25317 "...".
25318 (sched_get_priority_min): Remove semicolon on @deftypefun line.
25319 (sched_get_priority_max): Likewise.
25320 * manual/signal.texi (sigvec): Add space after comma.
25321 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25322 names.
25323 (if_indextoname): Likewise.
25324 (if_freenameindex): Likewise.
25325 (sendto): Use ',' instead of '.' in prototype.
25326 * manual/startup.texi (syscall): Use @dots{} instead of literal
25327 "...".
25328 * manual/stdio.texi (__fpending): Separate initial words of
25329 paragraph from @deftypefun line.
25330 * manual/syslog.texi (syslog): Use @dots{} instead of literal
25331 "...".
25332 (vsyslog): Use @var{} on parameter names.
25333 * manual/terminal.texi (stty): Use @var{} on parameter names.
25334 * manual/users.texi (getutmp): Use @var{} on parameter names.
25335 (getutmpx): Likewise.
25336
5b23062f
JM
253372012-02-17 Joseph Myers <joseph@codesourcery.com>
25338
25339 [BZ #6884]
25340 * manual/stdio.texi (fopen): Fix typos in description of
25341 ",ccs=STRING".
25342
8dee4833
AJ
253432012-02-17 Aurelien Jarno <aurelien@aurel32.net>
25344
25345 [BZ #4026]
25346 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25347 get clock_id definition.
25348
9078ce93
TS
253492012-02-17 Thomas Schwinge <thomas@schwinge.name>
25350
25351 [BZ #4822]
25352 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25353 (madvise): Cast every argument to void on its own.
25354
3835c55f
JM
253552012-02-17 Joseph Myers <joseph@codesourcery.com>
25356
25357 [BZ #9902]
25358 * manual/startup.texi (Exit Status): Fix typo.
25359
35c47e37
JM
253602012-02-17 Joseph Myers <joseph@codesourcery.com>
25361
25362 [BZ #10140]
25363 * manual/examples/argp-ex1.c: Include <stdlib.h>.
25364 * manual/examples/argp-ex2.c: Likewise.
25365 * manual/examples/argp-ex3.c: Likewise.
25366
e3b69ca7
RH
253672012-02-16 Richard Henderson <rth@redhat.com>
25368
25369 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25370 * sysdeps/s390/s390-32/initfini.c: Remove.
25371 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25372 * sysdeps/s390/s390-64/initfini.c: Remove.
25373
df83af67
KK
253742012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25375
25376 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25377 compiler output for sysdeps/generic/initfini.c.
25378 * sysdeps/sh/elf/initfini.c: Remove file.
25379
f63f3380
DM
253802012-02-16 David S. Miller <davem@davemloft.net>
25381
fb59b3a4
DM
25382 [BZ #11494]
25383 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25384
f63f3380
DM
25385 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25386 * sysdeps/sparc/crti.S: New file.
25387 * sysdeps/sparc/crtn.S: New file.
25388 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25389 * sysdeps/sparc/sparc64/Makefile: Likewise.
25390
df6a4a4a
MF
253912012-02-15 Mike Frysinger <vapier@gentoo.org>
25392
6dd8f3dc 25393 [BZ #3335]
df6a4a4a
MF
25394 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25395
1cac7236
RM
253962012-02-15 Roland McGrath <roland@hack.frob.com>
25397
d2c736f8
RM
25398 [BZ #4822]
25399 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25400
1cac7236
RM
25401 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25402 (write, read, close): Likewise.
25403 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25404
8e475601
JM
254052012-02-15 Joseph Myers <joseph@codesourcery.com>
25406
25407 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25408 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25409 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25410 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25411 <bits/signalfd.h>.
25412 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25413 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25414 bits/signalfd.h.
25415
ed656b40
MP
254162012-02-14 Marek Polacek <polacek@redhat.com>
25417
25418 * sysdeps/x86_64/crti.S: New file.
25419 * sysdeps/x86_64/crtn.S: New file.
25420 * sysdeps/x86_64/elf/initfini.c: Remove file.
25421
2a979d3a
JM
254222012-02-13 Joseph Myers <joseph@codesourcery.com>
25423
25424 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25425 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25426 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25427 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25428 <bits/inotify.h>.
25429 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25430 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25431 bits/inotify.h.
25432
2a418ac3
JM
254332012-02-13 Joseph Myers <joseph@codesourcery.com>
25434
25435 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25436 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25437 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25438 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25439 <bits/eventfd.h>.
25440 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25441 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25442 bits/eventfd.h.
25443
fb779be7
TS
254442012-02-10 Thomas Schwinge <thomas@codesourcery.com>
25445
e19e83c5
RM
25446 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25447 __feraiseexcept instead of feraiseexcept.
7c35ffed 25448
fb779be7
TS
25449 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25450 nanosleep invocations.
25451 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25452 strings, and add error checking for a nanosleep invocations.
25453
59ba27a6
PE
254542012-02-09 Paul Eggert <eggert@cs.ucla.edu>
25455
25456 Replace FSF snail mail address with URLs, as per GNU coding standards.
25457 Most of the snail mail addresses were wrong anyway, and omitting
25458 them makes the source code easier to maintain. Almost all of the
25459 changes are to license notices and to locale LC_IDENTIFICATION
25460 addresses, except for this one:
25461 * manual/libc.texinfo: In "Published by", give the FSF's URL,
25462 not its snail mail address.
25463
57b957eb
RH
254642012-02-09 Richard Henderson <rth@twiddle.net>
25465
af850b1c
RH
25466 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25467 of kernel-features.h.
25468
57b957eb
RH
25469 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25470
6b73181a
MP
254712012-02-08 Marek Polacek <polacek@redhat.com>
25472
25473 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25474 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25475 * sysdeps/gnu/_G_config.h: Likewise.
25476 * sysdeps/generic/_G_config.h: Likewise.
25477
26ecc33a
AS
254782012-02-08 Andreas Schwab <schwab@linux-m68k.org>
25479
6c6dbc63
AS
25480 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25481 tests.
25482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25483
e216c012
AS
25484 * sysdeps/powerpc/powerpc32/crti.S: New file.
25485 * sysdeps/powerpc/powerpc32/crtn.S: New file.
25486 * sysdeps/powerpc/powerpc64/crti.S: New file.
25487 * sysdeps/powerpc/powerpc64/crtn.S: New file.
25488
26ecc33a
AS
25489 * Makeconfig (have-initfini): Don't set.
25490 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25491 * configure.in (nopic_initfini): Don't substitute.
25492 * config.h.in (HAVE_INITFINI): Don't #undef.
25493 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25494 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25495
3add8e13
JM
254962012-02-08 Joseph Myers <joseph@codesourcery.com>
25497
25498 Support crti.S and crtn.S provided directly by architectures.
25499 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25500 [crti.S in sysdirs] (omit-deps): Likewise.
25501 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25502 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25503 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25504 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25505 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25506 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25507 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25508 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25509 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25510 compiler output for sysdeps/generic/initfini.c.
25511 * sysdeps/i386/elf/Makefile: Remove file.
25512 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25513
a22f12b4
MP
255142012-02-07 Marek Polacek <polacek@redhat.com>
25515
25516 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25517 * sysdeps/gnu/_G_config.h: Likewise.
25518 * sysdeps/mach/hurd/_G_config.h: Likewise.
25519
148cf100
MP
255202012-02-07 Marek Polacek <polacek@redhat.com>
25521
25522 * math/Makefile (tests): Add tst-CMPLX2.
25523 * math/tst-CMPLX2.c: New file.
25524
cfdc0dd7
AS
255252012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25526
84ba42c4
AS
25527 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25528
cfdc0dd7
AS
25529 * math/libm-test.inc (jn_test): Add missing L suffix.
25530
622c86f4
MP
255312012-02-06 Marek Polacek <polacek@redhat.com>
25532
25533 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25534 * sysdeps/i386/fpu/e_powf.S: Likewise.
25535 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25536 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25537 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25538 * sysdeps/i386/fpu/e_pow.S: Likewise.
25539 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25540 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25541 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25542 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25543 * sysdeps/i386/fpu/e_log2.S: Likewise.
25544 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25545 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25546 * sysdeps/i386/fpu/e_powl.S: Likewise.
25547 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25548 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25549 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25550 * sysdeps/i386/fpu/e_logl.S: Likewise.
25551 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25552 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25553 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25554 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25555 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25556 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25557 * sysdeps/i386/fpu/e_log.S: Likewise.
25558 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25559 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25560 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25561 * sysdeps/i386/fpu/e_logf.S: Likewise.
25562 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25563 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25564 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25565 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25566 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25567 * sysdeps/i386/fpu/e_log10.S: Likewise.
25568 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25569 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25570 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25571 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25572 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25573 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25574 * sysdeps/i386/asm-syntax.h: Likewise.
25575 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25576 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25577 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25578 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25579 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25580 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25581 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25582 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25583 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25584 * sysdeps/powerpc/sysdep.h: Likewise.
25585 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25586 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25587
d4a54ac6
JM
255882012-02-06 Joseph Myers <joseph@codesourcery.com>
25589
25590 [BZ #411]
25591 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25592
314054ea
JM
255932012-02-06 Joseph Myers <joseph@codesourcery.com>
25594
25595 * sysdeps/i386/sysdep.h: Include <features.h>.
25596 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25597 version.
25598
d8e0ca50
JM
255992012-02-05 Joseph Myers <joseph@codesourcery.com>
25600
25601 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25602 Define.
25603 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25604 LOAD_PIC_REG_STR.
25605
b1da7dd9
JM
256062012-02-03 Joseph Myers <joseph@codesourcery.com>
25607
25608 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25609 (SETUP_PIC_REG): Use GET_PC_THUNK.
25610 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25611 macro.
25612
9a1d9254
JM
256132012-02-03 Joseph Myers <joseph@codesourcery.com>
25614
25615 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25616 for non-PIC compilation.
25617 (SETUP_PIC_REG): Add .p2align directive.
25618 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25619 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25620 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25621 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25622 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25623 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25624 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25625 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25626 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25627 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25628 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25629 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25630 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25631 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25632 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25633 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25634 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25635 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25636 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25637 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25638 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25639 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25640 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25641 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25642 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25643 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25644 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25645 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25646 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25647 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25648 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25649 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25650 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25651 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25652 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25653 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25654 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25655 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25656 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25657 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25658 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25659
65dc3b75
JM
256602012-02-03 Joseph Myers <joseph@codesourcery.com>
25661
25662 * math/tst-CMPLX.c: Include <stdio.h>.
25663
d55bf177
JM
256642012-01-31 Joseph Myers <joseph@codesourcery.com>
25665
25666 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25667 float.
25668 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25669 * sysdeps/sparc/bits/mathdef.h: Likewise.
25670
69db4f8f
MP
256712012-01-31 Marek Polacek <polacek@redhat.com>
25672
25673 * libio/libio.h: Don't define _PARAMS.
25674 * locale/programs/config.h: Don't define PARAMS.
25675 * stdlib/strtol_l.c: Likewise.
25676 (__strtol_l): Remove PARAMS from the prototype.
25677
41b81892
UD
256782012-01-31 Ulrich Drepper <drepper@gmail.com>
25679
3b49edc0
UD
25680 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
25681 names. Just use the correct names. Remove unnecessary wrapper
25682 functions.
25683 * malloc/arena.c: Likewise.
25684 * malloc/hooks.c: Likewise.
25685
41b81892
UD
25686 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25687 ARENA_TEST says not to. Simplify test for creation of a new arena.
25688 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25689
27a25b6e
UD
256902012-01-30 Ulrich Drepper <drepper@gmail.com>
25691
25692 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25693 into tail calls.
25694 (update_get_addr): New function.
25695 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25696 GET_ADDR_MODULE parameter.
25697
c8a89e7d
JM
256982012-01-30 Joseph Myers <joseph@codesourcery.com>
25699
25700 * crypt/cert.c: Remove __STDC__ conditionals.
25701 * crypt/crypt-entry.c: Likewise.
25702 * crypt/crypt_util.c: Likewise.
25703 * libio/filedoalloc.c: Likewise.
25704 * libio/fileops.c: Likewise.
25705 * libio/genops.c: Likewise.
25706 * libio/iofclose.c: Likewise.
25707 * libio/iofdopen.c: Likewise.
25708 * libio/iofopen.c: Likewise.
25709 * libio/iofopen64.c: Likewise.
25710 * libio/iogetdelim.c: Likewise.
25711 * libio/iopopen.c: Likewise.
25712 * libio/obprintf.c: Likewise.
25713 * libio/oldfileops.c: Likewise.
25714 * libio/oldiofclose.c: Likewise.
25715 * libio/oldiofdopen.c: Likewise.
25716 * libio/oldiofopen.c: Likewise.
25717 * libio/oldiopopen.c: Likewise.
25718 * libio/wfiledoalloc.c: Likewise.
25719 * libio/wgenops.c: Likewise.
25720 * locale/programs/xmalloc.c: Likewise.
25721 * misc/syslog.c: Likewise.
25722 * stdio-common/xbug.c: Likewise.
25723 * string/memchr.c: Likewise.
25724 * string/memcmp.c: Likewise.
25725 * string/memrchr.c: Likewise.
25726 * string/rawmemchr.c: Likewise.
25727 * sysdeps/posix/getcwd.c: Likewise.
25728 * time/strftime_l.c: Likewise.
25729
3b100462
JM
257302012-01-30 Joseph Myers <joseph@codesourcery.com>
25731
25732 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
25733 * config.make.in (config-cflags-sse2avx): Define.
25734 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25735 Fix typo.
25736
607998af
CM
257372012-01-29 Chris Metcalf <cmetcalf@tilera.com>
25738
25739 * scripts/config.guess: Update from upstream config git repository.
25740 * scripts/config.sub: Likewise.
25741
3601428f
CM
257422012-01-28 Chris Metcalf <cmetcalf@tilera.com>
25743
3ac8b282
CM
25744 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25745 (EM_NUM): Update.
25746 (R_TILEPRO_*, R_TILEGX_*): New macros.
25747
e034841e
CM
25748 * scripts/firstversions.awk: Fix bug in version range handling.
25749
540d7568
CM
25750 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25751
3601428f
CM
25752 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25753
463de862
CM
25754 * include/sys/epoll.h: New file.
25755 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25756 libc_hidden_def.
25757
73139a76
UD
257582012-01-28 Ulrich Drepper <drepper@gmail.com>
25759
96bc5b45
UD
25760 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25761 Avoid unnecessary __WORDSIZE == 64 test.
25762 (fmaxf): Use VEX format if possible.
25763 (fmax): Likewise.
25764 (fminf): Likewise.
25765 (fmin): Likewise.
25766
56f6f6a2
UD
25767 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25768 * math/math_private.h: Remove libc_fegetround* and
25769 libc_fesetround*.
25770 * sysdeps/i386/configure.in: Check for -msse2avx.
25771 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25772 also if SSE2AVX is defined.
25773 Remove libc_fegetround* and libc_fesetround*.
25774 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25775 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
25776 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25777 of HAS_YMM_USABLE.
25778 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25779 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25780 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25781 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25782 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25783
73139a76
UD
25784 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25785
d73f93a4
AZ
257862012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25787
25788 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25789 size is not set.
25790 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25791
6ee65ed6
UD
257922012-01-27 Ulrich Drepper <drepper@gmail.com>
25793
25794 [BZ #13618]
25795 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25796 relocation.
25797 * Makeconfig (libm): Define.
25798 * elf/Makefile: Add rules to build and run tst-relsort1.
25799 * elf/tst-relsort1.c: New file.
25800 * elf/tst-relsort1mod1.c: New file.
25801 * elf/tst-relsort1mod2.c: New file.
25802
8db21882
JM
258032012-01-27 Joseph Myers <joseph@codesourcery.com>
25804
25805 * math/s_ldexp.c: Remove __STDC__ conditionals.
25806 * math/s_ldexpf.c: Likewise.
25807 * math/s_ldexpl.c: Likewise.
25808 * math/s_nextafter.c: Likewise.
25809 * math/s_nexttowardf.c: Likewise.
25810 * math/s_significand.c: Likewise.
25811 * math/s_significandf.c: Likewise.
25812 * math/s_significandl.c: Likewise.
25813 * math/w_jnl.c: Likewise.
25814 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25815 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25816 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25817 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25818 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25819 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25820 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25821 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25822 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25823 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25824 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25825 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25826 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25827 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25828 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25829 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25830 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25831 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25832 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25833 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25834 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25835 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25836 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25837 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25838 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25839 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25840 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25841 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25842 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25843 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25844 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25845 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25846 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25847 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25848 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25849 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25850 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25851 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25852 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25853 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25854 * sysdeps/ieee754/k_standard.c: Likewise.
25855 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25856 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25857 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25858 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25859 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25860 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25861 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25862 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25863 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25864 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25865 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25866 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25867 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25868 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25869 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25870 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25871 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25872 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25873 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25874 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25875 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25876 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25877 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25878 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25879 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25880 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25881 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25882 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25883 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25884 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25885 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25886 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25887 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25888 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25889 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25890 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25891 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25892 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25893 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25894 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25895 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25896 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25897 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25898 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25899 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25900 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25901 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25902 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25903 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25904 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25905 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25906 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25907 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25908 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25909 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25910 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25911 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25912 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25913 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25914 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25915 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25916 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25917 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25918 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25919 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25920 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25921 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25922 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25923 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25924 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25925 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25926 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25927 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25928 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25929 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25930 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25931 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25932 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25933 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25934 * sysdeps/ieee754/s_matherr.c: Likewise.
25935 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25936 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25937 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25938 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25939
965a54a4
JM
259402012-01-26 Joseph Myers <joseph@codesourcery.com>
25941
25942 * crypt/md5.h: Remove __STDC__ conditionals.
25943 * libio/libioP.h: Likewise.
25944 * locale/programs/config.h: Likewise.
25945 * sysdeps/generic/sysdep.h: Likewise.
25946 * sysdeps/i386/asm-syntax.h: Likewise.
25947 * sysdeps/s390/asm-syntax.h: Likewise.
25948 * sysdeps/unix/sysdep.h: Likewise.
25949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25951
7071ad79
JM
259522012-01-26 Joseph Myers <joseph@codesourcery.com>
25953
25954 * libio/libio.h: Remove __STDC__ conditionals.
25955 * malloc/obstack.h: Likewise.
25956 * math/complex.h: Likewise.
25957 * math/math.h: Likewise.
25958 * sysdeps/generic/_G_config.h: Likewise.
25959 * sysdeps/gnu/_G_config.h: Likewise.
25960 * sysdeps/mach/hurd/_G_config.h: Likewise.
25961 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25962 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25963 * sysdeps/sparc/bits/mathdef.h: Likewise.
25964
afc5ed09
UD
259652012-01-26 Ulrich Drepper <drepper@gmail.com>
25966
25967 [BZ #13583]
25968 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 25969 Clean up HAS_* macros.
afc5ed09 25970 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
25971 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25972 possible.
25973 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25974 HAS_AVX.
25975 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25976 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25977 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25978 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25979 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 25980
bdb6de1d
JM
259812012-01-25 Joseph Myers <joseph@codesourcery.com>
25982
25983 * elf/tst-unique3.cc (gets): Remove declaration.
25984 * elf/tst-unique3lib.cc (gets): Likewise.
25985 * elf/tst-unique3lib2.cc (gets): Likewise.
25986 * elf/tst-unique4.cc (gets): Likewise.
25987
b15549e6
UD
259882012-01-24 Ulrich Drepper <drepper@gmail.com>
25989
25990 * include/stdio.h: Add C++ protection. Add gets declarations and
25991 definitions.
25992 * debug/tst-chk1.c: Don't declare gets here.
25993 * stdio-common/tst-gets.c: Likewise.
25994
a037381f
JM
259952012-01-24 Joseph Myers <joseph@codesourcery.com>
25996
25997 * posix/glob: Remove directory.
25998
f1d4aa75
JM
259992012-01-24 Joseph Myers <joseph@codesourcery.com>
26000
26001 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26002
81c0c964
PT
260032012-01-22 Pino Toscano <toscano.pino@tiscali.it>
26004
26005 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26006 of the non-standard EPFNOSUPPORT.
26007
0ea698ae
ST
260082011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
26009
26010 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26011 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26012 ANYWHERE set to 1 only on KERN_NO_SPACE error.
26013
d220b117
UD
260142012-01-21 Ulrich Drepper <drepper@gmail.com>
26015
26016 * wcsmbs/uchar.h: Test __STDC_VERSION__.
26017
3e1aa84e
UD
260182012-01-20 Ulrich Drepper <drepper@gmail.com>
26019
26020 * nscd/aicache.c (addhstaiX): Do not cache negative results of
26021 transient errors.
26022 * nscd/grpcache.c (cache_addgr): Likewise.
26023 * nscd/hstcache.c (cache_addhst): Likewise.
26024 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26025 * nscd/pwdcache.c (cache_addpw): Likewise.
26026 * nscd/servicescache.c (cache_addserv): Likewise.
26027
400aa020
UD
260282012-01-16 Ulrich Drepper <drepper@gmail.com>
26029
d77e7869
UD
26030 * malloc/malloc.c: Various cleanups.
26031 * malloc/hooks.c: Likewise.
26032
400aa020
UD
26033 * stdlib/Makefile (tests): Add bug-fmtmsg1.
26034 * stdlib/bug-fmtmsg1.c: New file.
26035
26036 * stdlib/fmtmsg.c (init): Add missing unlock.
26037 Patch by Peng Haitao <penght@cn.fujitsu.com>.
26038
e0a309cf
MP
260392012-01-12 Marek Polacek <polacek@redhat.com>
26040
26041 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26042 and _GNU_SOURCE.
26043
929d11c7
WS
260442012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26045
26046 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26047 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26048 macro to ensure uniqueness of label name.
26049 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26050 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26051
41d0e869
UD
260522012-01-11 Ulrich Drepper <drepper@gmail.com>
26053
0cc5ed3b
UD
26054 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26055
41d0e869
UD
26056 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26057 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26058 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26059 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26060
a47a831a
UD
260612012-01-10 Ulrich Drepper <drepper@gmail.com>
26062
daa891c0
UD
26063 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26064
26065 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26066 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26067 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26068
e58ef0f2
UD
26069 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26070
a47a831a 26071 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
26072 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26073 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 26074 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
26075
26076 * math/bits/math-finite.h: Add ldexp support.
26077
a0bfc9c7
MP
260782012-01-10 Marek Polacek <polacek@redhat.com>
26079
26080 * locale/programs/localedef.h (show_archive_content): Add noreturn
26081 attribute.
26082
d6e97a1d
UD
260832012-01-09 Ulrich Drepper <drepper@gmail.com>
26084
26085 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26086
d5835c26
UD
260872012-01-08 Ulrich Drepper <drepper@gmail.com>
26088
e5f484c6
UD
26089 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26090
d5835c26
UD
26091 * io/Makefile (headers): Add bits/poll2.h.
26092
d1f741e9
WS
260932011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
26094
26095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26096 typo #include statement.
26097
ec09c1c4
UD
260982012-01-08 Ulrich Drepper <drepper@gmail.com>
26099
26100 * include/sys/cdefs.h: Define __attribute_alloc_size.
26101 * catgets/gencat.c: Add alloc_size attribute and apply consistently
26102 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26103 * elf/pldd.c: Likewise.
26104 * iconv/iconv_charmap.c: Likewise.
26105 * iconv/iconvconfig.c: Likewise.
26106 * iconv/strtab.c: Likewise.
26107 * locale/programs/locale.c: Likewise.
26108 * locale/programs/localedef.h: Likewise.
26109 * locale/programs/simple-hash.c: Likewise.
26110 * nscd/nscd.h: Likewise.
26111 * nss/makedb.c: Likewise.
26112 * sysdeps/generic/ldconfig.h: Likewise.
26113 * locale/programs/localedef.c: Remove xmalloc prototype.
26114 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
26115
20b38e03
PP
261162012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26117
26118 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26119 appropriate.
26120
a0da5fe1
UD
261212012-01-08 Ulrich Drepper <drepper@gmail.com>
26122
1d5a644a 26123 * math/Makefile (tests): Add tst-CMPLX.
669704fd 26124 * math/tst-CMPLX.c: New file.
1d5a644a 26125
8784a6db
UD
26126 * math/complex.h (CMPLXL): Fix typo.
26127
d9a216c0
UD
26128 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26129 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26130 GLIBC_2.16.
26131 * debug/tst-chk1.c: Add poll and ppoll tests.
26132 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
26133 * include/sys/poll.h: Add hidden proto for ppoll.
26134 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
26135 * sysdeps/mach/hurd/ppoll.c: Likewise.
26136 * io/ppoll.c: Likewise.
26137 * debug/poll_chk.c: New file.
26138 * debug/ppoll_chk.c: New file.
26139 * include/bits/poll2.h: New file.
26140 * io/bits/poll2.h: New file.
26141
ac097f5c
UD
26142 [BZ #1350]
26143 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26144
2119dcfa
UD
26145 * configure.in: static is always set to yes. Remove.
26146 * config.make.in: Don't set build-static.
26147 * Makeconfig: Remove use of build-static.
26148 * dlfcn/Makefile: Likewise.
26149 * elf/Makefile: Likewise.
26150 * math/Makefile: Likewise.
26151 * misc/Makefile: Likewise.
26152 * nptl/Makefile: Likewise.
26153 * sysdeps/mach/hurd/Makefile: Likewise.
26154
121766a9
UD
26155 * configure.in: PWD_P is not used anymore.
26156 * config.make.in: Remove PWD_P entry.
26157
51a1d39c 26158 * configure.in: Remove last remnants of RANLIB.
8720d066 26159 No need to check for signed size_t anymore.
215f4bdc
UD
26160 Don't set libc_commonpagesize and libc_relro_required here for Alpha
26161 and IA-64.
3857022a 26162 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
26163 * aclocal.m4: Likewise.
26164
d3ed7225
UD
26165 * wcsmbs/mbrtoc16.c: Implement using towc function.
26166 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26167 * wcsmbs/wcsmbsload.c: Likewise.
26168 * iconv/gconv_simple.c: Likewise.
26169 * iconv/gconv_int.h: Likewise.
26170 * iconv/gconv_builtin.h: Likewise.
26171 * iconv/iconv_prog.c: Remove CHAR16 handling.
26172
26173 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26174
26175 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26176
a0da5fe1
UD
26177 * configure.in: Remove --with-elf and --enable-bounded options.
26178 Dont set base_machine for ia64. More non-ELF conditions removed.
26179 Remove testing and setting of leading underscore information.
26180 * config.make.in (build-bounded): Set to no.
26181 * config.h.in: Remove NO_UNDERSCORES entry.
26182 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
26183 them.
26184 * csu/start.c: Remove !NO_UNDERSCORE code.
26185 * locale/localeinfo.h: Likewise.
26186 * sysdeps/generic/machine-gmon.h: Likewise.
26187 * sysdeps/generic/sysdep.h: Likewise.
26188 * sysdeps/i386/sysdep.h: Likewise.
26189 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26190 * sysdeps/mach/sysdep.h: Likewise.
26191 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26192 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26193 * sysdeps/sh/sysdep.h: Likewise.
26194 * sysdeps/sparc/sparc32/alloca.S: Likewise.
26195 * sysdeps/unix/i386/sysdep.S: Likewise.
26196 * sysdeps/unix/sparc/start.c: Likewise.
26197 * sysdeps/unix/sparc/sysdep.S: Likewise.
26198 * sysdeps/unix/sparc/sysdep.h: Likewise.
26199 * sysdeps/unix/start.c: Likewise.
26200 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26201 * sysdeps/x86_64/sysdep.h: Likewise.
26202
df78418a
UD
262032012-01-07 Ulrich Drepper <drepper@gmail.com>
26204
a784e502
UD
26205 [BZ #13553]
26206 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26207 for non-gcc.
26208 * argp/argp-fmtstream.h: Use const instead __const.
26209 * argp/argp.h: Likewise.
26210 * assert/assert.h: Likewise.
26211 * bits/fenv.h: Likewise.
26212 * bits/sched.h: Likewise.
26213 * bits/sigset.h: Likewise.
26214 * bits/sigthread.h: Likewise.
26215 * catgets/nl_types.h: Likewise.
26216 * conform/data/pthread.h-data: Likewise.
26217 * crypt/crypt-private.h: Likewise.
26218 * crypt/crypt.h: Likewise.
26219 * crypt/crypt_util.c: Likewise.
26220 * ctype/ctype.h: Likewise.
26221 * debug/execinfo.h: Likewise.
26222 * debug/mbsnrtowcs_chk.c: Likewise.
26223 * debug/mbsrtowcs_chk.c: Likewise.
26224 * debug/wcsnrtombs_chk.c: Likewise.
26225 * debug/wcsrtombs_chk.c: Likewise.
26226 * debug/wcstombs_chk.c: Likewise.
26227 * dirent/dirent.h: Likewise.
26228 * dlfcn/dlfcn.h: Likewise.
26229 * elf/neededtest4.c: Likewise.
26230 * grp/grp.h: Likewise.
26231 * gshadow/gshadow.h: Likewise.
26232 * iconv/gconv.h: Likewise.
26233 * iconv/gconv_int.h: Likewise.
26234 * iconv/gconv_simple.c: Likewise.
26235 * iconv/iconv.h: Likewise.
26236 * iconv/loop.c: Likewise.
26237 * iconv/skeleton.c: Likewise.
26238 * include/aio.h: Likewise.
26239 * include/aliases.h: Likewise.
26240 * include/argz.h: Likewise.
26241 * include/arpa/inet.h: Likewise.
26242 * include/assert.h: Likewise.
26243 * include/dirent.h: Likewise.
26244 * include/dlfcn.h: Likewise.
26245 * include/execinfo.h: Likewise.
26246 * include/fcntl.h: Likewise.
26247 * include/fenv.h: Likewise.
26248 * include/glob.h: Likewise.
26249 * include/grp.h: Likewise.
26250 * include/libintl.h: Likewise.
26251 * include/mntent.h: Likewise.
26252 * include/netdb.h: Likewise.
26253 * include/pwd.h: Likewise.
26254 * include/rpc/netdb.h: Likewise.
26255 * include/sched.h: Likewise.
26256 * include/search.h: Likewise.
26257 * include/shadow.h: Likewise.
26258 * include/signal.h: Likewise.
26259 * include/stdio.h: Likewise.
26260 * include/stdlib.h: Likewise.
26261 * include/string.h: Likewise.
26262 * include/sys/socket.h: Likewise.
26263 * include/sys/stat.h: Likewise.
26264 * include/sys/statfs.h: Likewise.
26265 * include/sys/statvfs.h: Likewise.
26266 * include/sys/syslog.h: Likewise.
26267 * include/sys/time.h: Likewise.
26268 * include/sys/uio.h: Likewise.
26269 * include/time.h: Likewise.
26270 * include/unistd.h: Likewise.
26271 * include/utmp.h: Likewise.
26272 * include/wchar.h: Likewise.
26273 * include/wctype.h: Likewise.
26274 * inet/aliases.h: Likewise.
26275 * inet/arpa/inet.h: Likewise.
26276 * inet/netinet/ether.h: Likewise.
26277 * inet/netinet/in.h: Likewise.
26278 * intl/libintl.h: Likewise.
26279 * io/bits/fcntl2.h: Likewise.
26280 * io/fcntl.h: Likewise.
26281 * io/ftw.h: Likewise.
26282 * io/sys/poll.h: Likewise.
26283 * io/sys/stat.h: Likewise.
26284 * io/sys/statfs.h: Likewise.
26285 * io/sys/statvfs.h: Likewise.
26286 * io/utime.h: Likewise.
26287 * libio/bits/stdio.h: Likewise.
26288 * libio/bits/stdio2.h: Likewise.
26289 * libio/libio.h: Likewise.
26290 * libio/libioP.h: Likewise.
26291 * libio/stdio.h: Likewise.
26292 * locale/lc-ctype.c: Likewise.
26293 * locale/locale.h: Likewise.
26294 * login/utmp.h: Likewise.
26295 * malloc/arena.c: Likewise.
26296 * malloc/malloc.c: Likewise.
26297 * malloc/malloc.h: Likewise.
26298 * malloc/mcheck.c: Likewise.
26299 * malloc/mtrace.c: Likewise.
26300 * math/bits/mathcalls.h: Likewise.
26301 * math/fenv.h: Likewise.
26302 * math/math_private.h: Likewise.
26303 * misc/bits/error.h: Likewise.
26304 * misc/bits/syslog.h: Likewise.
26305 * misc/err.h: Likewise.
26306 * misc/error.h: Likewise.
26307 * misc/fstab.h: Likewise.
26308 * misc/mntent.h: Likewise.
26309 * misc/regexp.h: Likewise.
26310 * misc/search.h: Likewise.
26311 * misc/sgtty.h: Likewise.
26312 * misc/sys/mman.h: Likewise.
26313 * misc/sys/syslog.h: Likewise.
26314 * misc/sys/uio.h: Likewise.
26315 * misc/sys/xattr.h: Likewise.
26316 * misc/ttyent.h: Likewise.
26317 * nis/rpcsvc/ypclnt.h: Likewise.
26318 * nss/nss.h: Likewise.
26319 * posix/bits/unistd.h: Likewise.
26320 * posix/fnmatch.h: Likewise.
26321 * posix/glob.h: Likewise.
26322 * posix/sched.h: Likewise.
26323 * posix/spawn.h: Likewise.
26324 * posix/sys/wait.h: Likewise.
26325 * posix/unistd.h: Likewise.
26326 * posix/wordexp.h: Likewise.
26327 * pwd/pwd.h: Likewise.
26328 * resolv/netdb.h: Likewise.
26329 * resource/sys/resource.h: Likewise.
26330 * rt/aio.h: Likewise.
26331 * rt/bits/mqueue2.h: Likewise.
26332 * rt/mqueue.h: Likewise.
26333 * shadow/shadow.h: Likewise.
26334 * signal/signal.h: Likewise.
26335 * socket/send.c: Likewise.
26336 * socket/sendto.c: Likewise.
26337 * socket/sys/socket.h: Likewise.
26338 * stdio-common/printf.h: Likewise.
26339 * stdlib/bits/stdlib.h: Likewise.
26340 * stdlib/fmtmsg.h: Likewise.
26341 * stdlib/monetary.h: Likewise.
26342 * stdlib/stdlib.h: Likewise.
26343 * stdlib/ucontext.h: Likewise.
26344 * streams/stropts.h: Likewise.
26345 * string/argz.h: Likewise.
26346 * string/bits/string2.h: Likewise.
26347 * string/string.h: Likewise.
26348 * string/strings.h: Likewise.
26349 * sunrpc/rpc/auth.h: Likewise.
26350 * sunrpc/rpc/auth_des.h: Likewise.
26351 * sunrpc/rpc/clnt.h: Likewise.
26352 * sunrpc/rpc/netdb.h: Likewise.
26353 * sunrpc/rpc/pmap_clnt.h: Likewise.
26354 * sunrpc/rpc/xdr.h: Likewise.
26355 * sysdeps/generic/inttypes.h: Likewise.
26356 * sysdeps/generic/net/if.h: Likewise.
26357 * sysdeps/generic/sys/swap.h: Likewise.
26358 * sysdeps/gnu/net/if.h: Likewise.
26359 * sysdeps/gnu/utmpx.h: Likewise.
26360 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26361 * sysdeps/i386/i486/bits/string.h: Likewise.
26362 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26363 * sysdeps/s390/bits/string.h: Likewise.
26364 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26365 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26366 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26367 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26368 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26369 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26370 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26371 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26372 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26373 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26374 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26375 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26376 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26377 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26378 * sysdeps/unix/sysv/linux/readv.c: Likewise.
26379 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26380 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26381 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26382 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26383 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26384 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26385 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26386 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26387 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26388 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26389 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26390 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26391 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26392 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26393 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26394 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26395 * sysvipc/sys/ipc.h: Likewise.
26396 * sysvipc/sys/msg.h: Likewise.
26397 * sysvipc/sys/sem.h: Likewise.
26398 * sysvipc/sys/shm.h: Likewise.
26399 * termios/termios.h: Likewise.
26400 * time/sys/time.h: Likewise.
26401 * time/time.h: Likewise.
26402 * wcsmbs/bits/wchar2.h: Likewise.
26403 * wcsmbs/uchar.h: Likewise.
26404 * wcsmbs/wchar.h: Likewise.
26405 * wctype/wctype.h: Likewise.
26406
0269750c
UD
26407 [BZ #13551]
26408 * Makeconfig: Remove all but ELF support including AIX support.
26409 * Makerules: Likewise.
26410 * config.h.in: Likewise.
26411 * config.make.in: Likewise.
26412 * configure: Likewise.
26413 * configure.in: Likewise.
26414 * csu/Makefile: Likewise.
26415 * csu/version.c: Likewise.
26416 * debug/Makefile: Likewise.
26417 * dlfcn/Makefile: Likewise.
26418 * elf/Makefile: Likewise.
26419 * extra-lib.mk: Likewise.
26420 * iconv/Makefile: Likewise.
26421 * include/libc-symbols.h: Likewise.
26422 * include/shlib-compat.h: Likewise.
26423 * resolv/Makefile: Likewise.
26424 * resolv/res_libc.c: Likewise.
26425 * rt/Makefile: Likewise.
26426 * sysdeps/i386/asm-syntax.h: Likewise.
26427 * sysdeps/i386/sysdep.h: Likewise.
26428 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26429 * sysdeps/mach/sysdep.h: Likewise.
26430 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26431 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26432 * sysdeps/s390/asm-syntax.h: Likewise.
26433 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26434 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26435 * sysdeps/sh/sysdep.h: Likewise.
26436 * sysdeps/unix/sparc/sysdep.h: Likewise.
26437 * sysdeps/wordsize-32/divdi3.c: Likewise.
26438 * sysdeps/x86_64/sysdep.h: Likewise.
26439
00bbd29b
UD
26440 * argp/Versions: Remove _argp_unlock_xxx.
26441
26442 [BZ #13559]
26443 * abilist/ld.abilist: Update. Adjust for removal of tls option.
26444 * abilist/libBrokenLocale.abilist: Likewise.
26445 * abilist/libanl.abilist: Likewise.
26446 * abilist/libc.abilist: Likewise.
26447 * abilist/libcrypt.abilist: Likewise.
26448 * abilist/libdl.abilist: Likewise.
26449 * abilist/libm.abilist: Likewise.
26450 * abilist/libnsl.abilist: Likewise.
26451 * abilist/libpthread.abilist: Likewise.
26452 * abilist/libresolv.abilist: Likewise.
26453 * abilist/librt.abilist: Likewise.
26454 * abilist/libthread_db.abilist: Likewise.
26455 * abilist/libutil.abilist: Likewise.
26456 * abilist/libnss_db.abilist: New file.
26457
26458 * scripts/abilist.awk: Add support for indirect functions.
26459
a2693a0e
UD
26460 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26461
3f05895f
UD
26462 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26463
ecb6fb48
UD
26464 * shlib-versions: Remove entries for ports architectures.
26465
664f8cb9
UD
26466 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
26467 files in ports.
26468 * elf/stackguard-macros.h: Remove support for IA-64.
26469 * elf/tst-auditmod1.c: Likewise.
26470 * sysdeps/generic/ldsodefs.h: Likewise.
26471
7ae81d88
UD
26472 * sysdeps/unix/sysv/linux/configure.in: Ports should define
26473 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26474 configure files.
26475
bdeba135
UD
26476 [BZ #13552]
26477 * configure.in: Remove --enable-omitfp support.
26478 * FAQ.in: Adjust.
26479 * config.make.in: Likewise.
26480 * Makeconfig: Likewise.
26481 * manual/install.texi: Likewise.
26482
d75a0a62
UD
26483 In case anyone cares, the IA-64 architecture could move to ports.
26484 * sysdeps/ia64/*: Removed.
26485 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 26486 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 26487
dcc9756b
UD
26488 [BZ #13555]
26489 * configure.in: Remove entries for unsupported architectures.
26490
d3761ebc 26491 [BZ #13533]
9954432e
UD
26492 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26493 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26494 routines.
26495 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26496 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26497 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26498 fall back to using wcrtomb.
26499 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26500 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26501 renaming.
26502 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26503 * wcsmbs/tst-c16c32-1.c: New file.
26504
26505 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26506 local variable.
26507
c3a87236
UD
26508 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26509
28926a1b
UD
26510 * elf/tst-unique3.cc: Add explicit declaration of gets.
26511 * elf/tst-unique3lib.cc: Likewise.
26512 * elf/tst-unique3lib2.cc: Likewise.
26513 * elf/tst-unique4.cc: Likewise.
26514
df78418a
UD
26515 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26516
8ecd6b2a
JM
265172012-01-06 Joseph Myers <joseph@codesourcery.com>
26518
26519 [BZ #13566]
26520 * assert/assert.h (static_assert): Don't define for C++.
26521 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26522 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26523
9f115170
UD
265242012-01-03 Ulrich Drepper <drepper@gmail.com>
26525
5e0d0300
UD
26526 * iconv/loop.c (single loop): Fix assertion in storing of
26527 remaining bytes.
26528
9f115170
UD
26529 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26530
81fb02b0
UD
265312012-01-01 Ulrich Drepper <drepper@gmail.com>
26532
26533 * posix/getconf.c: Update copyright year.
26534 * nss/getent.c: Likewise.
a316c1f6 26535 * nss/makedb.c: Likewise.
81fb02b0
UD
26536 * iconv/iconvconfig.c: Likewise.
26537 * iconv/iconv_prog.c: Likewise.
26538 * elf/ldconfig.c: Likewise.
a316c1f6
UD
26539 * elf/pldd.c: Likewise.
26540 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
26541 * catgets/gencat.c: Likewise.
26542 * csu/version.c: Likewise.
26543 * elf/ldd.bash.in: Likewise.
26544 * elf/sprof.c (print_version): Likewise.
26545 * locale/programs/locale.c: Likewise.
26546 * locale/programs/localedef.c: Likewise.
a316c1f6 26547 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
26548 * nscd/nscd.c (print_version): Likewise.
26549 * debug/xtrace.sh: Likewise.
26550 * malloc/memusage.sh: Likewise.
26551 * malloc/mtrace.pl: Likewise.
26552 * debug/catchsegv.sh: Likewise.
26553
2ba92745
JJ
265542011-12-30 Jakub Jelinek <jakub@redhat.com>
26555
26556 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26557 pure attribute.
26558
dadebdae
UD
265592011-12-24 Ulrich Drepper <drepper@gmail.com>
26560
d3761ebc 26561 [BZ #13533]
db6af3eb
UD
26562 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26563 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26564 transformations.
26565 * iconv/gconv_int.h: Likewise.
26566 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26567 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26568 from libc for GLIBC_2.16.
26569 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26570 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26571 * wcsmbs/uchar.h: Really define mbstate_t.
26572 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26573 * wcsmbs/c16rtomb.c: New file.
26574 * wcsmbs/mbrtoc16.c: New file.
26575 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26576 for C/POSIX locale.
26577 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26578 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26579
dadebdae
UD
26580 * wcsmbs/wchar.h: Add missing __restrict.
26581
67371b56
UD
265822011-12-23 Ulrich Drepper <drepper@gmail.com>
26583
74033a25
UD
26584 [BZ #13532]
26585 * time/Makefile (routines): Add timespec_get.
26586 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26587 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26588 timespec for ISO C11.
26589 * time/timespec_get.c: New file.
26590 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26591 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26592
380d7e87
UD
26593 [BZ #13531]
26594 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26595 * stdlib/stdlib.h: Declare aligned_alloc.
26596 * Versions.def: Add GLIBC_2.16 for libc.
26597 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26598
4e9e7a35
UD
26599 [BZ 13527]
26600 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26601 ISO C11.
26602
380d7e87 26603 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
26604 code.
26605
03a71829
UD
26606 [BZ #13528]
26607 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26608
839e283e
UD
26609 [BZ #13529]
26610 * assert/assert.h (static_assert): Define.
26611
ce5294e2 26612 * version.h: Update for 2.16 development version.
90fa7312 26613
8d44e150 26614 [BZ #13526]
d7809905
UD
26615 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26616 _ISOC11_SOURCE.
26617
c0da14cd
UD
26618 * version.h (RELEASE): Bump for 2.15 release.
26619 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26620
530a3249
MP
26621 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26622 Patch by Marek Polacek <mpolacek@redhat.com>.
26623
67371b56
UD
26624 * bits/byteswap.h: Protect long long constants with __extension__.
26625 * sysdeps/i386/bits/byteswap.h: Likewise.
26626 * sysdeps/ia64/bits/byteswap.h: Likewise.
26627 * sysdeps/s390/bits/byteswap.h: Likewise.
26628 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26629
15db4de1
LD
266302011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26631
26632 [BZ #13540]
bbe315ea
LD
26633 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26634 destination buffer.
15db4de1
LD
26635 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26636
2b2596b1
MP
266372011-12-23 Marek Polacek <polacek@redhat.com>
26638
26639 * elf/dl-addr.c (determine_info): Add inline keyword.
26640 * elf/tst-auditmod4b.c (check_avx): Likewise.
26641 * elf/tst-auditmod6b.c (check_avx): Likewise.
26642 * elf/tst-auditmod6c.c (check_avx): Likewise.
26643 * elf/tst-auditmod7b.c (check_avx): Likewise.
26644
70c6c246
UD
266452011-12-23 Ulrich Drepper <drepper@gmail.com>
26646
26647 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26648 !__SSE_MATH__.
26649
c044cf14
LD
266502011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26651
15db4de1 26652 [BZ #13540]
c044cf14
LD
26653 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26654 processing for last bytes.
26655
6b13d9d9
BH
266562011-08-06 Bruno Haible <bruno@clisp.org>
26657
d455f537
BH
26658 [BZ #13061]
26659 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26660 U+0385, not to U+1FEE.
26661
6b13d9d9
BH
26662 [BZ #13062]
26663 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26664 entry for U+00A5 U+0301.
26665
db910efd
UD
266662011-12-22 Ulrich Drepper <drepper@gmail.com>
26667
27deeafc
UD
26668 [BZ #13166]
26669 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26670 buffer for the output is too small.
26671
aed9d171
UD
26672 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26673 optimization.
26674
db910efd
UD
26675 [BZ #13185]
26676 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26677 SSE flags if possible.
26678
2bd779ae
LD
266792011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26680
e7f9dac3 26681 [BZ #13540]
2bd779ae
LD
26682 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26683 processing for last bytes.
26684
154bfc16
JM
266852011-12-22 Joseph Myers <joseph@codesourcery.com>
26686
26687 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26688 (syscall-list-default-options, syscall-list-default-condition)
26689 (syscall-list-includes): Define.
26690 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26691 list of ABIs and options and #if conditions for each ABI. Do not
26692 handle common syscalls between ABIs specially.
26693 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26694 Remove.
26695 (syscall-list-variants, syscall-list-32bit-options)
26696 (syscall-list-32bit-condition, syscall-list-64bit-options)
26697 (syscall-list-64bit-condition): Define.
26698 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26699 (syscall-list-variants, syscall-list-32bit-options)
26700 (syscall-list-32bit-condition, syscall-list-64bit-options)
26701 (syscall-list-64bit-condition): Define.
26702 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26703 Remove.
26704 (syscall-list-variants, syscall-list-32bit-options)
26705 (syscall-list-32bit-condition, syscall-list-64bit-options)
26706 (syscall-list-64bit-condition): Define.
26707 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26708 Remove.
26709 (syscall-list-variants, syscall-list-32bit-options)
26710 (syscall-list-32bit-condition, syscall-list-64bit-options)
26711 (syscall-list-64bit-condition): Define.
26712
21eaf3a5
UD
267132011-12-22 Ulrich Drepper <drepper@gmail.com>
26714
16c6f992
UD
26715 * locale/iso-639.def: Add brx entry.
26716
41043168
UD
26717 [BZ #13328]
26718 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26719 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26720
21eaf3a5
UD
26721 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26722 __feraiseexcept_renamed.
26723
e3a851a2
UD
267242011-12-21 Ulrich Drepper <drepper@gmail.com>
26725
4920765e
UD
26726 [BZ #13538]
26727 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26728 EPOLLET with unsigned values.
26729 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26730 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26731
e3a851a2
UD
26732 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26733 to large cancellation.
26734 * math/s_cacoshf.c: Likewise.
26735 * math/s_cacoshl.c: Likewise.
26736
b27e24b8
RK
267372011-11-18 Richard B. Kreckel <kreckel@ginac.de>
26738
26739 [BZ #13305]
aebefeee 26740 [BZ #12786]
b27e24b8
RK
26741 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26742 * math/s_cacoshf.c: Likewise.
26743 * math/s_cacoshl.c: Likewise.
26744
ee190f67
UD
267452011-12-21 Ulrich Drepper <drepper@gmail.com>
26746
26747 [BZ #13439]
26748 * iconv/gconv.h: Define __GCONV_SWAP.
26749 * iconvdata/unicode.c: The swap bit must be stored in __flags.
26750 * iconvdata/utf-16.c: Likewise.
26751 * iconvdata/utf-32.c: Likewise.
26752
707f25df
AS
267532011-12-21 Andreas Schwab <schwab@linux-m68k.org>
26754
26755 [BZ #13524]
26756 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26757 numerator after shifting it by one limb.
26758
d2daaa1e
RÁE
267592011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
26760
26761 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26762 under [__USE_EXTERN_INLINES].
26763
a4647e72
UD
267642011-12-17 Ulrich Drepper <drepper@gmail.com>
26765
26766 [BZ #13446]
26767 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26768
f0b264f1
AZ
267692011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26770
26771 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26772 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26773 optimized code.
26774 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26775 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26776 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26777 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26778 for strncasecmp/strncasecmp_l compilation.
26779 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26780 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26781
8ef4f244
MP
267822011-12-08 Marek Polacek <mpolacek@redhat.com>
26783
26784 [BZ #13484]
26785 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26786 of __asm__.
26787
97ac2654
UD
267882011-12-17 Ulrich Drepper <drepper@gmail.com>
26789
26790 [BZ #13506]
26791 * time/tzfile.c (__tzfile_read): Check values from file header.
26792
91d2a845
WS
267932011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26794
26795 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26796 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26797 * powerpc/powerpc32/dl-start.S: Likewise.
26798 * powerpc/powerpc32/elf/start.S: Likewise.
26799 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26800 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26801 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26802 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26803 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26804 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26805 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26806 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26807 * powerpc/powerpc32/fpu/s_round.S: Likewise.
26808 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26809 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26810 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26811 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26812 * powerpc/powerpc32/memset.S: Likewise.
26813 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26814 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26815 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26816 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26817 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26818 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26819 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26820 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26821 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26822 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26823 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26824 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26825 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26826
a1267ba1
AZ
268272011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26828
26829 * math/libm-test.inc: Added more nearbyint tests.
26830 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26831 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26832 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26833 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26834
ad8ac1bd
RL
268352011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
26836
26837 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26838 FD_CLOEXEC.
26839
1d3e4b61
UD
268402011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26841
26842 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26843 Add wcscpy-ssse3 wcscpy-c.
26844 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26845 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26846 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26847 * sysdeps/x86_64/wcschr.S: New file.
26848 * sysdeps/x86_64/wcsrchr.S: New file.
26849 * string/test-strcmp.c: Remove checking of wcscmp function for
26850 wrong alignments.
26851 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26852 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26853 wcsrchr-sse2 wcsrchr-c.
26854 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26855 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26856 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26857 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26858 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26859 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26860 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26861 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26862 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26863 * wcsmbc/wcschr.c (WCSCHR): New macro.
26864
5b330a2d
UD
268652011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26866
26867 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26868 * wcsmbs/test-wcsrchr.c: New file.
26869 * string/test-strrchr.c: Add wcsrchr support.
26870 (WIDE): New macro.
26871 * wcsmbs/test-wcscpy.c: New file.
26872 * string/test-strcpy.c: Add wcscpy support.
26873 (WIDE): New macro.
26428b7c 26874
f039c043
UD
268752011-12-10 Ulrich Drepper <drepper@gmail.com>
26876
26877 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26878 the inner loop.
26879
850fb039
AS
268802011-12-06 Andreas Schwab <schwab@linux-m68k.org>
26881
26882 [BZ #13472]
26883 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26884
4efbd5cb
UD
268852011-12-04 Ulrich Drepper <drepper@gmail.com>
26886
52ff5dd0 26887 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 26888 Minor optimizations.
52ff5dd0 26889
4efbd5cb
UD
26890 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26891 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26892 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26893
8a426e12
UD
268942011-12-03 Ulrich Drepper <drepper@gmail.com>
26895
aff2453d
UD
26896 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26897 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26898 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26899 for gcc to avoid warnings.
26900 * inet/Makefile (tests): Add tst-checks.
26901 * inet/tst-checks.c: New file.
26902
26903 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26904 warning.
26905
26906 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26907 __wmemcmp_sse2.
26908
26909 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26910 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26911
8a426e12
UD
26912 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26913
9bea3473
UD
269142011-12-02 Ulrich Drepper <drepper@gmail.com>
26915
3a965496
UD
26916 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26917 problem.
26918
9bea3473
UD
26919 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26920
f101631b
UD
269212011-11-29 Joseph Myers <joseph@codesourcery.com>
26922
26923 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26924 conditional on GCC version.
26925 (__arch_compare_and_exchange_val_8_acq)
26926 (__arch_compare_and_exchange_val_16_acq)
26927 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26928 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26929 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26930
a98275aa
UD
269312011-12-02 Joseph Myers <joseph@codesourcery.com>
26932
26933 * sysdeps/sh/backtrace.c: New file.
26934
d4cc29a2
AS
269352011-12-02 Andreas Schwab <schwab@redhat.com>
26936
26937 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
26938 parenthesis.
26939
6257af2d
AS
269402011-12-01 Andreas Schwab <schwab@redhat.com>
26941
26942 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26943 falling back to utime.
26944
b5f44c1a
AS
269452011-11-30 Andreas Schwab <schwab@redhat.com>
26946
26947 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26948 expectations for float.
26949
f3a6cc0a
AS
269502011-11-29 Andreas Schwab <schwab@redhat.com>
26951
26952 * locale/weight.h (findidx): Add parameter len.
26953 * locale/weightwc.h (findidx): Likewise.
26954 * posix/fnmatch_loop.c (FCT): Adjust caller.
26955 * posix/regcomp.c (build_equiv_class): Likewise.
26956 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26957 * posix/regexec.c (check_node_accept_bytes): Likewise.
26958 * string/strcoll_l.c (STRCOLL): Likewise.
26959 * string/strxfrm_l.c (STRXFRM): Likewise.
26960
9d65ea3a
UD
269612011-11-17 Ulrich Drepper <drepper@gmail.com>
26962
26963 * Makefile.in: Remove CVSOPT handling.
26964 * configure.in: Remove use of AC_REVISION.
26965 * iconvdata/Makefile (distribute): No need to filter out CVS.
26966 * scripts/list-sources.sh: Remove CVS, subversion and monotone
26967 handling.
26968
5583a086
AS
269692011-11-16 Andreas Schwab <schwab@redhat.com>
26970
26971 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26972 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26973 [USE_AS_STRNCASECMP_L]: Likewise.
26974 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26975 NO_TLS_DIRECT_SEG_REFS.
26976 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26977 Fix argument offsets for non-PIC.
26978 [USE_AS_STRNCASECMP_L]: Likewise.
26979 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
26980 NO_TLS_DIRECT_SEG_REFS.
26981
d62a8200
UD
269822011-11-15 Ulrich Drepper <drepper@gmail.com>
26983
9d65ea3a 26984 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
26985 O_CLOEXEC.
26986 * locale/loadlocale.c (_nl_load_locale): Likewise.
26987
09f93bd3
AS
269882011-11-15 Andreas Schwab <schwab@redhat.com>
26989
446514f9
AS
26990 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
26991 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
26992 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
26993 (SYSCALL_GETTIME): Set errno on error.
26994
09f93bd3
AS
26995 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
26996 count references to noai6ai_cached.
26997
312be3f9
UD
269982011-11-15 Ulrich Drepper <drepper@gmail.com>
26999
27000 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27001
27002 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27003 FD_CLOEXEC for /proc/self/maps.
27004
27005 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27006 FD_CLOEXEC for /proc/meminfo.
27007
27008 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27009 gai.conf.
27010
27011 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
27012 FD_CLOEXEC for given file.
27013
27014 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27015
27016 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27017 FD_CLOEXEC for /etc/hosts.
27018 (_gethtent): Likewise.
27019
27020 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27021
27022 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27023 cancellation and set FD_CLOEXEC for /etc/netgroup.
27024
27025 * nss/nss_files/files-key.c (search): Don't allow cancellation when
27026 reading /etc/publickey.
27027
27028 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27029 allow cancellation when reading /etc/group.
27030
27031 * nss/nss_files/files-alias.c (internal_setent): Don't allow
27032 cancellation.
27033 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
27034
27035 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27036 when using data file.
27037
27038 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27039
27040 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27041 (write_nis_obj): Use "c" and "e" in fopen.
27042
27043 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27044
27045 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27046
27047 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27048
27049 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27050
27051 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27052 locale.alias.
27053
27054 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27055
27056 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27057
27058 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27059
27060 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27061 file parsing and set FD_CLOEXEC.
27062
82af0fa8
UD
270632011-11-14 Ulrich Drepper <drepper@gmail.com>
27064
27065 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27066
a5fb313c
AS
270672011-11-14 Andreas Schwab <schwab@redhat.com>
27068
27069 * malloc/arena.c (arena_get2): Don't call reused_arena when
27070 _int_new_arena failed.
27071
6abf3465
UD
270722011-11-14 Ulrich Drepper <drepper@gmail.com>
27073
27074 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27075 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27076 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27077 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27078 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27079 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27080 to compile strcasecmp and strncasecmp.
27081 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27082 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27083
27084 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27085
76e3966e
UD
270862011-11-13 Ulrich Drepper <drepper@gmail.com>
27087
27088 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27089 locale-defines.sym to gen-as-const-headers.
27090 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27091 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27092 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27093 to compile strcasecmp and strncasecmp.
27094 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27095 strcasecmp_l and strncasecmp_l.
27096 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27097 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27098 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27099 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27100 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27101 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27102 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27103 * sysdeps/i386/i686/multiarch/strncase.S: New file.
27104 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27105 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27106 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27107
ab26144e
UD
271082011-11-12 Ulrich Drepper <drepper@gmail.com>
27109
7edb22ef
UD
27110 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
27111 result of SYSDEP_GETTIME_CPU to retval.
27112 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
27113 parameter list to macro. Remove trailing semicolon. Adjust users.
27114
9694fc44
UD
27115 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27116 variable.
27117
8ad89ef8
UD
27118 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27119 mantissa words.
27120 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27121
0c822ef9
UD
27122 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27123 from unused variable.
27124
874e0564
UD
27125 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27126 DWARF definitions.
27127 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27128 for assembling.
27129
3a2edc79
UD
27130 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27131 over namespaces.
27132
f3c2577f
UD
27133 * sunrpc/rpc_prot.c (rejected): Fix case value.
27134
294ce126
UD
27135 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
27136 unsigned long long int to avoid warnings in shift.
27137
5e2b63c6
UD
27138 * posix/regex_internal.c (re_string_reconstruct): Actually use result
27139 of use of trans.
27140 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27141 variable tmp.
27142
e7f4b08e
UD
27143 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27144 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27145 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27146
ab26144e
UD
27147 * nis/nis_table.c (nis_list): Use variable of correct type for
27148 result of __follow_path call.
27149
8a6d5255
AZ
271502011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27151
27152 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27153 of math functions ceil, trunc, floor, round, and sqrt, when
27154 avaliable on the platform.
27155 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27156 name clash.
27157 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27158 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27159 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27160
aaddc98c
MP
271612011-10-30 Marek Polacek <mpolacek@redhat.com>
27162
27163 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27164 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27165
95b7042b
RM
271662011-11-11 Roland McGrath <roland@hack.frob.com>
27167
27168 * include/unistd.h: Fix __readlink return type.
27169 Reported by Chris Metcalf <cmetcalf@tilera.com>.
27170
57769839
UD
271712011-11-11 Ulrich Drepper <drepper@gmail.com>
27172
27173 * stdlib/ucontext.h: Undo last change for makecontext.
27174
edc5984d
AS
271752011-11-11 Andreas Schwab <schwab@redhat.com>
27176
98591e58
AS
27177 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27178
edc5984d
AS
27179 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27180 * setjmp/setjmp.h: Mark functions as non-leaf.
27181 * setjmp/bits/setjmp2.h: Likewise.
27182 * stdlib/ucontext.h: Likewise.
27183
77cdc054
AS
271842011-11-10 Andreas Schwab <schwab@redhat.com>
27185
27186 * malloc/arena.c (_int_new_arena): Don't increment narenas.
27187 (reused_arena): Don't check arena limit.
27188 (arena_get2): Atomically check arena limit.
27189
fe72eebd
UD
271902011-11-08 Ulrich Drepper <drepper@gmail.com>
27191
5f078c32
UD
27192 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27193 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27194
fe72eebd
UD
27195 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27196 instructions.
27197
ae1bc2fa
AS
271982011-11-07 Andreas Schwab <schwab@redhat.com>
27199
7583a88d
AS
27200 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27201 handler when locking.
27202
ae1bc2fa
AS
27203 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27204 Fix size of allocated buffer.
27205
10fb0bfa
AS
272062011-11-04 Andreas Schwab <schwab@redhat.com>
27207
998832a4
AS
27208 [BZ #10103]
27209 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
27210 declarations for long double functions.
27211 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27212
10fb0bfa
AS
27213 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27214
3d7ba52b
AS
272152011-11-03 Andreas Schwab <schwab@redhat.com>
27216
a9ae54a1
AS
27217 * nscd/nscd.c (main): Don't start AVC thread until credentials are
27218 installed.
27219
3d7ba52b
AS
27220 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27221 is disabled.
27222
bc8db248
ST
272232011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
27224
27225 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27226
45b96dd6
AS
272272011-11-01 Andreas Schwab <schwab@linux-m68k.org>
27228
647776f6
AS
27229 * include/alloca.h (stackinfo_alloca_round): Define.
27230 (extend_alloca): Use it.
27231 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27232 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27233 here.
27234
d91a8b93
AS
27235 * scripts/check-local-headers.sh: Ignore libaudit.h.
27236
45b96dd6
AS
27237 * nscd/Makefile (extra-objs): Make recursively expanded.
27238
432d41ce
UD
272392011-11-01 Ulrich Drepper <drepper@gmail.com>
27240
34372fc6
UD
27241 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27242 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27243
fadb59f8
UD
27244 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27245 * posix/tst-rfc3484-2.c: Likewise.
27246 * posix/tst-rfc3484-3.c: Likewise.
27247
78239589
UD
27248 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27249 process_vm_writev.
27250 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27251 process_vm_writev.
27252 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27253 process_vm_writev from libc using GLIBC_2.15 version.
27254
432d41ce
UD
27255 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27256
02f9c6cf
PP
272572011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
27258
27259 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27260 stack usage.
27261
3a2c0242
UD
272622011-10-31 Ulrich Drepper <drepper@gmail.com>
27263
f4ec4833
UD
27264 [BZ #13367]
27265 * nss/getent.c (initgroups_keys): Show error message in case no group
27266 names are given.
27267
3a2c0242
UD
27268 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27269 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27270 __bump_nl_timestamp.
27271 * nscd/connections (nscd_init): When host database is served open
27272 netlink socket and request notification about configuration changes.
27273 (main_loop_poll): Track netlink file descriptor and bump timestamp
27274 in case data becomes available.
27275 (main_loop_epoll): Likewise.
27276 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27277 (database_pers_head): Add extra_data fileds.
27278 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27279 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27280 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27281 Adjust caller.
27282 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27283 in6ai data, call __free_in6ai.
27284 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27285 Add -DHAVE_NETLINK.
27286 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
27287 interface information. Reuse previous data if netlink timestamp
27288 is not changed.
27289 (__bump_nl_timestamp): New function.
27290 (__free_in6ai): New function.
27291
636064eb
UD
272922011-10-30 Ulrich Drepper <drepper@gmail.com>
27293
27294 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27295 close_not_cancel_no_status here.
27296 (__check_pf): Reorganize code a bit to not call close twice if OOM.
27297
9beb2334
UD
272982011-10-29 Ulrich Drepper <drepper@gmail.com>
27299
6ef76f3b
UD
27300 [BZ #13276]
27301 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27302 return value.
27303
0ffc4f3e 27304 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
27305 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27306 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27307
cb95113e
UD
273082011-07-03 Andreas Jaeger <aj@suse.de>
27309
27310 [BZ #10709]
27311 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27312 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27313 * math/libm-test.inc (sin_test): Add test case.
27314
a1b560ff
UD
273152011-10-29 Ulrich Drepper <drepper@gmail.com>
27316
c9aaface
UD
27317 [BZ #13337]
27318 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27319 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27320
d272e7f1
UD
27321 * elf/chroot_canon.c (chroot_canon): Cleanups.
27322
1bc33071
UD
27323 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27324
1760874d
TJ
27325 [BZ #13335]
27326 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27327 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27328
51d91b18
UD
27329 * string/test-strchr.c: Make usable for strchrnul testing.
27330 * string/test-strchrnul.c: New file.
27331 * string/Makefile (strop-tests): Add strchrnul.
27332
a1b560ff 27333 * po/it.po: Update from translation team.
b611fb81 27334 * po/es.po: Likewise.
a1b560ff 27335
a5b81e1f
UD
273362011-10-28 Ulrich Drepper <drepper@gmail.com>
27337
fd52bc6d
UD
27338 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27339 the three constants needed as parameters. Drop the others.
27340 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27341 __m128i_strloadu_tolower.
52e4b9eb
UD
27342 Create and initialize variable zero and use it in all the places
27343 where _mm_setzero_si128 was used.
fd52bc6d 27344
a5b81e1f
UD
27345 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27346 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27347 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27348 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27349 anymore.
27350 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27351 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27352 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27353 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27354 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27355 __mpranred, __mptan.
27356 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27357 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27358 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27359 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27360 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27361 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27362 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27363 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27364 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27365
b4343346
AS
273662011-10-28 Andreas Schwab <schwab@redhat.com>
27367
0c92d8a8
AS
27368 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27369 redefine if SHARED.
27370 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27371
b4343346
AS
27372 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27373 wide char related routines to wcsmbs subdir.
27374
3871f58f
AS
273752011-10-27 Andreas Schwab <schwab@redhat.com>
27376
27377 [BZ #13344]
27378 * misc/sys/cdefs.h (__THROWNL): Define.
27379 * posix/unistd.h: Use __THREADNL instead of __THREAD
27380 for memory synchronization functions.
27381
94d44d9f
RM
273822011-10-26 Roland McGrath <roland@hack.frob.com>
27383
21b64b15 27384 [BZ #13349]
94d44d9f
RM
27385 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27386 doesn't exist.
27387 * manual/stdio.texi (Obstack Streams): Node removed.
27388
f6ce9294
AS
273892011-10-26 Andreas Schwab <schwab@redhat.com>
27390
80479147
AS
27391 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27392 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27393 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27394
f6ce9294
AS
27395 * math/math_private.h (math_force_eval): Allow non-addressable
27396 arguments.
27397 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27398
618280a1
UD
273992011-10-25 Ulrich Drepper <drepper@gmail.com>
27400
e0016b11
UD
27401 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27402 file is not needed.
27403
27404 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27405 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27406 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27407 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27408 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27409 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27410 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27411 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27412 Add AVX variants.
27413 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27414 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27415 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27416 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27417 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27418 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27419 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27420 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27421 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27422 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27423 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27424 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27425 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27426 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27427 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27428 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27429 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27430 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27431 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27432
27433 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27434 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
27435
618280a1
UD
27436 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27437 place. Use VEX encoding when compiling for AVX.
27438
37822576
AS
274392011-10-25 Andreas Schwab <schwab@redhat.com>
27440
1f1e1947
AS
27441 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27442 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27443
37822576
AS
27444 * string/test-strchr.c (do_test): Don't generate NUL bytes.
27445
31ea014d
UD
274462011-10-25 Ulrich Drepper <drepper@gmail.com>
27447
d7826aa1 27448 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 27449 useless if() expression.
d7826aa1
UD
27450 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27451 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27452 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27453 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27454 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27455 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27456 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27457 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27458 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27459 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27460 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27461 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27462 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27463 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27464 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27465 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27466 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27467 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27468 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27469
31ea014d
UD
27470 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27471
16437fec
AS
274722011-10-25 Andreas Schwab <schwab@redhat.com>
27473
27474 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27475 condition.
27476 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27477
31d3cc00
UD
274782011-10-25 Ulrich Drepper <drepper@gmail.com>
27479
27480 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27481 .text section. Avoid duplicate constants.
27482 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27483 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27484 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27485 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27486 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27487 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27488 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27489 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27490 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27491 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27492 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27493 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27494 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27495 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27496 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27497 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27498 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27499 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27500 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27501 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27502 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27503 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27504 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27505 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27506 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27507 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27508 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27509 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27510 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27511 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27512 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27513 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27514 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27515 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27516 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27517 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27518 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27519 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27520 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27521 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27522 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27523 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27524 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27525 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27526 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27527
58985aa9
UD
275282011-10-24 Ulrich Drepper <drepper@gmail.com>
27529
202c9deb
UD
27530 * sysdeps/x86_64/dla.h: Move to ...
27531 * sysdeps/x86_64/fpu/dla.h: ...here.
27532 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27533 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 27534
af968f62
UD
27535 * config.make.in: Add have-mfma4 entry.
27536 * configure.in: Substitute libc_cv_cc_fma4.
27537 * math/Makefile (dbl-only-routines): Add sincostab.
27538 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27539 Use __sincostab not sincos.
27540 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27541 name is a macro.
27542 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27543 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27544 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27545 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27546 using __copysign.
27547 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27548 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27549 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27550 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27551 and __inv.
27552 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27553 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27554 __copysign.
27555 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27556 define aliases when function name is a macro.
27557 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27558 sysdeps/ieee754/dbl-64/sincos.tbl.
27559 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27560 fma4-enabled routines.
27561 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27562 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27563 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27564 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27565 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27566 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27567 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27568 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27569 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27570 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27571 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27572 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27573 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27574 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27575 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27576 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27577 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27578 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27579 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27580 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27581 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27582 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27583 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27584 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27585 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27586 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27587 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27588 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27589 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27590 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27591
58985aa9
UD
27592 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27593 rename.
27594 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27595 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27596 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27597 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27598 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27599 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27600 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27601 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27602
a201fbcf
AS
276032011-10-24 Andreas Schwab <schwab@redhat.com>
27604
27605 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27606
fc2ee42a
LD
276072011-10-23 Ulrich Drepper <drepper@gmail.com>
27608
bb3129bd
UD
27609 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27610
0275fff8
UD
27611 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27612 prediction.
27613 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27614
2fa2ae85
UD
27615 * string/strnlen.c: Don't define STRNLEN, reverse logic.
27616 Remove unused variable magic_bits.
27617 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27618
fc2ee42a
LD
27619 * string/strnlen.c: Define and use STRNLEN macro.
27620 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27621 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27622 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27623 * wcsmbs/wcslen.c: Define and use WCSLEN.
27624 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27625 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27626 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27627 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27628 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27629 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27630 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27631
ce7dd29f
LD
276322011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27633
27634 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27635 strnlen-sse2-no-bsf.
27636 Rename strlen-no-bsf to strlen-sse2-no-bsf.
27637 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27638 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27639 Add strnlen support.
27640 (USE_AS_STRNLEN): New macro.
27641 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27642 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27643 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27644 * sysdeps/x86_64/wcslen.S: New file.
27645
979c70a3
MZ
276462011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27647
27648 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27649 XMM-moves are used for copying on small sizes.
27650
2d09f82f
LD
276512011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27652
27653 * wcsmbs/Makefile (strop-tests): Add wcschr.
27654 * wcsmbs/test-wcschr.c: New file.
27655 * string/test-strchr.c: Update.
27656 Add wcschr support.
27657 (WIDE): New macro.
27658
619fccca
LD
276592011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27660
2d09f82f 27661 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
27662 * wcsmbs/test-wcslen.c: New file.
27663 * string/test-strlen.c: Update.
27664 Add wcslen support.
27665 (WIDE): New macro.
27666
09f699ea
UD
276672011-10-23 Ulrich Drepper <drepper@gmail.com>
27668
27669 * po/it.po: Update from translation team.
27670
95584d3b
LD
276712011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27672
27673 * sysdeps/x86_64/wcscmp.S: Update.
27674 Fix wrong comparison semantics.
27675 wcscmp shall use signed comparison not unsigned.
27676 Don't use substraction to avoid overflow bug.
27677 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27678 * wcsmbc/wcscmp.c: Likewise.
27679 * string/test-strcmp.c: Likewise.
27680 Add new tests to check cases with negative values.
27681
c8b3296b
UD
276822011-10-23 Ulrich Drepper <drepper@gmail.com>
27683
27684 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27685 * sysdeps/x86_64/dla.h: ...here. New file.
27686 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27687 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27688 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27689 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27690 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27691 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27692 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27693 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27694 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27695
246ad57a
AS
276962011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27697
27698 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27699 __ynl_finite aliases.
27700
a1a87169
UD
277012011-10-22 Ulrich Drepper <drepper@gmail.com>
27702
0d355eb7
UD
27703 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27704
a1a87169
UD
27705 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27706 define DLA_FMA.
27707 [DLA_FMA] (EMULV): Use DLA_FMA.
27708 [DLA_FMA] (MUL12): Use EMULV.
27709 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27710 that are not needed.
27711 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27712 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27713 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27714 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27715 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27716 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27717 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27718
ee2aafe0
AS
277192011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27720
27721 * math/s_nan.c: Undef __nan.
27722 * math/s_nanf.c: Undef __nanf.
27723 * math/s_nanl.c: Undef __nanl.
27724 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27725 "math_private.h".
27726
bc62c2fb
UD
277272011-10-22 Ulrich Drepper <drepper@gmail.com>
27728
77425c63
UD
27729 * math/s_catan.c: Add branch predictions.
27730 * math/s_catanf.c: Likewise.
27731 * math/s_catanh.c: Likewise.
27732 * math/s_catanhf.c: Likewise.
27733 * math/s_catanhl.c: Likewise.
27734 * math/s_catanl.c: Likewise.
27735 * math/s_cexp.c: Likewise.
27736 * math/s_cexpf.c: Likewise.
27737 * math/s_cexpl.c: Likewise.
27738 * math/s_clog.c: Likewise.
27739 * math/s_clog10.c: Likewise.
27740 * math/s_clog10f.c: Likewise.
27741 * math/s_clog10l.c: Likewise.
27742 * math/s_clogf.c: Likewise.
27743 * math/s_clogl.c: Likewise.
27744 * math/s_csqrt.c: Likewise.
27745 * math/s_csqrtf.c: Likewise.
27746 * math/s_csqrtl.c: Likewise.
27747 * math/s_ctanf.c: Likewise.
27748 * math/s_ctanh.c: Likewise.
27749 * math/s_ctanhf.c: Likewise.
27750 * math/s_ctanhl.c: Likewise.
27751 * math/s_ctanl.c: Likewise.
27752
bc62c2fb
UD
27753 * math/math_private.h: Define __nan, __nanf, __nanl.
27754 * math/s_cacosh.c: Include <math_private.h>.
27755 * math/s_cacoshl.c: Likewise.
27756 * math/s_casinh.c: Likewise.
27757 * math/s_casinhf.c: Likewise.
27758 * math/s_casinhl.c: Likewise.
27759 * math/s_ccos.c: Rely entire on ccosh.
27760 * math/s_ccosf.c: Rely entire on ccoshf.
27761 * math/s_ccosl.c: Rely entirely on ccoshl.
27762 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
27763 Remove tests for FE_INVALID.
27764 * math/s_ccoshf.c: Likewise.
27765 * math/s_ccoshl.c: Likewise.
27766 * math/s_csin.c: Likewise.
27767 * math/s_csinf.c: Likewise.
27768 * math/s_csinh.c Likewise.
27769 * math/s_csinhf.c: Likewise.
27770 * math/s_csinhl.c: Likewise.
27771 * math/s_csinl.c: Likewise.
27772 * math/s_ctan.c: Likewise.
27773 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27774 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27775 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27776
8ec250a4
UD
277772011-10-21 Ulrich Drepper <drepper@gmail.com>
27778
c196fed8
UD
27779 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27780 compilation problems.
27781
8ec250a4
UD
27782 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27783 __builtin_expect.
27784
8d4f46c6
UD
277852011-10-20 Ulrich Drepper <drepper@gmail.com>
27786
ed72b654
UD
27787 * sysdeps/i386/configure.in: Test for -mfma4 option.
27788 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27789 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27790 COMMON_CPUID_INDEX_80000001.
27791 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27792 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27793 use it if FMA3 is not supported.
27794 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27795
8d4f46c6
UD
27796 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27797 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27798
d45c60c2
AS
277992011-10-20 Andreas Schwab <schwab@redhat.com>
27800
27801 [BZ #12892]
27802 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27803 it would create a cycle with a link time dependency.
27804
d9a4d2ab
UD
278052011-10-19 Ulrich Drepper <drepper@gmail.com>
27806
855d1560
UD
27807 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27808 instruction.
27809 * string/Makefile (strop-tests): Add rawmemchr.
27810 * string/test-rawmemchr.c: New file.
27811
d9a4d2ab
UD
27812 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27813 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
27814 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
27815 when compiling str{,n}casecmp and when AVX is available. Hook up
27816 new optimized code in initializers.
27817
8f3b1ffe
AS
278182011-10-19 Andreas Schwab <schwab@redhat.com>
27819
27820 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27821 __feraiseexcept instead of feraiseexcept.
27822
d38f1dba
UD
278232011-10-18 Ulrich Drepper <drepper@gmail.com>
27824
d9a8d0ab
UD
27825 * math/math_private.h: Define defaults for libc_fetestexcept and
27826 libc_feupdateenv.
27827 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27828 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27829 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27830 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27831 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27832 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27833 libc_fetestexcept and libc_feupdateenv.
27834
4855e3dd
UD
27835 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27836 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27837 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27838 * sysdeps/x86_64/fpu/math_private.h: Define special version of
27839 libc_feholdexcept_setround.
27840
581d30e3
UD
27841 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27842 Add s_nearbyint-c and s_nearbyintf-c.
27843 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27844 nearbyintf inlines.
27845 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27846 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27847 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27848 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27849
d38f1dba
UD
27850 * math/math_private.h: Define defaults for libc_fegetround,
27851 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27852 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27853 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27854 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27855 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27856 standard functions.
27857 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27858 Remove comments and hacks for old compiler versions.
27859 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27860 libc_fegetround, libc_fesetround, libc_feholdexcept, and
27861 libc_feholdexceptl.
27862
caa6c9d8
AS
278632011-10-18 Andreas Schwab <schwab@redhat.com>
27864
27865 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
27866 (__feraiseexcept_renamed): Add __NTH.
27867 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
27868 namespace violations.
27869
97c066e6
UD
278702011-10-17 Ulrich Drepper <drepper@gmail.com>
27871
99ce7b04
UD
27872 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27873
1004d182
UD
27874 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27875
228a984d
UD
27876 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27877 recently added interfaces.
27878 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27879
c8553a6a
UD
27880 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27881 about macro parameter expansion.
27882
ed22dcf6
UD
27883 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27884 __NO_MATH_INLINES is defined. Cleanups.
27885
27886 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27887 and __floorf is target has SSE4.1.
27888 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27889 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27890 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27891 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27892
b171c137
UD
27893 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27894 name.
27895 (floorf): Likewise.
27896
97c066e6
UD
27897 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27898
629f62ef
AS
278992011-10-17 Andreas Schwab <schwab@redhat.com>
27900
49a43d80
AS
27901 * misc/sys/cdefs.h: Fix last change.
27902
629f62ef
AS
27903 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27904 database lookup.
27905
e453f6cd
UD
279062011-10-16 Ulrich Drepper <drepper@gmail.com>
27907
aa78043a
UD
27908 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27909
ad0f5cad
UD
27910 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27911 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27912 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27913 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27914 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27915 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27916 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27917 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27918 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27919 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27920 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27921 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27922 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27923 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27924 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27925 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27926 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27927 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27928 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27929 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27930 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27931 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27932
27933 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27934 ceil, ceilf, floor, floorf.
27935
27936 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27937 Perform IRELATIVE relocations last.
27938
e453f6cd
UD
27939 * elf/do-rel.h: Add another parameter nrelative, replacing the
27940 local variable with the same name. Change name of the function
27941 to end in Rel or Rela (uppercase).
27942 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27943 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
27944 elf_dynamic_do_##reloc function.
27945
fd5bdc09
UD
279462011-10-15 Ulrich Drepper <drepper@gmail.com>
27947
79b195b5
UD
27948 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27949 is sufficient, at least on modern CPUs.
27950
d4a28569
UD
27951 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27952
b61099b5
UD
27953 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27954 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27955
bcf01e6d
UD
27956 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27957 __expl_finite.
27958 * math/bits/math-finite.h: Add entries for exp.
27959 * math/e_expl.c: Add __*_finite alias.
27960 * sysdeps/i386/fpu/e_exp.S: Likewise.
27961 * sysdeps/i386/fpu/e_expf.S: Likewise.
27962 * sysdeps/i386/fpu/e_expl.c: Likewise.
27963 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27964 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27965 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27966 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27967 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27968 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27969 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27970
ba1a0d59
UD
27971 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27972 is sufficient, at least on modern CPUs.
27973
fd5bdc09
UD
27974 * ctype/ctype-info.c (__ctype_init): Define.
27975 * include/ctype.h (__ctype_init): Declare.
27976 (__ctype_b_loc): The variable is always initialized.
27977 (__ctype_toupper_loc): Likewise.
27978 (__ctype_tolower_loc): Likewise.
27979 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
27980 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
27981
7872cfb0
AS
279822011-10-15 Andreas Schwab <schwab@linux-m68k.org>
27983
b468825a
AS
27984 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
27985
7872cfb0
AS
27986 * configure.in: Also look in $cxxmachine/include for C++ system
27987 headers.
27988
be13f7bf
LD
279892011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27990
27991 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
27992 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
27993 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
27994 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
27995 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
27996 (USE_AS_WMEMCMP): New macro.
27997 Fixing indents.
27998 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
27999 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28000 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28001 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28002 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28003 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28004 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28005 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28006 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28007 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28008 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28009 (USE_AS_WMEMCMP): New macro.
28010 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28011 * sysdeps/string/test-memcmp.c: Update.
28012 Fix simple_wmemcmp.
28013 Add new tests.
28014 * wcsmbs/wmemcmp.c: Update.
28015 (WMEMCMP): New macro.
28016 Fix overflow bug.
28017
556a2007
AJ
280182011-10-12 Andreas Jaeger <aj@suse.de>
28019
28020 [BZ #13268]
28021 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28022
538faaa7
UD
280232011-10-15 Ulrich Drepper <drepper@gmail.com>
28024
ab6737ff
UD
28025 * libio/iofwide.c (do_length): Avoid warning.
28026
538faaa7
UD
28027 * ctype/ctype.h (__isctype_f): Add missing __THROW.
28028
396a21b1
UD
280292011-10-14 Ulrich Drepper <drepper@gmail.com>
28030
cdf2901f
UD
28031 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28032
38ad40ce
UD
28033 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28034 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28035 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28036 * sysdeps/i386/i686/fpu/e_log.S: New file.
28037 * sysdeps/i386/i686/fpu/e_logf.S: New file.
28038 * sysdeps/i386/i686/fpu/e_logl.S: New file.
28039
396a21b1
UD
28040 * ctype/ctype.h: Add support for inlined isXXX functions when
28041 compiling C++ code.
28042
6b1f68c9
AS
280432011-10-14 Andreas Schwab <schwab@redhat.com>
28044
349290c0
AS
28045 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28046
6b1f68c9
AS
28047 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28048
f2282d42
RM
280492011-10-13 Roland McGrath <roland@hack.frob.com>
28050
28051 [BZ #13291]
28052 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28053
5298ffa8
AS
280542011-10-13 Andreas Schwab <schwab@redhat.com>
28055
714fad23
AS
28056 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28057 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28058 feraiseexcept.
28059
81dcc7fb
AS
28060 * sysdeps/x86_64/memrchr.S: Check for zero size.
28061
5298ffa8
AS
28062 * string/stratcliff.c: Add memrchr tests.
28063
951fbcec
LD
280642011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28065
28066 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28067 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28068 rawmemchr-sse2 rawmemchr-sse2-bsf.
28069 * sysdeps/i386/i686/multiarch/memchr.S: New file.
28070 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28071 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28072 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28073 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28074 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28075 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28076 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28077 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28078 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28079 * string/memrchr.c (MEMRCHR): New macro.
28080
0ac5ae23
UD
280812011-10-12 Ulrich Drepper <drepper@gmail.com>
28082
28083 Add integration with gcc's -ffinite-math-only and optimize wrapper
28084 functions in libm.
28085 * Versions.def: Define GLIBC_2.15 version for libm.
28086 * math/Makefile (headers): Add bits/math-finite.h.
28087 * math/bits/math-finite.h: New file.
28088 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28089 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28090 * math/e_acoshl.c: Add __*_finite alias.
28091 * math/e_acosl.c: Likewise.
28092 * math/e_asinl.c: Likewise.
28093 * math/e_atan2l.c: Likewise.
28094 * math/e_atanhl.c: Likewise.
28095 * math/e_coshl.c: Likewise.
28096 * math/e_exp10.c: Likewise.
28097 * math/e_exp10f.c: Likewise.
28098 * math/e_exp10l.c: Likewise.
28099 * math/e_exp2l.c: Likewise.
28100 * math/e_fmodl.c: Likewise.
28101 * math/e_gammal_r.c: Likewise.
28102 * math/e_hypotl.c: Likewise.
28103 * math/e_j0l.c: Likewise.
28104 * math/e_j1l.c: Likewise.
28105 * math/e_jnl.c: Likewise.
28106 * math/e_lgammal_r.c: Likewise.
28107 * math/e_log10l.c: Likewise.
28108 * math/e_log2l.c: Likewise.
28109 * math/e_logl.c: Likewise.
28110 * math/e_powl.c: Likewise.
28111 * math/e_sinhl.c: Likewise.
28112 * math/e_sqrtl.c: Likewise.
28113 * math/e_scalb.c: Completely rewritten and optimized.
28114 * math/e_scalbf.c: Likewise.
28115 * math/e_scalbl.c: Likewise.
28116 * math/w_acos.c: Likewise.
28117 * math/w_acosf.c: Likewise.
28118 * math/w_acosl.c: Likewise.
28119 * math/w_acosh.c: Likewise.
28120 * math/w_acoshf.c: Likewise.
28121 * math/w_acoshl.c: Likewise.
28122 * math/w_asin.c: Likewise.
28123 * math/w_asinf.c: Likewise.
28124 * math/w_asinl.c: Likewise.
28125 * math/w_atan2.c: Likewise.
28126 * math/w_atan2f.c: Likewise.
28127 * math/w_atan2l.c: Likewise.
28128 * math/w_atanh.c: Likewise.
28129 * math/w_atanhf.c: Likewise.
28130 * math/w_atanhl.c: Likewise.
28131 * math/w_exp10.c: Likewise.
28132 * math/w_exp10f.c: Likewise.
28133 * math/w_exp10l.c: Likewise.
28134 * math/w_fmod.c: Likewise.
28135 * math/w_fmodf.c: Likewise.
28136 * math/w_fmodl.c: Likewise.
28137 * math/w_j0.c: Likewise.
28138 * math/w_j0f.c: Likewise.
28139 * math/w_j0l.c: Likewise.
28140 * math/w_j1.c: Likewise.
28141 * math/w_j1f.c: Likewise.
28142 * math/w_j1l.c: Likewise.
28143 * math/w_jn.c: Likewise.
28144 * math/w_jnf.c: Likewise.
28145 * math/w_log.c: Likewise.
28146 * math/w_logf.c: Likewise.
28147 * math/w_logl.c: Likewise.
28148 * math/w_log10.c: Likewise.
28149 * math/w_log10f.c: Likewise.
28150 * math/w_log10l.c: Likewise.
28151 * math/w_log2.c: Likewise.
28152 * math/w_log2f.c: Likewise.
28153 * math/w_log2l.c: Likewise.
28154 * math/w_pow.c: Likewise.
28155 * math/w_powf.c: Likewise.
28156 * math/w_powl.c: Likewise.
28157 * math/w_remainder.c: Likewise.
28158 * math/w_remainderf.c: Likewise.
28159 * math/w_remainderl.c: Likewise.
28160 * math/w_scalb.c: Likewise.
28161 * math/w_scalbf.c: Likewise.
28162 * math/w_scalbl.c: Likewise.
28163 * math/w_sqrt.c: Likewise.
28164 * math/w_sqrtf.c: Likewise.
28165 * math/w_sqrtl.c: Likewise.
28166 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28167 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
28168 used.
28169 * math/math_private.h: Declare __kernel_standard_f.
28170 * math/w_cosh.c: Remove cruft and optimize a bit.
28171 * math/w_coshf.c: Likewise.
28172 * math/w_coshl.c: Likewise.
28173 * math/w_exp2.c: Likewise.
28174 * math/w_exp2f.c: Likewise.
28175 * math/w_exp2l.c: Likewise.
28176 * math/w_hypot.c: Likewise.
28177 * math/w_hypotf.c: Likewise.
28178 * math/w_hypotl.c: Likewise.
28179 * math/w_lgamma.c: Likewise.
28180 * math/w_lgamma_r.c: Likewise.
28181 * math/w_lgammaf.c: Likewise.
28182 * math/w_lgammaf_r.c: Likewise.
28183 * math/w_lgammal.c: Likewise.
28184 * math/w_lgammal_r.c: Likewise.
28185 * math/w_sinh.c: Likewise.
28186 * math/w_sinhf.c: Likewise.
28187 * math/w_sinhl.c: Likewise.
28188 * math/w_tgamma.c: Likewise.
28189 * math/w_tgammaf.c: Likewise.
28190 * math/w_tgammal.c: Likewise.
28191 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28192 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28193 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
28194 Minor optimizations. Pretty printing. Remove cruft.
28195 * sysdeps/i386/fpu/e_acosf.S: Likewise.
28196 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28197 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28198 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28199 * sysdeps/i386/fpu/e_acosl.c: Likewise.
28200 * sysdeps/i386/fpu/e_asin.S: Likewise.
28201 * sysdeps/i386/fpu/e_asinf.S: Likewise.
28202 * sysdeps/i386/fpu/e_atan2.S: Likewise.
28203 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28204 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
28205 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28206 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28207 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28208 * sysdeps/i386/fpu/e_exp10.S: Likewise.
28209 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
28210 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
28211 * sysdeps/i386/fpu/e_exp2.S: Likewise.
28212 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28213 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28214 * sysdeps/i386/fpu/e_fmod.S: Likewise.
28215 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28216 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28217 * sysdeps/i386/fpu/e_hypot.S: Likewise.
28218 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28219 * sysdeps/i386/fpu/e_log.S: Likewise.
28220 * sysdeps/i386/fpu/e_log10.S: Likewise.
28221 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28222 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28223 * sysdeps/i386/fpu/e_log2.S: Likewise.
28224 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28225 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28226 * sysdeps/i386/fpu/e_logf.S: Likewise.
28227 * sysdeps/i386/fpu/e_logl.S: Likewise.
28228 * sysdeps/i386/fpu/e_pow.S: Likewise.
28229 * sysdeps/i386/fpu/e_powf.S: Likewise.
28230 * sysdeps/i386/fpu/e_powl.S: Likewise.
28231 * sysdeps/i386/fpu/e_remainder.S: Likewise.
28232 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28233 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28234 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28235 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28236 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28237 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28238 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28239 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28240 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28241 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28242 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28243 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28244 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28245 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28246 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28247 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28248 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28249 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28250 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28251 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28252 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28253 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28254 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28255 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28256 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28257 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28258 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28259 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28260 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28261 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28262 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28263 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28264 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28265 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28266 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28267 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28268 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28269 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28270 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28271 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28272 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28273 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28274 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28275 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28276 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28277 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28278 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28279 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28280 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28281 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28282 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28283 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28284 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28285 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28286 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28287 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28288 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28289 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28290 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28291 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28292 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28293 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28294 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28295 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28296 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28297 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28298 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28299 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28300 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28301 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28302 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28303 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28304 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28305 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28306 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28307 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28308 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28309 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28310 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28311 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28312 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28313 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28314 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28315 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28316 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28317 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28318 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28319 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28320 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28321 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28322 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28323 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28324 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28325 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28326 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28327 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28328 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28329 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28330 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28331 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28332 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28333 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28334 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28335 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28336 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28337 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28338 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28339 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28340 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28341 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28342 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28343 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28344 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28345 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28346 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28347 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28348 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28349 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28350 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
28351 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28352 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28353 (__isnanf): Likewise.
28354 (__isinf_ns): Likewise.
28355 (__isinf_nsf): Likewise.
28356 (__finite): Likewise.
28357 (__finitef): Likewise.
28358 (__ieee754_sqrt): Define as macro.
28359 (__ieee754_sqrtf): Define as macro.
28360 (__ieee754_sqrtl): Define as macro.
28361 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28362 inlined copy.
28363 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28364 __FINITE_MATH_ONLY__ consistent.
28365 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28366
12cc2fcd
AS
283672011-10-10 Andreas Schwab <schwab@linux-m68k.org>
28368
a843a204
AS
28369 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28370 of rawmemchr.
28371
12cc2fcd
AS
28372 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28373
c853acd5
UD
283742011-10-09 Ulrich Drepper <drepper@gmail.com>
28375
28376 * po/ja.po: Update from translation team.
28377
c658d255
RM
283782011-10-08 Roland McGrath <roland@hack.frob.com>
28379
110946e4
RM
28380 * locale/programs/locarchive.c (prepare_address_space): New function.
28381 (create_archive, enlarge_archive, open_archive): Use it.
28382
50604220
RM
28383 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28384 inside [SHARED], where it is used.
28385
c658d255
RM
28386 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28387
28388 * nss/getent.c (netgroup_keys): Remove unused variable.
28389 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28390
6a621eb7
UD
283912011-10-08 Ulrich Drepper <drepper@gmail.com>
28392
7edb55ce
UD
28393 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28394 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28395 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28396 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28397 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28398 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28399 * math/Makefile (libm-calls): Add s_isinf_ns.
28400 * math/divtc3.c: Use __isinf_nsl instead of isinf.
28401 * math/multc3.c: Likewise.
28402 * math/s_casin.c: Likewise.
28403 * math/s_casinf.c: Likewise.
28404 * math/s_casinl.c: Likewise.
28405 * math/s_ccos.c: Likewise.
28406 * math/s_ccosf.c: Likewise.
28407 * math/s_ccosl.c: Likewise.
28408 * math/s_ctan.c: Likewise.
28409 * math/s_ctanf.c: Likewise.
28410 * math/s_ctanh.c: Likewise.
28411 * math/s_ctanhf.c: Likewise.
28412 * math/s_ctanhl.c: Likewise.
28413 * math/s_ctanl.c: Likewise.
28414 * math/w_fmod.c: Likewise.
28415 * math/w_fmodf.c: Likewise.
28416 * math/w_fmodl.c: Likewise.
28417 * math/w_remainder.c: Likewise.
28418 * math/w_remainderf.c: Likewise.
28419 * math/w_remainderl.c: Likewise.
28420 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28421 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28422 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28423 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28424 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28425 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28426 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28427 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28428
187da0ae
UD
28429 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28430 of the number.
28431 * stdio-common/printf_fphex.c: Likewise.
28432 * stdio-common/printf_size.c: Likewise.
28433
9277c064
UD
28434 * math/e_exp10.c: Include math_private.h using <...> not "...".
28435 * math/e_exp10f.c: Likewise.
28436 * math/e_exp10l.c: Likewise.
28437 * math/e_exp2l.c: Likewise.
28438 * math/e_j0l.c: Likewise.
28439 * math/e_j1l.c: Likewise.
28440 * math/e_jnl.c: Likewise.
28441 * math/e_lgammal_r.c: Likewise.
28442 * math/e_rem_pio2l.c: Likewise.
28443 * math/e_scalb.c: Likewise.
28444 * math/e_scalbf.c: Likewise.
28445 * math/e_scalbl.c: Likewise.
28446 * math/k_cosl.c: Likewise.
28447 * math/k_sinl.c: Likewise.
28448 * math/k_tanl.c: Likewise.
28449 * math/s_cacoshf.c: Likewise.
28450 * math/s_catan.c: Likewise.
28451 * math/s_catanf.c: Likewise.
28452 * math/s_catanh.c: Likewise.
28453 * math/s_catanhf.c: Likewise.
28454 * math/s_catanhl.c: Likewise.
28455 * math/s_catanl.c: Likewise.
28456 * math/s_ccosh.c: Likewise.
28457 * math/s_ccoshf.c: Likewise.
28458 * math/s_ccoshl.c: Likewise.
28459 * math/s_cexp.c: Likewise.
28460 * math/s_cexpf.c: Likewise.
28461 * math/s_cexpl.c: Likewise.
28462 * math/s_clog.c: Likewise.
28463 * math/s_clog10.c: Likewise.
28464 * math/s_clog10f.c: Likewise.
28465 * math/s_clog10l.c: Likewise.
28466 * math/s_clogf.c: Likewise.
28467 * math/s_clogl.c: Likewise.
28468 * math/s_csin.c: Likewise.
28469 * math/s_csinf.c: Likewise.
28470 * math/s_csinh.c: Likewise.
28471 * math/s_csinhf.c: Likewise.
28472 * math/s_csinhl.c: Likewise.
28473 * math/s_csinl.c: Likewise.
28474 * math/s_csqrt.c: Likewise.
28475 * math/s_csqrtf.c: Likewise.
28476 * math/s_csqrtl.c: Likewise.
28477 * math/s_ctan.c: Likewise.
28478 * math/s_ctanf.c: Likewise.
28479 * math/s_ctanh.c: Likewise.
28480 * math/s_ctanhf.c: Likewise.
28481 * math/s_ctanhl.c: Likewise.
28482 * math/s_ctanl.c: Likewise.
28483 * math/s_ldexp.c: Likewise.
28484 * math/s_ldexpf.c: Likewise.
28485 * math/s_ldexpl.c: Likewise.
28486 * math/s_significand.c: Likewise.
28487 * math/s_significandf.c: Likewise.
28488 * math/s_significandl.c: Likewise.
28489 * math/w_acos.c: Likewise.
28490 * math/w_acosf.c: Likewise.
28491 * math/w_acosh.c: Likewise.
28492 * math/w_acoshf.c: Likewise.
28493 * math/w_acoshl.c: Likewise.
28494 * math/w_acosl.c: Likewise.
28495 * math/w_asin.c: Likewise.
28496 * math/w_asinf.c: Likewise.
28497 * math/w_asinl.c: Likewise.
28498 * math/w_atan2.c: Likewise.
28499 * math/w_atan2f.c: Likewise.
28500 * math/w_atan2l.c: Likewise.
28501 * math/w_atanh.c: Likewise.
28502 * math/w_atanhf.c: Likewise.
28503 * math/w_atanhl.c: Likewise.
28504 * math/w_cosh.c: Likewise.
28505 * math/w_coshf.c: Likewise.
28506 * math/w_coshl.c: Likewise.
28507 * math/w_dremf.c: Likewise.
28508 * math/w_exp10.c: Likewise.
28509 * math/w_exp10f.c: Likewise.
28510 * math/w_exp10l.c: Likewise.
28511 * math/w_exp2.c: Likewise.
28512 * math/w_exp2f.c: Likewise.
28513 * math/w_fmod.c: Likewise.
28514 * math/w_fmodf.c: Likewise.
28515 * math/w_fmodl.c: Likewise.
28516 * math/w_hypot.c: Likewise.
28517 * math/w_hypotf.c: Likewise.
28518 * math/w_hypotl.c: Likewise.
28519 * math/w_j0.c: Likewise.
28520 * math/w_j0f.c: Likewise.
28521 * math/w_j0l.c: Likewise.
28522 * math/w_j1.c: Likewise.
28523 * math/w_j1f.c: Likewise.
28524 * math/w_j1l.c: Likewise.
28525 * math/w_jn.c: Likewise.
28526 * math/w_jnf.c: Likewise.
28527 * math/w_jnl.c: Likewise.
28528 * math/w_lgamma.c: Likewise.
28529 * math/w_lgamma_r.c: Likewise.
28530 * math/w_lgammaf.c: Likewise.
28531 * math/w_lgammaf_r.c: Likewise.
28532 * math/w_lgammal.c: Likewise.
28533 * math/w_lgammal_r.c: Likewise.
28534 * math/w_log.c: Likewise.
28535 * math/w_log10.c: Likewise.
28536 * math/w_log10f.c: Likewise.
28537 * math/w_log10l.c: Likewise.
28538 * math/w_log2.c: Likewise.
28539 * math/w_log2f.c: Likewise.
28540 * math/w_log2l.c: Likewise.
28541 * math/w_logf.c: Likewise.
28542 * math/w_logl.c: Likewise.
28543 * math/w_pow.c: Likewise.
28544 * math/w_powf.c: Likewise.
28545 * math/w_powl.c: Likewise.
28546 * math/w_remainder.c: Likewise.
28547 * math/w_remainderf.c: Likewise.
28548 * math/w_remainderl.c: Likewise.
28549 * math/w_scalb.c: Likewise.
28550 * math/w_scalbf.c: Likewise.
28551 * math/w_scalbl.c: Likewise.
28552 * math/w_sinh.c: Likewise.
28553 * math/w_sinhf.c: Likewise.
28554 * math/w_sinhl.c: Likewise.
28555 * math/w_sqrt.c: Likewise.
28556 * math/w_sqrtf.c: Likewise.
28557 * math/w_sqrtl.c: Likewise.
28558 * math/w_tgamma.c: Likewise.
28559 * math/w_tgammaf.c: Likewise.
28560 * math/w_tgammal.c: Likewise.
28561
6a621eb7
UD
28562 * po/ja.po: Update from translation team.
28563
bf582445
AJ
285642011-09-29 Andreas Jaeger <aj@suse.de>
28565
f9efbf3a
AJ
28566 [BZ #13179]
28567 * sunrpc/netname.c (netname2host): Fix logic.
28568
bf582445
AJ
28569 [BZ #6779]
28570 [BZ #6783]
28571 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28572 correctly.
28573 * math/w_remainder.c (__remainder): Likewise.
28574 * math/w_remainderf.c (__remainderf): Likewise.
28575 * math/libm-test.inc (remainder_test): Add test cases.
28576
48693bea
AK
285772011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28578
28579 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28580 sdiv_qrnnd.
28581
42622229
LD
285822011-10-07 Ulrich Drepper <drepper@gmail.com>
28583
28584 * string/test-memcmp.c: Avoid unncessary #defines.
28585 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28586
093ecf92
LD
285872011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28588
28589 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28590 Use new sse2 version for core i3 - i7 as it's faster
28591 than sse42 version.
28592 (bit_Prefer_PMINUB_for_stringop): New.
28593 * sysdeps/x86_64/rawmemchr.S: Update.
28594 Replace with faster SSE2 version.
28595 * sysdeps/x86_64/memrchr.S: New file.
28596 * sysdeps/x86_64/memchr.S: Update.
28597 Replace with faster SSE2 version.
28598
fde56e5c
MP
285992011-09-12 Marek Polacek <mpolacek@redhat.com>
28600
28601 * elf/dl-load.c (lose): Add cast to avoid warning.
28602
21fd49a9
UD
286032011-10-07 Ulrich Drepper <drepper@gmail.com>
28604
5a06e643
UD
28605 * po/ca.po: Update from translation team.
28606
684ae515
UD
28607 * inet/getnetgrent_r.c: Hook up nscd.
28608 * nscd/Makefile (routines): Add nscd_netgroup.
28609 (nscd-modules): Add netgroupcache.
28610 (CFLAGS-netgroupcache.c): Define.
28611 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28612 (cache_search): Add const to second parameter.
28613 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28614 INNETGR.
28615 (dbs): Add netgrdb entry.
28616 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28617 (verify_persistent_db): Handle netgrdb.
28618 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28619 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28620 GETFDNETGR.
28621 (netgroup_response_header): Define.
28622 (innetgroup_response_header): Define.
28623 (datahead): Add netgroup_response_header and innetgroup_response_header
28624 elements.
28625 * nscd/nscd.conf: Add entries for netgroup cache.
28626 * nscd/nscd.h (dbtype): Add netgrdb.
28627 (_PATH_NSCD_NETGROUP_DB): Define.
28628 (netgroup_iov_disabled): Declare.
28629 (xmalloc, xcalloc, xrealloc): Move declarations here.
28630 (cache_search): Adjust prototype.
28631 Add netgroup-related prototypes.
28632 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28633 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28634 (__nscd_innetgr): Declare.
28635 * nscd/selinux.c (perms): Use access_vector_t as element type and
28636 add netgroup-related initializers.
28637 * nscd/netgroupcache.c: New file.
28638 * nscd/nscd_netgroup.c: New file.
28639 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28640 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28641 For four parameters use innetgr.
28642 * nss/nss_files/files-init.c: Add definition and callback for netgr.
28643 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28644 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28645 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28646
21fd49a9
UD
28647 * nscd/connections.c (register_traced_file): Don't register file
28648 for disabled databases.
28649
054c0457
UD
286502011-10-06 Ulrich Drepper <drepper@gmail.com>
28651
32b63198
UD
28652 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28653
054c0457
UD
28654 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28655 from tree and freeing node.
28656
64031225
JO
286572011-09-25 Jiri Olsa <jolsa@redhat.com>
28658
28659 * nss/nsswitch.c (__nss_database_lookup): Handle
28660 nss_parse_service_list out of memory case.
28661
0490345c
JO
286622011-09-15 Jiri Olsa <jolsa@redhat.com>
28663
28664 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28665 out of memory case.
28666
3a62d00d
AS
286672011-10-04 Andreas Schwab <schwab@redhat.com>
28668
28669 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28670 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28671 pass it down.
28672 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28673 elf_machine_rela, elf_machine_lazy_rel.
28674 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28675 (ELF_DYNAMIC_DO_REL): Likewise.
28676 (ELF_DYNAMIC_DO_RELA): Likewise.
28677 (ELF_DYNAMIC_RELOCATE): Likewise.
28678 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28679 to ELF_DYNAMIC_DO_REL.
28680 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28681 (dl_main): In trace mode always set __RTLD_NOIFUNC.
28682 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28683 elf_machine_rela.
28684 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28685 skip_ifunc, don't call ifunc function if non-zero.
28686 (elf_machine_rela): Likewise.
28687 (elf_machine_lazy_rel): Likewise.
28688 (elf_machine_lazy_rela): Likewise.
28689 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28690 (elf_machine_lazy_rel): Likewise.
28691 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28692 Likewise.
28693 (elf_machine_lazy_rel): Likewise.
28694 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28695 Likewise.
28696 (elf_machine_lazy_rel): Likewise.
28697 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28698 (elf_machine_lazy_rel): Likewise.
28699 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28700 (elf_machine_lazy_rel): Likewise.
28701 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28702 (elf_machine_lazy_rel): Likewise.
28703 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28704 (elf_machine_lazy_rel): Likewise.
28705 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28706 (elf_machine_lazy_rel): Likewise.
28707 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28708 (elf_machine_lazy_rel): Likewise.
28709
68577918
UD
287102011-09-28 Ulrich Drepper <drepper@gmail.com>
28711
28712 * nss/nss_files/files-init.c (_nss_files_init): Use static
28713 initialization for all the *_traced_file variables.
28714
68822d74
AS
287152011-09-28 Andreas Schwab <schwab@redhat.com>
28716
28717 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28718
2056100b
RM
287192011-09-27 Roland McGrath <roland@hack.frob.com>
28720
28721 [BZ #13226]
28722 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28723
32c76b63
AS
287242011-09-27 Andreas Schwab <schwab@redhat.com>
28725
28726 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28727 Reread the line before reparsing it.
28728
bf972c9d
AS
287292011-09-26 Andreas Schwab <schwab@redhat.com>
28730
28731 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28732
e057a1b5
JM
287332011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
28734 Maxim Kuvyrkov <maxim@codesourcery.com>
28735 Joseph Myers <joseph@codesourcery.com>
28736
28737 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28738 if needed for __stack_chk_guard.
28739
bc7e1c36
RM
287402011-09-19 Roland McGrath <roland@hack.frob.com>
28741
ecb1482f
RM
28742 * sysdeps/posix/spawni.c (script_execute): Always define it.
28743 It will be optimized away if unused.
28744 (maybe_script_execute): New function.
28745 (__spawni): Call it.
28746
bc7e1c36
RM
28747 * Makerules: Don't include tls.make.
28748 (config-tls): Always set to thread.
28749 * tls.make.c: File removed.
28750
1c3b002b
MF
287512011-09-19 Mike Frysinger <vapier@gentoo.org>
28752
28753 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28754 * config.make.in (CPPFLAGS-config): New substituted variable.
28755
2840865d
UD
287562011-09-15 Ulrich Drepper <drepper@gmail.com>
28757
88738eb6
UD
28758 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28759
cbf645a6 28760 [BZ #13192]
2840865d
UD
28761 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28762 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28763
b402e91a
RM
287642011-09-15 Roland McGrath <roland@hack.frob.com>
28765
28766 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28767 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28768 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28769 (CALL_FAIL): Likewise.
28770 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28771 (CALL_FAIL): Macro removed.
28772 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28773
4c1a1f71
UD
287742011-09-15 Ulrich Drepper <drepper@gmail.com>
28775
28776 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28777 for __FINITE_MATH_ONLY__ == 1.
28778
edc121be
AS
287792011-09-15 Andreas Schwab <schwab@redhat.com>
28780
28781 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28782 __ieee754_sqrt instead of sqrt.
28783 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28784 __ieee754_sqrtf instead of sqrtf.
28785 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28786 __floorf instead of floorf.
28787 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28788 __floorf, __truncf instead of floorf, truncf.
28789
cd205654
UD
287902011-09-14 Ulrich Drepper <drepper@gmail.com>
28791
ee4d0315
UD
28792 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28793
cd205654
UD
28794 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28795 __extern_always_inline.
28796 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28797 32-bit.
28798
48b67d71
AS
287992011-09-14 Andreas Schwab <schwab@redhat.com>
28800
28801 * elf/rtld.c (dl_main): Also relocate in dependency order when
28802 doing symbol dependency testing.
28803
1ae12c75
AS
288042011-09-13 Andreas Schwab <schwab@linux-m68k.org>
28805
28806 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28807 Always define `refsym'.
28808
995a80df
AS
288092011-09-13 Andreas Schwab <schwab@redhat.com>
28810
e529793b
AS
28811 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28812 (__FD_ELT): Renamed from __FDELT.
28813 * misc/bits/select2.h (__FD_ELT): Likewise.
28814 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
28815 __FD_MASK instead of __FDELT, __FDMASK.
28816 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28817 Likewise.
28818 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28819 Likewise.
28820
52d4fef8
AS
28821 * elf/Makefile (gen-ldd): Fix pattern.
28822
995a80df
AS
28823 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28824 (init_tls): Likewise.
28825
8682f8b0
UD
288262011-09-12 Ulrich Drepper <drepper@gmail.com>
28827
28828 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28829
de82006d
AS
288302011-09-12 Andreas Schwab <schwab@redhat.com>
28831
a7c8e6a1
AS
28832 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28833 `struct cmsghdr *' instead of `void *'.
28834 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28835 Likewise.
28836
0f31fe77
AS
288372011-09-11 Andreas Schwab <schwab@linux-m68k.org>
28838
28839 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28840 if non-absolute.
28841 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28842 ldd_rewrite_script.
0f31fe77 28843
32b4c839
UD
288442011-09-11 Ulrich Drepper <drepper@gmail.com>
28845
83cd1420
UD
28846 * configure.in: Remove --with-tls option.
28847 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28848 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28849 out in case it is missing.
28850 * sysdeps/ia64/elf/configure.in: Likewise.
28851 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28852 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28853 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28854 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28855 * sysdeps/sh/elf/configure.in: Likewise.
28856 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28857 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28858 * sysdeps/x86_64/elf/configure.in: Likewise.
28859 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28860 * sysdeps/mach/hurd/tls.h: Likewise.
28861
633f745d
UD
28862 [BZ #13067]
28863 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28864
f318beb8
UD
28865 [BZ #13090]
28866 * configure.in: Fix use of AC_INIT.
28867
32b4c839
UD
28868 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28869
3ce1f295
UD
288702011-09-10 Ulrich Drepper <drepper@gmail.com>
28871
bb016596
UD
28872 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28873 __set_errno.
8e58439c
UD
28874 * malloc/hooks.c: Likewise.
28875
aebae053 28876 [BZ #11929]
02d46fc4
UD
28877 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
28878 variables statically.
28879 (narenas): Initialize.
28880 (list_lock): Initialize.
bb016596
UD
28881 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
28882 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
28883 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28884 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
28885 Add initializers to main_arena and mp_.
28886 (malloc_state): Remove pagesize member. Change all users to use
28887 GLRO(dl_pagesize).
28888
28889 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28890 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
28891 is always initialized.
28892
22a89187
UD
28893 * malloc/malloc.c: Removed unused configurations and dead code.
28894 * malloc/arena.c: Likewise.
28895 * malloc/hooks.c: Likewise.
02d46fc4 28896 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 28897
d063d164
UD
28898 * include/tls.h: Removed. USE___THREAD must always be defined.
28899 * bits/libc-tsd.h: Don't handle !USE___THREAD.
28900 * elf/dl-libc.c: Likewise.
28901 * elf/dl-tsd.c: Likewise.
28902 * include/errno.h: Likewise.
28903 * include/netdb.h: Likewise.
28904 * include/resolv.h: Likewise.
28905 * inet/herrno-loc.c: Likewise.
28906 * inet/herrno.c: Likewise.
28907 * malloc/arena.c: Likewise.
28908 * malloc/hooks.c: Likewise.
28909 * malloc/malloc.c: Likewise.
28910 * resolv/res-state.c: Likewise.
28911 * resolv/res_libc.c: Likewise.
28912 * sysdeps/i386/dl-machine.h: Likewise.
28913 * sysdeps/ia64/dl-machine.h: Likewise.
28914 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28915 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28916 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28917 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28918 * sysdeps/sh/dl-machine.h: Likewise.
28919 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28920 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28921 * sysdeps/unix/i386/sysdep.S: Likewise.
28922 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28923 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28924 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28925 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28926 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28927 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28928 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28929 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28930 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28931 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28932 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28933 * sysdeps/x86_64/dl-machine.h: Likewise.
28934 * tls.make.c: Likewise.
28935
3ce1f295
UD
28936 * configure.in: Remove --with-__thread option. Make tests for
28937 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28938 tls_model attribute fail if no support is available. Remove
28939 USE_IN_LIBIO.
28940 * Makeconfig: Adjust for dropped configure option. All features are
28941 now mandatory.
28942 * Makerules: Likewise.
28943 * Versions.def: Likewise.
28944 * argp/argp-fmtstream.c: Likewise.
28945 * argp/argp-fmtstream.h: Likewise.
28946 * argp/argp-help.c: Likewise.
28947 * assert/assert.c: Likewise.
28948 * config.h.in: Likewise.
28949 * config.make.in: Likewise.
28950 * configure: Likewise.
28951 * configure.in: Likewise.
28952 * csu/Versions: Likewise.
28953 * csu/init.c: Likewise.
28954 * elf/tst-audit2.c: Likewise.
28955 * elf/tst-tls10.c: Likewise.
28956 * elf/tst-tls10.h: Likewise.
28957 * elf/tst-tls11.c: Likewise.
28958 * elf/tst-tls12.c: Likewise.
28959 * elf/tst-tls14.c: Likewise.
28960 * elf/tst-tlsmod11.c: Likewise.
28961 * elf/tst-tlsmod12.c: Likewise.
28962 * elf/tst-tlsmod13.c: Likewise.
28963 * elf/tst-tlsmod13a.c: Likewise.
28964 * elf/tst-tlsmod14a.c: Likewise.
28965 * elf/tst-tlsmod15b.c: Likewise.
28966 * elf/tst-tlsmod16a.c: Likewise.
28967 * elf/tst-tlsmod16b.c: Likewise.
28968 * elf/tst-tlsmod7.c: Likewise.
28969 * elf/tst-tlsmod8.c: Likewise.
28970 * elf/tst-tlsmod9.c: Likewise.
28971 * gmon/gmon.c: Likewise.
28972 * grp/fgetgrent_r.c: Likewise.
28973 * grp/putgrent.c: Likewise.
28974 * hurd/fopenport.c: Likewise.
28975 * include/libc-symbols.h: Likewise.
28976 * include/tls.h: Likewise.
28977 * intl/gettextP.h: Likewise.
28978 * intl/loadinfo.h: Likewise.
28979 * locale/global-locale.c: Likewise.
28980 * locale/localeinfo.h: Likewise.
28981 * mach/devstream.c: Likewise.
28982 * malloc/arena.c: Likewise.
28983 * malloc/set-freeres.c: Likewise.
28984 * misc/err.c: Likewise.
28985 * misc/getttyent.c: Likewise.
28986 * misc/mntent_r.c: Likewise.
28987 * posix/getopt.c: Likewise.
28988 * posix/wordexp.c: Likewise.
28989 * pwd/fgetpwent_r.c: Likewise.
28990 * resolv/Versions: Likewise.
28991 * resolv/res_hconf.c: Likewise.
28992 * shadow/fgetspent_r.c: Likewise.
28993 * shadow/putspent.c: Likewise.
28994 * stdio-common/printf_fphex.c: Likewise.
28995 * stdio-common/tmpfile.c: Likewise.
28996 * stdlib/abort.c: Likewise.
28997 * stdlib/fmtmsg.c: Likewise.
28998 * sunrpc/auth_unix.c: Likewise.
28999 * sunrpc/clnt_perr.c: Likewise.
29000 * sunrpc/clnt_tcp.c: Likewise.
29001 * sunrpc/clnt_udp.c: Likewise.
29002 * sunrpc/clnt_unix.c: Likewise.
29003 * sunrpc/openchild.c: Likewise.
29004 * sunrpc/svc_simple.c: Likewise.
29005 * sunrpc/svc_tcp.c: Likewise.
29006 * sunrpc/svc_udp.c: Likewise.
29007 * sunrpc/svc_unix.c: Likewise.
29008 * sunrpc/xdr.c: Likewise.
29009 * sunrpc/xdr_array.c: Likewise.
29010 * sunrpc/xdr_rec.c: Likewise.
29011 * sunrpc/xdr_ref.c: Likewise.
29012 * sunrpc/xdr_stdio.c: Likewise.
29013
1248c1c4
PB
290142011-09-09 Ulrich Drepper <drepper@gmail.com>
29015
29016 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29017
290182011-07-03 Andreas Jaeger <aj@suse.de>
29019
29020 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29021 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29022 regenerate with gen-libm-tests.pl.
29023
290242010-05-12 Petr Baudis <pasky@suse.cz>
29025
29026 [BZ #11589]
29027 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29028 around j0() zero points by switching to j1().
29029 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29030 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29031 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29032 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29033
f22e1074
UD
290342011-09-09 Ulrich Drepper <drepper@gmail.com>
29035
f19009c1
UD
29036 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29037 instead of 0.
29038 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 29039 instead of 0.
f19009c1
UD
29040 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29041 Patch in part by Pavel Roskin <proski@gnu.org>.
29042
3f8cc204
UD
29043 [BZ #13138]
29044 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29045 realloc.
29046 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
29047 Free memory block if necessary.
29048
f22e1074
UD
29049 [BZ #12847]
29050 * libio/genops.c (INTDEF): For string streams the _lock pointer can
29051 be NULL. Don't lock in this case.
29052
0a2349f9
RM
290532011-09-09 Roland McGrath <roland@hack.frob.com>
29054
29055 * elf/elf.h (ELFOSABI_GNU): New macro.
29056 (ELFOSABI_LINUX): Define to that.
29057
f3cdd467
DZ
290582011-07-29 Denis Zaitceff <zaitceff@gmail.com>
29059
29060 * string/strncat.c (strncat): Undef the symbol in case it has been
29061 defined in bits/string.h.
29062
74718d13
UD
290632011-09-09 Ulrich Drepper <drepper@gmail.com>
29064
633e9e0f
UD
29065 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29066
0a2349f9 29067 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
29068 link map.
29069
f9924780
AJ
290702011-08-17 Andreas Jaeger <aj@suse.de>
29071
29072 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29073
7f5517aa
PP
290742011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
29075 Ian Lance Taylor <iant@google.com>
29076
29077 * math/libm-test.inc (lround_test): New testcase.
29078 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29079
762011fe
UD
290802011-09-08 Ulrich Drepper <drepper@gmail.com>
29081
92963737
UD
29082 * Makefile: Remove support for automatic cvs check-ins.
29083 * Makerules: Likewise.
29084 * config.make.in: Likewise.
29085 * configure.in: Likewise.
29086 * intl/Makefile: Likewise.
29087 * locale/Makefile: Likewise.
29088 * po/Makefile: Likewise.
29089 * posix/Makefile: Likewise.
29090 * sysdeps/gnu/Makefile: Likewise.
29091 * sysdeps/mach/hurd/Makefile: Likewise.
29092 * sysdeps/sparc/sparc32/Makefile: Likewise.
29093
b0727fd8
JS
29094 [BZ #13118]
29095 * posix/Makefile (bug-regex32-ENV): Define.
29096 Patch by John Stanley <jpsinthemix@verizon.net>.
29097
a0f33f99
UD
29098 * misc/Makefile (headers): Add bits/select2.h.
29099 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29100 * misc/bits/select2.h: New file.
29101 * include/bits/select2.h: New file.
29102 * debug/Makefile (routines): Add fdelt_chk.
29103 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29104 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29105 FD_ISSET.
29106 * debug/fdelt_chk.c: New file.
29107
762011fe
UD
29108 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
29109 * wcsmbs/test-wmemcmp.c: Likewise.
29110 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 29111 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
29112
291132011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29114
29115 * string/Makefile (strop-tests): Add memcmp.
29116 * string/test-wmemcmp.c: New file.
29117 * string/test-memcmp.c: Add wmemcmp support.
29118
7f513ec8
RM
291192011-09-08 Roland McGrath <roland@hack.frob.com>
29120
0442afb4
RM
29121 [BZ #13153]
29122 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29123 2011-07-19 change.
29124
7f513ec8
RM
29125 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
29126 garbage value in a __mach_port_mod_refs call in the cases of the
29127 task-self and thread-self ports.
29128
a12b2239
ST
291292011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29130
29131 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29132
610f9ab4
AS
291332011-09-08 Andreas Schwab <schwab@redhat.com>
29134
7f513ec8 29135 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 29136
48882a1a
LD
291372011-09-07 Ulrich Drepper <drepper@gmail.com>
29138
b49865be
UD
29139 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29140
fdc86bc9
UD
29141 * elf/dl-libc.c (dlerror_run): Pass back error code from
29142 dl_catch_error.
29143
c966526a
UD
29144 [BZ #13123]
29145 * elf/dl-load.c (lose): Free l_origin if it is valid.
29146
48882a1a
LD
29147 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29148 names.
29149 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29150 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29151 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29152 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29153 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29154 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29155
77a2a8b4
AZ
291562011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29157
29158 * sysdeps/powerpc/fpu/e_hypot.c: New file.
29159 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29160 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29161 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29162 * sysdeps/powerpc/fpu/k_cosf.c: New file.
29163 * sysdeps/powerpc/fpu/k_sinf.c: New file.
29164 * sysdeps/powerpc/fpu/s_cosf.c: New file.
29165 * sysdeps/powerpc/fpu/s_sinf.c: New file.
29166 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29167 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29168
24f579d8
AM
291692011-08-15 Alan Modra <amodra@gmail.com>
29170
29171 [BZ #13092]
29172 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29173 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29174 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
29175 ppc_mcount to static-only-routines.
29176 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29177 __mcount_internal.
29178 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29179 __mcount_internal with usual JUMPTARGET. Remove useless nop.
29180
3d4837df
UD
291812011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
29182
29183 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29184 for finite and infinity parameters.
29185
22700377
WS
291862011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29187
29188 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29189 and add nop instructions for throughput optimization.
29190 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29191
5025581e
WS
291922011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
29193
29194 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
29195 aligned copy for power7 with vector-scalar instructions.
29196 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29197
08a300c9
L
291982011-07-24 H.J. Lu <hongjiu.lu@intel.com>
29199
29200 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29201 AVX check.
29202
59178ef9
AS
292032011-09-07 Andreas Schwab <schwab@redhat.com>
29204
29205 [BZ #13144]
29206 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29207 last change.
29208
e38ba7ab
UD
292092011-09-07 Ulrich Drepper <drepper@gmail.com>
29210
29211 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29212 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29213 syscall wrapper around clock_gettime in __vdso_clock_gettime.
29214 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29215 clock_gettime.
29216
d53a73ac
UD
292172011-09-06 Ulrich Drepper <drepper@gmail.com>
29218
fc8bffcc
UD
29219 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29220 Forgot to demangle the pointer.
29221
ceaa0c5d
UD
29222 * sysdeps/i386/sysdep.h: Define atom_text_section.
29223 * sysdeps/x86_64/sysdep.h: Likewise.
29224 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29225 section with atom_text_section.
29226 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29227 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29228 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29229 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29230 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29231
a77d3c17
UD
29232 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29233 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29234 already be defined. Change to take two parameters and don't assign
29235 result to variable. Adjust all users.
29236 Define INTERNAL_GETTIME if not already defined.
29237 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29238 call.
29239 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29240 HAVE_CLOCK_GETTIME_VSYSCALL.
29241 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29242
d53a73ac
UD
29243 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29244 gettimeofday vsyscall, just use time.
29245
a8f84144
AS
292462011-09-06 Andreas Schwab <schwab@redhat.com>
29247
29248 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29249 <errno.h>.
29250
ef606249
UD
292512011-09-06 Ulrich Drepper <drepper@gmail.com>
29252
29253 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29254 syscall on x86-64.
29255 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29256 syscall.
29257 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29258 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29259 syscall if possible.
29260
6585cb60
UD
292612011-09-05 Ulrich Drepper <drepper@gmail.com>
29262
29263 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29264 e_ident. Don't pass to find_mapsXX.
29265 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29266
a5f524e4
LD
292672011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29268
29269 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29270 strchr-sse2-no-bsf strrchr-sse2-no-bsf
29271 * sysdeps/x86_64/multiarch/strchr.S: Update.
29272 Check bit_slow_BSF bit.
29273 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29274 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29275 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29276
554881ef
UD
292772011-09-05 Ulrich Drepper <drepper@gmail.com>
29278
d96de963
UD
29279 [BZ #13134]
29280 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29281 before glibc 2.15.
29282 (tryshell): Define.
29283 (__spawni): Change last parameter to be flag. Test
29284 SPAWN_XFLAGS_USE_PATH flag to use path or not.
29285 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29286 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29287 * posix/spawni.c: Likewise.
29288 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29289 * posix/spawnp.c: Likewise. Change normal version to use
29290 SPAWN_XFLAGS_USE_PATH.
29291 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29292 SPAWN_XFLAGS_TRY_SHELL.
29293
d48e5868
UD
29294 [BZ #13150]
29295 * posix/glob.h: Remove gcc 1.x support.
29296
554881ef
UD
29297 [BZ #13068]
29298 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29299
693fb948
LD
293002011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29301
29302 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29303 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29304 strrchr-sse2-bsf
29305 * sysdeps/i386/i686/multiarch/strchr.S: New file.
29306 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29307 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29308 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29309 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29310 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29311
1b48c537
UD
293122011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29313
49d42c37
UD
29314 * sysdeps/x86_64/wcscmp.S: New file.
29315
1b48c537
UD
29316 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29317 wcscmp-c wcscmp-sse2
29318 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29319 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29320 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29321 * wcsmbs/wcscmp.c: Allow renaming.
29322
15c95c5d
DM
293232011-09-05 David S. Miller <davem@davemloft.net>
29324
29325 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29326 stack slot, rather than the struct return pointer slot.
29327 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29328 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29330 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29331
2f0ad8f3
UD
293322011-09-05 Ulrich Drepper <drepper@gmail.com>
29333
d88ae418
UD
29334 * po/ja.po: Update from translation team.
29335
2f0ad8f3
UD
29336 [BZ #13144]
29337 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29338 kernel in 64-bit binaries.
29339
5f4318d1
DM
293402011-09-01 David S. Miller <davem@davemloft.net>
29341
29342 * elf/elf.h (HWCAP_SPARC_*): Move to..
29343 * sysdeps/sparc/sysdep.h: this new file and add new values.
29344 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29345 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29346 _DL_HWCAP_COUNT to 24.
29347 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29348 entries.
29349 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29350 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29351 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29352 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29353 instead of magic constants.
29354 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29355
3ba57516
DM
293562011-08-31 David S. Miller <davem@davemloft.net>
29357
29358 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29359 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29360 Reimplement to do errno handling inline.
29361 (SYSCALL_ERROR_HANDLER): New macro.
29362 (__SYSCALL_STRING): Do not do errno handling in asm.
29363 (__CLONE_SYSCALL_STRING): Delete.
29364 (__INTERNAL_SYSCALL_STRING): Delete.
29365 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29366 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29367 (PSEUDO): Reimplement to do errno handling inline.
29368 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29369 (SYSCALL_ERROR_HANDLER): New macro.
29370 (__SYSCALL_STRING): Do not do errno handling in asm.
29371 (__CLONE_SYSCALL_STRING): Delete.
29372 (__INTERNAL_SYSCALL_STRING): Delete.
29373 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29374 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29375 i386.
29376 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29377 (inline_syscall*): Add 'err' argument.
29378 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29379 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29380 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29381 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29382
29383 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29384 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29385
2bc17433
AS
293862011-08-30 Andreas Schwab <schwab@redhat.com>
29387
29388 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29389
fbeb5f4d
JO
293902011-08-29 Jiri Olsa <jolsa@redhat.com>
29391
29392 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29393 directive.
29394
ad69cc26
DM
293952011-08-24 David S. Miller <davem@davemloft.net>
29396
29397 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29398
39dd69df
AS
293992011-08-24 Andreas Schwab <schwab@redhat.com>
29400
29401 * elf/Makefile: Add rules to build and run unload8 test.
29402 * elf/unload8.c: New file.
29403 * elf/unload8mod1.c: New file.
29404 * elf/unload8mod1x.c: New file.
29405 * elf/unload8mod2.c: New file.
29406 * elf/unload8mod3.c: New file.
29407
29408 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29409 it wasn't used.
29410
2c0b250a
DM
294112011-08-23 David S. Miller <davem@davemloft.net>
29412
29413 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29414 subtract stack bias.
29415 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29416 %sp not %fp in calculations.
29417 (_JMPBUF_UNWINDS_ADJ): Likewise.
29418
22044b48
DM
29419 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29420 (aio_suspend): Call it to force an exception region around the
29421 AIO_MISC_WAIT() invocation.
29422
2cae4995
AS
294232011-08-23 Andreas Schwab <schwab@redhat.com>
29424
29425 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29426 backslash.
29427
873a772e
AJ
294282011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29429
29430 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29431 protection macro.
29432 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29433 and <dl-machine.h>.
29434 (Elf64_FuncDesc): Remove.
29435
25ad0df1
DM
294362011-08-22 David S. Miller <davem@davemloft.net>
29437
29438 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29439 sigaltstack check, add missing cfi directives.
29440 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29441 missing cfi directives, and sigaltstack handling.
29442
e888bcbe
AS
294432011-08-16 Andreas Schwab <schwab@redhat.com>
29444
29445 [BZ #11724]
29446 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29447 object is seen twice.
29448 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29449
29450 * elf/Makefile (distribute): Add tst-initorder2.c.
29451 (tests): Add tst-initorder2.
29452 (modules-names): Add tst-initorder2a tst-initorder2b
29453 tst-initorder2c tst-initorder2d. Add rules to build them.
29454 ($(objpfx)tst-initorder2.out): New rule.
29455 * elf/tst-initorder2.c: New file.
29456 * elf/tst-initorder2.exp: New file.
29457
87162f46
AS
294582011-08-22 Andreas Schwab <schwab@redhat.com>
29459
70538b7f
AS
29460 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29461
f55ffe58
AS
29462 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29463 dependencies back to end of function.
29464
87162f46
AS
29465 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29466 $(elfobjdir)/ld.so.
29467
91b392a4
UD
294682011-08-21 Ulrich Drepper <drepper@gmail.com>
29469
29470 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29471 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29472 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29473 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29474 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29475 of __vdso_gettimeofday.
29476 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29477 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
29478 attribute_hidden.
29479 (_libc_vdso_platform_setup): Remove initialization of
29480 __vdso_gettimeofday and __vdso_time.
29481
5c43483f
UD
294822011-08-20 Ulrich Drepper <drepper@gmail.com>
29483
775a77e7
UD
29484 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29485 and fgetc_unlocked.
29486 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29487 getc_unlocked.
89f447ed 29488
49c74ba9
UD
29489 * elf/dl-open.c (add_to_global): Report additions to the global scope
29490 for LD_DEBUG=scopes.
29491 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 29492 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 29493
5c43483f
UD
29494 [BZ #13114]
29495 * stdio-common/Makefile (tests): Add bug24.
29496 * stdio-common/bug24.c: New file.
29497
a101b025
AJ
294982011-08-19 Andreas Jaeger <aj@suse.de>
29499
29500 [BZ #13114]
29501 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29502 non-existant file when using close-on-exec mode.
29503
c88f1766
UD
295042011-08-20 Ulrich Drepper <drepper@gmail.com>
29505
0276a718
UD
29506 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29507 the very first instruction.
29508
c88f1766
UD
29509 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29510 the CFI state in the end.
29511 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29512 inclusion of dl-trampoline.h.
29513 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29514
51ccffa0
AS
295152011-08-19 Andreas Schwab <schwab@redhat.com>
29516
94d7165f
AS
29517 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29518 expectations for long double.
29519
51ccffa0
AS
29520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29521 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29522
fd708658 295232011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
29524
29525 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29526 artificual limit depends upon the system page size.
29527
44f0a71e
UD
295282011-08-17 Ulrich Drepper <drepper@gmail.com>
29529
29530 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29531 * resolv/Makefile: Define CFLAGS-libresolv.
29532
8de79a24
AS
295332011-08-17 Andreas Schwab <schwab@redhat.com>
29534
29535 * nss/makedb.c (compute_tables): Make variables used in nested
29536 function static.
29537
27724598
UD
295382011-08-17 Ulrich Drepper <drepper@gmail.com>
29539
c5305d88
UD
29540 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29541 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29542 if buffer was too small.
29543
27724598
UD
29544 * elf/pldd.c (main): Attach to all threads in the process.
29545 Rewrite /proc handling to use *at functions.
29546
076fe015
UD
295472011-08-16 Ulrich Drepper <drepper@gmail.com>
29548
174baab3
UD
29549 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29550 specifies first scope to show.
29551 (dl_open_worker): Update callers. Move printing scope of new
29552 object to before the relocation.
44f0a71e 29553 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
29554 * sysdeps/generic/ldsodefs.h: Update declaration.
29555
076fe015
UD
29556 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29557 string for the scope number.
29558
a60df2c3
UD
295592011-08-14 Ulrich Drepper <drepper@gmail.com>
29560
29561 * nscd/servicescache.c (cache_addserv): Make sure written is always
29562 initialized.
29563
5e4287d1
RM
295642011-08-14 Roland McGrath <roland@hack.frob.com>
29565
85ae0589
RM
29566 * sysdeps/i386/i486/bits/atomic.h
29567 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29568 statement expression, so as to suppress "set but not used" warning.
29569 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29570
69f63097
RM
29571 * string/strncat.c (STRNCAT): Use prototype definition.
29572
675456ef
RM
29573 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29574 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29575 -Iprograms here.
29576 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29577 (localedef-modules): Add localedef.
29578 (locale-modules): Add locale.
29579
5e4287d1
RM
29580 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29581 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29582 to avoid a warning.
29583
9c96ff23
DM
295842011-08-14 David S. Miller <davem@davemloft.net>
29585
29586 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29587 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29588
f9ddf089
UD
295892011-08-13 Ulrich Drepper <drepper@gmail.com>
29590
44f0a71e 29591 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
29592 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29593 * elf/rtld.c (dl_main): Set l_name of vDSO.
29594 Call _dl_show_scope when DL_DEBUG_SCOPES.
29595 (process_dl_debug): Recognize scopes flag and also set it for all.
29596 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29597 Declare _dl_show_scope.
29598
1dc27704
UD
29599 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29600 (do_dlopen): Pass caller_dlopen to dl_open.
29601 (__libc_dlopen_mode): Initialize caller_dlopen.
29602
f9ddf089
UD
29603 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29604 of libc. Make tolower call locale-independent. Optimize a bit by
29605 using isdigit instead of isalnum.
29606 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29607
9ac533d3
UD
296082011-08-12 Ulrich Drepper <drepper@gmail.com>
29609
29610 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29611 was a dependency or dynamically loaded.
29612
89edf2e9
UD
296132011-08-11 Ulrich Drepper <drepper@gmail.com>
29614
8e999d29
UD
29615 * intl/l10nflist.c: Allow architecture-specific pop function.
29616 * sysdeps/x86_64/l10nflist.c: New file.
29617
89edf2e9
UD
29618 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29619 classification.
29620
14d96785
AS
296212011-08-10 Andreas Schwab <schwab@redhat.com>
29622
29623 * include/dirent.h: Add libc_hidden_proto for scandirat and
29624 scandirat64. Don't declare __scandirat64.
29625 * dirent/scandirat.c: Add libc_hidden_def.
29626 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29627 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29628
6761ac04
DM
296292011-08-10 David S. Miller <davem@davemloft.net>
29630
29631 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29632 enum.
29633 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29634 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29635 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29636
c55fbd1e
UD
296372011-08-09 Ulrich Drepper <drepper@gmail.com>
29638
29639 * Versions.def [libc]: Add GLIBC_2.15.
29640 * dirent/Makefile (routines): Add scandirat and scandirat64.
29641 * dirent/Versions [libc]: Export scandirat and scandirat64 for
29642 GLIBC_2.15.
29643 * dirent/dirent.h: Declare scandirat and scandirat64.
29644 * dirent/scandirat.c: New file.
29645 * dirent/scandirat64.c: New file.
29646 * sysdeps/wordsize-64/scandirat.c: New file.
29647 * sysdeps/wordsize-64/scandirat64.c: New file.
29648 * dirent/opendir.c: Define opendirat.
29649 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
29650 using scandirat.
29651 * dirent/scandir64.c: Adjust for scandir.c change.
29652 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
29653 __scandirat64, and __scandir_cancel_handler.
29654 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
29655 additional parameter and use openat instead of open (outside of ld.so).
29656 Add new __opendir as wrapper around __opendirat.
29657 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29658 here without requiring old scandirat implementation.
29659
879165f2
UD
296602011-08-08 Ulrich Drepper <drepper@gmail.com>
29661
29662 * dirent/scandir.c (cancel_handler): Renamed to
29663 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
29664 defined. Adjust users.
29665 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29666 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29667
cb7e923b
UD
296682011-08-04 Ulrich Drepper <drepper@gmail.com>
29669
16292edd
UD
29670 * string/test-string.h (IMPL): Use __STRING to expand name and then
29671 stringify it.
29672
cb7e923b
UD
29673 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29674 of cleanups.
29675
cff82933
LD
296762011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29677
29678 * string/Makefile: Update.
29679 (strop-tests): Append strncat.
29680 * string/test-wcscmp.c: New file.
29681 New comprehensive test for wcscmp.
29682 * string/test-strcmp.c: Update.
29683 (WIDE): New define.
29684
9be9bfcc
AS
296852011-07-22 Andreas Schwab <schwab@redhat.com>
29686
29687 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29688 line.
29689
2e96f1c7
AS
296902011-07-26 Andreas Schwab <schwab@redhat.com>
29691
29692 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29693 encoding to ACE if AI_IDN.
29694
85188888
JJ
296952011-08-01 Jakub Jelinek <jakub@redhat.com>
29696
29697 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29698 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29699
5fa16e9b
LD
297002011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29701
29702 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29703 Fix overflow bug in strncat.
29704 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29705
29706 * string/test-strncat.c: Update.
29707 Add new tests for checking overflow bugs.
29708
297092011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29710
29711 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29712 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29713 * sysdeps/i386/i686/multiarch/strcat.S: New file.
29714 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29715 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29716 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29717 * sysdeps/i386/i686/multiarch/strncat.S: New file.
29718 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29719 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29720
29721 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29722 (USE_AS_STRCAT): Define.
29723 Add strcat and strncat support.
29724 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29725
8c1a459f
AS
297262011-07-25 Andreas Schwab <schwab@redhat.com>
29727
29728 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29729 __n bigger than INT_MAX+1.
29730 (__strncmp_g): Likewise.
29731
bba33c28
UD
297322011-07-23 Ulrich Drepper <drepper@gmail.com>
29733
798be72d
UD
29734 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29735 * libio/stido.h: Likewise.
29736
8accd4dc
UD
29737 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29738 (AF_NFC): Define.
29739 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29740 (AF_NFC): Define.
29741
cbff0d96
UD
29742 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29743 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29744 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29745 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29746 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29747
9191c04a
UD
29748 [BZ #13021]
29749 * scripts/test-installation.pl: Don't expect libnss_test1 to be
29750 installed.
29751
bba33c28
UD
29752 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29753 typo.
29754 (_dl_x86_64_save_sse): Likewise.
29755
90f139dd
UD
297562011-07-22 Ulrich Drepper <drepper@gmail.com>
29757
1aae088a
UD
29758 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29759 OSXSAVE.
29760 (_dl_x86_64_save_sse): Likewise.
29761
8e2045f5
UD
29762 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29763
90f139dd
UD
29764 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29765
1d002f25
AS
297662011-07-21 Andreas Schwab <schwab@redhat.com>
29767
29768 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29769 change.
29770 (_dl_x86_64_save_sse): Use correct AVX check.
29771
21137f89
UD
297722011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29773
29774 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29775 bug in strncpy/strncat.
29776 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29777
a65c0b7a
UD
297782011-07-21 Ulrich Drepper <drepper@gmail.com>
29779
29780 * string/tester.c (test_strcat): Add tests for different alignments
29781 of source and destination.
29782 (test_strncat): Likewise.
29783
6986b98a
UD
297842011-07-20 Ulrich Drepper <drepper@gmail.com>
29785
90bb2039
UD
29786 [BZ #12852]
29787 * posix/glob.c (glob): Check passed in values before using them in
29788 expressions to avoid some overflows.
29789 (glob_in_dir): Likewise.
29790
5644ef54
UD
29791 [BZ #13007]
29792 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29793 check for AVX enablement so that we don't crash with old kernels and
29794 new hardware.
29795 * elf/tst-audit4.c: Add same checks here.
29796 * elf/tst-audit6.c: Likewise.
29797
29798 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 29799
bfc9dc9b
AS
298002011-07-09 Andreas Schwab <schwab@linux-m68k.org>
29801
29802 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29803
702e64bb
UD
298042011-07-20 Ulrich Drepper <drepper@gmail.com>
29805
29806 * po/cs.po: Update from translation team.
29807 * po/bg.po: Likewise.
29808
295e904f
MP
298092011-07-12 Marek Polacek <mpolacek@redhat.com>
29810
29811 * misc/sys/cdefs.h: Add support for const attribute.
29812 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29813 to gnu_dev_{major,minor,makedev} functions.
29814
3ff94596
MP
298152011-07-20 Marek Polacek <mpolacek@redhat.com>
29816
29817 * intl/dcigettext.c (get_output_charset): Add missing bracket.
29818
28b59fca
AS
298192011-07-20 Andreas Schwab <schwab@redhat.com>
29820
29821 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29822 strlen results.
29823
19df733e
AK
298242011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29825
29826 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29827 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29828 register in order to avoid conflicts with the soft frame pointer
29829 being held in r11 when necessary.
29830 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29831 (INTERNAL_VSYSCALL_NCS): Likewise.
29832
c8835729
MP
298332011-07-14 Marek Polacek <mpolacek@redhat.com>
29834
29835 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29836 * elf/dl-fini.c (_dl_fini): Adjust caller.
29837 * elf/dl-close.c (_dl_close_worker): Likewise.
29838 * sysdeps/generic/ldsodefs.h: Adjust declaration.
29839
b902330c
MP
298402011-07-15 Marek Polacek <mpolacek@redhat.com>
29841
8991e135
MP
29842 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29843 "aux_cache->nlibs < 0".
29844
b902330c
MP
29845 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29846 in the reload-count case.
29847
99710781
LD
298482011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29849
29850 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29851 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29852 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29853 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29854 * sysdeps/x86_64/multiarch/strcat.S: New file.
29855 * sysdeps/x86_64/multiarch/strncat.S: New file.
29856 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29857 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29858 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29859 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29860 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29861 (USE_AS_STRCAT): Define.
29862 Add strcat and strncat support.
29863 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29864 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29865 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29866 * string/strncat.c: Update.
29867 (USE_AS_STRNCAT): Define.
29868 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29869 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29870 and i7.
29871 * sysdeps/x86_64/multiarch/init-arch.h
29872 (bit_Prefer_PMINUB_for_stringop): New.
29873 (index_Prefer_PMINUB_for_stringop): Likewise.
29874 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29875 bit_Prefer_PMINUB_for_stringop.
29876
7dc6bd90
UD
298772011-07-19 Ulrich Drepper <drepper@gmail.com>
29878
29879 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29880 buffer64.
29881 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29882 of casting of buffer.
29883 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29884 buffer32 and buffer64.
29885 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29886 writes instead of casting of buffer.
29887 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29888 buffer32.
29889 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29890 casting of buffer.
29891
e0e72284
AS
298922011-07-19 Andreas Schwab <schwab@redhat.com>
29893
29894 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29895
feb1eb0b
UD
298962011-07-19 Ulrich Drepper <drepper@gmail.com>
29897
29898 * nscd/nscd.c (termination_handler): Don't do anything for a database
29899 if it has not yet been initialized.
29900
298711ff
UD
299012011-07-18 Ulrich Drepper <drepper@gmail.com>
29902
29903 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29904
299052011-07-15 Marek Polacek <mpolacek@redhat.com>
29906
29907 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29908
f9d68389
UD
299092011-07-18 Ulrich Drepper <drepper@gmail.com>
29910
29911 * po/nl.po: Update from translation team.
29912 * po/sv.po: Likewise.
29913
db290cf5
RM
299142011-07-16 Roland McGrath <roland@hack.frob.com>
29915
29916 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29917 now disallowed by GCC.
5c550700 29918
fd5e21c7
RM
29919 * configure.in (use-default-link): Default to yes if a test -shared
29920 link meets our qualifications.
29921 * configure: Regenerated.
29922
5c550700
RM
29923 * config.make.in (output-format): New variable.
29924 * configure.in: Check for ld --print-output-format support.
29925 * configure: Regenerated.
29926 * Makerules ($(common-objpfx)format.lds)
29927 [$(output-format) != unknown]: Just use $(output-format),
29928 instead of the linker-script munging.
29929
9fa2c032
RM
299302011-07-14 Roland McGrath <roland@hack.frob.com>
29931
a6928d51
RM
29932 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29933 of $(common-objpfx)shlib.lds.
29934 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29935
661607b3
RM
29936 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29937 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29938
9fa2c032
RM
29939 * configure.in (-z relro check): Adjust test code to add a large
29940 writable data section after it.
29941 * configure: Regenerated.
29942
defe9061
RM
299432011-07-11 Roland McGrath <roland@hack.frob.com>
29944
29945 * configure.in (-z relro check): Fix test code to make the variable
29946 truly const.
29947 * configure: Regenerated.
29948
319b9ad4
UD
299492011-07-11 Ulrich Drepper <drepper@gmail.com>
29950
29951 * nscd/nscd.h (struct traced_file): Define.
29952 (struct database_dyn): Remove inotify_descr, reset_res, and filename
29953 elements. Add traced_files.
29954 (inotify_fd): Declare.
29955 (register_traced_file): Declare.
29956 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29957 (inotify_fd): Export.
29958 (resolv_conf_descr): Remove.
29959 (nscd_init): Move inotify descriptor creation to main.
29960 Don't register files for notification here.
29961 (register_traced_file): New function.
29962 (invalidate_cache): Don't use reset_res to determine whether to call
29963 res_init, go through the list of registered files.
29964 (main_loop_poll): The inotify descriptors are now stored in the
29965 structures for the traced files.
29966 (main_loop_epoll): Likewise
29967 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
29968 to __nss_disable_nscd.
29969 * nscd/cache.c (prune_cache): There is no single inotify descriptor
29970 for a database anymore. Check the records for all the registered
29971 files instead.
29972 * nss/Makefile (libnss_files-routines): Add files-init.
29973 (libnss_db-routines): Add db-init.
29974 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29975 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29976 * nss/nss_db/db-init.c: New file.
29977 * nss/nss_files/files-init.c: New file.
29978 * nss/nsswitch.c (nss_load_library): New function. Broken out of
29979 __nss_lookup_function.
29980 (__nss_lookup_function): Call nss_load_library.
29981 (nss_load_all_libraries): New function.
29982 (__nss_disable_nscd): Take parameter with callback function for files
29983 to register. Set is_nscd. Load all the DSOs for the NSS modules
29984 used for the cached services.
29985 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
29986 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
29987 options for features to all the files in nscd.
29988
29989 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
29990
23bee3e8
RM
299912011-07-10 Roland McGrath <roland@hack.frob.com>
29992
29993 * csu/elf-init.c (__libc_csu_init): Comment typo.
29994
46a5b7f0
UD
299952011-07-09 Ulrich Drepper <drepper@gmail.com>
29996
29997 * po/pl.po: Update from translation team.
29998 * po/ja.po: Likewise.
29999 * po/ru.po: Likewise.
30000 * po/ko.po: Likewise.
30001 * po/fr.po: Likewise.
30002
d30cf5bb
RM
300032011-07-09 Roland McGrath <roland@hack.frob.com>
30004
113ddea4
RM
30005 * configure.in (.ctors/.dtors header and trailer check):
30006 Use an empirical test on a built program.
30007 * configure: Regenerated.
30008
574920b4
RM
30009 * configure.in (-z relro check): Use an empirical test on a built DSO.
30010 Detect, but do not require, on ia64.
30011 * configure: Regenerated.
30012
d30cf5bb
RM
30013 * configure.in (READELF): Find it with AC_CHECK_TOOL.
30014 Update tests that use readelf to use $READELF instead.
30015 * configure: Regenerated.
30016
8538fdb3
UD
300172011-07-08 Ulrich Drepper <drepper@gmail.com>
30018
30019 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30020 if the result is not used.
30021
04d08991
AJ
300222011-07-05 Andreas Jaeger <aj@suse.de>
30023
30024 [BZ#9696]
30025 * stdlib/tst-strtod.c: Add testcase.
30026
de283087
AD
300272011-07-07 Ulrich Drepper <drepper@gmail.com>
30028
4e5f31c8 30029 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 30030 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
30031 The latter has a higher limit. Take additional parameter to pass to
30032 the new function.
30033 (__pathconf): Pass file to __statfs_link_max.
30034 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30035 __statfs_link_max.
30036 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30037 __statfs_link_max.
30038
de283087
AD
30039 [BZ #12868]
30040 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30041 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30042 Handle Lustre.
30043 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30044 (__statfs_filesize_max): Likewise.
30045 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30046
c75fa153
AJ
300472011-07-05 Andreas Jaeger <aj@suse.de>
30048
30049 * resolv/res_comp.c (dn_skipname): Remove unused variable.
30050
1a544854
UD
300512011-07-06 Marek Polacek <mpolacek@redhat.com>
30052
30053 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30054 `status' variable.
30055 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30056 Likewise.
30057
6f0eec67
UD
300582011-07-04 H.J. Lu <hongjiu.lu@intel.com>
30059
30060 * Makefile (strop-tests): Add strncat.
30061 * string/test-strncat.c: New file.
30062
aae30307
UD
300632011-06-30 Marek Polacek <mpolacek@redhat.com>
30064
30065 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30066
c0cfb5eb
UD
300672011-06-21 Andreas Jaeger <aj@suse.de>
30068
30069 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30070 Copy rule from iconvdata/Makefile.
30071
01636b21
UD
300722011-07-06 Ulrich Drepper <drepper@gmail.com>
30073
30074 [BZ #12922]
30075 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30076 but no long options are defined, just return 'W'.
30077
9895c8bc
UD
300782011-06-22 Marek Polacek <mpolacek@redhat.com>
30079
30080 [BZ #9696]
30081 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30082
5d4cf042
UD
300832011-07-06 Ulrich Drepper <drepper@gmail.com>
30084
30085 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30086 netgroups to read.
960e5535 30087 (innetgr): Likewise.
5d4cf042 30088
751eb97e
RM
300892011-07-05 Roland McGrath <roland@hack.frob.com>
30090
30091 * config.make.in (install_root): Default to $(DESTDIR).
30092
f15f1e45
UD
300932011-07-05 Ulrich Drepper <drepper@gmail.com>
30094
30095 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30096
4e34ac6a
RM
300972011-07-02 Roland McGrath <roland@hack.frob.com>
30098
5e9b6af4
RM
30099 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30100
84f9ea0f
RM
30101 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30102 containing directory rather than embedding absolute directory names.
30103
ea5ee9f7
RM
30104 * scripts/check-local-headers.sh: Rewritten using awk.
30105 Match by word, not by line. Print error messages for matches.
30106 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30107
1b74661a
RM
30108 * Makerules [shlib-lds-flags empty]:
30109 ($(common-objpfx)libc_pic.opts): New target.
30110 ($(common-objpfx)libc_pic.os.clean): New target.
30111 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
30112
30113 * config.make.in (OBJCOPY): New variable.
30114 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30115 * configure: Regenerated.
30116
f781ef40
RM
30117 * config.make.in (use-default-link): New variable.
30118 * configure.in (use_default_link): Grok --with-default-link to set it.
30119 * configure: Regenerated.
30120 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
30121 (shlib-lds, shlib-lds-flags): Define to empty.
30122
2d4fa81e
RM
30123 * Makerules (shlib-lds): New variable.
30124 (shlib-lds-flags): New variable.
30125 (build-shlib, build-moduile, build-module-asneeded): Use it.
30126 ($(common-objpfx)libc.so): Use $(shlib-lds).
30127 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
30128 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
30129
31fffa6b
RM
30130 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30131 DT_FLAGS/DT_FLAGS_1 with zero flags.
30132
4e34ac6a
RM
30133 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30134 linker script munging.
30135
fcfc776b
UD
301362011-07-02 Ulrich Drepper <drepper@gmail.com>
30137
30138 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30139 as 128-bit value.
30140 * crypt/sha512.c (sha512_process_block): Perform total addition using
30141 128-bit if possible.
30142 (__sha512_finish_ctx): Likewise.
30143 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30144 as 64-bit value.
30145 * crypt/sha256.c (SWAP64): Define.
30146 (sha256_process_block): Perform total addition using 64-bit if
30147 possible.
30148 (__sha256_finish_ctx): Likewise.
30149
99231d9a
UD
301502011-07-01 Ulrich Drepper <drepper@gmail.com>
30151
30152 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
30153 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30154 * nscd/hstcache.c (cache_addhst): Likewise.
30155 * nscd/grpcache.c (cache_addgr): Likewise.
30156 * nscd/aicache.c (addhstaiX): Likewise
30157 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30158
445b4a53
TK
301592011-07-01 Thorsten Kukuk <kukuk@suse.de>
30160
30161 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30162 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30163 * nscd/hstcache.c (cache_addhst): Likewise.
30164 * nscd/grpcache.c (cache_addgr): Likewise.
30165 * nscd/aicache.c (addhstaiX): Likewise
30166
6d4d8e8e
AS
301672011-07-01 Andreas Schwab <schwab@redhat.com>
30168
30169 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30170 domain only when needed.
30171
89f654c5
AS
301722011-06-30 Andreas Schwab <schwab@redhat.com>
30173
30174 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30175 is always restored.
30176
cf3b23ff
UD
301772011-06-29 Ulrich Drepper <drepper@gmail.com>
30178
30179 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30180 are re-adding the entry.
30181 * nscd/servicescache.c (cache_addserv): Likewise.
30182
751626f9
AJ
301832011-06-30 Aurelien Jarno <aurelien@aurel32.net>
30184
30185 * sysdeps/generic/dl-irel.h: fix protection against multiple
30186 inclusions.
30187 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30188
9113ea1f
UD
301892011-06-28 Ulrich Drepper <drepper@gmail.com>
30190
5c0b8d90
UD
30191 [BZ #12935]
30192 * malloc/memusage.sh: Fix quoting in message.
30193 * debug/xtrace.sh: Likewise.
30194
9113ea1f
UD
30195 * configure.in: Remove support for --experimental-malloc option, make
30196 it the default.
30197 * config.make.in: Likewise.
30198 * malloc/Makefile: Likewise.
30199
a4172181
AS
302002011-06-27 Andreas Schwab <schwab@redhat.com>
30201
30202 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30203 two-byte characters.
30204
78a7eee7
RM
302052011-06-27 Roland McGrath <roland@hack.frob.com>
30206
62bede13
RM
30207 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30208 AC_CACHE_CHECK invocation.
30209 * configure: Regenerated.
30210
78a7eee7
RM
30211 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30212
5ce33a62
UD
302132011-06-27 Ulrich Drepper <drepper@gmail.com>
30214
034807a9
UD
30215 [BZ #12350]
30216 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
30217 bit from old_res_options.
30218
4902da17
UD
30219 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30220
5ce33a62
UD
30221 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30222 value type for setfct.
30223
c2344f56
L
302242011-06-23 H.J. Lu <hongjiu.lu@intel.com>
30225
30226 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30227 __gettimeofday instead of gettimeofday.
30228
68468076
UD
302292011-06-26 Ulrich Drepper <drepper@gmail.com>
30230
30231 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30232
acb0d739
L
302332011-06-24 H.J. Lu <hongjiu.lu@intel.com>
30234
30235 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30236
30237 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30238 info.
30239
8912479f
L
302402011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30241
30242 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30243 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30244 strcpy-sse2-unaligned strncpy-sse2-unaligned
30245 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30246 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30247 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30248 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30249 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30250 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30251 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30252 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30253 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30254 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30255 (STRCPY): Support SSE2 and SSSE3 versions.
30256
d5495a11
UD
302572011-06-24 Ulrich Drepper <drepper@gmail.com>
30258
30259 [BZ #12874]
30260 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30261 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30262 kernels which artificially limit size of requests.
30263
0b1cbaae
L
302642011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30265
30266 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30267 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30268 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30269 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30270 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30271 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30272 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30273 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30274 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30275 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30276 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30277 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30278 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30279 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30280 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30281 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30282 Enable unaligned load optimization for Intel Core i3, i5 and i7
30283 processors.
30284 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30285 Define.
30286 (index_Fast_Unaligned_Load): Define.
30287 (HAS_FAST_UNALIGNED_LOAD): Define.
30288
07f494a0
MP
302892011-06-23 Marek Polacek <mpolacek@redhat.com>
30290
30291 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30292
fa3fc0fe
UD
302932011-06-22 Ulrich Drepper <drepper@gmail.com>
30294
30295 [BZ #12907]
30296 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30297 until it is clear that the information is realy needed.
30298 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30299
e12df166
AS
303002011-06-22 Andreas Schwab <schwab@redhat.com>
30301
30302 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30303
852eb34d
UD
303042011-06-22 Ulrich Drepper <drepper@gmail.com>
30305
84e2a551
UD
30306 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30307 /sys/devices/system/cpu/online if it is usable.
30308
852eb34d
UD
30309 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30310 reading the information from the /proc filesystem to once a second.
30311
6e502e19
UD
303122011-06-21 Andreas Jaeger <aj@suse.de>
30313
30314 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30315 NULL after inclusion of kernel headers.
30316
75d39ff2
UD
303172011-06-21 Ulrich Drepper <drepper@gmail.com>
30318
51f9aa6a
UD
30319 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30320 calls to internal_setent.
30321
c0244a9d
UD
30322 [BZ #12885]
30323 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30324 addresses using gethostbyname4_r ignore IPv4 addresses.
30325
c5e3c2ae
UD
30326 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30327 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
30328
75d39ff2
UD
30329 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30330
42675c6f
DM
303312011-06-20 David S. Miller <davem@davemloft.net>
30332
30333 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30334 inclusions.
30335 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30336
30337 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30338 (elf_irel): Use it.
30339 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30340 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30341 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30342 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30343 * sysdeps/x86_64/dl-irel.h: Likewise.
30344
30345 * elf/dl-runtime.c: Use elf_ifunc_invoke.
30346 * elf/dl-sym.c: Likewise.
30347
57912a71
UD
303482011-06-15 Ulrich Drepper <drepper@gmail.com>
30349
30350 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
30351 need to dereference resplen2.
30352
ee22793d
AS
303532011-06-14 Andreas Schwab <schwab@redhat.com>
30354
30355 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30356
a9e836b0
UD
303572011-06-15 Ulrich Drepper <drepper@gmail.com>
30358
77fb9117
UD
30359 * Makeconfig: Define vardbdir and inst_vardbdir.
30360 * nss/Makefile: Add rules to install db-Makefile.
30361
40c1b22c
UD
30362 * nss/nss_db/db-XXX.c: Cleanup.
30363
9f2da732
UD
30364 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30365 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30366 GLIBC_PRIVATE.
30367 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30368 * nss/makedb.c: Implement -g option to specify that value strings
30369 are generated and should not be added to table iterated over for
30370 get*ent calls.
30371 * nss/nss_db/db-initgroups.c: New file.
30372
82e9a1f7
UD
30373 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30374 interface.
30375
c41af17e
UD
30376 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30377 (internal_getgrouplist): Adjust to name change.
30378 Update use_initgroups_entry if this is not the first call.
30379 * nss/databases.def: Add initgroups entry.
30380
a9e836b0
UD
30381 * nss/makedb.c (compute_tables): Check result of multiple hash table
30382 sizes to minimize maximum chain length.
30383
2666d441
UD
303842011-06-14 Ulrich Drepper <drepper@gmail.com>
30385
30386 * Versions.def: Add entry for libnss_db.
30387 * shlib-versions: Likewise.
30388 * nss/Makefile: Add rules to build libnss_db.
30389 * nss/Versions: Add libnss_db information. Organize libnss_files
30390 entries better.
30391 * nss/db-Makefile: Add gshadow support. Change rules for the new
30392 makedb progra. Some minor improvements to generate smaller files.
30393 * nss/nss_db/nss_db.h: Move NSS database header data structures to
30394 here from...
30395 * nss/makedb.c: ...here.
30396 Improve database format to be smaller and require less memory at
30397 runtime.
30398 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30399 db anymore.
30400 * nss/nss_db/db-netgrp.c: Likewise.
30401 * nss/nss_db/db-open.c: Likewise.
30402 * nss/nss_files/flies-XXX.x: Adjust comments.
30403 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30404 * nss/nss_files/files-grp.c: Likewise.
30405 * nss/nss_files/files-hosts.c: Likewise.
30406 * nss/nss_files/files-network.c: Likewise.
30407 * nss/nss_files/files-proto.c: Likewise.
30408 * nss/nss_files/files-pwd.c: Likewise.
30409 * nss/nss_files/files-rpc.c: Likewise.
30410 * nss/nss_files/files-service.c: Likewise.
30411 * nss/nss_files/files-sgrp.c: Likewise.
30412 * nss/nss_files/files-spwd.c: Likewise.
30413 * nss/nss_db/db-alias.c: Removed.
30414 * nss/nss_db/dummy-db.h: Removed.
30415
9ee76b5a
UD
304162011-06-02 Ulrich Drepper <drepper@gmail.com>
30417
30418 * nss/makedb.c: Rewritten to not use database library.
30419 * nss/Makefile: Update to build new makedb program.
30420
c71ca1f8
AJ
304212011-06-14 Andreas Jaeger <aj@suse.de>
30422
30423 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30424 memset declaration.
30425
3154bfb8
UD
304262011-06-10 Andreas Schwab <schwab@redhat.com>
30427
30428 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30429 tmpbuf.
30430
b350afab
RM
304312011-06-10 Roland McGrath <roland@hack.frob.com>
30432
decd4e50
RM
30433 * Makerules (shlib.lds): Fail if the linker script comes out empty.
30434 * elf/Makefile ($(objpfx)ld.so): Likewise.
30435
5615eaf2
RM
30436 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30437 Don't list ld.so twice in dependencies.
30438
30439 * posix/bug-regex31.c: Include <stdlib.h>.
30440
30441 * nscd/hstcache.c (cache_addhst): Remove unused variable.
30442
30443 * nis/nss_compat/compat-spwd.c
30444 (getspent_next_nss_netgr): Remove unused variable.
30445 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30446
30447 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30448 nonmembers" output to use the right array.
30449
30450 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30451
30452 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30453
30454 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30455 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30456 * catgets/gencat.c (read_input_file): Likewise.
30457 * locale/programs/locarchive.c (enlarge_archive): Likewise.
30458
30459 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30460 variable definition inside #if's controlling its use.
30461
30462 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30463
30464 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30465
30466 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30467
30468 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30469 unreachable code.
30470
30471 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30472
b68e08db
RM
30473 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30474 * configure: Regenerated.
30475
b350afab
RM
30476 * Makerules: Revert last change.
30477 * elf/Makefile: Likewise.
30478
28368601
RM
304792011-06-09 Roland McGrath <roland@hack.frob.com>
30480
30481 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30482 * elf/Makefile ($(objpfx)librtld.os): Likewise.
30483 (reloc-link): Likewise.
30484
11988f8f
UD
304852011-06-09 Ulrich Drepper <drepper@gmail.com>
30486
30487 * elf/Makefile: Add rules to build pldd.
30488 * elf/pldd.c: New file.
30489 * elf/pldd-xx.c: New file.
30490
e80fab37
UD
304912011-06-07 Ulrich Drepper <drepper@gmail.com>
30492
30493 * version.h: Update for 2.15 development version.
30494
9b849836
DM
304952011-06-07 David S. Miller <davem@davemloft.net>
30496
30497 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30498 ifuncs.
30499 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30500 elf_machine_lazy_rel): Likewise.
30501 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30502 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30503 elf_machine_lazy_rel): Likewise.
30504 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30505 dl_hwcap via passed in argument.
30506 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30507 Likewise.
30508
5a31b283
AK
305092011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30510
30511 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30512
069e52f8
RM
305132011-06-06 Roland McGrath <roland@hack.frob.com>
30514
30515 [BZ #12849]
30516 * manual/fdl-1.1.texi: New file, verbatim from:
30517 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30518 * manual/lgpl-2.1.texi: New file, verbatim from:
30519 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30520 * manual/Makefile (licenses): New variable, list those new file names.
30521 (texis): Use it.
30522 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30523
30524 * manual/fdl.texi: File removed.
30525 * manual/lesser.texi: File removed.
30526 * manual/libc.texinfo (Copying, Documentation License):
30527 Use new @include file names, put @appendix directive before @include.
30528
f16846a5
JJ
305292011-06-04 Jakub Jelinek <jakub@redhat.com>
30530
30531 [BZ #12841]
30532 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30533 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30534 (mq_open): Add __NTH.
30535
3d29045b
L
305362011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30537
30538 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30539 Assume Intel Core i3/i5/i7 processor if AVX is available.
30540
8c297311
UD
305412011-05-31 Ulrich Drepper <drepper@gmail.com>
30542
30543 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30544 typo.
30545
c8fc0c91
UD
305462011-05-31 Andreas Schwab <schwab@redhat.com>
30547
30548 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30549 memory. Use alloca_account. Fix memory leak when retrying.
30550
5b27a807
UD
305512011-05-31 Ulrich Drepper <drepper@gmail.com>
30552
356f8bc6
UD
30553 * version.h (RELEASE): Bump for 2.14 release.
30554 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30555
5b27a807
UD
30556 * config.make.in (RANLIB): Remove entry.
30557
01f16ab0
UD
305582011-05-30 Ulrich Drepper <drepper@gmail.com>
30559
41fce8bd
UD
30560 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30561 (libc.pot): Work around missing support for .ksh extension in xgettext.
30562
4769ae77
UD
30563 [BZ #12684]
30564 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30565 if both request failed.
30566 (send_dg): In case of server errors clear resplen or *resplen2.
30567
6b1e7d19
UD
30568 [BZ #12454]
30569 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30570 when there are multiple maps.
30571 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30572 (_dl_fini): Remove test here.
30573
01f16ab0
UD
30574 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30575
b1ebd700
UD
305762011-05-29 Ulrich Drepper <drepper@gmail.com>
30577
7ae22829
UD
30578 [BZ #12350]
30579 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30580 bit from old_res_options.
30581 (gaih_inet): Likewise.
30582
553149f6 30583 [BZ #11099]
18a84741 30584 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
30585 as signed.
30586
652ffab1
UD
30587 * resolv/res_init.c (res_setoptions): Make the code more compact.
30588
16985fd0
UD
30589 [BZ #11558]
30590 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30591 set RES_USEVC.
30592
0464f746
UD
30593 [BZ #11634]
30594 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30595
7d17596c
UD
30596 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30597
cf6bbbd7
UD
30598 [BZ #11781]
30599 * malloc/malloc.h: Declare malloc hook variables as volatile.
30600
13f1ab36
UD
30601 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30602 in last patch.
30603
b1ebd700
UD
30604 [BZ #11799]
30605 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 30606 raise in the comment.
80e2212d
UD
30607 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30608 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30609 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 30610
ce67228d
UD
306112011-05-28 Ulrich Drepper <drepper@gmail.com>
30612
8887a920
UD
30613 [BZ #12811]
30614 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30615 grow the buffers more if it already has to be sufficient.
30616 (build_wcs_upper_buffer): Likewise.
30617 * posix/regexec.c (check_matching): Likewise.
30618 (clean_state_log_if_needed): Likewise.
30619 (extend_buffers): Don't enlarge buffers beyond size of the input
30620 buffer.
30621 Patches mostly by Emil Wojak <emil@wojak.eu>.
30622 * posix/bug-regex32.c: New file.
30623 * posix/Makefile (tests): Add bug-regex32.
30624
4f031072
UD
30625 * locale/findlocale.c (_nl_find_locale): Return right away if
30626 _nl_explode_name failed.
30627 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30628
d0478f0c
UD
30629 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30630
de81b246
UD
30631 * debug/xtrace.sh: Unify messages.
30632 * malloc/memusage.sh: Likewise.
30633
c738465a
UD
30634 [BZ #12813]
30635 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30636 time symbol from vDSO. Substitute with vsyscall if not available.
30637 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30638 __vdso_time.
30639
f1f929d7
UD
30640 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30641 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30642 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30643 Add sendmmsg and internal_sendmmsg.
30644 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30645 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30646 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30647
ce67228d
UD
30648 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30649 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30650 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30651
e57420c6
UD
306522011-05-27 Ulrich Drepper <drepper@gmail.com>
30653
a8509ca5
UD
30654 [BZ #12813]
30655 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30656 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30657 available.
30658 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30659 __vdso_getcpu.
30660
e57420c6
UD
30661 [BZ #12814]
30662 * iconvdata/Makefile (tests): Add bug-iconv9.
30663 * iconvdata/bug-iconv9.c: New file.
30664
4d07db15
AS
306652011-05-27 Andreas Schwab <schwab@redhat.com>
30666
30667 [BZ #12814]
30668 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30669
ea486f69
JJ
306702011-05-25 Jakub Jelinek <jakub@redhat.com>
30671
30672 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30673 (struct user_regs_struct): Change intcs field back to cs.
30674
6f038433
UD
306752011-05-25 Ulrich Drepper <drepper@gmail.com>
30676
30677 * po/ja.po: Update from translation team.
30678
67f86a25
UD
306792011-05-23 Ulrich Drepper <drepper@gmail.com>
30680
30681 [BZ #12795]
30682 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30683 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30684
def7fbd6
AS
306852011-05-20 Andreas Schwab <schwab@redhat.com>
30686
30687 * stdlib/longlong.h: Update from GCC.
30688
f50ef8f1
AS
306892011-05-23 Andreas Schwab <schwab@redhat.com>
30690
30691 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30692 parameter name.
30693 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30694 Add parameter name.
30695 (__sysconf): Pass it down.
30696
de7ce8f1
UD
306972011-05-22 Ulrich Drepper <drepper@gmail.com>
30698
f2962a71
UD
30699 [BZ #12671]
30700 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30701 some situations.
30702 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30703 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30704 add in in __libc_use_alloca calls. Adjust callers.
30705 (glob): Use malloc in some situations.
30706
de7ce8f1
UD
30707 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30708 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30709 pltexit.
30710
aec84f53
UD
307112011-05-21 Ulrich Drepper <drepper@gmail.com>
30712
05bb4a68
UD
30713 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30714 and CLOCK_BOOTTIME_ALARM.
30715
7ea72f99
UD
30716 [BZ #12782]
30717 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30718 is returned.
30719
7e4afad5
UD
30720 * string/_strerror.c (__strerror_r): Print negative errors as signed
30721 numbers.
30722
8e211fec
UD
30723 [BZ #12777]
30724 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30725 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30726 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30727
f7d82dc9
UD
30728 * configure.in: Fix typo in redirection and correct removal of test
30729 files in two cases.
30730
cc9e536d
UD
30731 [BZ #12788]
30732 * locale/setlocale.c (new_composite_name): Fix test to check for
30733 identical name of all categories.
30734
aec84f53
UD
30735 [BZ #12792]
30736 * libio/filedoalloc.c (local_isatty): New function.
30737 (_IO_file_doallocate): Use local_isatty.
30738 * stdio-common/perror.c (perror): In case a new stream is used
30739 forward the stream error.
30740 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30741 error flag.
30742
78e64fdc
RT
307432011-05-20 Ulrich Drepper <drepper@gmail.com>
30744
34a9094f
UD
30745 [BZ #11869]
30746 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30747 alloca.
30748 * include/alloca.h (extend_alloca_account): Define.
30749
78e64fdc
RT
30750 [BZ #11857]
30751 * posix/regex.h: Fix comments with documentation of user-accessible
30752 fields after compilation and describe correct free'ing of pattern
30753 after re_compile_pattern.
30754 Patch by Reuben Thomas <rrt@sc3d.org>.
30755
457bddfc
RA
307562011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
30757
30758 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30759 and -mno-altivec to prevent the compiler from using Altivec and/or
30760 VSX instructions when the corresponding registers are not available.
30761
a4527b51
AS
307622011-05-19 Andreas Schwab <schwab@redhat.com>
30763
30764 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30765
ed690b2f
UD
307662011-05-19 Ulrich Drepper <drepper@gmail.com>
30767
30768 * libio/freopen.c (freopen): Use __dup2, not dup2.
30769 * libio/freopen64.c (freopen64): Likewise.
30770
8db73634
L
307712011-05-17 H.J. Lu <hongjiu.lu@intel.com>
30772
30773 [BZ #12775]
30774 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30775 * math/Makefile (tests): Add test-powl.
30776 (CFLAGS-test-powl.c): Define.
30777 * math/test-powl.c: New file.
30778
0a197a9d
L
307792011-05-16 H.J. Lu <hongjiu.lu@intel.com>
30780
30781 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30782
ee30c380
UD
307832011-05-17 Ulrich Drepper <drepper@gmail.com>
30784
30785 [BZ #11837]
30786 * iconvdata/gb18030.c: Update to GB18020-2005.
30787
6ce75379
UD
307882011-05-16 Ulrich Drepper <drepper@gmail.com>
30789
a4b89fd8
AR
30790 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30791 RE_SYNTAX_POSIX_AWK): Update to match recent development.
30792 Patch by Aharon Robbins <arnold@skeeve.com>.
30793
ea389b12
UD
30794 [BZ #11892]
30795 * stdlib/putenv.c (putenv): Don't always create copy of the variable
30796 on the stack.
30797
68a3f91f
UD
30798 [BZ #11895]
30799 * misc/pselect.c (__pselect): Handle timeout value errors hidden
30800 through underflows.
30801
15cc7dd1
UD
30802 [BZ #12766]
30803 * misc/error.c (error_at_line): Ensure file_name and old_file_name
30804 point to strings before performing equality test for error_one_per_line
30805 mode.
30806
f3799213
UD
30807 [BZ #11697]
30808 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30809
d79a9c94
UD
30810 [BZ #11820]
30811 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30812 (struct user_fpregs_struct): Avoid __uint*_t types.
30813
56e5eb46
UD
30814 [BZ #6420]
30815 * malloc/mtrace.c (tr_where): Add additional parameter to point to
30816 symbol info. Use it instead of calling _dl_addr locally.
30817 (lock_and_info): New function.
30818 (tr_freehook): Call lock_and_info and pass symbol info as additional
30819 parameter to tr_where.
30820 (tr_mallochook): Likewise.
30821 (tr_reallochook): Likewise.
30822 (tr_memalignhook): Likewise.
30823
6ce75379
UD
30824 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
30825 used and couldn't be at all thread-safe.
30826
f8a3b5bf
UD
308272011-05-15 Ulrich Drepper <drepper@gmail.com>
30828
94b7cc37
UD
30829 * libio/freopen.c (freopen): Don't close old file descriptor
30830 before the new one is opened. Instead dup the new file descriptor
30831 to the old one after the new stream is created.
30832 * libio/freopen64.c (freopen64): Likewise.
30833 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30834 * libio/fileops.c (_IO_new_file_close_it): Handle new
30835 _IO_FLAGS2_NOCLOSE flag.
30836 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30837 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30838 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30839 _IO_FLAGS2_NOCLOSE flag.
30840 * include/unistd.h: Add hidden_proto for dup3.
30841 Define __have_dup3.
30842 * io/dup3.c: Define hidden symbol.
30843 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30844
bd25564e
UD
30845 [BZ #7101]
30846 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30847 when an incomplete long option is used.
30848 * posix/tst-getopt_long1.c: New file.
30849 * posix/Makefile (tests): Add tst-getopt_long1.
30850
c84cfef4
UD
30851 [BZ #10138]
30852 * scripts/config.guess: Update from autoconf-2.68.
30853 * scripts/config.sub: Likewise.
30854
3b85df27
UD
30855 [BZ #10157]
30856 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30857 tests into ...
30858 (has_cpuclock): ...this. New function.
30859 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30860 macro here based on has_cpuclock code.
30861
15a856b1
UD
30862 [BZ #10149]
30863 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30864 First byte (not low byte) is now always NUL.
30865 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30866
05f399e6
UD
30867 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30868 Use non-cancelable interfaces.
30869
10a52685 30870 [BZ #9809]
94ecc67d
UD
30871 * locale/iso-639.def: Add entry for Sorani.
30872
f8a3b5bf
UD
30873 [BZ #11901]
30874 * include/stdlib.h: Move include protection to the right place.
30875 Define abort_msg_s. Declare __abort_msg with it.
30876 * stdlib/abort.c (__abort_msg): Adjust type.
30877 * assert/assert.c (__assert_fail_base): New function. Majority
30878 of code from __assert_fail. Allocate memory for __abort_msg with
30879 mmap.
30880 (__assert_fail): Now call __assert_fail_base.
30881 * assert/assert-perr.c: Remove bulk of implementation. Use
30882 __assert_fail_base.
30883 * include/assert.hL Declare __assert_fail_base.
30884 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30885 mmap.
30886 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30887
1af4e298
UD
308882011-05-14 Ulrich Drepper <drepper@gmail.com>
30889
f8a3b5bf 30890 [BZ #11952]
d26dfc60
MG
30891 [BZ #12453]
30892 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30893 until all modules are registered in the DTV.
30894 * elf/Makefile: Add rules to build and run tst-tls19.
30895 * elf/tst-tls19.c: New file.
30896 * elf/tst-tls19mod1.c: New file.
30897 * elf/tst-tls19mod2.c: New file.
30898 * elf/tst-tls19mod3.c: New file.
30899 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30900
2fc54d6f
UD
30901 [BZ #12083]
30902 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30903 correctly.
30904
98d76b46
UD
30905 [BZ #12601]
30906 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30907 two-byte sequence errors.
30908 * iconvdata/Makefile (tests): Add bug-iconv8.
30909 * iconvdata/bug-iconv8.c: New file.
30910
da3c19ef
UD
30911 [BZ #12626]
30912 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30913 buf2 definition.
30914
ca408c15
UD
30915 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30916
d6f67f7d
UD
30917 [BZ #12432]
30918 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30919 (dummy_getcfa): New function.
30920 (init): Get _Unwind_GetCFA address, use dummy if not found.
30921 (backtrace_helper): In recursion check, also check whether CFA changes.
30922 (__backtrace): Completely initialize arg.
30923
1af4e298 30924 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
30925 storing incomplete byte sequence in state object. Avoid testing for
30926 guaranteed too small input if we know there is enough data available.
1af4e298 30927
da62f81b
AS
309282011-05-11 Andreas Schwab <schwab@redhat.com>
30929
30930 * Makeconfig (+link-pie): Indent.
30931 * Rules (binaries-pie): Define if $(have-fpie) and
30932 $(build-shared).
30933 (binaries-shared): Also filter out $(binaries-pie).
30934 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30935 * nscd/Makefile (others-pie): Add nscd.
30936 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30937 ($(objpfx)nscd): Remove command override.
30938 * login/Makefile (others-pie): Add pt_chown.
30939 ($(objpfx)pt_chown): Remove command override.
30940 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30941 remove command overrides.
30942
fcabc0f8
UD
309432011-05-13 Ulrich Drepper <drepper@gmail.com>
30944
20030ae6
UD
30945 * libio/tst_putwc.c: Fix error messages.
30946
fcabc0f8
UD
30947 [BZ #12724]
30948 * libio/fileops.c (_IO_new_file_close_it): Always flush when
30949 currently writing and seek to current position when not.
30950 * libio/Makefile (tests): Add bug-fclose1.
30951 * libio/bug-fclose1.c: New file.
30952
320a5dc0
PB
309532011-05-12 Ulrich Drepper <drepper@gmail.com>
30954
30955 [BZ #12511]
30956 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30957 don't set DF_1_NODELETE here.
30958 (do_lookup_x): When entering new entry test for copy relocation
30959 and if necessary set DF_1_NODELETE flag.
30960 * elf/tst-unique4.cc: New file.
30961 * elf/tst-unique4.h: New file.
30962 * elf/tst-unique4lib.cc: New file.
30963 * elf/Makefile: Add rules to build and run tst-unique4.
30964 Patch by Piotr Bury <pbury@goahead.com>.
30965
22836f52
UD
309662011-05-11 Ulrich Drepper <drepper@gmail.com>
30967
f574184a
UD
30968 [BZ #12052]
30969 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30970
e1fb097f
UD
30971 [BZ #12625]
30972 * misc/mntent_r.c (addmntent): Flush the stream after the output
30973
22836f52
UD
30974 [BZ #12393]
30975 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30976 (is_trusted_path_normalize): Skip initial colon. Append slash
30977 to empty buffer. Duplicate is_trusted_path code but allow
30978 constructed patch to be prefix.
30979 (is_dst): Allow $ORIGIN followed by /.
30980 (_dl_dst_substitute): Correct clearing of check_for_trusted.
30981 Correct testing of result of is_trusted_path_normalize
30982 (decompose_rpath): Fix warning.
30983
7b3b0b2a
UD
309842011-05-10 Ulrich Drepper <drepper@gmail.com>
30985
30986 [BZ #11257]
30987 * grp/initgroups.c (internal_getgrouplist): When we found the service
30988 list through the initgroups entry in nsswitch.conf do not always
30989 continue on a successful lookup. Don't always use the
eac80ce2 30990 __nss_group_database value if it is set.
7b3b0b2a
UD
30991 * nss/nsswitch.conf (initgroups): Change action for successful db
30992 lookup to continue for compatibility.
30993
2a81eaa5
UD
309942011-05-09 Ulrich Drepper <drepper@gmail.com>
30995
be97a69e
UD
30996 [BZ #11532]
30997 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
30998 and CP774 modules.
30999 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31000 and CP774 modules.
31001 * iconvdata/tst-tables.sh: Likewise.
31002 * iconvdata/cp770.c: New file.
31003 * iconvdata/cp771.c: New file.
31004 * iconvdata/cp772.c: New file.
31005 * iconvdata/cp773.c: New file.
31006 * iconvdata/cp774.c: New file.
31007 * iconvdata/testdata/CP770: New file.
31008 * iconvdata/testdata/CP770..UTF8: New file.
31009 * iconvdata/testdata/CP771: New file.
31010 * iconvdata/testdata/CP771..UTF8: New file.
31011 * iconvdata/testdata/CP772: New file.
31012 * iconvdata/testdata/CP772..UTF8: New file.
31013 * iconvdata/testdata/CP773: New file.
31014 * iconvdata/testdata/CP773..UTF8: New file.
31015 * iconvdata/testdata/CP774: New file.
31016 * iconvdata/testdata/CP774..UTF8: New file.
31017
31018 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31019 END CHARMAP line.
31020 * iconvdata/gen-8bit-gap.sh: Likewise.
31021 * iconvdata/gen-8bit.sh: Likewise.
31022
c1e9e399
UD
31023 * locale/iso-639.def: Add ary entry.
31024
24c55fb3 31025 [BZ #11258]
96b4b1b0
UD
31026 * locale/C-translit.h.in: Add U20A1 transliteration.
31027
bdc2f971
KB
31028 [BZ #12178]
31029 * locale/iso-639.def: Add wae entry.
31030 Patch by Kevin Bortis <bortis@translate-wae.ch>.
31031
2952b117
UD
31032 [BZ #12545]
31033 * locale/programs/localedef.c (construct_output_path): Use ssize_t
31034 for n.
31035
2a81eaa5
UD
31036 [BZ #12711]
31037 * locale/C-translit.h.in: Add entry for U20B9.
31038 Patch by pravin.d.s@gmail.com.
31039
28377d1b
UD
310402011-05-08 Ulrich Drepper <drepper@gmail.com>
31041
7fb90fb8
UD
31042 [BZ #12713]
31043 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31044 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
31045 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
31046 in rtld. Use *stat64.
7fb90fb8 31047 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 31048 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 31049 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
31050 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31051 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31052 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31053 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31054 __fstatat64 macros.
7fb90fb8
UD
31055 * include/dirent.h: Add libc_hidden_proto for rewinddir.
31056 * dirent/rewinddir.c: Add libc_hidden_def.
31057 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 31058 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 31059
28377d1b
UD
31060 * include/dirent.h (__alloc_dir): Add flags parameter.
31061 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31062 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31063 __alloc_dir.
31064 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
31065 from fdopendir if O_CLOEXEC is already set.
31066
66bdbaa4
AM
310672011-03-15 Alan Modra <amodra@gmail.com>
31068
31069 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31070 l_tls_firstbyte_offset non-zero. Save padding offset in
31071 l_tls_firstbyte_offset for later use.
31072 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31073 freeing static tls block.
31074
95721191
JN
310752011-03-05 Jonathan Nieder <jrnieder@gmail.com>
31076
31077 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31078 where #ifdef was intended. The intent is to prevent ARG_MAX from
31079 being defined by the kernel headers.
31080
f87dfb1f
UD
310812011-05-07 Ulrich Drepper <drepper@gmail.com>
31082
31083 [BZ #12734]
31084 * resolv/resolv.h: Define RES_NOTLDQUERY.
31085 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31086 no-tld-query and set RES_NOTLDQUERY.
31087 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31088 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31089 modern BIND to search name as TLD unless forbidden.
31090
47c3cd7a
UD
310912011-05-07 Petr Baudis <pasky@suse.cz>
31092 Ulrich Drepper <drepper@gmail.com>
31093
31094 [BZ #12393]
31095 * elf/dl-load.c (fillin_rpath): Move trusted path check...
31096 (is_trusted_path): ...to here.
c1e9ea35 31097 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 31098 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 31099 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 31100
8a35c912
PP
311012011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31102
31103 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31104 __BEGIN/__END_DECLS.
31105
acd41f47
UD
311062011-05-06 Ulrich Drepper <drepper@gmail.com>
31107
31108 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31109 NSS_STATUS_NOTFOUND if no record was found.
31110
597df647
AS
311112011-05-05 Andreas Schwab <schwab@redhat.com>
31112
31113 * sunrpc/Makefile (headers): Add rpc/netdb.h.
31114 (headers-not-in-tirpc): Remove rpc/netdb.h
31115 * resolv/netdb.h: Revert last change.
31116
b9af1301
PP
311172011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31118
31119 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31120 circular dependency between libgcc.a and libc.a.
31121
4e34d5f5
AS
311222011-05-05 Andreas Schwab <schwab@redhat.com>
31123
31124 * resolv/netdb.h: Don't include <rpc/netdb.h>.
31125 * nis/Makefile: Don't install rpcsvc/*.
31126 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
31127 instead of <rpc/types.h>.
31128 (MAXHOSTNAMELEN): Define.
31129
00ee369c
AS
311302011-05-03 Andreas Schwab <schwab@redhat.com>
31131
31132 * elf/ldconfig.c (add_dir): Don't crash on empty path.
31133
0b592a30
MB
311342011-04-28 Maciej Babinski <mbabinski@google.com>
31135
31136 [BZ #12714]
31137 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31138 gethostbyname4_r when IPv6 results are possible.
31139
6e04cbbe
UD
311402011-05-02 Ulrich Drepper <drepper@gmail.com>
31141
31142 [BZ #12723]
31143 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31144 _PC_PIPE_BUF handling.
31145
e4ecafe0
BH
311462011-04-30 Bruno Haible <bruno@clisp.org>
31147
31148 [BZ #12717]
31149 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31150 * resolv/netdb.h (getnameinfo): Change type of flags parameter
31151 to 'int'.
31152 * inet/getnameinfo.c (getnameinfo): Likewise.
31153
125ee683
UD
311542011-04-29 Ulrich Drepper <drepper@gmail.com>
31155
31156 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31157 to groups setting in database lookup.
31158 * nss/nsswitch.conf: Add initgroups entry.
31159
b722481a
EB
311602011-04-22 Ulrich Drepper <drepper@gmail.com>
31161
31162 [BZ #12685]
31163 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31164 mode string.
31165 Patch by Eric Blake <eblake@redhat.com>.
31166
4df46dbd
L
311672011-04-20 H.J. Lu <hongjiu.lu@intel.com>
31168
31169 * sunrpc/Makefile (need-export-routines): Add svc_run.
31170 (routines): Remove svc_run.
31171 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31172 * sunrpc/clnt_perr.c (clnt_perrno): Export.
31173 * sunrpc/svc_run.c (svc_run): Likewise.
31174 * sunrpc/svc_udp.c (svcudp_create): Likewise.
31175
e84142d2
UD
311762011-04-21 Ulrich Drepper <drepper@gmail.com>
31177
31178 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31179 problem in reallocation in last patch.
31180
877175d8
UD
311812011-04-20 Ulrich Drepper <drepper@gmail.com>
31182
31183 * sunrpc/Makefile: Move inclusion of Rules.
31184
ab8eed78
UD
311852011-04-19 Ulrich Drepper <drepper@gmail.com>
31186
31187 * nss/nss_files/files-initgroups.c: New file.
31188 * nss/Makefile (libnss_files-routines): Add files-initgroups.
31189 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31190 _nss_files_initgroups_dyn.
31191
e3d8f584
RS
311922011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
31193
31194 * elf/elf.h (R_ARM_IRELATIVE): Define.
31195
af190f45
UD
311962011-04-19 Ulrich Drepper <drepper@gmail.com>
31197
31198 * po/ru.po: Update from translation team.
31199
53cf59ef
UD
312002011-04-17 Ulrich Drepper <drepper@gmail.com>
31201
31202 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31203 dependencies.
31204
4c559bcd
MF
312052011-02-06 Mike Frysinger <vapier@gentoo.org>
31206
31207 [BZ #12653]
31208 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
31209 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
31210 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31211 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31212 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31213
4420675c
AS
312142011-03-28 Andreas Schwab <schwab@linux-m68k.org>
31215
31216 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31217 differing bytes.
31218 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31219 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31220 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31221
75ea32ab
UD
312222011-04-17 Ulrich Drepper <drepper@gmail.com>
31223
31224 [BZ #12420]
31225 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31226 storing it.
31227 * stdlib/bug-getcontext.c: New file.
31228 * stdlib/Makefile: Add rules to build and run bug-getcontext.
31229
27390476
AK
312302011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31231
31232 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31233 instructions into .machine "z9-109".
31234 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31235 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31236
10442705
AK
312372011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31238
31239 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31240 between environment variables and auxiliary vector.
31241
7b57bfe5
UD
312422011-04-16 Ulrich Drepper <drepper@gmail.com>
31243
31244 * Makefile: Add rules to build linkobj/libc.so.
31245 * include/libc-symbols.h: Define libc_hidden_nolink.
31246 * include/rpc/auth.h: Mark functions which are to be hidden.
31247 * include/rpc/auth_des.h: Likewise.
31248 * include/rpc/auth_unix.h: Likewise.
31249 * include/rpc/clnt.h: Likewise.
31250 * include/rpc/des_crypt.h: Likewise.
31251 * include/rpc/key_prot.h: Likewise.
31252 * include/rpc/pmap_clnt.h: Likewise.
31253 * include/rpc/pmap_prot.h: Likewise.
31254 * include/rpc/pmap_rmt.h: Likewise.
31255 * include/rpc/rpc_msg.h: Likewise.
31256 * include/rpc/svc.h: Likewise.
31257 * include/rpc/svc_auth.h: Likewise.
31258 * include/rpc/xdr.h: Likewise.
31259 * nis/Makefile: Link all DSOs against linkobj/libc.so.
31260 * nss/Makefile: Likewise.
31261 * sunrpc/Makefile: Don't install headers. Build library with normal
31262 entry points. Don't build rpcinfo. Link RPC tests appropriately.
31263 * sunrpc/auth_des.c: Hide exported symbols by default, export some
31264 for the compat linking library. Remove use of INTDEF/INTUSE.
31265 * sunrpc/auth_none.c: Likewise.
31266 * sunrpc/auth_unix.c: Likewise.
31267 * sunrpc/authdes_prot.c: Likewise.
31268 * sunrpc/authuxprot.c: Likewise.
31269 * sunrpc/clnt_gen.c: Likewise.
31270 * sunrpc/clnt_perr.c: Likewise.
31271 * sunrpc/clnt_raw.c: Likewise.
31272 * sunrpc/clnt_simp.c: Likewise.
31273 * sunrpc/clnt_tcp.c: Likewise.
31274 * sunrpc/clnt_udp.c: Likewise.
31275 * sunrpc/clnt_unix.c: Likewise.
31276 * sunrpc/des_crypt.c: Likewise.
31277 * sunrpc/des_soft.c: Likewise.
31278 * sunrpc/get_myaddr.c: Likewise.
31279 * sunrpc/key_call.c: Likewise.
31280 * sunrpc/key_prot.c: Likewise.
31281 * sunrpc/netname.c: Likewise.
31282 * sunrpc/pm_getmaps.c: Likewise.
31283 * sunrpc/pm_getport.c: Likewise.
31284 * sunrpc/pmap_clnt.c: Likewise.
31285 * sunrpc/pmap_prot.c: Likewise.
31286 * sunrpc/pmap_prot2.c: Likewise.
31287 * sunrpc/pmap_rmt.c: Likewise.
31288 * sunrpc/publickey.c: Likewise.
31289 * sunrpc/rpc_cmsg.c: Likewise.
31290 * sunrpc/rpc_common.c: Likewise.
31291 * sunrpc/rpc_dtable.c: Likewise.
31292 * sunrpc/rpc_prot.c: Likewise.
31293 * sunrpc/rpc_thread.c: Likewise.
31294 * sunrpc/rtime.c: Likewise.
31295 * sunrpc/svc.c: Likewise.
31296 * sunrpc/svc_auth.c: Likewise.
31297 * sunrpc/svc_authux.c: Likewise.
31298 * sunrpc/svc_raw.c: Likewise.
31299 * sunrpc/svc_run.c: Likewise.
31300 * sunrpc/svc_simple.c: Likewise.
31301 * sunrpc/svc_tcp.c: Likewise.
31302 * sunrpc/svc_udp.c: Likewise.
31303 * sunrpc/svc_unix.c: Likewise.
31304 * sunrpc/svcauth_des.c: Likewise.
31305 * sunrpc/xcrypt.c: Likewise.
31306 * sunrpc/xdr.c: Likewise.
31307 * sunrpc/xdr_array.c: Likewise.
31308 * sunrpc/xdr_float.c: Likewise.
31309 * sunrpc/xdr_intXX_t.c: Likewise.
31310 * sunrpc/xdr_mem.c: Likewise.
31311 * sunrpc/xdr_rec.c: Likewise.
31312 * sunrpc/xdr_ref.c: Likewise.
31313 * sunrpc/xdr_sizeof.c: Likewise.
31314 * sunrpc/xdr_stdio.c: Likewise.
31315
e6c61494
UD
313162011-04-10 Ulrich Drepper <drepper@gmail.com>
31317
31318 [BZ #12650]
31319 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31320 * sysdeps/ia64/dl-tls.h: Likewise.
31321 * sysdeps/powerpc/dl-tls.h: Likewise.
31322 * sysdeps/s390/dl-tls.h: Likewise.
31323 * sysdeps/sh/dl-tls.h: Likewise.
31324 * sysdeps/sparc/dl-tls.h: Likewise.
31325 * sysdeps/x86_64/dl-tls.h: Likewise.
31326 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31327
34fe483e
AS
313282011-03-14 Andreas Schwab <schwab@redhat.com>
31329
31330 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31331 rpath element also skip the following colon.
31332 (expand_dynamic_string_token): Add is_path parameter and pass
31333 down to DL_DST_REQUIRED and _dl_dst_substitute.
31334 (decompose_rpath): Call expand_dynamic_string_token with
31335 non-zero is_path. Ignore empty rpaths.
31336 (_dl_map_object_from_fd): Call expand_dynamic_string_token
31337 with zero is_path.
31338
f12a32e6
AS
313392011-04-08 Andreas Schwab <schwab@linux-m68k.org>
31340
31341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31342 Make cancelable.
31343
38a7d692
UD
313442011-04-09 Ulrich Drepper <drepper@gmail.com>
31345
31346 [BZ #12655]
31347 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31348 Patch by Filipe David Manana <fdmanana@apache.org>.
31349
e451d22b
AS
313502011-04-07 Andreas Schwab <schwab@redhat.com>
31351
31352 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31353 Maintain aligned stack.
31354 (CHECK_RSP): Remove unused macro.
31355
dedc7c7b
UD
313562011-04-03 Ulrich Drepper <drepper@gmail.com>
31357
31358 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31359 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31360
94521213
UD
313612011-04-02 Ulrich Drepper <drepper@gmail.com>
31362
31363 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31364
8cb700c0 31365 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 31366
0354e355
L
313672011-03-26 H.J. Lu <hongjiu.lu@intel.com>
31368
31369 [BZ #12518]
31370 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31371 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31372 * sysdeps/x86_64/memmove.c: New file.
31373 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31374 (memcpy): Renamed to ...
31375 (__new_memcpy): This.
31376 (memcpy): Provide GLIBC_2_14 memcpy.
31377 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31378 (memcpy): Provide GLIBC_2_2_5 memcpy.
31379
8593482f
UD
313802011-04-01 Ulrich Drepper <drepper@gmail.com>
31381
31382 [BZ #12631]
31383 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31384
81a5726b
AS
313852011-03-30 Andreas Schwab <schwab@redhat.com>
31386
31387 * misc/syncfs.c: New file.
31388 * misc/Makefile (routines): Add syncfs.
31389 * posix/unistd.h: Declare syncfs.
31390 * sysdeps/unix/syscalls.list: Add syncfs.
31391
00e5419f
AS
313922011-04-01 Andreas Schwab <schwab@redhat.com>
31393
31394 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31395 open_by_handle_at.
31396 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31397 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31398 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31399 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31400 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31401 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31402 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31403
748876bf
UD
314042011-04-01 Ulrich Drepper <drepper@gmail.com>
31405
658e451d
UD
31406 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31407 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31408 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31409 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31410 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31411 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31412 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31413
748876bf
UD
31414 * io/Makefile: Compile fallocate.c, fallocate64.c, and
31415 sync_file_range.c with -fexceptions.
31416 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31417 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31418 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31419 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31420 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31421 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31422 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
31423 sync_file_range as cancellation point
31424 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
31425 now a wrapper around __call_sync_file_range with cancellation handling.
31426 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31427 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
31428 function name to __call_sync_file_range.
31429 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31430 Add call_sync_file_range.
748876bf 31431
6e63d5e1
AS
314322011-04-01 Andreas Schwab <schwab@redhat.com>
31433
31434 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 31435 bits/timex.h.
6e63d5e1 31436
46998f74
UD
314372011-04-01 Ulrich Drepper <drepper@gmail.com>
31438
4c1423ed
UD
31439 * iconv/iconv.h: Fix typo in comment.
31440 * io/fcntl.h: Likewise.
31441 * libio/stdio.h: Likewise.
31442 * posix/spawn.h: Likewise.
31443 * posix/unistd.h: Likewise.
31444 * stdlib/stdlib.h: Likewise.
31445 * time/time.h: Likewise.
31446 * wcsmbs/wchar.h: Likewise.
31447
158648c0
UD
31448 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31449 open_by_handle): Add.
31450 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31451 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
31452 Augment a few comments.
31453 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31454 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31455 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31456 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31457 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31458 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31459 open_by_handle.
31460
46998f74
UD
31461 * io/fcntl.h (AT_EMPTY_PATH): Define.
31462
83fe108b
UD
314632011-03-30 Ulrich Drepper <drepper@gmail.com>
31464
31465 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31466 * sysdeps/unix/sysv/linux/bits/time.h: New file.
31467 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31468 to...
31469 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
31470 * Versions.def: Add GLIBC_2.14.
31471 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31472 Export.
83fe108b 31473
bb242059
UD
314742011-03-22 Ulrich Drepper <drepper@gmail.com>
31475
31476 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31477 round counter.
31478 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31479
c97a1282
L
314802011-03-20 H.J. Lu <hongjiu.lu@intel.com>
31481
31482 [BZ #12597]
31483 * string/test-strncmp.c (do_page_test): New function.
31484 (check2): Likewise.
31485 (test_main): Call check2.
31486 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31487
2a115601
UD
314882011-03-20 Ulrich Drepper <drepper@gmail.com>
31489
31490 [BZ #12587]
31491 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31492 Handle cache information in CPU leaf 4.
31493 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31494
8126d904
UD
314952011-03-18 Ulrich Drepper <drepper@gmail.com>
31496
042c49c6 31497 [BZ #12583]
8126d904
UD
31498 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31499 character representation.
31500 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31501
ccfe366e
RA
315022011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31503
31504 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31505 END(__isnan) to END(__isnanf) to match function entry point/label
31506 EALIGN(__isnanf,...).
31507
c6e13027
JJ
315082011-03-10 Jakub Jelinek <jakub@redhat.com>
31509
31510 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31511
33f85a3f
UD
315122011-03-10 Ulrich Drepper <drepper@gmail.com>
31513
028478fa
UD
31514 [BZ #12510]
31515 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31516 copy from the symbol referenced in the relocation to initialize the
31517 used variable.
31518 Patch by Piotr Bury <pbury@goahead.com>.
31519 * elf/Makefile: Add rules to build and tst-unique3.
31520 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31521 * elf/tst-unique3.cc: New file.
31522 * elf/tst-unique3.h: New file.
31523 * elf/tst-unique3lib.cc: New file.
31524 * elf/tst-unique3lib2.cc: New file.
31525
33f85a3f
UD
31526 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31527
03592fc7
MF
315282011-03-10 Mike Frysinger <vapier@gentoo.org>
31529
31530 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31531 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31532 to _start.
03592fc7 31533
6a5ee102
UD
315342011-03-06 Ulrich Drepper <drepper@gmail.com>
31535
31536 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31537 to-be-loaded object along a path to loader is ld.so.
31538
7e4ba49c
HJ
315392011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31540 Ulrich Drepper <drepper@gmail.com>
31541
31542 * sysdeps/x86_64/memset.S: After aligning destination, code
31543 branches to different locations depending on the value of
31544 misalignment, when multiarch is enabled. Fix this.
31545
315462011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31547
31548 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31549 Set _x86_64_preferred_memory_instruction for AMD processsors.
31550 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31551 Set bit_Prefer_SSE_for_memop for AMD processors.
31552
13a804de
UD
315532011-03-04 Ulrich Drepper <drepper@gmail.com>
31554
31555 * libio/fmemopen.c (fmemopen): Optimize a bit.
31556
9d25c392
AS
315572011-03-03 Andreas Schwab <schwab@redhat.com>
31558
31559 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31560
a5543c6a
RM
315612011-03-03 Roland McGrath <roland@redhat.com>
31562
31563 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31564
012d35f7
DM
315652011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31566
7e4ba49c 31567 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
31568 __bzero_ultra1 instead of __memset_ultra1.
31569
4bff6e01
AS
315702011-02-23 Andreas Schwab <schwab@redhat.com>
31571 Ulrich Drepper <drepper@gmail.com>
31572
31573 [BZ #12509]
31574 * include/link.h (struct link_map): Add l_orig_initfini.
31575 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31576 returning unsuccessfully.
31577 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31578 close of a file loaded at startup, restore the original l_initfini
31579 list.
31580 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31581 list, store the pointer.
31582 * elf/Makefile ($(objpfx)noload-mem): New rule.
31583 (noload-ENV): Define.
31584 (tests): Add $(objpfx)noload-mem.
31585 * elf/noload.c: Include <memcheck.h>.
31586 (main): Call mtrace. Close all opened handles.
31587
f2092faf
AS
315882011-02-17 Andreas Schwab <schwab@redhat.com>
31589
31590 [BZ #12454]
31591 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31592 dependencies are missing.
31593
6c8a2e88
ST
315942011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31595
f2092faf 31596 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
31597 Hurd needs munmap.
31598 * sysdeps/mach/hurd/ifreq.h: New file.
31599
84a42118
PB
316002011-01-27 Petr Baudis <pasky@suse.cz>
31601 Ulrich Drepper <drepper@gmail.com>
31602
071f805e 31603 [BZ 12445]#
84a42118
PB
31604 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31605 to extend_alloca().
31606 * stdio-common/bug23.c: New file.
31607 * stdio-common/Makefile (tests): Add bug23.
31608
e23fe25b
AS
316092010-09-28 Andreas Schwab <schwab@redhat.com>
31610 Ulrich Drepper <drepper@gmail.com>
31611
31612 [BZ #12489]
31613 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31614 before performing relro protection. At old place add assertion
31615 to make sure nothing changed.
31616
d3f02e10
NS
316172011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31618 Glauber de Oliveira Costa <glommer@gmail.com>
31619
31620 * elf/elf.h: Add new ARM TLS relocs.
31621
d55fd7a5
RA
316222011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31623
31624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31625 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31626 cast from r3.
31627 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31628 'tests' variable.
31629 * sysdeps/wordsize-64/tst-writev.c: New file.
31630
2206397e
RA
316312011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31632
31633 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31634 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31635 insns in _dl_start to prevent a TOC reference before relocs are
31636 resolved.
31637
e9433893
UD
316382011-02-15 Ulrich Drepper <drepper@gmail.com>
31639
31640 [BZ #12469]
31641 * Makeconfig: Remove RANLIB definition.
31642 * Makerules: Don't use RANLIB.
31643 * aclocal.m4: Remove ranlib test.
31644 * configure.in: No need to check for ranlib.
31645 * elf/rtld-Rules: Don't use RANLIB.
31646
f75286c6
ST
316472011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31648
8e31c82d
ST
31649 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31650 protection macro.
31651 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31652 inclusion protection macro.
31653
f75286c6
ST
31654 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31655 SIGRTMIN and SIGRTMAX and print information in that case only when
31656 SIGRTMIN is defined.
31657
c1d0e639
JJ
316582011-02-11 Jakub Jelinek <jakub@redhat.com>
31659
31660 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31661 arginfo fn returning -1.
31662
31663 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31664 and thousands string is zero terminated.
31665
edf9294e
AS
316662011-02-03 Andreas Schwab <schwab@redhat.com>
31667
31668 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31669 sysdeps/unix/sysv/linux/bits/socket.h.
31670
2b7e92df
ST
316712011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31672
edf9294e
AS
31673 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31674 (__CPU_COUNT): Remove old macros.
31675 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31676 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31677 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
31678 (__sched_cpualloc, __sched_cpufree): Add declarations.
31679
a4c7ea7b
UD
316802011-02-05 Ulrich Drepper <drepper@gmail.com>
31681
31682 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31683 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31684 * nscd/aicache.c (addhstaiX): Return timeout of added value.
31685 (readdhstai): Return value of addhstaiX call.
31686 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31687 (addgrbyX): Return value returned by cache_addgr.
31688 (readdgrbyname): Return value returned by addgrbyX.
31689 (readdgrbygid): Likewise.
31690 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31691 (addpwbyX): Return value returned by cache_addpw.
31692 (readdpwbyname): Return value returned by addhstbyX.
31693 (readdpwbyuid): Likewise.
31694 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31695 (addservbyX): Return value returned by cache_addserv.
31696 (readdservbyname): Return value returned by addservbyX:
31697 (readdservbyport): Likewise.
31698 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31699 (addhstbyX): Return value returned by cache_addhst.
31700 (readdhstbyname): Return value returned by addhstbyX.
31701 (readdhstbyaddr): Likewise.
31702 (readdhstbynamev6): Likewise.
31703 (readdhstbyaddrv6): Likewise.
31704 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31705 (readdinitgroups): Return value returned by addinitgroupsX.
31706 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31707 (prune_cache): Keep track of timeout value of re-added entries.
31708 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31709 * nscd/nscd.h: Adjust prototypes of readd* functions.
31710
a0bf67cc
RM
317112011-02-04 Roland McGrath <roland@redhat.com>
31712
31713 * nis/nis_server.c (nis_servstate): Use the right name for 0.
31714 (nis_stats): Likewise.
31715 * nis/nis_modify.c (nis_modify): Likewise.
31716 * nis/nis_remove.c (nis_remove): Likewise.
31717 * nis/nis_add.c (nis_add): Likewise.
31718
31719 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31720
31721 * posix/fnmatch_loop.c: Add some consts.
31722
31723 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31724
435b95eb
L
317252011-02-02 H.J. Lu <hongjiu.lu@intel.com>
31726
31727 [BZ #12460]
31728 * config.make.in (config-cflags-novzeroupper): Define.
31729 * configure.in: Substitute libc_cv_cc_novzeroupper.
31730 * elf/Makefile (AVX-CFLAGS): Define.
31731 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31732 (CFLAGS-tst-auditmod4a.c): Likewise.
31733 (CFLAGS-tst-auditmod4b.c): Likewise.
31734 (CFLAGS-tst-auditmod6b.c): Likewise.
31735 (CFLAGS-tst-auditmod6c.c): Likewise.
31736 (CFLAGS-tst-auditmod7b.c): Likewise.
31737 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31738
8517b15e
UD
317392011-02-02 Ulrich Drepper <drepper@gmail.com>
31740
31741 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31742 function to the callback.
31743 Patch partly by Jiri Olsa <jolsa@redhat.com>.
31744
10a656fe
AS
317452011-02-02 Andreas Schwab <schwab@redhat.com>
31746
31747 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31748 of errno.
31749
968dad0a
UD
317502011-01-19 Ulrich Drepper <drepper@gmail.com>
31751
9f94d2ea 31752 [BZ #11724]
968dad0a
UD
31753 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31754 of constructors.
31755 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31756 of destructors.
31757 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31758
31759 [BZ #11724]
31760 * elf/Makefile: Add rules to build and run new test.
31761 * elf/tst-initorder.c: New file.
31762 * elf/tst-initorder.exp: New file.
31763 * elf/tst-initordera1.c: New file.
31764 * elf/tst-initordera2.c: New file.
31765 * elf/tst-initordera3.c: New file.
31766 * elf/tst-initordera4.c: New file.
31767 * elf/tst-initorderb1.c: New file.
31768 * elf/tst-initorderb2.c: New file.
31769 * elf/tst-order-a1.c: New file.
31770 * elf/tst-order-a2.c: New file.
31771 * elf/tst-order-a3.c: New file.
31772 * elf/tst-order-a4.c: New file.
31773 * elf/tst-order-b1.c: New file.
31774 * elf/tst-order-b2.c: New file.
31775 * elf/tst-order-main.c: New file.
31776 New test case by George Gensure <werkt0@gmail.com>.
31777
86e92359
UD
317782010-10-01 Andreas Schwab <schwab@redhat.com>
31779
31780 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31781 decoding ACE if AI_CANONIDN.
31782
5d5732b0
UD
317832011-01-18 Ulrich Drepper <drepper@gmail.com>
31784
31785 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31786
a77e8cbc
UD
317872011-01-17 Ulrich Drepper <drepper@gmail.com>
31788
6392473f
UD
31789 * version.h (RELEASE): Bump for 2.13 release.
31790 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31791
620a0529
UD
31792 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31793
18ba70a5
UD
31794 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31795 MADV_NOHUGEPAGE.
32465c3e
UD
31796 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31797 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31798 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31799 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31800 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31801 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31802
c0dafcf1
UD
31803 * posix/getconf.c: Update copyright year.
31804 * catgets/gencat.c: Likewise.
31805 * csu/version.c: Likewise.
31806 * debug/catchsegv.sh: Likewise.
31807 * debug/xtrace.sh: Likewise.
31808 * elf/ldconfig.c: Likewise.
31809 * elf/ldd.bash.in: Likewise.
31810 * elf/sprof.c (print_version): Likewise.
31811 * iconv/iconv_prog.c: Likewise.
31812 * iconv/iconvconfig.c: Likewise.
31813 * locale/programs/locale.c: Likewise.
31814 * locale/programs/localedef.c: Likewise.
31815 * malloc/memusage.sh: Likewise.
31816 * malloc/mtrace.pl: Likewise.
31817 * nscd/nscd.c (print_version): Likewise.
31818 * nss/getent.c: Likewise.
31819
a77e8cbc
UD
31820 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31821 PF_CAIF, and PF_ALG.
31822 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31823
77e8bddf
AS
318242011-01-16 Andreas Schwab <schwab@linux-m68k.org>
31825
1f20b93a
AS
31826 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31827 (modules-names): Use them.
31828 (ifunc-test-modules, ifunc-pie-tests): Define.
31829 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31830 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31831 (test-extras): Likewise.
31832 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31833 $(compile-command.c).
31834 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31835 (all-built-dso): Define.
31836 (check-textrel.out, check-execstack.out): Depend on it.
31837
77e8bddf
AS
31838 * configure.in: Don't override --enable-multi-arch.
31839
bc425b33
UD
318402011-01-15 Ulrich Drepper <drepper@gmail.com>
31841
31842 [BZ #6812]
31843 * nscd/hstcache.c (tryagain): Define.
31844 (cache_addhst): Return tryagain not notfound for temporary errors.
31845 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31846 failed.
31847
794c3ad3
UD
318482011-01-14 Ulrich Drepper <drepper@gmail.com>
31849
70181fdd
UD
31850 [BZ #10563]
31851 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31852 to make the syscall.
31853 * sysdeps/unix/sysv/linux/setgroups.c: New file.
31854
794c3ad3
UD
31855 [BZ #12378]
31856 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31857 and fall back to matching as normal character if the string ends before
31858 the matching ']' is found. This is what POSIX requires.
31859 * posix/testfnm.c: Adjust test result.
31860 * posix/globtest.sh: Adjust test result. Add new test.
31861 * posix/tst-fnmatch.input: Likewise.
31862 * posix/tst-fnmatch2.c: Add new test.
31863
68dc9497
AS
318642010-12-28 Andreas Schwab <schwab@linux-m68k.org>
31865
31866 * elf/Makefile (check-execstack): Revert last change. Depend on
31867 check-execstack.h.
31868 (check-execstack.h): New target.
31869 (generated): Add check-execstack.h.
31870 * elf/check-execstack.c: Include "check-execstack.h".
31871 (main): Revert last change.
31872 (handle_file): Return zero if GNU_STACK is absent and
31873 DEFAULT_STACK_PERMS doesn't include PF_X.
31874
451f001b
UD
318752011-01-13 Ulrich Drepper <drepper@gmail.com>
31876
cfa28e56
UD
31877 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31878 in child fails because the descriptor is already closed.
8cf8ce17
UD
31879 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31880 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31881 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 31882
1086d70d
UD
31883 [BZ #12397]
31884 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31885 syscall.
31886
451f001b
UD
31887 [BZ #10484]
31888 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31889 temporary buffer used to handle multi lookups locally.
a85b5cb4 31890 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 31891
08769175
UD
318922011-01-12 Ulrich Drepper <drepper@gmail.com>
31893
31894 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31895 loader is ld.so.
31896
5e49c52e
UD
318972011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
31898
31899 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31900 alignment for SSE2.
31901
60522a5f
UD
319022011-01-12 Ulrich Drepper <drepper@gmail.com>
31903
31904 [BZ #12394]
31905 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31906 characters. When rounding increased number of integer digits recompute
31907 number of groups.
31908 * stdio-common/tst-grouping.c: New file.
31909 * stdio-common/Makefile: Add rules to build and run tst-grouping.
31910
f257bbd7
UD
319112011-01-09 Ulrich Drepper <drepper@gmail.com>
31912
31913 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31914 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
31915
31916 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31917 void.
31918 * bits/select.h: Likewise.
31919
fa9c15cb
UD
319202011-01-08 Ulrich Drepper <drepper@gmail.com>
31921
31922 * po/ja.po: Update from translation team.
31923
16c2895f
DM
319242011-01-04 David S. Miller <davem@sunset.davemloft.net>
31925
31926 [BZ #11155]
31927 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31928 implementation just like for lxstat, fxstatat, et al.
31929
2543fef2
JM
319302010-12-27 Jim Meyering <meyering@redhat.com>
31931
31932 [BZ #12348]
31933 * posix/regexec.c (build_trtable): Return failure indication upon
31934 calloc failure. Otherwise, re_search_internal could infloop on OOM.
31935
98727dbe
UD
319362010-12-25 Ulrich Drepper <drepper@gmail.com>
31937
5bd6dc5c
UD
31938 [BZ #12201]
31939 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31940 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31941 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31942 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31943
97983464
UD
31944 [BZ #12207]
31945 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31946
98727dbe
UD
31947 [BZ #12204]
31948 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31949 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31950
4a531bb0
L
319512010-12-15 H.J. Lu <hongjiu.lu@intel.com>
31952
31953 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31954 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31955 script has SORT_BY_INIT_PRIORITY.
31956 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31957 NO_CTORS_DTORS_SECTIONS is defined.
31958 * elf/soinit.c: Likewise.
31959 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31960 NO_CTORS_DTORS_SECTIONS is defined.
31961 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31962 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31963 * sysdeps/sh/init-first.c: Likewise.
31964 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31965
07eb4b71
UD
319662010-12-24 Ulrich Drepper <drepper@gmail.com>
31967
31968 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31969 always use the slow path.
31970
30950a5f
RA
319712010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
31972
31973 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31974 similar rule which adds the sysdep directories to the header search in
31975 order to pick up the correct platform stackinfo.h.
31976 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31977 perform test if it is, otherwise return successfully without testing.
31978 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
31979 DEFAULT_STACK_PERMS define in stackinfo.h.
31980 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
31981 defined in stackinfo.h.
31982 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
31983 DEFAULT_STACK_PERMS defined in stackinfo.h.
31984 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
31985 * sysdeps/ia64/stackinfo.h: Likewise.
31986 * sysdeps/s390/stackinfo.h: Likewise.
31987 * sysdeps/sh/stackinfo.h: Likewise.
31988 * sysdeps/sparc/stackinfo.h: Likewise.
31989 * sysdeps/x86_64/stackinfo.h: Likewise.
31990 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
31991 PF_X for powerpc64. Retain PF_X for powerpc32.
31992
db753e2c
UD
319932010-12-19 Ulrich Drepper <drepper@gmail.com>
31994
14b697f7
UD
31995 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
31996 accurately.
db753e2c
UD
31997 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
31998 GETDENTS_64BIT_ALIGNED.
31999
28300719
UD
320002010-12-14 Ulrich Drepper <dreper@gmail.com>
32001
14b697f7 32002 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 32003
4f197237
AS
320042010-12-10 Andreas Schwab <schwab@redhat.com>
32005
dbb0472f
AS
32006 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32007 _GNU_SOURCE.
32008
4f197237
AS
32009 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32010 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32011 Remove __restrict.
32012 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32013 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32014
fb88ac72
UD
320152010-12-09 Ulrich Drepper <drepper@gmail.com>
32016
32017 [BZ #11655]
32018 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32019 are initialized.
32020
42acbb92
JJ
320212010-12-09 Jakub Jelinek <jakub@redhat.com>
32022
32023 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32024
c038d98d
UD
320252010-12-03 Ulrich Drepper <drepper@gmail.com>
32026
32027 * po/it.po: Update from translation team.
32028
3a4a2499
L
320292010-12-01 H.J. Lu <hongjiu.lu@intel.com>
32030
32031 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32032 unused codes.
32033
1e24cf6e
UD
320342010-11-30 Ulrich Drepper <drepper@gmail.com>
32035
32036 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32037
a7690819
AS
320382010-11-24 Andreas Schwab <schwab@redhat.com>
32039
32040 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32041 specially.
32042 (gaih_getanswer_slice): Likewise.
32043
3bf8d1b1
JJ
320442010-10-20 Jakub Jelinek <jakub@redhat.com>
32045
32046 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32047
6db52fbb
PB
320482010-05-31 Petr Baudis <pasky@suse.cz>
32049
32050 [BZ #11149]
32051 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32052 silently even in the chroot mode.
32053
eaca7569
UD
320542010-11-22 Ulrich Drepper <drepper@gmail.com>
32055
32056 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32057 last patch a bit. Pretty printing
32058
3056dcdb
UD
320592010-05-31 Petr Baudis <pasky@suse.cz>
32060
32061 [BZ #10085]
32062 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32063 initialization of skip_initgroups_dyn.
32064
cf7c9078
UD
320652010-11-19 Ulrich Drepper <drepper@gmail.com>
32066
32067 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32068 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32069
a1fb5e3e
UD
320702010-11-16 Ulrich Drepper <drepper@gmail.com>
32071
32072 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32073
3540d66b
AS
320742010-11-11 Andreas Schwab <schwab@redhat.com>
32075
32076 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32077 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32078 (tst-fnmatch-ENV): Set MALLOC_TRACE.
32079 ($(objpfx)tst-fnmatch-mem): New rule.
32080 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32081 * posix/tst-fnmatch.c (main): Call mtrace.
32082
13b69574
L
320832010-11-11 H.J. Lu <hongjiu.lu@intel.com>
32084
32085 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32086 Support Intel processor model 6 and model 0x2c.
32087
da93d214
LM
320882010-11-10 Luis Machado <luisgpm@br.ibm.com>
32089
32090 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32091 signed comparison.
32092
8ca52c6e
L
320932010-11-09 H.J. Lu <hongjiu.lu@intel.com>
32094
32095 [BZ #12205]
32096 * string/test-strncasecmp.c (check_result): New function.
32097 (do_one_test): Use it.
32098 (check1): New function.
32099 (test_main): Use it.
32100 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32101 Support strcasecmp and strncasecmp.
32102
69da074d
UD
321032010-11-08 Ulrich Drepper <drepper@gmail.com>
32104
32105 [BZ #12194]
32106 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32107 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32108
ff02d528
L
321092010-11-07 H.J. Lu <hongjiu.lu@intel.com>
32110
32111 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32112 IFUNC support.
32113 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32114 memset-x86-64.
32115 * sysdeps/x86_64/multiarch/bzero.S: New file.
32116 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
32117 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
32118 * sysdeps/x86_64/multiarch/memset.S: New file.
32119 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
32120 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32121 Set bit_Prefer_SSE_for_memop for Intel processors.
32122 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
32123 Define.
32124 (index_Prefer_SSE_for_memop): Define.
32125 (HAS_PREFER_SSE_FOR_MEMOP): Define.
32126
344d0b54
LM
321272010-11-04 Luis Machado <luisgpm@br.ibm.com>
32128
32129 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32130 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32131
c0dde15b
UD
321322010-11-03 H.J. Lu <hongjiu.lu@intel.com>
32133
32134 [BZ #12191]
32135 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32136 (__x86_64_raw_data_cache_size_half): Likewise.
32137 (__x86_64_raw_shared_cache_size): Likewise.
32138 (__x86_64_raw_shared_cache_size_half): Likewise.
32139
32140 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32141 (__x86_64_raw_data_cache_size_half): Likewise.
32142 (__x86_64_raw_shared_cache_size): Likewise.
32143 (__x86_64_raw_shared_cache_size_half): Likewise.
32144 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32145 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32146 and __x86_64_raw_shared_cache_size_half. Round
32147 __x86_64_data_cache_size_half, __x86_64_data_cache_size
32148 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32149 to multiple of 256 bytes.
32150
0e516e0e
MS
321512010-11-03 Ulrich Drepper <drepper@gmail.com>
32152
32153 [BZ #12167]
32154 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32155 of inacessible symlinks. Verify result of symlink before returning it.
32156 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32157 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32158
0e012e87
ER
321592010-10-28 Erich Ritz <erichritz@gmail.com>
32160
32161 * math/math.h (isinf): Fix typo in comment.
32162
de0ff7bc
UD
321632010-11-01 Ulrich Drepper <drepper@gmail.com>
32164
32165 * po/da.po: Update from translation team.
32166
fa41c84d
UD
321672010-10-26 Ulrich Drepper <drepper@gmail.com>
32168
32169 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32170 is added to the list.
32171
f0967738
AK
321722010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32173 Ulrich Drepper <drepper@gmail.com>
32174
32175 * elf/dl-object.c (_dl_new_object): Don't append the new object to
32176 the global list here. Move code to...
32177 (_dl_add_to_namespace_list): ...here. New function.
32178 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32179 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32180 * elf/dl-load.c (lose): Don't remove the element from the list.
32181 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32182 (_dl_map_object): Likewise.
32183
321842010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
32185
32186 [BZ #12159]
32187 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32188 into all bytes of SSE register.
32189 Patch by Richard Li <richardpku@gmail.com>.
32190
f0967738 321912010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
32192
32193 [BZ #12140]
32194 * malloc/malloc.c (_int_free): Fill correct number of bytes when
32195 perturbing.
32196
d0b9e94f
MB
321972010-10-20 Michael B. Brutman <brutman@us.ibm.com>
32198
32199 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32200 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32201 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32202 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32204 submachine.
32205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32206
8e9f92e9
AS
322072010-10-22 Andreas Schwab <schwab@redhat.com>
32208
32209 * include/dlfcn.h (__RTLD_SECURE): Define.
32210 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
32211 mode & __RTLD_SECURE instead.
32212 (open_path): Rename preloaded parameter to secure.
32213 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32214 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32215 * elf/dl-deps.c (openaux): Likewise.
32216 * elf/rtld.c (struct map_args): Remove is_preloaded.
32217 (map_doit): Don't use it.
32218 (dl_main): Likewise.
32219 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32220 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32221
bc96fbda
AS
322222010-09-09 Andreas Schwab <schwab@redhat.com>
32223
32224 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32225 (sysd-rules-targets): Remove duplicates.
32226 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32227 rtld-%.$o dependency.
32228
22cd1c9b
AS
322292010-10-18 Andreas Schwab <schwab@redhat.com>
32230
32231 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32232 _dl_map_object do it.
32233
18edac48
UD
322342010-10-19 Ulrich Drepper <drepper@gmail.com>
32235
32236 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32237 fast fma builtins, define the macros in the C99 standard.
32238 (FP_FAST_FMAF): Likewise.
32239 (FP_FAST_FMAL): Likewise.
32240 * sysdeps/x86_64/bits/mathdef.h: Likewise.
32241
32242 * bits/mathdef.h: Update copyright year.
32243 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32244
d2050124
MM
322452010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
32246
32247 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32248 builtins, define the macros in the C99 standard.
32249 (FP_FAST_FMAF): Likewise.
32250 (FP_FAST_FMAL): Likewise.
32251 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32252 multiply/add.
32253 (FP_FAST_FMAF): Likewise.
32254
475facd1
JJ
322552010-10-15 Jakub Jelinek <jakub@redhat.com>
32256
32257 [BZ #3268]
32258 * math/libm-test.inc (fma_test): Some new testcases.
32259 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32260 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32261 y and infinite z. Do multiplication by C already in long double.
32262 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32263 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32264 y and infinite z. Do bitwise or of inexact bit into u.d.
32265 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32266 * sysdeps/i386/fpu/s_fmaf.S: Removed.
32267 * sysdeps/i386/fpu/s_fma.S: Removed.
32268 * sysdeps/i386/fpu/s_fmal.S: Removed.
32269
7c08a05c
JJ
322702010-10-16 Jakub Jelinek <jakub@redhat.com>
32271
32272 [BZ #3268]
32273 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32274 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32275 computation is not scheduled after fetestexcept. Fix value
32276 of minimum denormal long double.
32277
f3f7372d
JJ
322782010-10-14 Jakub Jelinek <jakub@redhat.com>
32279
32280 [BZ #3268]
32281 * math/libm-test.inc (fma_test): Add some more tests.
32282 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32283 correctly.
32284
14d43591
AS
322852010-10-15 Andreas Schwab <schwab@redhat.com>
32286
32287 * scripts/data/localplt-s390-linux-gnu.data: New file.
32288 * scripts/data/localplt-s390x-linux-gnu.data: New file.
32289
5e908464
JJ
322902010-10-13 Jakub Jelinek <jakub@redhat.com>
32291
32292 [BZ #3268]
32293 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32294 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32295 instead of dbl-64.
32296 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32297 inlines.
32298 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32299 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32300 if one of x and y is very large and the other is subnormal.
32301 * sysdeps/s390/fpu/s_fmaf.c: New file.
32302 * sysdeps/s390/fpu/s_fma.c: New file.
32303 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32304 * sysdeps/powerpc/fpu/s_fma.S: New file.
32305 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32306 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32307 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32308
323092010-10-12 Jakub Jelinek <jakub@redhat.com>
32310
32311 [BZ #3268]
32312 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32313 fma tests.
32314 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32315 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32316 * sysdeps/i386/i686/multiarch/s_fma.c: Include
32317 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32318 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32319 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32320 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32321
b833d51f
UD
323222010-10-12 Ulrich Drepper <drepper@redhat.com>
32323
32324 [BZ #12078]
32325 * posix/regcomp.c (parse_branch): One more memory leak plugged.
32326 * posix/bug-regex31.input: Add test case.
32327
1751705d
UD
323282010-10-11 Ulrich Drepper <drepper@gmail.com>
32329
e9b9cbf5
UD
32330 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32331 * posix/bug-regex31.input: New file.
32332
32333 [BZ #12078]
32334 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32335 (parse_sub_exp): Fix last change, use postorder.
32336
ef06edbe
UD
32337 * posix/bug-regex31.c: New file.
32338 * posix/Makefile: Add rules to build and run bug-regex31.
32339
a129c80d
UD
32340 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32341
32342 [BZ #12078]
32343 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32344
b76b818e
UD
32345 [BZ #12108]
32346 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32347 to have entries in sys_siglist.
32348
1751705d
UD
32349 [BZ #12093]
32350 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32351 be NULL.
32352
9ff8d36f
JJ
323532010-10-07 Jakub Jelinek <jakub@redhat.com>
32354
32355 [BZ #3268]
32356 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32357 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32358 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32359 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32360 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32361 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32362 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32363 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32364 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32365 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32366 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32367 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32368 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32369 * math/ftestexcept.c (fetestexcept): Likewise.
32370 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32371 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32372 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32373 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32374 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32375 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32376 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32377
af325969
UD
323782010-10-11 Ulrich Drepper <drepper@gmail.com>
32379
c579b202 32380 [BZ #12107]
af325969
UD
32381 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32382 newline.
32383
67a67b95
UD
323842010-10-06 Ulrich Drepper <drepper@gmail.com>
32385
32386 * string/bug-strstr1.c: New file.
32387 * string/Makefile: Add rules to build and run bug-strstr1.
32388
5fb308bc
EB
323892010-10-05 Eric Blake <eblake@redhat.com>
32390
32391 [BZ #12092]
32392 * string/str-two-way.h (two_way_long_needle): Always clear memory
32393 when skipping input due to the shift table.
32394
45db99c7
UD
323952010-10-03 Ulrich Drepper <drepper@gmail.com>
32396
3b111893
UD
32397 [BZ #12005]
32398 * malloc/mcheck.c: Handle large requests.
32399
45db99c7
UD
32400 [BZ #12077]
32401 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32402 for strncmp and strncasecmp.
32403 * string/stratcliff.c: Add tests for strcmp and strncmp.
32404 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32405
cf7a1eb8
NI
324062010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32407
32408 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32409 __set_fpscr.
32410
6484ba5e
AJ
324112010-09-30 Andreas Jaeger <aj@suse.de>
32412
32413 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32414 (CGROUP_SUPER_MAGIC): Define.
32415 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32416 Handle btrfs and cgroup file systems.
32417 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32418 Likewise.
32419
91c42559
LM
324202010-09-27 Luis Machado <luisgpm@br.ibm.com>
32421
32422 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32423 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32424
87a97932
AK
324252010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32426
32427 [BZ #12067]
32428 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32429 trying to locate the ELF header.
32430
c21cc9bc
AS
324312010-09-27 Andreas Schwab <schwab@redhat.com>
32432
32433 [BZ #11611]
32434 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32435 Mask out sign-bit copies when constructing f_fsid.
32436
315970f6
PB
324372010-09-24 Petr Baudis <pasky@suse.cz>
32438
32439 * debug/stack_chk_fail_local.c: Add missing licence exception.
32440 * debug/warning-nop.c: Likewise.
32441
1ac7a2c7
JM
324422010-09-15 Joseph Myers <joseph@codesourcery.com>
32443
32444 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32445 implementing getdents64 using getdents syscall, set d_type if
32446 __ASSUME_GETDENTS32_D_TYPE.
32447
56801c50
AS
324482010-09-16 Andreas Schwab <schwab@redhat.com>
32449
32450 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32451 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32452
dda51327
UD
324532010-09-21 Ulrich Drepper <drepper@redhat.com>
32454
32455 [BZ #12037]
32456 * posix/unistd.h: Undo change of feature selection for ftruncate from
32457 2010-01-11.
32458
8ffcee4a
UD
324592010-09-20 Ulrich Drepper <drepper@redhat.com>
32460
a545ecd9 32461 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
32462 detection.
32463
e24f0a8b
AS
324642010-09-20 Andreas Schwab <schwab@redhat.com>
32465
32466 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32467 fanotify_mark.
32468 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32469
7291c56f
AS
324702010-09-14 Andreas Schwab <schwab@redhat.com>
32471
32472 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32473 variables after CHECK_SP call.
32474 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32475
bc5fb037
AS
324762010-09-13 Andreas Schwab <schwab@redhat.com>
32477 Ulrich Drepper <drepper@redhat.com>
32478
32479 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32480 re-relocationg ld.so.
32481 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32482 _dl_init_paths call.
32483 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
32484 here anymore.
32485
e66e7419
UD
324862010-09-14 Ulrich Drepper <drepper@redhat.com>
32487
32488 * resolv/res_init.c (__res_vinit): Count the default server we added.
32489
c044aa75
CLT
324902010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
32491 Ulrich Drepper <drepper@redhat.com>
32492
32493 [BZ #11968]
32494 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32495 (____longjmp_chk): Use %ebx for saving value across system call.
32496 Add unwind info.
32497
32cf4069
AS
324982010-09-06 Andreas Schwab <schwab@redhat.com>
32499
32500 * manual/Makefile: Don't mix pattern rules with normal rules.
32501
817328ee
AS
325022010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32503
32504 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32505 operation.
32506 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32507 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32508 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32509 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32510 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32511 Likewise.
32512
29fddf61
UD
325132010-09-04 Ulrich Drepper <drepper@redhat.com>
32514
32515 [BZ #11979]
32516 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32517 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32518
0959ffc9
UD
325192010-09-02 Ulrich Drepper <drepper@redhat.com>
32520
32521 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32522 * sysdeps/x86_64/addmul_1.S: Likewise.
32523 * sysdeps/x86_64/lshift.S: Likewise.
32524 * sysdeps/x86_64/mul_1.S: Likewise.
32525 * sysdeps/x86_64/rshift.S: Likewise.
32526 * sysdeps/x86_64/sub_n.S: Likewise.
32527 * sysdeps/x86_64/submul_1.S: Likewise.
32528
ece29840
ST
325292010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32530
0959ffc9
UD
32531 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32532 Define __sched_param instead of SCHED_* and sched_param when
ece29840 32533 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 32534 * bits/sched.h [__need_schedparam]
ece29840 32535 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
32536 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32537 (__defined_schedparam): Define to 1.
ece29840
ST
32538 (__sched_param): New structure, identical to sched_param.
32539 (__need_schedparam): Undefine.
32540
e53a31fe
MF
325412010-08-31 Mike Frysinger <vapier@gentoo.org>
32542
fdc0c10d
MF
32543 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32544 (epoll_create1): Declare.
32545
e53a31fe
MF
32546 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32547
a726d796
AS
325482010-08-31 Andreas Schwab <schwab@redhat.com>
32549
32550 [BZ #7066]
32551 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32552 shifting retval into place.
32553
2f3e3dc7
UD
325542010-09-01 Ulrich Drepper <drepper@redhat.com>
32555
f2933da9
UD
32556 * nis/rpcsvc/nis.h: Update copyright notice.
32557 * nis/rpcsvc/nis.x: Likewise.
32558 * nis/rpcsvc/nis_callback.h: Likewise.
32559 * nis/rpcsvc/nis_callback.x: Likewise.
32560 * nis/rpcsvc/nis_object.x: Likewise.
32561 * nis/rpcsvc/nis_tags.h: Likewise.
32562 * nis/rpcsvc/yp.h: Likewise.
32563 * nis/rpcsvc/yp.x: Likewise.
32564 * nis/rpcsvc/ypupd.h: Likewise.
32565 * nis/yp_xdr.c: Likewise.
32566 * nis/ypupdate_xdr.c: Likewise.
32567
2f3e3dc7
UD
32568 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32569 mainly the body of pmap_getport. Add parameters to specify timeouts.
32570 (pmap_getport): Use __libc_rpc_getport.
32571 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32572 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32573 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32574
f3dcc2f9
AS
325752010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32576
32577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32578 fanotify_mark.
32579
6d34eb5b
RM
325802010-08-27 Roland McGrath <roland@redhat.com>
32581
32582 * sysdeps/i386/i686/multiarch/Makefile
32583 (CFLAGS-varshift.c): New variable.
32584
9ea3de11
UD
325852010-08-27 Ulrich Drepper <drepper@redhat.com>
32586
c96d23fc
UD
32587 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32588 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32589
9ea3de11
UD
32590 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32591
32592 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32593
623aac7f
L
325942010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32595
32596 * sysdeps/x86_64/strlen.S: Unroll the loop.
32597 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32598 strlen-sse2 strlen-sse2-bsf.
32599 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32600 __strlen_no_bsf if bit_Slow_BSF is set.
32601 (__strlen_sse42): Removed.
32602 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32603 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32604
8b2b7715
RM
326052010-08-25 Roland McGrath <roland@redhat.com>
32606
32607 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32608 * sysdeps/x86_64/multiarch/varshift.c: New file.
32609 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32610 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32611 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32612 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32613
e73015f2
L
326142010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32615
32616 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32617 strlen-sse2 strlen-sse2-bsf.
32618 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32619 __strlen_sse2_bsf if bit_Slow_BSF is unset.
32620 (__strlen_sse2): Removed.
32621 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32622 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32623 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32624 bit_Slow_BSF for Atom.
32625 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32626 (index_Slow_BSF): Define.
32627 (HAS_SLOW_BSF): Define.
32628
df24a73e
UD
326292010-08-25 Ulrich Drepper <drepper@redhat.com>
32630
32631 [BZ #10851]
32632 * resolv/res_init.c (__res_vinit): When no server address at all
32633 is given default to loopback.
32634
f2ac4868
RM
326352010-08-24 Roland McGrath <roland@redhat.com>
32636
09055553
RM
32637 * configure.in: Remove config-name.h generation.
32638 * configure: Regenerated.
32639 * config-name.in: File removed.
32640 * scripts/config-uname.sh: New file.
32641 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32642 ($(objdir)config-name.h): New target.
32643
f2ac4868
RM
32644 * sunrpc/rpc_parse.h: Avoid nested comment.
32645
73f27d5e
RH
326462010-08-24 Richard Henderson <rth@redhat.com>
32647 Ulrich Drepper <drepper@redhat.com>
32648 H.J. Lu <hongjiu.lu@intel.com>
32649
32650 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32651 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32652 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32653 Replace _mm_srli_si128 with __m128i_shift_right. Replace
32654 _mm_alignr_epi8 with _mm_loadu_si128.
32655 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32656 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32657 (__m128i_shift_right): Removed.
32658 * sysdeps/i386/i686/multiarch/varshift.h: New file.
32659 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32660 * sysdeps/x86_64/multiarch/varshift.h: New file.
32661 * sysdeps/x86_64/multiarch/varshift.S: New file.
32662
84b9230c
MF
326632010-08-21 Mike Frysinger <vapier@gentoo.org>
32664
32665 * configure.in: Move assembler checks to before sysdep dir checking.
32666
9bbd0ddc
PB
326672010-08-20 Petr Baudis <pasky@suse.cz>
32668
32669 * LICENSES: Sync the sunrpc license.
32670
9da4bb31
UD
326712010-08-19 Ulrich Drepper <drepper@redhat.com>
32672
a7ab6ec8
UD
32673 * sunrpc/auth_des.c: Update copyright notice once again.
32674 * sunrpc/auth_none.c: Likewise.
32675 * sunrpc/auth_unix.c: Likewise.
32676 * sunrpc/authdes_prot.c: Likewise.
32677 * sunrpc/authuxprot.c: Likewise.
32678 * sunrpc/bindrsvprt.c: Likewise.
32679 * sunrpc/clnt_gen.c: Likewise.
32680 * sunrpc/clnt_perr.c: Likewise.
32681 * sunrpc/clnt_raw.c: Likewise.
32682 * sunrpc/clnt_simp.c: Likewise.
32683 * sunrpc/clnt_tcp.c: Likewise.
32684 * sunrpc/clnt_udp.c: Likewise.
32685 * sunrpc/clnt_unix.c: Likewise.
32686 * sunrpc/des_crypt.c: Likewise.
32687 * sunrpc/des_soft.c: Likewise.
32688 * sunrpc/get_myaddr.c: Likewise.
32689 * sunrpc/getrpcport.c: Likewise.
32690 * sunrpc/key_call.c: Likewise.
32691 * sunrpc/key_prot.c: Likewise.
32692 * sunrpc/openchild.c: Likewise.
32693 * sunrpc/pm_getmaps.c: Likewise.
32694 * sunrpc/pm_getport.c: Likewise.
32695 * sunrpc/pmap_clnt.c: Likewise.
32696 * sunrpc/pmap_prot.c: Likewise.
32697 * sunrpc/pmap_prot2.c: Likewise.
32698 * sunrpc/pmap_rmt.c: Likewise.
32699 * sunrpc/rpc/auth.h: Likewise.
32700 * sunrpc/rpc/auth_unix.h: Likewise.
32701 * sunrpc/rpc/clnt.h: Likewise.
32702 * sunrpc/rpc/des_crypt.h: Likewise.
32703 * sunrpc/rpc/key_prot.h: Likewise.
32704 * sunrpc/rpc/netdb.h: Likewise.
32705 * sunrpc/rpc/pmap_clnt.h: Likewise.
32706 * sunrpc/rpc/pmap_prot.h: Likewise.
32707 * sunrpc/rpc/pmap_rmt.h: Likewise.
32708 * sunrpc/rpc/rpc.h: Likewise.
32709 * sunrpc/rpc/rpc_des.h: Likewise.
32710 * sunrpc/rpc/rpc_msg.h: Likewise.
32711 * sunrpc/rpc/svc.h: Likewise.
32712 * sunrpc/rpc/svc_auth.h: Likewise.
32713 * sunrpc/rpc/types.h: Likewise.
32714 * sunrpc/rpc/xdr.h: Likewise.
32715 * sunrpc/rpc_clntout.c: Likewise.
32716 * sunrpc/rpc_cmsg.c: Likewise.
32717 * sunrpc/rpc_common.c: Likewise.
32718 * sunrpc/rpc_cout.c: Likewise.
32719 * sunrpc/rpc_dtable.c: Likewise.
32720 * sunrpc/rpc_hout.c: Likewise.
32721 * sunrpc/rpc_main.c: Likewise.
32722 * sunrpc/rpc_parse.c: Likewise.
32723 * sunrpc/rpc_parse.h: Likewise.
32724 * sunrpc/rpc_prot.c: Likewise.
32725 * sunrpc/rpc_sample.c: Likewise.
32726 * sunrpc/rpc_scan.c: Likewise.
32727 * sunrpc/rpc_scan.h: Likewise.
32728 * sunrpc/rpc_svcout.c: Likewise.
32729 * sunrpc/rpc_tblout.c: Likewise.
32730 * sunrpc/rpc_util.c: Likewise.
32731 * sunrpc/rpc_util.h: Likewise.
32732 * sunrpc/rpcinfo.c: Likewise.
32733 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32734 * sunrpc/rpcsvc/key_prot.x: Likewise.
32735 * sunrpc/rpcsvc/klm_prot.x: Likewise.
32736 * sunrpc/rpcsvc/mount.x: Likewise.
32737 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32738 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32739 * sunrpc/rpcsvc/rex.x: Likewise.
32740 * sunrpc/rpcsvc/rstat.x: Likewise.
32741 * sunrpc/rpcsvc/rusers.x: Likewise.
32742 * sunrpc/rpcsvc/sm_inter.x: Likewise.
32743 * sunrpc/rpcsvc/spray.x: Likewise.
32744 * sunrpc/rpcsvc/yppasswd.x: Likewise.
32745 * sunrpc/rtime.c: Likewise.
32746 * sunrpc/svc.c: Likewise.
32747 * sunrpc/svc_auth.c: Likewise.
32748 * sunrpc/svc_authux.c: Likewise.
32749 * sunrpc/svc_raw.c: Likewise.
32750 * sunrpc/svc_run.c: Likewise.
32751 * sunrpc/svc_simple.c: Likewise.
32752 * sunrpc/svc_tcp.c: Likewise.
32753 * sunrpc/svc_udp.c: Likewise.
32754 * sunrpc/svc_unix.c: Likewise.
32755 * sunrpc/svcauth_des.c: Likewise.
32756 * sunrpc/xcrypt.c: Likewise.
32757 * sunrpc/xdr.c: Likewise.
32758 * sunrpc/xdr_array.c: Likewise.
32759 * sunrpc/xdr_float.c: Likewise.
32760 * sunrpc/xdr_mem.c: Likewise.
32761 * sunrpc/xdr_rec.c: Likewise.
32762 * sunrpc/xdr_ref.c: Likewise.
32763 * sunrpc/xdr_sizeof.c: Likewise.
32764 * sunrpc/xdr_stdio.c: Likewise.
32765
9da4bb31
UD
32766 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32767 handling.
32768
bdaa77bc
AS
327692010-08-19 Andreas Schwab <schwab@redhat.com>
32770
32771 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32772
fe2f79db
LM
327732010-08-19 Luis Machado <luisgpm@br.ibm.com>
32774
32775 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32776 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32777 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32778 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32779 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32780 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32781 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32782 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32783 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32784 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32785 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32786 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32787 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32788 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32789
b9b42ee0
AB
327902010-07-26 Anton Blanchard <anton@samba.org>
32791
32792 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32793 * malloc/arena.c (heap_trim): Likewise.
32794
1c06ba31
UD
327952010-08-16 Ulrich Drepper <drepper@redhat.com>
32796
32797 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32798 here. Not...
32799 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32800 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32801
f8392f40
L
328022010-08-12 H.J. Lu <hongjiu.lu@intel.com>
32803
32804 * sysdeps/i386/elf/Makefile: New file.
32805
3162f12e
AS
328062010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32807
32808 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32809 from fanotify_init.
32810 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32811 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32812
28c90b2c
UD
328132010-08-15 Ulrich Drepper <drepper@redhat.com>
32814
32815 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32816 of strncasecmp_l.
1feccb6c 32817 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 32818
ca6bb004
UD
328192010-08-14 Ulrich Drepper <drepper@redhat.com>
32820
e9f82e0d
UD
32821 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32822 strncase_l-nonascii.
32823 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32824 Add strncase_l-ssse3.
32825 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32826 * sysdeps/x86_64/strcmp.S: Likewise.
32827 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32828 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32829 * sysdeps/x86_64/strncase.S: New file.
32830 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32831 * sysdeps/x86_64/strncase_l.S: New file.
32832 * string/Makefile (strop-tests): Add strncasecmp.
32833 * string/test-strncasecmp.c: New file.
32834
32835 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32836 warning.
32837
ca6bb004
UD
32838 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32839 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32840
052fa7b3
AS
328412010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32842
32843 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32844
962dba78
UD
328452010-08-12 Ulrich Drepper <drepper@redhat.com>
32846
32847 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32848 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32849 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32850
bebff237
AM
328512010-05-01 Alan Modra <amodra@gmail.com>
32852
32853 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32854 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32855 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32856 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32857 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32858 tidying. Don't tail-call __sigjmp_save for static lib.
32859 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32860 save location.
32861 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32862 (CALL_MCOUNT): Add eh info, and nop after bl.
32863 (TAIL_CALL_SYSCALL_ERROR): New macro.
32864 (PSEUDO_RET): Use it.
32865 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32866 Correct save location of integer regs and cr.
32867 (_dl_profile_resolve): Correct cr save location. Delete nops
32868 after bl when SHARED. Reduce cfi size a little by better
32869 placement of cfi directives.
32870 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32871 make a stack frame. Instead use parm save area as a temp.
32872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32873 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
32874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32875 Don't make a stack frame for parent, use parm save area.
32876 Increase child stack frame to 112 bytes. Don't save unused reg,
32877 and adjust reg usage. Set up cfi on error recovery and
32878 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32880 (__makecontext): Add dummy nop after jump to exit.
32881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32882 Use correct parm save area and cr save, reduce stack frame.
32883 Correct cfi for possible PSEUDO_RET frame setup.
32884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32885 Branch to local label emitted by PSEUDO_RET rather than
32886 __syscall_error.
32887
02637374
AS
328882010-08-12 Andreas Schwab <schwab@redhat.com>
32889
32890 [BZ #11904]
32891 * locale/programs/locale.c (print_assignment): New function.
32892 (show_locale_vars): Use it.
32893
c3e2f19b
UD
328942010-08-11 Ulrich Drepper <drepper@redhat.com>
32895
3cdaa6ad
UD
32896 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32897 field.
32898 (struct statfs64): Likewise.
32899 (_STATFS_F_FLAGS): Define.
32900 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32901 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32902 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32903 (ST_VALID): Define locally.
32904 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32905 __statvfs_getflags, use the provided value.
32906 * sysdeps/unix/sysv/linux/kernel-features.h: Define
32907 __ASSUME_STATFS_F_FLAGS.
32908
754f7da3
UD
32909 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32910
10b3bedc
UD
32911 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32912 Add sys/fanotify.h.
32913 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32914 fanotify_mask for GLIBC_2.13.
32915 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32916 fanotify_init and fanotify_mark.
32917 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32918 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32919
c08fb0d7
UD
32920 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32921 Add prlimit.
32922 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32923 prlimit64 for GLIBC_2.13.
32924 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32925 prlimit64.
32926 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32927 syscall.
32928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32929 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32930 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32931 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32932 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
32933 add prlimit alias.
32934 * sysdeps/unix/sysv/linux/prlimit.c: New file.
32935
15bac72b
UD
32936 [BZ #11903]
32937 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32938 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32939
c3e2f19b
UD
32940 * nss/Makefile: Add rules to build and run tst-nss-test1.
32941 * shlib-versions: Add entry for libnss_test1.
32942 * nss/nss_test1.c: New file.
32943 * nss/tst-nss-test1.c: New file.
32944
32945 * nss/nsswitch.c (__nss_database_custom): Define new variable.
32946 (__nss_configure_lookup): Set appropriate entry in
32947 __nss_configure_lookup to true.
32948 * nss/nsswitch.h: Define enum with indeces of databases in
32949 databases and __nss_database_custom arrays. Declare
32950 __nss_database_custom.
32951 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32952 to avoid using nscd when custom rules are installed.
32953 * nss/getXXbyYY_r.c: Likewise.
32954 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32955
32956 * nss/nss_files/files-parse.c: Whitespace fixes.
32957
f15ce4d8
UD
329582010-08-09 Ulrich Drepper <drepper@redhat.com>
32959
32960 [BZ #11883]
32961 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32962 * posix/fnmatch_loop.c: Likewise.
32963
d22e4cc9
AK
329642010-07-17 Andi Kleen <ak@linux.intel.com>
32965
32966 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32967 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32968 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32969 * Versions.def [GLIBC_2.13]: Add.
32970
805bc17d
UD
329712010-08-06 Ulrich Drepper <drepper@redhat.com>
32972
32973 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32974 Also fail if tpwd after pwuid call is NULL.
32975
5a42321d
ST
329762010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
32977
32978 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
32979 when converting to ms.
32980
fd3ebeda
ST
329812010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32982
32983 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
32984 EOPNOTSUPP errors with ENOTTY.
32985 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
32986 EOPNOTSUPP errors with ENOTTY.
32987
73507d3a
UD
329882010-07-31 Ulrich Drepper <drepper@redhat.com>
32989
32990 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32991 Add strcasecmp_l-ssse3.
32992 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
32993 strcasecmp.
32994 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
32995 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
32996 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
32997
fe36dd02
UD
329982010-07-30 Ulrich Drepper <drepper@redhat.com>
32999
66f6765a
UD
33000 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33001
42e08a54
UD
33002 * string/Makefile (strop-tests): Add strcasecmp.
33003 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33004 strcasecmp_l-nonascii.
33005 (gen-as-const-headers): Add locale-defines.sym.
33006 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33007 * sysdeps/x86_64/strcasecmp.S: New file.
33008 * sysdeps/x86_64/strcasecmp_l.S: New file.
33009 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33010 * sysdeps/x86_64/locale-defines.sym: New file.
33011 * string/test-strcasecmp.c: New file.
33012
fe36dd02
UD
33013 * string/test-strcasestr.c: Test both ends of the range of characters.
33014 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33015
48cbc0d6
RM
330162010-07-29 Roland McGrath <roland@redhat.com>
33017
76e6d6bc 33018 [BZ #11856]
48cbc0d6
RM
33019 * manual/locale.texi (Yes-or-No Questions): Fix example code.
33020
880113d9
UD
330212010-07-27 Ulrich Drepper <drepper@redhat.com>
33022
33023 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33024 for ld.so.
33025
deb9cabb
AS
330262010-07-27 Andreas Schwab <schwab@redhat.com>
33027
33028 * manual/memory.texi (Malloc Tunable Parameters): Document
33029 M_PERTURB.
33030
1c7570ff
RM
330312010-07-26 Roland McGrath <roland@redhat.com>
33032
33033 [BZ #11840]
33034 * configure.in (-fgnu89-inline check): Set and substitute
33035 gnu89_inline, not libc_cv_gnu89_inline.
33036 * configure: Regenerated.
33037 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33038
24fb0f88
UD
330392010-07-26 Ulrich Drepper <drepper@redhat.com>
33040
33041 * string/test-strnlen.c: New file.
33042 * string/Makefile (strop-tests): Add strnlen.
33043 * string/tester.c (test_strnlen): Add a few more test cases.
33044 * string/tst-strlen.c: Better error reporting.
33045
33046 * sysdeps/x86_64/strnlen.S: New file.
33047
8e96b93a
UD
330482010-07-24 Ulrich Drepper <drepper@redhat.com>
33049
33050 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33051 lower-latency instructions.
33052
dbc676d4
UD
330532010-07-23 Ulrich Drepper <drepper@redhat.com>
33054
33055 * string/test-strcasestr.c: New file.
33056 * string/test-strstr.c: New file.
33057 * string/Makefile (strop-tests): Add strstr and strcasestr.
33058 * string/str-two-way.h: Don't undefine MAX.
33059 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33060
f6a31e0e
AS
330612010-07-21 Andreas Schwab <schwab@redhat.com>
33062
33063 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33064 strcasestr-nonascii.
33065 (CFLAGS-strcasestr-nonascii.c): Define.
33066 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33067 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33068 Remove unused attribute.
33069
5dbc3b6c
RM
330702010-07-20 Roland McGrath <roland@redhat.com>
33071
33072 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33073 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
33074 ld.so.cache was broken. With it, there is no way to disable dsocaps
33075 like LD_HWCAP_MASK can disable hwcaps.
33076
23d101d8
EPM
330772010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33078
33079 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33080
cc9f2e47
UD
330812010-07-16 Ulrich Drepper <drepper@redhat.com>
33082
33083 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33084 call in strcasestr.
33085 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33086 __strcasestr_sse42_nonascii.
33087 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33088 strcasestr-nonascii.c.
33089 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33090
77c1b069
LM
330912010-06-15 Luis Machado <luisgpm@br.ibm.com>
33092
33093 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33094 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33095 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33096 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33097
440566c3
UD
330982010-07-09 Ulrich Drepper <drepper@redhat.com>
33099
33100 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33101 fcntl.
33102
5be9d05d
AS
331032010-07-06 Andreas Schwab <schwab@redhat.com>
33104
c30b7ee2 33105 [BZ #11577]
5be9d05d
AS
33106 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33107 dl_signal_cerror.
33108
8a492a67
UD
331092010-07-06 Ulrich Drepper <drepper@redhat.com>
33110
33111 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33112 _PC_PIPE_BUF using F_GETPIPE_SZ.
33113
713df3d5
RM
331142010-07-05 Roland McGrath <roland@redhat.com>
33115
33116 * manual/arith.texi (Rounding Functions): Fix rint description
33117 implicit in round description.
33118
702e8f14
UD
331192010-07-02 Ulrich Drepper <drepper@redhat.com>
33120
33121 * elf/Makefile: Fix linking for a few tests to make recent linker
33122 happy.
33123
52ed8be9
AS
331242010-06-30 Andreas Schwab <schwab@redhat.com>
33125
33126 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33127 $(common-objpfx)libc_nonshared.a.
33128
f47c9a11
LM
331292010-06-21 Luis Machado <luisgpm@br.ibm.com>
33130
33131 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
33132 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
33133 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33134 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33135 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
33136 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
33137 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33138 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
33140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
33141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
33142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33153 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33154 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33155 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33156 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33157 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33158 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33159 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33160 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33161 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33162 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33163 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33164 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33179
6fb8cbcb
L
331802010-06-25 H.J. Lu <hongjiu.lu@intel.com>
33181
33182 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33183 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
33184 * string/memmove.c (memmove): Renamed to ...
33185 (MEMMOVE): ...this. Default to memmove.
33186 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33187 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33188 (END_CHK): Define.
33189 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33190 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33191 mempcpy-ssse3-back memmove-ssse3-back.
33192 * sysdeps/x86_64/multiarch/bcopy.S: New file .
33193 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
33194 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
33195 * sysdeps/x86_64/multiarch/memcpy.S: New file.
33196 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33197 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33198 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33199 * sysdeps/x86_64/multiarch/memmove.c: New file.
33200 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33201 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33202 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33203 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33204 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
33205 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
33206 Define.
33207 (index_Fast_Copy_Backward): Define.
33208 (HAS_ARCH_FEATURE): Define.
33209 (HAS_FAST_REP_STRING): Define.
33210 (HAS_FAST_COPY_BACKWARD): Define.
33211
4e733bac 332122010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
33213
33214 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33215 Restore proper fallback handling.
33216
63c4ed22
UD
332172010-06-19 Ulrich Drepper <drepper@redhat.com>
33218
ac2b484c
UD
33219 [BZ #11701]
33220 * posix/group_member.c (__group_member): Correct checking loop.
33221
63c4ed22
UD
33222 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33223 OOM in getpwuid_r correctly. Return error number when the caller
33224 should return, otherwise -1.
33225 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33226 call returning > 0 value.
33227 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33228
765ade4b
AS
332292010-06-07 Andreas Schwab <schwab@redhat.com>
33230
33231 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33232 libc_nonshared.a from targets in modules-names.
33233
80da2e09
KS
332342010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
33235
33236 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33237 requires it.
33238
158db122
LM
332392010-06-10 Luis Machado <luisgpm@br.ibm.com>
33240
33241 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33242 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33243 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33244 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33245
caa78cf8
AS
332462010-06-02 Andreas Schwab <schwab@redhat.com>
33247
33248 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33249
b2ef2c01
UD
332502010-06-14 Ulrich Drepper <drepper@redhat.com>
33251
33252 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33253 and F_GETPIPE_SZ.
33254 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33255 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33256 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33257 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33258 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33259 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33260
fbd643b6
RM
332612010-06-14 Roland McGrath <roland@redhat.com>
33262
33263 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33264
f32f2869
JJ
332652010-06-07 Jakub Jelinek <jakub@redhat.com>
33266
33267 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33268 __REDIRECT followed by __THROW.
33269 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33270 * posix/getopt.h (getopt): Likewise.
33271
2a50c078
EPM
332722010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33273
33274 * hurd/lookup-at.c (__file_name_lookup_at): Accept
33275 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
33276 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33277 in AT_FLAGS.
33278 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33279 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33280
eb5ad2eb
LM
332812010-05-28 Luis Machado <luisgpm@br.ibm.com>
33282
33283 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33284
3c88fe1e
L
332852010-05-26 H.J. Lu <hongjiu.lu@intel.com>
33286
33287 [BZ #11640]
33288 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33289 Properly check family and model.
33290
d2f73151
TY
332912010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
33292
33293 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33294
ebd2e13d
LM
332952010-05-24 Luis Machado <luisgpm@br.ibm.com>
33296
33297 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33298
b32b8b45
UD
332992010-05-21 Ulrich Drepper <drepper@redhat.com>
33300
33301 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33302 symbol reference.
33303
9acbe24d
AS
333042010-05-19 Andreas Schwab <schwab@redhat.com>
33305
33306 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33307 symbol reference.
33308
f0ccf6ea
AS
333092010-05-21 Andreas Schwab <schwab@redhat.com>
33310
3d04ff3a
AS
33311 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33312 and internal_recvmmsg.
33313 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33314 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33315 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33316 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33317
f0ccf6ea
AS
33318 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33319 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33320 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33321
5b08ac57
AS
333222010-05-20 Andreas Schwab <schwab@redhat.com>
33323
33324 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33325
4828935d
LM
333262010-05-17 Luis Machado <luisgpm@br.ibm.com>
33327
33328 POWER7 optimizations.
33329 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33330 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33331
373d545e
UD
333322010-05-19 Ulrich Drepper <drepper@redhat.com>
33333
33334 * version.h: Update for 2.13 development version.
33335
21a2b1ae
AS
333362010-05-12 Andrew Stubbs <ams@codesourcery.com>
33337
33338 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33339 exceptions. Return 0.
33340
3f7dcb2b
RM
333412010-05-07 Roland McGrath <roland@redhat.com>
33342
33343 * elf/ldconfig.c (main): Add a const.
33344
5f24d53a 333452010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 33346
a160f8d8
UD
33347 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33348 (args_options): Add no-idn option.
33349 (ahosts_keys_int): Add idn_flags to ai_flags.
33350 (parse_option): Handle 'i' option to clear idn_flags.
33351
5f24d53a
UD
33352 * malloc/malloc.c (_int_free): Possible race in the most recently
33353 added check. Only act on the data if no current modification
33354 happened.
265bb1ce
UD
33355
33356See ChangeLog.17 for earlier changes.