]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Update copyright years
[thirdparty/glibc.git] / ChangeLog
CommitLineData
006dd861
JL
12012-06-21 Jeff Law <law@redhat.com>
2
3 [BZ #14277]
4 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
5 free. Simplify list management for _LIBC case.
6
79662d42
JM
72012-06-21 Joseph Myers <joseph@codesourcery.com>
8
b7abb4bf
JM
9 [BZ #14273]
10 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11 Clear sign bit of 64-bit integer value before comparing against
12 overflow value.
13
79662d42
JM
14 * sysdeps/mach/configure: Regenerated.
15
1f150908
L
162012-06-21 H.J. Lu <hongjiu.lu@intel.com>
17
18 [BZ #14278]
19 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
20
28363bbf
JL
212012-06-21 Jeff Law <law@redhat.com>
22
23 [BZ #13882]
24 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
25 uint16_t for elements in the "seen" array to avoid char overflows.
26 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27 * elf/dl-open.c (dl_open_worker): Likewise.
28
09615db4
CD
292012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
30
31 * scripts/list-sources.sh: Scan PORTS for translations.
32 * po/libc.pot: Regenerated.
33
2174c6dd
AJ
342012-06-21 Andreas Jaeger <aj@suse.de>
35
36 [BZ #12194]
37 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
38 warning.
39 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
40 * bits/byteswap-16.h (__bswap_16): Likewise.
41 * bits/byteswap.h (__bswap_constant_16): Likewise.
42
3ee947b1
L
432012-06-18 H.J. Lu <hongjiu.lu@intel.com>
44
45 [BZ #14117]
a2f34833
L
46 * sysdeps/i386/fpu_control.h: Removed.
47 * sysdeps/x86_64/fpu_control.h: Moved to ...
48 * sysdeps/x86/fpu_control.h: Here.
49
3ee947b1
L
50 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
51 (_FPU_SETCW): Likewise.
52
ed1825f8
L
532012-06-15 H.J. Lu <hongjiu.lu@intel.com>
54
25f1282a
L
55 [BZ #14117]
56 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
57 * sysdeps/x86/fpu/bits/mathinline.h: This.
58 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
59
ed1825f8
L
60 [BZ #14050]
61 [BZ #14117]
62 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
63 functions if __x86_64__ is defined.
64
36d54b74
CLT
652012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
66
67 * string/endian.h: Add !__ASSEMBLER__ condition for including
68 conversion interfaces.
69
10285c21
JM
702012-06-15 Joseph Myers <joseph@codesourcery.com>
71
72 [BZ #14241]
73 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
74 of ABS(x) in calculating zero to negative powers other than odd
75 integers.
76 * math/libm-test.inc (pow_test): Add more tests.
77
06c5abbd
AJ
782012-06-15 Andreas Jaeger <aj@suse.de>
79
80 * manual/contrib.texi (Contributors): Update entry of Liubov
81 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
82 Machado Filho.
83
a3aeac40
CH
842012-06-15 Cyril Hrubis <metan@ucw.cz>
85
86 * string/string.h: Add __wur to GNU version of strerror_r.
87
49bdf4c1
L
882012-06-14 H.J. Lu <hongjiu.lu@intel.com>
89
90 [BZ #14229]
91 * string/Makefile (tests): Add tst-strtok_r.
92 * string/tst-strtok_r.c: New file.
93 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
94 RAX_LP/RDX_LP on SAVE_PTR.
95
834f9b8d
RM
962012-06-14 Roland McGrath <roland@hack.frob.com>
97
98 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
99
75fa1921
JM
1002012-06-14 Joseph Myers <joseph@codesourcery.com>
101
102 * libm_test.inc (csqrt_test): Allow more spurious underflow
103 exceptions.
104 (j0_test): Likewise.
105 (j1_test): Likewise.
106 (y0_test): Likewise.
107 (y1_test): Likewise.
108
771766df
CD
1092012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
110
111 * po/Makefile (libc.pot): Use UTF-8 charset.
112
ceb9e56b
PP
1132012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
114
115 [BZ #14210]
116 Suppress sign-conversion warning from FD_SET.
117 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
118 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
119 not unsigned long int.
120 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
121
ddb28975
L
1222012-06-12 H.J. Lu <hongjiu.lu@intel.com>
123
124 [BZ #14050]
125 [BZ #14117]
126 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
127 __extern_always_inline instead of __extern_inline.
128 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
129 (__signbit): Likewise.
130 (__signbitl): Support C++ namespace.
131 (lrintf): New inline function.
132 (lrint): Likewise.
133 (llrintf): Likewise.
134 (llrint): Likewise.
135 (fmaxf): Likewise.
136 (fmax): Likewise.
137 (fminf): Likewise.
138 (fmin): Likewise.
139 (rint): Likewise.
140 (rintf): Likewise.
141 (ceil): Likewise.
142 (ceilf): Likewise.
143 (floor): Likewise.
144 (floorf): Likewise.
145 (nearbyint): Likewise.
146 (nearbyintf): Likewise.
147
d7b4fb26
TS
1482012-06-12 Thomas Schwinge <thomas@codesourcery.com>
149
150 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
151 non-default versions.
152
eb55f5c2
RM
1532012-06-11 Roland McGrath <roland@hack.frob.com>
154
155 [BZ #14218]
156 * manual/argp.texi (Argp): Reword argp_parse description slightly.
157
366af02c
TS
1582012-06-09 Thomas Schwinge <thomas@codesourcery.com>
159
99ff6e5c
TS
160 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
161 (FE_UPWARD, FE_DOWNWARD): Don't define.
162 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
163 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
164
366af02c
TS
165 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
166 reading it.
167 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
168 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
169
793ea851
KK
1702012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
171
172 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
173 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
174 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
175 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
176
a728a38f
L
1772012-06-06 H.J. Lu <hongjiu.lu@intel.com>
178
179 [BZ #14117]
c08010c7
L
180 * sysdeps/i386/fpu/bits/fenv.h: Removed.
181 * sysdeps/i386/fpu/Implies: New file.
182 * sysdeps/x86_64/fpu/Implies: Likewise.
183 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
184 * sysdeps/x86/fpu/bits/fenv.h: This.
185
a728a38f
L
186 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
187 __SSE_MATH__.
188
6e230d11
SP
1892012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
190
191 [BZ #14134]
192 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
193 character 0xffff that matches the last element of the
194 conversion table.
195
1b671feb
AZ
1962012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
197
198 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
199 fmodl commit.
200
6043738b
AZ
2012012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
202
203 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
204 values higher than 25.6283.
205
34ae0b32
AZ
2062012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
207
208 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
209 subnormal exponent extraction and add some __builtin_expect.
210 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
211 Fix for subnormal mantissa calculation.
212
1214ec8f
MF
2132012-06-04 Mike Frysinger <vapier@gentoo.org>
214
215 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
216 cpu2 is -1 and errno is not ENOSYS.
217
f3d1f93c
L
2182012-06-04 H.J. Lu <hongjiu.lu@intel.com>
219
220 [BZ #14117]
0e4a3cd7
L
221 * sysdeps/i386/i486/bits/string.h: Renamed to ...
222 * sysdeps/x86/bits/string.h: This.
223 * sysdeps/x86_64/bits/string.h: Removed.
224
6704c645
L
225 * sysdeps/i386/i486/bits/string.h: Define inline functions only
226 if not compiling for x86-64, but compiling for >= i486.
227
48495318
L
228 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
229 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
230
14adcbfc
L
231 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
232 New macro from Linux kernel 3.4.0.
233 (FP_XSTATE_MAGIC2): Likewise.
234 (FP_XSTATE_MAGIC2_SIZE): Likewise.
235 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
236 (struct _fpx_sw_bytes): New struct.
237 (struct _xsave_hdr): Likewise.
238 (struct _ymmh_state): Likewise.
239 (struct _xstate): Likewise.
240
68e408ab
L
241 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
242 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
243 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
244 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
245 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
246 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
247
f3d1f93c
L
248 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
249 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
250 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
251 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
252 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
253 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
254
d9dc34cd
TMQMF
2552012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
256
257 [BZ #13743]
258 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
259 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
260 (sysdep_headers): Include sys/platform/ppc.h.
261 * sysdeps/powerpc/test-gettimebase.c: Test for
262 __ppc_get_timebase() to catch future ISA opcode/insn changes.
263 * manual/Makefile (appendices): Include platform.texi.
264 * manual/contrib.texi (Contributors): Update @node pointers.
265 * manual/maint.texi (Maintenance): Likewise.
266 (Platform): New node.
267 * manual/platform.texi: New file. Document the new features.
268
4af3879c
SP
2692012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
270 Jakub Jelinek <jakub@redhat.com>
271
272 [BZ #14188]
273 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
274 where __builtin_expect is unavailable.
275
2fd6ff13
DM
2762012-06-03 David S. Miller <davem@davemloft.net>
277
278 * stdlib/longlong.h: Updated from GCC.
279
173f7220
AS
2802012-06-02 Andreas Schwab <schwab@linux-m68k.org>
281
282 [BZ #14042]
283 * sysdeps/powerpc/powerpc32/mcount.c: New file.
284 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
285 __mcount_internal.
286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
287 (GLIBC_2.16): Likewise.
288
f34a1c6f
L
2892012-06-01 H.J. Lu <hongjiu.lu@intel.com>
290
291 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
292
88a4576f
JM
2932012-06-01 Joseph Myers <joseph@codesourcery.com>
294
ea32bcdd
JM
295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
296 (default-abi): New variable.
297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
298 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
299 variable.
300 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
301 Likewise.
302 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
303 Likewise.
304 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
305 Likewise.
306
88a4576f
JM
307 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
308 definition. Document in comment.
309
402fe938
DM
3102012-06-01 David S. Miller <davem@davemloft.net>
311
312 * stdlib/longlong.h: Updated from GCC.
313
3553723f
L
3142012-06-01 H.J. Lu <hongjiu.lu@intel.com>
315
316 [BZ #14117]
3bd872c4
L
317 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
318 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
319 sys/debugreg.h sys/io.h here.
320 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
321 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
322 sys/io.h.
323 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
324 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
325 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
326 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
327 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
328 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
329
3553723f
L
330 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
331 Define only if __x86_64__ is defined.
332
4842e4fe
JM
3332012-06-01 Joseph Myers <joseph@codesourcery.com>
334
c5bfe3d5
JM
335 [BZ #14048]
336 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
337 Use int64_t for variable i.
338 * math/libm-test.inc (fmod_test): Add more tests.
339
4842e4fe
JM
340 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
341 z computation is not scheduled after fetestexcept.
342 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
343 Use math_force_eval instead of asm to ensure calculation scheduled
344 before exception test.
345 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
346 Ensure a1 + u.d computation is not scheduled after fetestexcept.
347
efb73488
AJ
3482012-06-01 Aurelien Jarno <aurelien@aurel32.net>
349
350 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
351 computation is not scheduled after fetestexcept.
352
29bcce7c
L
3532012-06-01 H.J. Lu <hongjiu.lu@intel.com>
354
355 [BZ #14117]
356 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
357 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
358
73a68f94
AZ
3592012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
360
361 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
362 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
363
67b6df78
L
3642012-05-31 H.J. Lu <hongjiu.lu@intel.com>
365
edf2933a 366 [BZ #14117]
ebc64a18
L
367 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
368 <bits/wordsize.h>.
369 (__WCHAR_MIN): Support __WORDSIZE == 64.
370 (__WCHAR_MAX): Likewise.
371
edf2933a
L
372 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
373 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
374
57c6cf40
L
375 [BZ #14183]
376 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
377 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
378
67b6df78 379 [BZ #14117]
8eb6281e
L
380 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
381 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
382
aac639f4
L
383 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
384 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
385
67b6df78
L
386 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
387 Defined to 1 if __x86_64__ isn't defined.
388 (_STAT_VER_LINUX_OLD): New.
389 (st_atime): Remove duplicate.
390 (st_mtime): Likewise.
391 (st_ctime): Likewise.
392
1c2cfe81
DM
3932012-05-31 David S. Miller <davem@davemloft.net>
394
395 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
396 entries.
397
5be8418c
AS
3982012-06-01 Andreas Schwab <schwab@linux-m68k.org>
399
e7725326
AS
400 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
401 gen-libm-test.pl.
402
5be8418c
AS
403 [BZ #14132]
404 * elf/dl-reloc.c: Include <_itoa.h>.
405 (_dl_reloc_bad_type): Remove use of INTUSE.
406 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
407 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
408 * stdio-common/psiginfo.c (psiginfo): Likewise.
409 * stdio-common/psignal.c (psignal): Likewise.
410 * string/strsignal.c (strsignal): Likewise.
411 * include/signal.h (_sys_siglist): Declare hidden proto.
412 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
413 INTVARDEF with libc_hidden_data_def.
414 * stdio-common/itoa-udigits.c: Likewise.
415 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
416 (_itoa_lower_digits_internal): Remove declaration.
417 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
418 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
419 (_sys_sigabbrev_internal): Remove aliases.
420 (_sys_siglist): Define hidden alias.
421
507352f1
MT
4222012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
423
424 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
425 bits/sysctl.h.
426
42bbb1c3
L
4272012-05-31 H.J. Lu <hongjiu.lu@intel.com>
428
429 [BZ #14117]
6bd784b6
L
430 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
431 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
432
8bca20f0
L
433 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
434 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
435 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
436 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
437 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
438 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
439
f9e890a9
L
440 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
441 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
442 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
443
471101a1
L
444 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
445 with __addr.
446 (insw): Likewise.
447 (insl): Likewise.
448 (outsb): Likewise.
449 (outsw): Likewise.
450 (outsl): Likewise.
451
6451c862
L
452 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
453 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
454 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
455
a254b8c9
L
456 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
457 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
458 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
459 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
460 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
461 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
462
b8dfdd92
L
463 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
464 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
465
578cd270
L
466 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
467 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
468
de662f5f
L
469 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
470 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
471 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
472
25653439
L
473 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
474 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
475 to ...
476 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
477
6bad24a0
L
478 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
479 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
480 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
481
42bbb1c3
L
482 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
483 for x86-64.
484 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
485
2d10d547
JM
4862012-05-31 Joseph Myers <joseph@codesourcery.com>
487
488 * math/math.h (M_El): Use two more decimal places.
489 (M_LOG2El): Likewise.
490 (M_LOG10El): Likewise.
491 (M_LN2l): Likewise.
492 (M_LN10l): Likewise.
493 (M_PIl): Likewise.
494 (M_PI_2l): Likewise.
495 (M_PI_4l): Likewise.
496 (M_1_PIl): Likewise.
497 (M_2_PIl): Likewise.
498 (M_2_SQRTPIl): Likewise.
499 (M_SQRT2l): Likewise.
500 (M_SQRT1_2l): Likewise.
501
f230c29b
DM
5022012-05-31 David S. Miller <davem@davemloft.net>
503
504 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
505 values between float registers.
506 * sysdeps/sparc/sparc64/memset.S: Likewise.
507 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
508
fed806c3
MF
5092012-05-31 Mike Frysinger <vapier@gentoo.org>
510
511 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
512 -D_FORTIFY_SOURCE=1.
513 (CPPFLAGS-tst-longjmp_chk.c): Define.
514 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
515 (CPPFLAGS-tst-longjmp_chk2.c): Define.
516 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
517 CFLAGS-tst-wchar-h.c.
518
30917259
MP
5192012-05-31 Marek Polacek <polacek@redhat.com>
520
521 [BZ #14132]
522 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
523 __endmntent_internal): Remove declaration.
524 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
525 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
526 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
527
1c58d5dc
DM
5282012-05-30 David S. Miller <davem@davemloft.net>
529
530 * sysdeps/sparc/sparc32/soft-fp/q_util.c
531 (___Q_simulate_exceptions): Use real FP ops rather than writing
532 into the %fsr.
533 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
534 Likewise.
535
7dc00e0d
L
5362012-05-30 H.J. Lu <hongjiu.lu@intel.com>
537
538 [BZ #14117]
0bd53985
L
539 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
540 * sysdeps/x86/bits/xtitypes.h: This.
541
3a257e66
L
542 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
543 * sysdeps/x86/bits/wordsize.h: This.
544
62f62904
L
545 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
546 * sysdeps/x86/bits/huge_vall.h: This.
547
404fe9d9
L
548 * sysdeps/i386/bits/select.h: Removed.
549 * sysdeps/x86_64/bits/select.h: Renamed to ...
550 * sysdeps/x86/bits/select.h: This.
551
d48d0446
L
552 * sysdeps/i386/bits/setjmp.h: Removed.
553 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
554 * sysdeps/x86/bits/setjmp.h: This.
555
7dc00e0d
L
556 * sysdeps/i386/bits/mathdef.h: Removed.
557 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
558 * sysdeps/x86/bits/mathdef.h: This.
559
03277f8f
AS
5602012-05-30 Andreas Schwab <schwab@linux-m68k.org>
561
562 [BZ #14132]
563 * include/sys/socket.h (__connect_internal)
564 (__libc_sa_len_internal): Remove declaration.
565 (__connect, __libc_sa_len): Declare hidden_proto.
566 (SA_LEN): Remove use of INTUSE.
567 * socket/connect.c: Add libc_hidden_def.
568 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
569 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
570 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
571 alias.
572 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
573 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
574 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
575 of adding _internal alias.
576
13764867
L
5772012-05-30 H.J. Lu <hongjiu.lu@intel.com>
578
579 [BZ #14117]
6bd97696
L
580 * sysdeps/i386/bits/link.h: Removed.
581 * sysdeps/i386/bits/linkmap.h: Likewise.
582 * sysdeps/x86_64/bits/link.h: Renamed to ...
583 * sysdeps/x86/bits/link.h: This.
584 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
585 * sysdeps/x86/bits/linkmap.h: This.
586
f726f0bb
L
587 * sysdeps/i386/bits/endian.h: Removed.
588 * sysdeps/x86_64/bits/endian.h: Renamed to ...
589 * sysdeps/x86/bits/endian.h: This.
590
13764867
L
591 * sysdeps/i386/bits/byteswap.h: Removed.
592 * sysdeps/i386/bits/byteswap-16.h: Likewise.
593 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
594 * sysdeps/x86/bits/byteswap.h: This.
595 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
596 * sysdeps/x86/bits/byteswap-16.h: This.
597 * sysdeps/i386/Implies: Add x86.
598 * sysdeps/x86_64/Implies: Likewise.
599
ae251b0b
DM
6002012-05-30 David S. Miller <davem@davemloft.net>
601
602 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
603 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
604 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
605 (FP_TRAPPING_EXCEPTIONS): Define.
606 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
607 (FP_TRAPPING_EXCEPTIONS): Define.
608 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
609 subnormals only when inexact has been signalled or underflow
610 exceptions are enabled.
611 (_FP_PACK_CANONICAL): Likewise.
612
d5c90867
L
6132012-05-30 H.J. Lu <hongjiu.lu@intel.com>
614
615 [BZ #14183]
616 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
617 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
618
63f1549e
RH
6192012-05-30 Richard Henderson <rth@twiddle.net>
620
8d8f2279
RH
621 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
622 with #ifndef NOT_IN_libc.
623
63f1549e
RH
624 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
625 marked to avoid plt entry.
626
0ab0291b
L
6272012-05-30 H.J. Lu <hongjiu.lu@intel.com>
628
629 [BZ #14112]
630 * Makeconfig (default-abi): New macro.
631 (abi-includes): Likewise.
632 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
633 $(abi-$(default-abi)-lib-soname) for soname if defined.
634 ($(common-objpfx)gnu/lib-names.stmp): Generate from
635 abi-variants.
636 * Makefile (installed-stubs): Likewise.
637 * include/stubs-biarch.h: Removed.
638 * scripts/lib-names.awk: Only handle one library at a time.
639 * scripts/soversions.awk: Remove WORDSIZE support.
640 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
641 entries.
642 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
643 Removed.
644 (syscall-list-default-condition): Likewise.
645 (syscall-list-default-condition): Likewise.
646 (syscall-list-includes): Likewise.
647 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
648 syscall-list-* with abi-*. Handle undefined abi-variants.
649 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
650 * sysdeps/unix/sysv/linux/i386/Implies: New file.
651 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
652 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
653 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
654 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
655 Removed.
656 (syscall-list-32-options): Likewise.
657 (syscall-list-32-condition): Likewise.
658 (syscall-list-64-options): Likewise.
659 (syscall-list-64-condition): Likewise.
660 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
661 macro.
662 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
663 Renamed to ...
664 (abi-*): This.
665 (abi-64-ld-soname): New macro.
666 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
667 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
668 Renamed to ...
669 (abi-*): This.
670 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
671 * sysdeps/x86_64/x32/shlib-versions: Likewise.
672
4da0431d
JM
6732012-05-30 Joseph Myers <joseph@codesourcery.com>
674
3a85279c
JM
675 * sysdeps/unix/sysv/linux/kernel-features.h
676 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
677 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
678 include <kernel-features.h>.
679 [!__NR_ftruncate64]: Remove conditional code.
680 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
681 [__NR_ftruncate64]: Make code unconditional.
682 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
683 * sysdeps/unix/sysv/linux/truncate64.c: Do not
684 include <kernel-features.h>.
685 [!__NR_ftruncate64]: Remove conditional code.
686 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
687 [__NR_ftruncate64]: Make code unconditional.
688 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
690 include <kernel-features.h>.
691 [!__NR_ftruncate64]: Remove conditional code.
692 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
693 [__NR_ftruncate64]: Make code unconditional.
694 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
696 include <kernel-features.h>.
697 [!__NR_ftruncate64]: Remove conditional code.
698 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
699 [__NR_ftruncate64]: Make code unconditional.
700 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
701
4da0431d
JM
702 * configure.in (libc_cv_fpie): Weaken to a compile test using
703 LIBC_TRY_CC_OPTION.
704 * configure: Regenerated.
705
11ef492c
AK
7062012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
707
708 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
710 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
712 Refreshed.
713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
714 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
715 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
716 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
717 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
718 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
719 Refreshed.
720
d66ef399
DM
7212012-05-27 David S. Miller <davem@davemloft.net>
722
723 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
724 (___Q_zero): New.
725 (__Q_simulate_exceptions): Return void. Change to simulate
726 exceptions by writing into the %fsr.
727 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
728 (__Qp_handle_exceptions): Likewise.
729 (numbers): Delete.
730 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
731 __Qp_handle_exceptions.
732 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
733 __Qp_handle_exceptions.
734 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
735 as unused and give dummy FP_RND_NEAREST initializer.
736 (FP_INHIBIT_RESULTS): Define.
737 (___Q_simulate_exceptions): Update declaration.
738 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
739 formatting.
740 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
741 as unused and give dummy FP_RND_NEAREST initializer.
742 (__Qp_handle_exceptions): Update declaration.
743 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
744 formatting.
745
04fb54b5
TS
7462012-05-27 Thomas Schwinge <thomas@codesourcery.com>
747
748 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
749 the temporary FPU control word.
750 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
751 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
752 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
753 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
754 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
755 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
756 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
757 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
758 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
759 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
760 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
761
3f99608f
KK
7622012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
763
764 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
765 fields.
766
65a4de4e
CLT
7672012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
768
769 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
770 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
771 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
772 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
773 Likewise.
774 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
775 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
776 Likewise.
777
15749d40
UD
7782012-05-27 Ulrich Drepper <drepper@gmail.com>
779
780 * po/h.po: Update from translation team.
781
25dbcb27
AS
7822012-05-26 Andreas Schwab <schwab@linux-m68k.org>
783
3d3f8e55
AS
784 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
785
25dbcb27
AS
786 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
787 handling of denormals.
788 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
789 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
790 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
791 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
792 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
793 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
794 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
795 Likewise.
796
7ad47a80 7972012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
798
799 [BZ #14152]
800 * math/libm-test.inc (fma_test): Don't always expect underflow
801 exception.
802
9c6ea9fa
SP
8032012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
804
805 [BZ #12416]
806 * elf/tst-execstack.c: Include stackinfo.h.
807 (do_test): Adjust test case to ensure that pthread_getattr_np
808 behaviour remains the same after marking stack executable.
809
a8239222
JM
8102012-05-25 Joseph Myers <joseph@codesourcery.com>
811
812 * sysdeps/unix/sysv/linux/kernel-features.h
813 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
814 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
815 kernel-features.h.
816 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
817 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
818 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
819 kernel-features.h.
820 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
821 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
822
918b5606
L
8232012-05-25 H.J. Lu <hongjiu.lu@intel.com>
824
825 * configure.in: Define the default includes to being none.
826 * configure: Regenerated.
827
3a097cc7
RM
8282012-05-25 Roland McGrath <roland@hack.frob.com>
829
8422c9a5
RM
830 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
831 * sysdeps/x86_64/setjmp.S: Likewise.
832 * sysdeps/i386/bsd-setjmp.S: Likewise.
833 * sysdeps/i386/bsd-_setjmp.S: Likewise.
834 * sysdeps/i386/setjmp.S: Likewise.
835 * sysdeps/i386/__longjmp.S: Likewise.
836 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
837 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
838
3a097cc7
RM
839 * include/stap-probe.h: New file.
840 * configure.in: Handle --enable-systemtap.
841 * configure: Regenerated.
842 * config.h.in (USE_STAP_PROBE): New #undef.
843 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
844 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
845 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
846
21708942
JM
8472012-05-25 Joseph Myers <joseph@codesourcery.com>
848
849 [BZ #13717]
850 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
851 to 2.4.0 where earlier.
852 * sysdeps/unix/sysv/linux/configure: Regenerated.
853 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
854 <kernel-features.h>.
855 [__ASSUME_32BITUIDS]: Make code unconditional.
856 [!__ASSUME_32BITUIDS]: Remove conditional code.
857 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
858 <kernel-features.h>.
859 [__ASSUME_32BITUIDS]: Make code unconditional.
860 [!__ASSUME_32BITUIDS]: Remove conditional code.
861 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
862 [__ASSUME_32BITUIDS]: Make code unconditional.
863 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
864 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
865 <kernel-features.h>.
866 [__ASSUME_32BITUIDS]: Make code unconditional.
867 [!__ASSUME_32BITUIDS]: Remove conditional code.
868 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
869 <kernel-features.h>.
870 [__ASSUME_32BITUIDS]: Make code unconditional.
871 [!__ASSUME_32BITUIDS]: Remove conditional code.
872 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
873 <kernel-features.h>.
874 [__ASSUME_32BITUIDS]: Make code unconditional.
875 [!__ASSUME_32BITUIDS]: Remove conditional code.
876 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
877 <kernel-features.h>.
878 [__ASSUME_32BITUIDS]: Make code unconditional.
879 [!__ASSUME_32BITUIDS]: Remove conditional code.
880 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
881 <kernel-features.h>.
882 [__ASSUME_32BITUIDS]: Make code unconditional.
883 [!__ASSUME_32BITUIDS]: Remove conditional code.
884 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
885 <kernel-features.h>.
886 [__ASSUME_32BITUIDS]: Make code unconditional.
887 [!__ASSUME_32BITUIDS]: Remove conditional code.
888 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
889 <kernel-features.h>.
890 [__ASSUME_32BITUIDS]: Make code unconditional.
891 [!__ASSUME_32BITUIDS]: Remove conditional code.
892 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
893 <kernel-features.h>.
894 [__ASSUME_32BITUIDS]: Make code unconditional.
895 [!__ASSUME_32BITUIDS]: Remove conditional code.
896 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
897 <kernel-features.h>.
898 [__ASSUME_32BITUIDS]: Make code unconditional.
899 [!__ASSUME_32BITUIDS]: Remove conditional code.
900 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
901 <kernel-features.h>.
902 [__ASSUME_32BITUIDS]: Make code unconditional.
903 [!__ASSUME_32BITUIDS]: Remove conditional code.
904 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
905 <kernel-features.h>.
906 [__NR_setresgid] (__setresgid): Do not declare.
907 [__ASSUME_32BITUIDS]: Make code unconditional.
908 [!__ASSUME_32BITUIDS]: Remove conditional code.
909 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
910 <kernel-features.h>.
911 [__NR_setresuid] (__setresuid): Do not declare.
912 [__ASSUME_32BITUIDS]: Make code unconditional.
913 [!__ASSUME_32BITUIDS]: Remove conditional code.
914 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
915 <kernel-features.h>.
916 [__ASSUME_32BITUIDS]: Make code unconditional.
917 [!__ASSUME_32BITUIDS]: Remove conditional code.
918 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
919 <kernel-features.h>.
920 [__ASSUME_32BITUIDS]: Make code unconditional.
921 [!__ASSUME_32BITUIDS]: Remove conditional code.
922 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
923 <kernel-features.h>.
924 [__ASSUME_32BITUIDS]: Make code unconditional.
925 [!__ASSUME_32BITUIDS]: Remove conditional code.
926 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
927 <kernel-features.h>.
928 [__ASSUME_32BITUIDS]: Make code unconditional.
929 [!__ASSUME_32BITUIDS]: Remove conditional code.
930 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
931 <kernel-features.h>.
932 [__ASSUME_32BITUIDS]: Make code unconditional.
933 [!__ASSUME_32BITUIDS]: Remove conditional code.
934 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
935 <kernel-features.h>.
936 [__ASSUME_32BITUIDS]: Make code unconditional.
937 [!__ASSUME_32BITUIDS]: Remove conditional code.
938 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
939 <kernel-features.h>.
940 [__ASSUME_32BITUIDS]: Make code unconditional.
941 [!__ASSUME_32BITUIDS]: Remove conditional code.
942 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
943 <kernel-features.h>.
944 [__ASSUME_32BITUIDS]: Make code unconditional.
945 [!__ASSUME_32BITUIDS]: Remove conditional code.
946 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
947 <kernel-features.h>.
948 [__ASSUME_32BITUIDS]: Make code unconditional.
949 [!__ASSUME_32BITUIDS]: Remove conditional code.
950 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
951 <kernel-features.h>.
952 [__ASSUME_32BITUIDS]: Make code unconditional.
953 [!__ASSUME_32BITUIDS]: Remove conditional code.
954 * sysdeps/unix/sysv/linux/kernel-features.h
955 (__ASSUME_SETRESUID_SYSCALL): Remove.
956 (__ASSUME_SETRESGID_SYSCALL): Likewise.
957 (__ASSUME_32BITUIDS): Likewise.
958 (__ASSUME_LDT_WORKS): Likewise.
959 (__ASSUME_O_DIRECTORY): Likewise.
960 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
961 architecture but not kernel version.
962 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
963 (__ASSUME_MMAP2_SYSCALL): Likewise.
964 (__ASSUME_STAT64_SYSCALL): Likewise.
965 (__ASSUME_IPC64): Likewise.
966 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
967 <kernel-features.h>.
968 [__ASSUME_32BITUIDS]: Make code unconditional.
969 [!__ASSUME_32BITUIDS]: Remove conditional code.
970 * sysdeps/unix/sysv/linux/opendir.c: Do not include
971 <kernel-features.h>.
972 [__ASSUME_O_DIRECTORY]: Make code unconditional.
973 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
974 132096]: Remove conditional code.
975 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
976 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
977 <kernel-features.h>.
978 [__ASSUME_32BITUIDS]: Make code unconditional.
979 [!__ASSUME_32BITUIDS]: Remove conditional code.
980 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
981 <kernel-features.h>.
982 [__ASSUME_32BITUIDS]: Make code unconditional.
983 [!__ASSUME_32BITUIDS]: Remove conditional code.
984 * sysdeps/unix/sysv/linux/setegid.c: Do not include
985 <kernel-features.h>.
986 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
987 unconditional.
988 (__setresgid): Do not declare.
989 [__ASSUME_32BITUIDS]: Make code unconditional.
990 [!__ASSUME_32BITUIDS]: Remove conditional code.
991 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
992 <kernel-features.h>.
993 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
994 unconditional.
995 (__setresuid): Do not declare.
996 [__ASSUME_32BITUIDS]: Make code unconditional.
997 [!__ASSUME_32BITUIDS]: Remove conditional code.
998 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
999 <kernel-features.h>.
1000 [__ASSUME_32BITUIDS]: Make code unconditional.
1001 [!__ASSUME_32BITUIDS]: Remove conditional code.
1002 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
1003 <kernel-features.h>.
1004 [__ASSUME_32BITUIDS]: Make code unconditional.
1005 [!__ASSUME_32BITUIDS]: Remove conditional code.
1006
a386f1cc
RH
10072012-05-25 Richard Henderson <rth@twiddle.net>
1008
1009 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
1010 dl_hwcap to ifunc resolver.
1011 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
1012 elf_ifunc_invoke.
1013 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
1014 dl_hwcap to ifunc resolver.
1015 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
1016
b6550497
JM
10172012-05-24 Joseph Myers <joseph@codesourcery.com>
1018
1019 [BZ #14153]
1020 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
1021 for |x| <= 2**-26, not 2**-57.
1022 * math/libm-test.inc (acos_test): Do not allow spurious underflow
1023 exception.
1024
b0bc23a1
JL
10252012-05-24 Jeff Law <law@redhat.com>
1026
1027 * stdio-common/Makefile (tests): Add bug25.
1028 * stdio-common/bug25.c: New test.
1029
347c92e9
L
10302012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1031
1032 [BZ #13576]
1033 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
1034 multiple of MALLOC_ALIGNMENT in size.
1035 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
1036
6bcc8b3f
JM
10372012-05-24 Joseph Myers <joseph@codesourcery.com>
1038
1039 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
1040 Require >= 256.
1041 (FILENAME_MAX): Use macro-int-constant.
1042 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
1043 (_IOFBF): Use macro-int-constant.
1044 (_IOLBF): Likewise.
1045 (_IONBF): Likewise.
1046 (SEEK_CUR): Likewise.
1047 (SEEK_END): Likewise.
1048 (SEEK_SET): Likewise.
1049 (TMP_MAX): Likewise.
1050 (EOF): Use macro-int-constant. Require < 0.
1051 (NULL): Use macro-constant. Require == 0.
1052 (stdin): Require type to be FILE *.
1053 (stdout): Likewise.
1054 (stderr): Likewise.
1055 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
1056 macro-int-constant.
1057 (EXIT_SUCCESS): Likewise.
1058 (NULL): Use macro-constant. Require == 0.
1059 (RAND_MAX): Use macro-int-constant.
1060 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
1061 [C99-based standards] (strtof): Require function.
1062 [C99-based standards] (strtold): Likewise.
1063 [C99-based standards] (strtoll): Likewise.
1064 [C99-based standards] (strtoull): Likewise.
1065 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1066 [ISO || ISO99 || ISO11] (limits.h): Likewise.
1067 [ISO || ISO99 || ISO11] (math.h): Likewise.
1068 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
1069 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1070 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1071
d18ea0c5
AS
10722012-05-24 Andreas Schwab <schwab@linux-m68k.org>
1073
1074 [BZ #14132]
56d25bb8
AS
1075 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
1076 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
1077 * intl/dgettext.c (DCGETTEXT): Likewise.
1078 * intl/gettext.c (DCGETTEXT): Likewise.
1079 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
1080 * posix/regex_internal.h (gettext): Likewise.
1081 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
1082 Remove declaration.
1083 * include/argz.h (__argz_count_internal)
1084 (__argz_stringify_internal): Remove declaration.
1085 (__argz_count, __argz_stringify): Declare hidden proto.
1086 * intl/dcgettext.c: Remove use of INTDEF.
1087 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
1088 * string/argz-stringify.c: Likewise.
1089 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1090 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1091 Declare hidden proto.
d18ea0c5
AS
1092 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1093 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1094 Declare hidden proto.
1095 * include/stdio.h (__asprintf_internal): Don't declare.
1096 (__asprintf): Don't define as macro. Declare hidden proto.
1097 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
1098 (__fsetlocking): Declare hidden proto.
1099 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
1100 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
1101 hidden proto.
1102 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
1103 (_IO_setlinebuf): Remove use of INTUSE.
1104 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
1105 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
1106 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
1107 Remove declaration.
1108 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
1109 (_IO_do_flush): Remove use of INTUSE.
1110 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
1111 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
1112 (_IO_adjust_column, _IO_least_wmarker)
1113 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
1114 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
1115 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
1116 (_IO_default_doallocate, _IO_wdefault_doallocate)
1117 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
1118 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
1119 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
1120 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
1121 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
1122 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
1123 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
1124 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
1125 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
1126 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
1127 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
1128 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
1129 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
1130 proto.
1131 (_IO_flush_all_internal, _IO_adjust_column_internal)
1132 (_IO_default_uflow_internal, _IO_default_finish_internal)
1133 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
1134 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
1135 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
1136 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
1137 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
1138 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
1139 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
1140 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
1141 (_IO_file_close_internal, _IO_file_close_it_internal)
1142 (_IO_file_underflow_internal, _IO_file_overflow_internal)
1143 (_IO_file_init_internal, _IO_file_attach_internal)
1144 (_IO_file_fopen_internal, _IO_file_read_internal)
1145 (_IO_file_sync_internal, _IO_file_seek_internal)
1146 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
1147 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
1148 (_IO_str_underflow_internal, _IO_str_overflow_internal)
1149 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
1150 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
1151 (_IO_list_all_internal, _IO_link_in_internal)
1152 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
1153 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
1154 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
1155 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
1156 (_IO_do_write_internal, _IO_padn_internal)
1157 (_IO_getline_info_internal, _IO_getline_internal)
1158 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
1159 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
1160 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
1161 (_IO_vfscanf_internal, _IO_vfprintf_internal)
1162 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1163 (_IO_init_internal, _IO_un_link_internal): Don't declare.
1164 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1165 with libc_hidden_ver, remove use of INTUSE.
1166 * libio/genops.c: Likewise.
1167 * libio/freopen.c: Likewise.
1168 * libio/freopen64.c: Likewise.
1169 * libio/iofclose.c: Likewise.
1170 * libio/iofdopen.c: Likewise.
1171 * libio/iofflush.c: Likewise.
1172 * libio/iofflush_u.c: Likewise.
1173 * libio/iofgets.c: Likewise.
1174 * libio/iofgets_u.c: Likewise.
1175 * libio/iofopen.c: Likewise.
1176 * libio/iofopncook.c: Likewise.
1177 * libio/iofread.c: Likewise.
1178 * libio/iofread_u.c: Likewise.
1179 * libio/ioftell.c: Likewise.
1180 * libio/iofwrite.c: Likewise.
1181 * libio/iogetline.c: Likewise.
1182 * libio/iogets.c: Likewise.
1183 * libio/iogetwline.c: Likewise.
1184 * libio/iopadn.c: Likewise.
1185 * libio/iopopen.c: Likewise.
1186 * libio/ioseekoff.c: Likewise.
1187 * libio/ioseekpos.c: Likewise.
1188 * libio/iosetbuffer.c: Likewise.
1189 * libio/iosetvbuf.c: Likewise.
1190 * libio/ioungetc.c: Likewise.
1191 * libio/ioungetwc.c: Likewise.
1192 * libio/iovdprintf.c: Likewise.
1193 * libio/iovsprintf.c: Likewise.
1194 * libio/iovsscanf.c: Likewise.
1195 * libio/memstream.c: Likewise.
1196 * libio/obprintf.c: Likewise.
1197 * libio/oldfileops.c: Likewise.
1198 * libio/oldiofclose.c: Likewise.
1199 * libio/oldiofdopen.c: Likewise.
1200 * libio/oldiofopen.c: Likewise.
1201 * libio/oldiopopen.c: Likewise.
1202 * libio/oldstdfiles.c: Likewise.
1203 * libio/putc.c: Likewise.
1204 * libio/setbuf.c: Likewise.
1205 * libio/setlinebuf.c: Likewise.
1206 * libio/stdfiles.c: Likewise.
1207 * libio/strops.c: Likewise.
1208 * libio/vasprintf.c: Likewise.
1209 * libio/vscanf.c: Likewise.
1210 * libio/vsnprintf.c: Likewise.
1211 * libio/vswprintf.c: Likewise.
1212 * libio/wfiledoalloc.c: Likewise.
1213 * libio/wfileops.c: Likewise.
1214 * libio/wgenops.c: Likewise.
1215 * libio/wmemstream.c: Likewise.
1216 * libio/wstrops.c: Likewise.
1217 * libio/__fpurge.c: Likewise.
1218 * libio/__fsetlocking.c: Likewise.
1219 * assert/assert.c: Likewise.
1220 * debug/fgets_chk.c: Likewise.
1221 * debug/fgets_u_chk.c: Likewise.
1222 * debug/fread_chk.c: Likewise.
1223 * debug/fread_u_chk.c: Likewise.
1224 * debug/gets_chk.c: Likewise.
1225 * debug/obprintf_chk.c: Likewise.
1226 * debug/vasprintf_chk.c: Likewise.
1227 * debug/vdprintf_chk.c: Likewise.
1228 * debug/vsnprintf_chk.c: Likewise.
1229 * debug/vsprintf_chk.c: Likewise.
1230 * malloc/mtrace.c: Likewise.
1231 * misc/error.c: Likewise.
1232 * misc/syslog.c: Likewise.
1233 * stdio-common/asprintf.c: Likewise.
1234 * stdio-common/fxprintf.c: Likewise.
1235 * stdio-common/getw.c: Likewise.
1236 * stdio-common/isoc99_fscanf.c: Likewise.
1237 * stdio-common/isoc99_scanf.c: Likewise.
1238 * stdio-common/isoc99_vfscanf.c: Likewise.
1239 * stdio-common/isoc99_vscanf.c: Likewise.
1240 * stdio-common/isoc99_vsscanf.c: Likewise.
1241 * stdio-common/printf-prs.c: Likewise.
1242 * stdio-common/printf_fp.c: Likewise.
1243 * stdio-common/printf_fphex.c: Likewise.
1244 * stdio-common/printf_size.c: Likewise.
1245 * stdio-common/putw.c: Likewise.
1246 * stdio-common/scanf.c: Likewise.
1247 * stdio-common/sprintf.c: Likewise.
1248 * stdio-common/tmpfile.c: Likewise.
1249 * stdio-common/vfprintf.c: Likewise.
1250 * stdio-common/vfscanf.c: Likewise.
1251 * stdlib/strfmon_l.c: Likewise.
1252 * sunrpc/openchild.c: Likewise.
1253 * sunrpc/xdr_stdio.c: Likewise.
1254 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1255 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1256
d6c33fda
RM
12572012-05-24 Roland McGrath <roland@hack.frob.com>
1258
c1487492
RM
1259 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1260
1261 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1262 in the third column, to generate for the shared library an IFUNC
1263 that uses _dl_vdso_vsym.
1264 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1265 * Makeconfig (object-suffixes-noshared): New variable.
1266
1267 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1268 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1269 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1270 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1271
d6c33fda
RM
1272 [BZ #14132]
1273 * include/sys/time.h (__gettimeofday): Remove macro.
1274 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1275 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1276 Remove INTDEF.
1277 (__gettimeofday): Add libc_hidden_def.
1278 (gettimeofday): Add libc_hidden_weak.
1279 * sysdeps/mach/gettimeofday.c: Likewise.
1280 * sysdeps/posix/gettimeofday.c: Likewise.
1281 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1282 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1283 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1284 (__gettimeofday_internal): Remove strong_alias.
1285 (__gettimeofday): Add libc_hidden_def.
1286 (gettimeofday): Add libc_hidden_weak.
1287 * sysdeps/unix/syscalls.list (gettimeofday):
1288 Remove __gettimeofday_internal alias.
1289
b5a2bbe6
L
12902012-05-24 Daniel Jacobowitz <drow@false.org>
1291 H.J. Lu <hongjiu.lu@intel.com>
1292
1293 [BZ #12495]
1294 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1295 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1296 (largebin_index_32_big): New.
1297 (largebin_index): Use it for 16-byte alignment.
1298 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1299 correction with front_misalign.
1300
cfba4fda
L
13012012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1302
7f907421
L
1303 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1304 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1305 Likewise.
1306 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1307 Likewise.
1308 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1309 Likewise.
1310 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1311 Likewise.
1312 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1313 Likewise.
1314 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1315 Likewise.
1316 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1317 Likewise.
1318 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1319 Likewise.
1320 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1321 Likewise.
1322 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1323 Likewise.
1324 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1325 Likewise.
1326 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1327 Likewise.
1328
cfba4fda
L
1329 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1330 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1331
80bad0cc
JM
13322012-05-24 Joseph Myers <joseph@codesourcery.com>
1333
7a25eb06
JM
1334 [BZ #10846]
1335 [BZ #14036]
1336 * math/libm-test.inc (exp_test): Add test from bug 14036.
1337 (pow_test): Add test from bug 10846.
1338
795405f9
JM
1339 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1340 and other flags.
1341 (special_function): Do not include flags in test name.
1342 (parse_args): Likewise.
1343 * sysdeps/i386/fpu/libm-test-ulps: Update.
1344 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1345 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1346 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1348
80bad0cc
JM
1349 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1350 exceptions.
1351 * math/libm-test.inc ("Philosophy"): Update comment about
1352 exception testing.
1353 (UNDERFLOW_EXCEPTION): New macro.
1354 (UNDERFLOW_EXCEPTION_OK): Likewise.
1355 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1356 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1357 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1358 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1359 (INVALID_EXCEPTION_OK): Update value.
1360 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1361 (OVERFLOW_EXCEPTION_OK): Likewise.
1362 (IGNORE_ZERO_INF_SIGN): Likewise.
1363 (test_exceptions): Handle underflow exceptions.
1364 (acos_test): Update for underflow exception expectations.
1365 (cexp_test): Likewise.
1366 (clog_test): Likewise.
1367 (clog10_test): Likewise.
1368 (csqrt_test): Likewise.
1369 (ctan_test): Likewise.
1370 (ctanh_test): Likewise.
1371 (exp_test): Likewise.
1372 (exp10_test): Likewise.
1373 (exp2_test): Likewise.
1374 (expm1_test): Likewise.
1375 (fma_test): Likewise.
1376 (j0_test): Likewise.
1377 (jn_test): Likewise.
1378 (nexttoward_test): Likewise.
1379 (pow_test): Likewise.
1380 (scalbn_test): Likewise.
1381 (scalbln_test): Likewise.
1382 (tan_test): Likewise.
1383 (y1_test): Likewise.
1384 * sysdeps/i386/fpu/libm-test-ulps: Update.
1385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1386
9e0e3d0b
DM
13872012-05-23 David S. Miller <davem@davemloft.net>
1388
1389 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1390 (__libc_sigaction): Remove unused local variables.
1391
ccd0a08f
L
13922012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1393
1394 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1395
62bdf9a6
PE
13962012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1397
f8591f80
PE
1398 mktime: avoid signed integer overflow
1399 * time/mktime.c (__mktime_internal): Do not mishandle the case
1400 where diff == INT_MIN.
1401
94c7d826
PE
1402 mktime: simplify computation of average
1403 * time/mktime.c (ranged_convert): Use new time_t_avg function
1404 instead of rolling our own (probably-slower) code.
1405
ce73d683
PE
1406 mktime: do not assume signed right shift propagates sign bit
1407 * time/mktime.c (isdst_differ): New static function.
1408 (__mktime_internal): No need to normalize tm_isdst now.
1409 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1410 tm_isdst values.
1411
72a22e59
PE
1412 mktime: merge another wrapv change from gnulib
1413 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1414 from some compilers.
1415
68605433
PE
1416 mktime: remove incorrect attempt at unusual arithmetics
1417 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1418 The code didn't really work on such machines anyway.
1419 (TYPE_MINIMUM): Assume two's complement.
1420 (twos_complement_arithmetic): Verify that long_int and time_t
1421 are two's complement (or unsigned, in the latter case).
1422
03cf7fe3
PE
1423 mktime: check signed shifts on long_int and time_t, too
1424 * time/mktime.c (SHR): Check that shifts work as desired
1425 on the types long_int and time_t too, as SHR is used on
1426 such types.
1427
f04dfbc2
PE
1428 mktime: do not assume 'long' is wide enough
1429 * time/mktime.c (verify): Move decl up.
1430 (long_int): New type.
1431 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1432 to remove assumption in the code that 'long' is wide enough to
1433 store year values. This assumption is not true on x32 and on
1434 some non-glibc platforms.
1435
62bdf9a6
PE
1436 mktime: merge wrapv change from gnulib
1437 * time/mktime.c (WRAPV): New macro.
1438 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1439 (guess_time_tm, __mktime_internal): Do not assume that signed
1440 integer overflow wraps around; modern compilers generate code
1441 where this assumption is no longer valid.
1442
5e292e4f
L
14432012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1444
1445 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1446 Replace "jmp L(pseudo_end)" with "ret".
1447 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1448 Likewise.
1449
8caf8c87
AJ
14502012-05-23 Andreas Jaeger <aj@suse.de>
1451
1452 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1453 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1454
1a09dc56
AJ
14552012-05-23 Andreas Jaeger <aj@suse.de>
1456 Maximilian Attems <max@stro.at>
1457
1458 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1459 New macros.
1460
1c87aba0
L
14612012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1462
1463 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1464 code so that pseudo_end is just ret and the stack pointer is
1465 correct also for static library in error case.
1466
40e45bd5
JM
14672012-05-23 Joseph Myers <joseph@codesourcery.com>
1468
c2670533
JM
1469 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1470 move to syscalls.list.
1471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1475
40e45bd5
JM
1476 * manual/install.texi (Running make install): Do not mention Linux
1477 kernel version for which pt_chown is not needed.
1478 (Linux): Do not mention problems with nscd with 2.0 kernels.
1479 * INSTALL: Regenerated.
1480
be08eda5
AJ
14812012-05-23 Andreas Jaeger <aj@suse.de>
1482
1483 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1484 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1485 macro.
1486 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1487 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1488 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1489 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1490 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1491 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1492 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1493 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1494 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1495 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1496 * sysdeps/unix/sysv/linux/bits/in.h
1497 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1498
a6a056bb
RM
14992012-05-22 Roland McGrath <roland@hack.frob.com>
1500
1501 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1502 (PREPARE_VERSION): Just use assert instead, it will be elided
1503 under [NDEBUG] anyway.
1504
c9009328
L
15052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1506
1507 * sysdeps/unix/sysv/linux/Makefile: Include
1508 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 1509 (sysdep_routines): Remove sysctl.
c9009328
L
1510 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1511 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1512 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1513 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1514 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1515
73338355
AJ
15162012-05-22 Andreas Jaeger <aj@suse.de>
1517
1518 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1519 that pseudo_end is just ret and the stack pointer is correct also
1520 for static library in error case.
1521
d44638b0
PP
15222012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1523
1524 [BZ #14122]
1525 * nss/nsswitch.c (defconfig_entries): New variable.
1526 (__nss_database_lookup): Don't leak defconfig entries.
1527 (nss_parse_service_list): Don't leak on error paths.
1528 (free_database_entries): New function.
1529 (free_defconfig): New function.
1530 (free_mem): Move common code to free_database_entries.
1531
31a39bd8
L
15322012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1533
da0331a8
L
1534 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1535 Add arch_prctl.
1536 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1537
31a39bd8
L
1538 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1539 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1540 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1541 New macro.
1542 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1543 (INTERNAL_SYSCALL_TYPES): Likewise.
1544 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1545 (LOAD_REGS_TYPES_[1-6]): Likewise.
1546 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1547 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1548
45470df3
AZ
15492012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1550
1551 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1552 copysignl for GLIBC_2_0.
1553 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1554 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1555 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1556 logbl for GLIBC_2_0.
1557 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1558 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1559
98a61bcb
L
15602012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1561
a4f6e481
L
1562 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1563 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1564
f63d5db6
L
1565 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1566 Use "neg %eax".
1567
98a61bcb
L
1568 * time/mktime.c: Update copyright years.
1569
95770f14
PE
15702012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1571
6226efbd
PE
1572 mktime: merge comment-quoting-style change from gnulib
1573 * time/mktime.c: Quote 'like this' in comments.
1574 The GNU coding standards suggest that we no longer quote `like this',
1575 as "`" and "'" are typically rendered asymmetrically nowadays.
1576 The typical gnulib style is to quote 'like this' when quoting
1577 code, and "like this" when quoting English.
1578
b99e4f78
PE
1579 * time/mktime.c (compile-command): Add "-I.".
1580
643e01e6
PE
1581 mktime: merge mktime-internal.h change from gnulib
1582 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1583
2554247d
PE
1584 mktime: merge time_r change from gnulib
1585 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1586
826dd0ab
PE
1587 mktime: merge DEBUG change from gnulib
1588 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1589 case system <time.h> has a #define.
1590
bd83aabe
PE
1591 mktime: merge <sys/types.h> change from gnulib
1592 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1593 since <time.t> is now guaranteed to define time_t.
1594
95770f14
PE
1595 mktime: merge HAVE_CONFIG_H change from gnulib
1596 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1597
5e1a27a9
L
15982012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1599
0e44a77e
L
1600 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1601 Use "neg %eax".
1602
5e1a27a9
L
1603 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1604 __rlim_t cast.
1605 (struct rusage): Use anonymous union to pad each field to
1606 __syscall_slong_t.
1607
46259bec
DM
16082012-05-21 David S. Miller <davem@davemloft.net>
1609
1610 * Makefules (o-iterator): Remove .s cases.
1611 (compile-command.s): Delete.
1612 (COMPILE.s): Delete.
1613 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1614
59f0c22e
JM
16152012-05-21 Joseph Myers <joseph@codesourcery.com>
1616
1617 * configure.in (libc_cv_predef_stack_protector): Only consider
1618 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1619 * configure: Regenerated.
1620
20c07380
L
16212012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1622
bbb3154b
L
1623 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1624 New macro. Use R*LP on int and pointer.
1625 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
1626 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1627 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
1628 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1629
20c07380
L
1630 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1631 [__WORDSIZE_TIME64_COMPAT32] instead of
1632 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1633 (struct utmp): Likewise.
1634 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1635 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1636 Renamed to ...
1637 (__WORDSIZE_TIME64_COMPAT32): This.
1638 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1639 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1640 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1641 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1642 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1643 (__WORDSIZE_TIME64_COMPAT32): New macro.
1644
d8d1017e
AJ
16452012-05-21 Andreas Jaeger <aj@suse.de>
1646
1647 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1648 only if [SHARED]. Add prototype for __wcschr_ia32.
1649
6c7fb145
RM
16502012-05-21 Roland McGrath <roland@hack.frob.com>
1651
1652 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1653 of %rbp unmolested in the jmp_buf while mangling the low bits.
1654 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1655 unmolested high bits of %rbp while demangling the low bits.
1656 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1657
66274218
AJ
16582012-05-21 Andreas Jaeger <aj@suse.de>
1659
07c58f8f
AJ
1660 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1661 * sunrpc/svc_simple.c: Use it for registerrpc.
1662 * sunrpc/xcrypt.c: Use it for passwd2des.
1663
66274218
AJ
1664 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1665
61f65140
L
16662012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1667
1668 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1669 Don't define if [__SYSCALL_WORDSIZE != 32].
1670 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1671 New macro.
1672
5fefb436
AJ
16732012-05-21 Bruno Haible <bruno@clisp.org>
1674 Andreas Jaeger <aj@suse.de>
1675
1676 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1677 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1678 inptr and inend for must_buffer_ch.
1679 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1680 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1681 * stdio-common/Makefile (tests): Remove bug15.
1682 (bug15-ENV): Remove macro.
1683 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1684 anymore.
1685
d8e272ab
AJ
16862012-05-19 Andreas Jaeger <aj@suse.de>
1687 Roland McGrath <roland@hack.frob.com>
1688
1689 * manual/contrib.texi: Completely rewritten. It contains now an
1690 alphabetical list of contributors and their contributions.
1691
4a56a162
RH
16922012-05-21 Richard Henderson <rth@twiddle.net>
1693
1694 * misc/getauxval.c (__getauxval): Use unsigned long int.
1695 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1696 (getauxval): Use unsigned long int.
1697
d024d23c
L
16982012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1699
1700 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1701
cbc00a03
RM
17022012-05-21 Roland McGrath <roland@hack.frob.com>
1703
1704 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1705 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1706 __alignof__ (long double).
1707
478143fa
AZ
17082012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1709
1710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1711
c7683a6d
RH
17122012-05-20 Richard Henderson <rth@twiddle.net>
1713
1714 * misc/getauxval.c: New file.
1715 * misc/sys/auxv.h: New file.
1716 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1717 (routines): Add getauxval.
1718 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1719 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1720 * elf/dl-sysdep.c (_dl_auxv): Remove.
1721 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1722 * elf/dl-support.c (_dl_auxv): New variable.
1723 (_dl_aux_init): Initialize it.
1724 * manual/startup.texi (Auxiliary Vector): New node.
1725 * sysdeps/generic/bits/hwcap.h: New file.
1726 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1727 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1728 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1729 * sysdeps/sparc/sysdep.h: ... here. Include it.
1730 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1731 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
1732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1733 Update.
c7683a6d
RH
1734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1735 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1736 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1737 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1738 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1741 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1742
a6f1845d
AZ
17432012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1744
1745 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1746
cbcbe830
DM
17472012-05-19 David S. Miller <davem@davemloft.net>
1748
1749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1750
e0b16cc2
JM
17512012-05-19 Joseph Myers <joseph@codesourcery.com>
1752
1753 [BZ #14123]
1754 * math/s_ccosh.c: Include <float.h>
1755 (__ccosh): Avoid internal overflow calculating sinh and cosh
1756 values before multiplying by sin and cos values.
1757 * math/s_ccoshf.c: Likewise.
1758 * math/s_ccoshl.c: Likewise.
1759 * math/s_csin.c: Likewise.
1760 * math/s_csinf.c: Likewise.
1761 * math/s_csinl.c: Likewise.
1762 * math/s_csinh.c: Likewise.
1763 * math/s_csinhf.c: Likewise.
1764 * math/s_csinhl.c: Likewise.
1765 * math/libm-test.inc (ccos_test): Add more tests.
1766 (ccosh_test): Likewise.
1767 (csin_test): Likewise.
1768 (csinh_test): Likewise.
1769 * sysdeps/i386/fpu/libm-test-ulps: Update.
1770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1771
6ad13e08
L
17722012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1773
f66f0ce8
L
1774 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1775 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1776
6ad13e08
L
1777 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1778
b1d072a7
JM
17792012-05-19 Joseph Myers <joseph@codesourcery.com>
1780
1781 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1782 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1783 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1784 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1785 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1786 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1787 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1788 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1789 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1790 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1791 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1792 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1793 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1794 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1795 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1796 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1797 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1798 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1799 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1800 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1801 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1802 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1803 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1804 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1805 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1806 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1807 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1808 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1809 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1810 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1811 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1812
9eae47cb
AJ
18132012-05-18 Andreas Jaeger <aj@suse.de>
1814
1815 * csu/.gitignore: Delete.
1816
bb07f69f
L
18172012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1818
1819 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1820 (timex): Use __syscall_slong_t.
1821
e6bdb741
AJ
18222012-05-18 Andreas Jaeger <aj@suse.de>
1823 Carlos O'Donell <carlos_odonell@mentor.com>
1824
1825 * manual/install.texi (Configuring and compiling): Update
1826 description about files modified in the source directory.
d6c33fda 1827 * INSTALL: Regenerated.
e6bdb741 1828
1b74487e
L
18292012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1830
1831 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1832 value. Use "or" to set return value to -1.
1833 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1834 negate return value.
1835
a88b64b9
TMQMF
18362012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1837
1838 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1839 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1840 failure if the compiler has Graphite support disabled.
1841 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1842 Likewise.
1843 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1844 CFLAGS-memmove.c): Likewise.
1845 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1846 Likewise.
1847
3707636e
L
18482012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1849
610b8622
L
1850 * sysdeps/x86_64/x32/_itoa.h: New file.
1851
7cd195df
L
1852 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1853 getdents system call only if kernel and user dirents have the
1854 same d_ino and d_off.
1855
94b07d20
L
1856 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1857 LLONG_MAX != LONG_MAX.
1858 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1859 (_fitoa_word): Likewise.
1860
18298070
L
1861 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1862 years.
1863 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1864 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1865 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1866
553c7ea4
L
1867 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1868 include <bits/wordsize.h>. Check __x86_64__ instead of
1869 __WORDSIZE.
1870 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1871 if __x86_64__ is defined. Use anonymous union on fpstate.
1872
3707636e
L
1873 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1874 anonymous union.
1875
b53ef01a
AS
18762012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1877
37fb1dc0
AS
1878 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1879 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1880 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1881 Refer to _rtld_local_ro instead of _rtld_global_ro.
1882 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1883 Likewise.
1884 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1885 Likewise.
1886 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1887 Likewise.
1888 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1889 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1890 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1891
b53ef01a
AS
1892 * sysdeps/powerpc/powerpc32/dl-machine.c
1893 (__elf_machine_runtime_setup) [PROF]: Don't reference
1894 _dl_prof_resolve.
1895
7a185db2
AJ
18962012-05-18 Andreas Jaeger <aj@suse.de>
1897
1898 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1899 function only available for GCCs before 3.4 since GCC 3.4
1900 introduced a builtin.
1901 (lrint): Likewise.
1902 (llrintf): Likewise.
1903 (llrint): Likewise.
1904 (fmaxf): Likewise.
1905 (fmax): Likewise.
1906 (fminf): Likewise.
1907 (fmin): Likewise.
1908 (rint): Likewise.
1909 (rintf): Likewise.
1910 (nearbyint): Likewise.
1911 (nearbyintf): Likewise.
1912 (ceil): Likewise.
1913 (ceilf): Likewise.
1914 (floor): Likewise.
1915 (floorf): Likewise.
1916
3e5aef87
L
19172012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1918
428bd707
L
1919 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1920 on both fields and cast pointer to __syscall_ulong_t.
1921
3e5aef87
L
1922 * bits/types.h (__fsword_t): New type.
1923 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1924 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1925 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1926 (__FSWORD_T_TYPE): Likewise.
1927 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1928 (__FSWORD_T_TYPE): Likewise.
1929 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1930 (__FSWORD_T_TYPE): Likewise.
1931 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1932 (__FSWORD_T_TYPE): Likewise.
1933 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1934 __SWORD_TYPE with __fsword_t.
1935 (statfs64): Likewise.
1936
1ba7c3dc
DM
19372012-05-17 David S. Miller <davem@davemloft.net>
1938
1939 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1940
59910343
AJ
19412012-05-17 Andreas Jaeger <aj@suse.de>
1942
1943 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1944 warning.
1945
2e4c1e9e
L
19462012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1947
1948 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1949
de7f5ce7
AJ
19502012-05-17 Andreas Jaeger <aj@suse.de>
1951
1952 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1953 when it is used.
1954
286abc3d
CM
19552012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1956
1957 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1958
477cc68e
L
19592012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1960
1961 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1962 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1963
1a0994f5
CD
19642012-05-17 Andreas Jaeger <aj@suse.de>
1965 Carlos O'Donell <carlos_odonell@mentor.com>
1966
1967 [BZ #14059]
1968 * sysdeps/x86_64/multiarch/init-arch.h
1969 (bit_YMM_Usable): Rename to...
1970 (bit_AVX_Usable): ... this.
1971 (bit_FMA4_Usable): New macro.
1972 (bit_XMM_state): New macro.
1973 (bit_YMM_state): New macro.
1974 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1975 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1976 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1977 (CPUID_OSXSAVE): New macro.
1978 (CPUID_AVX): New macro.
1979 (CPUID_FMA4): New macro.
1980 (index_YMM_Usable): Rename to...
1981 (index_AVX_Usable): ... this.
1982 (HAS_AVX): Use HAS_ARCH_FEATURE.
1983 (HAS_FMA4): Likewise.
1984 (HAS_YMM_USABLE): Remove.
1985 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1986 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1987 are present.
1988 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1989 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1990 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1991 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1992 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1993
0af797de
CM
19942012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1995
1996 * math/libm-test.c: Support platforms without multiple rounding modes.
1997 * math/bug-nextafter.c: Support platforms without FP exceptions.
1998 * math/bug-nexttoward.c: Likewise.
1999 * math/test-fenv.c: Likewise.
2000 * math/test-misc.c: Likewise.
2001 * stdlib/bug-getcontext.c: Likewise.
2002
e39745ff
AJ
20032012-05-17 Andreas Jaeger <aj@suse.de>
2004
2005 * manual/examples/search.c (critter_cmp): Change signature to
2006 avoid warnings.
2007 * manual/string.texi (Collation Functions): Likewise.
2008
48970aba
L
20092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2010
2011 * bits/types.h: Fold copyright years.
2012 * bits/typesizes.h: Likewise.
2013 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
2014 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2015 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
2016 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
2017 * time/time.h: Likewise.
2018
bedee953
PP
20192012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
2020
2021 [BZ #208]
2022 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
2023 in instead of returning them. Return void.
2024 (__libc_mallinfo): Accumulate over all arenas.
2025 (__malloc_stats): Adjust for change in int_mallinfo interface.
2026
61653dfb
RM
20272012-05-16 Roland McGrath <roland@hack.frob.com>
2028
30b99d79
RM
2029 [BZ #10375]
2030 * configure.in (NM): Add AC_CHECK_TOOL for it.
2031 (libc_extra_cflags): New substituted variable.
2032 Check for -fstack-protector being used implicitly.
2033 * configure: Regenerated.
2034 * config.make.in (config-extra-cflags): New variable,
2035 gets @libc_extra_cflags@.
2036 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
2037
61653dfb
RM
2038 [BZ #10375]
2039 * configure.in: Check for _FORTIFY_SOURCE being predefined.
2040 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
2041 * configure: Regenerated.
2042 * config.make.in (CPPUNDEFS): New substituted variable.
2043 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
2044 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
2045 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
2046
661768bb
L
20472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2048
2049 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
2050 (mq_attr): Use __syscall_slong_t.
2051
d4261567
L
20522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2053
2054 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
2055 Check __x86_64__ instead of __WORDSIZE.
2056 (_STAT_VER_LINUX): Likewise.
2057 (stat): Check __x86_64__ instead of __WORDSIZE. Use
2058 __syscall_ulong_t and __syscall_slong_t.
2059 (stat64): Likewise.
2060
cf3ff365
L
20612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2062
2063 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
2064
76cf3e4d
L
20652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2066
2067 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
2068
a637753a
L
20692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2070
2071 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
2072 __syscall_ulong_t.
2073
d5e05119
L
2074 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
2075 include <bits/wordsize.h>. Check __x86_64__ instead of
2076 __WORDSIZE.
2077 (greg_t): Use "__extension__ long long int" if __x86_64__ is
2078 defined.
2079 (mcontext_t): Replace "unsigned long" with "unsigned long long".
2080
f62ee380
L
2081 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
2082 include <bits/wordsize.h>. Check __x86_64__ instead of
2083 __WORDSIZE.
2084 (user_regs_struct): Use "__extension__ unsigned long long"
2085 instead of "unsigned long" if __x86_64__ is defined.
2086 (user): Likewise. Pad after pointer field if __ILP32__ is
2087 defined.
2088
4e124ced
JM
20892012-05-16 Joseph Myers <joseph@codesourcery.com>
2090
6a3951a0
JM
2091 * configure.in (makeinfo): Require version 4.5 or later. Allow
2092 versions 5 to 9.
2093 * configure: Regenerated.
2094 * manual/install.texi (texinfo): Increase version requirement to
2095 4.5 or later.
2096 * INSTALL: Regenerated.
2097
4e124ced
JM
2098 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
2099
953ca31a
L
21002012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2101
2102 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
2103
617aca05
L
2104 * sysdeps/x86_64/x32/ffs.c: New file.
2105
5762f7ae
L
2106 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
2107 __syscall_ulong_t.
2108 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
2109 defined. Use __syscall_ulong_t.
2110 (shminfo): Use __syscall_ulong_t.
2111 (shm_info): Likewise.
2112
a26b6856
L
2113 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
2114 __syscall_ulong_t.
2115
cb2b9ef7
L
2116 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
2117 <bits/wordsize.h>.
2118 (msgqnum_t): Use __syscall_ulong_t.
2119 (msglen_t): Likewise.
2120 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
2121 __syscall_ulong_t.
2122
34683bb0
L
2123 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
2124 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2125
84a68786
L
2126 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
2127
48baa5f1
L
2128 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
2129 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
2130
180be88b
L
2131 * sysvipc/sys/msg.h (msgbuf): Replace long int with
2132 __syscall_slong_t.
2133
5e90c8ad
L
2134 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
2135 include <bits/wordsize.h>. Check __x86_64__ instead of
2136 __WORDSIZE.
2137
23dfb58b
L
2138 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
2139 "unsigned long long int" if __x86_64__ is defined.
2140 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
2141
ce5d54b0
L
2142 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
2143 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2144 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
2145
13dc9eac
L
2146 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
2147 <stdint.h>.
2148 (GET_PC): Cast to uintptr_t first.
2149 (GET_FRAME): Likewise.
2150 (GET_STACK): Likewise.
2151
a7895d15
L
2152 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
2153 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
2154 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
2155 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
2156 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
2157 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
2158 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
2159 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
2160 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2161 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2162 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2163 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2164 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2165 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2166 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2167 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2168 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2169 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2170 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2171 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2172 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2173 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2174 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2175 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2176 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2177 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2178 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2179 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2180 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2181
656416c9
AS
21822012-05-16 Andreas Schwab <schwab@linux-m68k.org>
2183
5bd66283
AS
2184 * Makerules (+depfiles): Also collect depfiles from .oS in
2185 $(extra-objs).
2186 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2187 .oS, $(libnldbl-routines)).
2188
656416c9
AS
2189 * Makerules (native-compile-mkdep-flags): Define.
2190 * sunrpc/Makefile (extra-objs): Add $(addprefix
2191 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2192 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2193 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
2194 calling $(make-target-directory).
2195
a46f2169
L
21962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2197
2198 * bits/types.h (__snseconds_t): Removed.
2199 * time/time.h (struct timespec): Replace __snseconds_t with
2200 __syscall_slong_t.
2201 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2202 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2203 Likewise.
2204 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2205 (__SNSECONDS_T_TYPE): Likewise.
2206 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2207 (__SNSECONDS_T_TYPE): Likewise.
2208 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2209 (__SNSECONDS_T_TYPE): Likewise.
2210
6af6528b
L
22112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2212
2213 * sysdeps/mach/hurd/bits/typesizes.h
2214 (__SYSCALL_SLONG_TYPE): New macro.
2215 (__SYSCALL_ULONG_TYPE): Likewise.
2216
de986b56
L
22172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2218
2219 * bits/types.h (__syscall_slong_t): New type.
2220 (__syscall_ulong_t): Likewise.
2221
2222 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2223 (__SYSCALL_ULONG_TYPE): Likewise.
2224 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2225 (__SYSCALL_SLONG_TYPE): Likewise.
2226 (__SYSCALL_ULONG_TYPE): Likewise.
2227 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2228 (__SYSCALL_SLONG_TYPE): Likewise.
2229 (__SYSCALL_ULONG_TYPE): Likewise.
2230 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2231 (__SYSCALL_SLONG_TYPE): Likewise.
2232 (__SYSCALL_ULONG_TYPE): Likewise.
2233
85736dc7
L
22342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2235
2236 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2237 Add sigaltstack-offsets.sym.
2238 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2239 <sigaltstack-offsets.h>.
2240 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2241 longjmp_msg pointer.
2242 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2243 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2244 signal stack.
2245 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2246
cc03b296
JM
22472012-05-15 Joseph Myers <joseph@codesourcery.com>
2248
a9538892
JM
2249 * elf/stackguard-macros.h: Remove file.
2250 * sysdeps/generic/stackguard-macros.h: New file.
2251 * sysdeps/i386/stackguard-macros.h: Likewise.
2252 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2253 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2254 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2255 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2256 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2257 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2258 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2259 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2260 <elf/stackguard-macros.h>.
2261
cc03b296
JM
2262 [BZ #14109]
2263 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2264 __aligned__ in attribute.
2265 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2266 (gregset_t): Likewise.
2267
93171016
L
22682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2269
2270 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2271 * sysdeps/x86_64/64/Implies-after: Here. New file.
2272 * sysdeps/x86_64/x32/Implies-after: New file.
2273
d86813a0
L
22742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2275
2276 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2277 and access return value for _dl_profile_fixup. Use R10_LP to
2278 load frame size.
2279
2953ec75
L
22802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2281
2282 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2283
3b550e9e
L
22842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2285
2286 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2287 * sysdeps/x86_64/x32/sysdep.h: New file.
2288
eda41706
L
22892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2290
2291 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2292 * sysdeps/x86_64/setjmp.S: Likewise.
2293
9ea01d93
AZ
22942012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2295
2296 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2297 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2298 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2299 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2300 remove unused global constant.
2301
02a91938
CM
23022012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2303
2304 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2305 include of <not-cancel.h>.
2306
6540185f
RM
23072012-05-15 Roland McGrath <roland@hack.frob.com>
2308
2309 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2310
509072a0
AJ
23112012-05-15 Jeff Law <law@redhat.com>
2312 Andreas Jaeger <aj@suse.de>
2313
2314 [BZ #13594]
2315 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2316 out from...
2317 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2318 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2319 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2320 code changing __hst_map_handle.map.
2321
ba75122d
RM
23222012-05-15 Roland McGrath <roland@hack.frob.com>
2323
2324 * configure.in (sysnames): Look for Implies-before and Implies-after
2325 files.
2326 * configure: Regenerated.
2327
890d8bd8
L
23282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2329
2330 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2331 8-byte data alignment with LP_SIZE alignment.
2332
f6ee6623
L
23332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2334
2335 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2336 into R10_LP.
2337
ea2626f6
L
23382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2339
2340 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2341
085f715e
L
23422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2343
2344 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2345 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2346 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2347 Likewise.
2348 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2349
be8498fc
L
23502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2351
2352 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2353 (stackinfo_sub_sp): Likewise.
2354
70bc83b9
L
23552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2356
2357 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2358 RAX_LP.
2359
9bc0b730
L
23602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2361
2362 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2363 into R*_LP.
2364
6d2850e7
L
23652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2366
2367 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2368 sizes into R*_LP.
2369
3cb84561
L
23702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2371
2372 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2373
54e2ed81
L
23742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2375
2376 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2377 into R11_LP and load __x86_64_shared_cache_size_half into
2378 R8_LP.
2379
8a17f349
L
23802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2381
2382 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2383 R8_LP.
2384
777b1eea
AZ
23852012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2386
2387 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2388 logb for POWER7.
2389 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2390 logbf for POWER7.
2391 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2392 logbl for POWER7.
2393 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2394 powerpc32/power7/fpu/s_logb.c via #include.
2395 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2396 powerpc32/power7/fpu/s_logbf.c via #include.
2397 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2398 powerpc32/power7/fpu/s_logbl.c via #include.
2399
d20d4ac2
JM
24002012-05-15 Joseph Myers <joseph@codesourcery.com>
2401
2402 * README.libm: Remove file.
2403
6cdef1ab
L
24042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2405
2406 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2407 count for x32. Use R*_LP and omit operand-size suffix.
2408
0b254d8f
L
24092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2410
2411 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2412 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2413 * sysdeps/x86_64/x32/shlib-versions: New file.
2414
ceb809dc
RM
24152012-05-14 Roland McGrath <roland@hack.frob.com>
2416
2417 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2418 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2419 Use _dl_fatal_printf instead.
2420
37f1abd4
JM
24212012-05-14 Joseph Myers <joseph@codesourcery.com>
2422
2423 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2424 set if not set by the user. Do not allow for being unset.
2425 * sysdeps/unix/sysv/linux/configure: Regenerated.
2426
11de3a33
L
24272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2428
2429 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2430 the `q' suffix from lea and replace .quad with ASM_ADDR.
2431
e02f153a
L
24322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2433
2434 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2435 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2436 instead of $17.
2437 (PTR_DEMANGLE): Likewise.
2438
520ae0fd
L
24392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2440
2441 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2442 (LP_OP): Likewise.
2443 (ASM_ADDR): Likewise.
2444 (RAX_LP): Likewise.
2445 (RBP_LP): Likewise.
2446 (RBX_LP): Likewise.
2447 (RCX_LP): Likewise.
2448 (RDI_LP): Likewise.
2449 (RSI_LP): Likewise.
2450 (RSP_LP): Likewise.
2451 (R8_LP): Likewise.
2452 (R9_LP): Likewise.
2453 (R10_LP): Likewise.
2454 (R10_LP): Likewise.
2455 (R11_LP): Likewise.
2456 (R12_LP): Likewise.
2457 (R13_LP): Likewise.
2458 (R14_LP): Likewise.
2459 (R15_LP): Likewise.
2460
b985be81
L
24612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2462
2463 * sysdeps/x86_64/x32/dl-machine.h: New file.
2464
6a4888ff
AJ
24652012-05-14 Andreas Jaeger <aj@suse.de>
2466
2467 * manual/Makefile (subdir): Remove export of subdir.
2468 (all): Remove target.
2469 (.PHONY): Remove all from list.
2470 (mkinstalldirs): Remove.
2471 (.PHONY): Remove installdirs from list.
2472 ($(inst_infodir)/libc.info): Use make-target-directory.
2473 (installdirs): Remove.
2474 (subdir_%): Remove.
2475 (glibc-targets): Remove.
2476 (lib): Remove.
2477 (stubs): Remove.
2478 ($(objpfx)stubs ../po/manual.pot): Remove.
2479 ($(objpfx)stamp%): Remove.
2480 (make-target-directory): Remove.
2481 (subdir_install): Remove.
2482 (routines): Remove.
2483 (aux): Remove.
2484 (sources): Remove.
2485 (objects): Remove.
2486 (headers): Remove.
2487
2488 [BZ #13750]
2489 * manual/.gitignore: Remove, it's not needed anymore.
2490 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2491 all files in it.
2492 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2493 directory.
2494 (texis): Renamed to $(objpfx)texis.
2495 (texis-path): New, contains path to generated files.
2496 (chapters.%): Use texis-path for complete path, add extra argument
2497 libc-texinfo.sh.
2498 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2499 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2500 (summary,texi, stamp-summary): Use complete path of
2501 files. Generate files in build dir.
2502 (dir-add.texi): Build in build dir.
2503 (libm-err.texi,stamp-libm-err): Likewise.
2504 (version.texi, stamp-version): Likewise.
2505 (.%c.texi): Likewise.
2506 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2507 (mostlyclean): Remove target.
2508 (realclean): Remove target.
2509 (generated): Add new variable with contents from mostlyclean and
2510 realclean, remove entries duplicated in common-mostlyclean, add
2511 stamp-libm-err and stamp-version.
2512 (generated-dirs): Add libc directory.
2513 ($(inst_infodir)/libc.info): Install files from build dir.
2514
2515 * manual/install.texi (Configuring and compiling): Adjust since
2516 the info files are not part of the tar ball anymore.
2517
7ac77294
AJ
25182012-05-14 Andreas Jaeger <aj@suse.de>
2519
2520 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2521 variable.
2522
ffb7875d
JM
25232012-05-14 Joseph Myers <joseph@codesourcery.com>
2524
2525 [BZ #13717]
2526 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2527 to 2.2.0 where earlier.
2528 * sysdeps/unix/sysv/linux/configure: Regenerated.
2529 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2530 Remove conditional code.
2531 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2532 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2533 Remove conditional code.
2534 [!__NR_lchown]: Likewise.
2535 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2536 [__NR_lchown]: Likewise.
2537 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2538 comment referencing __ASSUME_LCHOWN_SYSCALL.
2539 * sysdeps/unix/sysv/linux/i386/sigaction.c
2540 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2541 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2542 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2543 Remove conditional code.
2544 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2545 (__protocol_available): Remove #if 0 code.
2546 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2547 conditional code.
2548 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2549 * sysdeps/unix/sysv/linux/kernel-features.h
2550 (__ASSUME_GETCWD_SYSCALL): Don't define.
2551 (__ASSUME_REALTIME_SIGNALS): Likewise.
2552 (__ASSUME_PREAD_SYSCALL): Likewise.
2553 (__ASSUME_PWRITE_SYSCALL): Likewise.
2554 (__ASSUME_POLL_SYSCALL): Likewise.
2555 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2556 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2557 non-SPARC.
2558 (__ASSUME_SIOCGIFNAME): Don't define.
2559 (__ASSUME_MSG_NOSIGNAL): Likewise.
2560 (__ASSUME_SENDFILE): Define unconditionally.
2561 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2562 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2563 conditional code.
2564 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2565 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2566 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2567 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2568 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2569 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2570 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2572 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2573 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2575 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2576 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2578 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2579 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2581 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2582 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2584 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2585 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2587 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2588 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2590 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2591 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2593 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2594 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2595 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2596 Remove conditional code.
2597 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2598 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2599 Remove conditional code.
2600 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2601 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2602 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2603 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2604 Remove conditional code.
2605 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2606 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2607 Remove conditional code.
2608 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2609 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2610 Remove conditional code.
2611 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2612 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2613 Remove conditional code.
2614 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2615 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2616 Remove conditional code.
2617 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2618 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2619 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2620 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2621 * sysdeps/unix/sysv/linux/sigaction.c
2622 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2623 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2624 * sysdeps/unix/sysv/linux/sigpending.c
2625 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2626 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2627 * sysdeps/unix/sysv/linux/sigprocmask.c
2628 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2629 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2630 * sysdeps/unix/sysv/linux/sigsuspend.c
2631 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2632 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2633 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2634 (__libc_missing_rt_sigs): Remove.
2635 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2636 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2637 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2638 Remove conditional code.
2639 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2640 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2641 return 1.
2642 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2643 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2644 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2645 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2646
1bfb7291
AJ
26472012-05-14 Andreas Jaeger <aj@suse.de>
2648
caae5a81
AJ
2649 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2650 it's not used in glibc.
2651 (__coshm1): Likewise.
2652 (__acosh1p): Likewise.
2653 (__sgn): Likewise.
2654
1bfb7291
AJ
2655 * manual/string.texi (Copying and Concatenation): Add missing
2656 variable in concat example.
2657 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2658
c044d724
L
26592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2660
144c5467 2661 [BZ #14103]
c044d724
L
2662 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2663 __builtin_clzl with __builtin_clzll.
2664
2523c62b
L
26652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2666
2667 [BZ #14104]
2668 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2669 libc_freeres_ptr.
2670
d7bb4c42
LD
26712012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2672
2673 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2674 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2675 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2676 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2677
9dc4e1fb
MF
26782012-05-14 Mike Frysinger <vapier@gentoo.org>
2679
2680 * NEWS: Update ia64 info.
2681
c7df0112
AS
26822012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2683
2684 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2685 used as bcopy.
2686
dc70356c
TS
26872012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2688
2689 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2690 * sysdeps/unix/syscalls.list (dup3): Likewise.
2691 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2692 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2693
9fb1a21f
L
26942012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2695
2696 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2697 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2698
4822a2a5
L
26992012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2700
2701 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2702 thread pointer.
2703 (TLS_IE): Use mov/add instead of movq/addq to load thread
2704 pointer.
2705 (TLS_GD_PREFIX): New.
2706 (TLS_GD): Use it.
2707
842b81d6
DM
27082012-05-11 David S. Miller <davem@davemloft.net>
2709
2710 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2711 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2712 (_FPU_SETCW): Likewise.
2713
1cf463cd
L
27142012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2715
2716 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2717 is 32-byte aligned.
2718
60cc4a18
AS
27192012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2720
2721 [BZ #11837]
2722 * iconvdata/gb18030.c: Update tables.
2723 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2724 characters specially.
2725 (BODY for TO_LOOP): Add encoding of missing ranges.
2726
febb44a4
TS
27272012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2728
2729 [BZ #13673]
2730 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2731 * sysdeps/mach/hurd/dup3.c: Likewise.
2732 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2733 * sysdeps/powerpc/memmove.c:: Likewise.
2734
0a10fb9e
L
27352012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2736
2737 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2738 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2739
df8a552f
L
27402012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2741
2742 * elf/elf.h (R_X86_64_RELATIVE64): New.
2743 (R_X86_64_NUM): Updated.
2744 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2745 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2746 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2747 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2748 tst-quad1pie tst-quad2pie
2749 (modules-names): Add tst-quadmod1 tst-quadmod2.
2750 ($(objpfx)tst-quad1): New dependency.
2751 ($(objpfx)tst-quad2): Likewise.
2752 ($(objpfx)tst-quad1pie): Likewise.
2753 ($(objpfx)tst-quad2pie): Likewise.
2754 * sysdeps/x86_64/tst-quad1.c: New file.
2755 * sysdeps/x86_64/tst-quad1pie.c: New file.
2756 * sysdeps/x86_64/tst-quad2.c: Likewise.
2757 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2758 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2759 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2760 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2761 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2762
f34d6f84
ST
27632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2764
f42d41d1
ST
2765 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2766 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2767 * streams/stropts.h (t_scalar_t): Define type.
2768
3c3571fc
ST
2769 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2770 (_PATH_PRESERVE): Set to "/var/lib".
2771 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2772
61f06bd3
ST
2773 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2774 instead of int.
2775
918d4d71
ST
2776 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2777 if __dir_mkfile succeeded.
2778
f34d6f84
ST
2779 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2780 checking for _hurd_dtablesize. Unlock it right after having
2781 finished _hurd_dtable allocation.
2782
10589b4a
TS
27832012-05-10 Thomas Schwinge <thomas@schwinge.name>
2784
674cdbc7
TS
2785 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2786 * sysdeps/mach/hurd/configure: Regenerated.
2787 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2788 special-casing to...
2789 * sysdeps/gnu/configure.in: ... this new file.
2790 * sysdeps/unix/sysv/linux/configure: Regenerated.
2791 * sysdeps/gnu/configure: New generated file.
2792
8e41b99f
TS
2793 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2794 for Linux: use nsec instead of usec, as well as:
2795 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2796 members of type struct timespec.
2797 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2798 New macros.
2799 (struct stat64): Likewise.
2800 (_STATBUF_ST_NSEC): New macro.
2801 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2802
10589b4a
TS
2803 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2804 __strtoul_internal rather than strtoul.
2805
63643c85
PT
28062012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2807
2808 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2809 and reject them.
2810
3faebe6a
ST
28112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2812
2813 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2814 which preserves existing values.
2815 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2816
c6474b07
PT
28172012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2818
2819 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2820 TIMEOUT values. Return EINVAL for NFDS values either negative or
2821 greater than FD_SETSIZE.
2822
1043890b
ST
28232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2824
2825 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2826 allocated, call __vm_protect to finish enabling the existing space, and
2827 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2828 allocate the remainder.
2829
37ed8b9b
PT
28302012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2831
2832 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2833 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2834
db653660
ST
28352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2836
37ed8b9b
PT
2837 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2838 sysdeps/mach/hurd/readlink.c.
b29d4053 2839
db653660
ST
2840 * posix/tst-sysconf.c (posix_options): Only use
2841 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2842 _POSIX_SYNCHRONIZED_IO when they are defined
2843 * sysdeps/mach/hurd/bits/posix_opt.h:
2844 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2845 (_XOPEN_REALTIME): Undefine macro.
2846 (_XOPEN_REALTIME_THREADS): Undefine macro.
2847 (_XOPEN_SHM): Undefine macro.
2848 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2849 macro to -1.
2850 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2851 macro to -1.
2852 (_POSIX_ASYNC_IO): Undefine macro.
2853 (_POSIX_PRIORITIZED_IO): Undefine macro.
2854 (_POSIX_SPIN_LOCKS): Define macro to -1.
2855
ee16e894
ST
2856 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2857 SA_NODEFER, SA_RESETHAND.
2858 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2859 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2860 F_DUPFD_CLOEXEC.
2861
6103ae3b
TS
28622012-05-10 Thomas Schwinge <thomas@schwinge.name>
2863
2864 * elf/Makefile (pldd-modules): Define unconditionally.
2865
80b4e5f3
TS
28662012-05-10 Thomas Schwinge <thomas@schwinge.name>
2867
2868 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2869
edadcbd6
ST
28702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2871
2872 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2873 Return ENOENT when name is empty.
2874 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2875
80694780
TS
28762012-05-10 Thomas Schwinge <thomas@schwinge.name>
2877
1792c087
TS
2878 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2879
80694780
TS
2880 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2881
6b645f0d
ST
28822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2883
80694780
TS
2884 Fix mlock in all cases except non-readable pages.
2885 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2886 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 2887
6b645f0d
ST
2888 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2889 (__mkdir): When path is `/', just fail with EEXIST.
2890 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2891
e468f8a3
TS
28922012-05-10 Thomas Schwinge <thomas@schwinge.name>
2893
2894 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2895 <sys/uio.h> (for writev).
2896 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2897 and <sys/param.h> (for MIN).
2898
a4186cff
PT
28992012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2900
2901 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2902 REQUESTED_TIME. Properly set the remaining time and return EINTR
2903 if interrupted.
2904
510bbf14
TS
29052012-05-10 Thomas Schwinge <thomas@schwinge.name>
2906
2907 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2908 Depend on against $(link-rpcuserlibs).
2909
5d5722e8
ST
29102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2911
a4186cff
PT
2912 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2913 (__libc_stack_end): Do not use attribute_relro.
2914 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2915 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 2916 to libthread-provided value.
a4186cff
PT
2917 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2918 attribute_relro.
5d5722e8 2919
37233df9
TS
29202012-05-10 Thomas Schwinge <thomas@schwinge.name>
2921
be971a2b
TS
2922 [BZ #3748]
2923 * bits/libc-lock.h (__libc_once_get): New macro.
2924 * sysdeps/mach/bits/libc-lock.h: Likewise.
2925 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2926 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2927 instead of using implementation details.
2928
37233df9
TS
2929 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2930 * libio/freopen.c: Likewise.
2931 * libio/freopen64.c: Likewise.
2932 * misc/syslog.c: Likewise.
2933 * nscd/connections.c: Likewise.
2934 * nscd/netgroupcache.c: Likewise.
2935 * sysdeps/posix/getcwd.c: Likewise.
2936
38de94a5
RM
29372012-05-10 Roland McGrath <roland@hack.frob.com>
2938
2939 * math/w_ilogbf.c: Add #include <limits.h>.
2940
67530489
ST
29412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2942
a4186cff 2943 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
2944 path instead of returning without unlocking.
2945
67530489
ST
2946 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2947 immediate-write ioctls.
2948 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2949
5aa3a74a
TS
29502012-05-10 Thomas Schwinge <thomas@schwinge.name>
2951
18bad2ae
TS
2952 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2953 __builtin_frame_address instead of making assumptions about the
2954 location of the return address relative to DATA. Force early load of
2955 the return address.
2956 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2957 __builtin_frame_address.
2958
5aa3a74a
TS
2959 dup3 for GNU Hurd.
2960 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2961 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2962 implement dup3 and do some further code clean-ups.
2963 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2964 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2965
ecd0de9a
ST
29662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2967
cd9fa985
ST
2968 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2969
a4186cff
PT
2970 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2971 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2972 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2973 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2974 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2975 d->port.lock.
802ca5a5 2976
a4186cff
PT
2977 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2978 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2979 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 2980
bcf55240
TS
29812012-05-10 Thomas Schwinge <thomas@schwinge.name>
2982
6960eb42
TS
2983 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2984 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2985 definitions.
2986
eb43375f
TS
2987 accept4 for GNU Hurd.
2988 * include/sys/socket.h (__libc_accept4): New prototype.
2989 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2990 to implement __libc_accept4.
2991 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2992 __libc_accept4.
2993 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2994
bcf55240
TS
2995 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2996 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2997 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2998 signal-defines.sym.
2999
6178c55b
ST
30002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3001
a4186cff 3002 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 3003
6f080c2f
TS
30042012-05-10 Thomas Schwinge <thomas@schwinge.name>
3005
3006 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
3007 assertion on O_CLOEXEC flag.
3008 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
3009 * hurd/intern-fd.c: Likewise.
3010 * hurd/port2fd.c: Likewise.
3011
bcfe3a54
ST
30122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3013
3014 [BZ #3906]
3015 * bits/in.h (IPV6_PKTINFO): Define new macro.
3016 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
3017
89c9aa49
AZ
30182012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3019
3020 [BZ #13954]
3021 [BZ #13955]
3022 [BZ #13956]
3023 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
3024 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3025 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
3026 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3027 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3028 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3029 * math/libm-test.inc (logb_test) : Additional logb tests.
3030
021db4be
AJ
30312012-05-09 Andreas Schwab <schwab@linux-m68k.org>
3032 Andreas Jaeger <aj@suse.de>
3033
3034 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
3035 * configure: Regenerated.
3036 * config.h.in (LINK_OBSOLETE_RPC): New macro.
3037 * config.make.in (link-obsolete-rpc): New substituted variable.
3038 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
3039 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
3040 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3041 (shared-only-routines): Don't set it under [link-obsolete-rpc],
3042 so that libc.a contains the symbols.
3043 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3044 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
3045 * sunrpc/auth_none.c: Likewise.
3046 * sunrpc/auth_unix.c: Likewise.
3047 * sunrpc/authdes_prot.c: Likewise.
3048 * sunrpc/authuxprot.c: Likewise.
3049 * sunrpc/clnt_gen.c: Likewise.
3050 * sunrpc/clnt_perr.c: Likewise.
3051 * sunrpc/clnt_raw.c: Likewise.
3052 * sunrpc/clnt_simp.c: Likewise.
3053 * sunrpc/clnt_tcp.c: Likewise.
3054 * sunrpc/clnt_udp.c: Likewise.
3055 * sunrpc/clnt_unix.c: Likewise.
3056 * sunrpc/des_crypt.c: Likewise.
3057 * sunrpc/des_soft.c: Likewise.
3058 * sunrpc/get_myaddr.c: Likewise.
3059 * sunrpc/key_call.c: Likewise.
3060 * sunrpc/key_prot.c: Likewise.
3061 * sunrpc/netname.c: Likewise.
3062 * sunrpc/pm_getmaps.c: Likewise.
3063 * sunrpc/pm_getport.c: Likewise.
3064 * sunrpc/pmap_clnt.c: Likewise.
3065 * sunrpc/pmap_prot.c: Likewise.
3066 * sunrpc/pmap_prot2.c: Likewise.
3067 * sunrpc/pmap_rmt.c: Likewise.
3068 * sunrpc/publickey.c: Likewise.
3069 * sunrpc/rpc_cmsg.c: Likewise.
3070 * sunrpc/rpc_common.c: Likewise.
3071 * sunrpc/rpc_dtable.c: Likewise.
3072 * sunrpc/rpc_prot.c: Likewise.
3073 * sunrpc/rpc_thread.c: Likewise.
3074 * sunrpc/rtime.c: Likewise.
3075 * sunrpc/svc.c: Likewise.
3076 * sunrpc/svc_auth.c: Likewise.
3077 * sunrpc/svc_raw.c: Likewise.
3078 * sunrpc/svc_run.c: Likewise.
3079 * sunrpc/svc_tcp.c: Likewise.
3080 * sunrpc/svc_udp.c: Likewise.
3081 * sunrpc/svc_unix.c: Likewise.
3082 * sunrpc/svcauth_des.c: Likewise.
3083 * sunrpc/xcrypt.c: Likewise.
3084 * sunrpc/xdr.c: Likewise.
3085 * sunrpc/xdr_array.c: Likewise.
3086 * sunrpc/xdr_float.c: Likewise.
3087 * sunrpc/xdr_intXX_t.c: Likewise.
3088 * sunrpc/xdr_mem.c: Likewise.
3089 * sunrpc/xdr_rec.c: Likewise.
3090 * sunrpc/xdr_ref.c: Likewise.
3091 * sunrpc/xdr_sizeof.c: Likewise.
3092 * sunrpc/xdr_stdio.c: Likewise.
3093
b5c086a2
RM
30942012-05-10 Roland McGrath <roland@hack.frob.com>
3095
3096 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
3097 change. Update copyright years.
3098
6d74dd09
JM
30992012-05-10 Joseph Myers <joseph@codesourcery.com>
3100
3101 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
3102
28e72501
MK
31032012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
3104 Joseph Myers <joseph@codesourcery.com>
3105 Paul Pluzhnikov <ppluzhnikov@google.com>
3106
3107 [BZ #14012]
3108 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
3109 requiring rpcgen.
3110 [cross-compiling] (extra-libs): Likewise.
3111 [cross-compiling] (extra-libs-others): Likewise.
3112 [cross-compiling] (librpcsvc-routines): Likewise.
3113 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
3114 [cross-compiling] (omit-deps): Likewise.
3115 (sunrpc-CPPFLAGS): New variable.
3116 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
3117 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
3118 (cross-rpcgen-objs): New variable.
3119 (extra-objs): Append $(cross-rpcgen-objs).
3120 ($(cross-rpcgen-objs)): New rule.
3121 ($(objpfx)cross-rpcgen): Likewise.
3122 (rpcgen-cmd): Define to use $(built-program-file). Expand
3123 comment.
3124 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
3125 ($(objpfx)x%.stmp): Likewise.
3126 * sunrpc/proto.h [IS_IN_build] (_): Define.
3127 [IS_IN_build] (_libc_intl_domainname): Likewise.
3128
c8c59454
L
31292012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3130
3131 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
3132 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
3133 and R_X86_64_TPOFF64.
3134
6f27cd16
JM
31352012-05-10 Joseph Myers <joseph@codesourcery.com>
3136
3137 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
3138 sysdeps/unix/sysv/syscalls.list.
3139 (stime): Likewise.
3140 (utime): Likewise.
3141 * sysdeps/unix/sysv/syscalls.list: Remove file.
3142
02467e1c
PE
31432012-05-10 Paul Eggert <eggert@cs.ucla.edu>
3144
3145 [BZ #3440]
3146 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
3147 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
3148 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
3149 (__LC_IDENTIFICATION): Make these macros useful in #if
3150 expressions, as required by C99.
3151
da392631
AS
31522012-05-10 Andreas Schwab <schwab@linux-m68k.org>
3153
3154 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
3155 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
3156 after this.
3157
8115f29b
L
31582012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3159
3160 * stdlib/longlong.h: Updated from GCC.
3161
bdd74070
AJ
31622012-05-09 Andreas Jaeger <aj@suse.de>
3163
edfe0dbe
AJ
3164 * nscd/nscd.c (run_modes): Make named enum, reorder so that
3165 default is first entry.
3166 (run_mode): Set type.
3167 (main): Remove informal message about syslog.
3168 (options): Fix typo.
3169
bcfe3a54
ST
3170 [BZ #14053]
3171 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 3172 to asm.
bcfe3a54
ST
3173 (lrint): Likewise.
3174 (llrintf): Likewise.
3175 (llrint): Likewise.
3176 (rint): Likewise.
3177 (rintf): Likewise.
3178 (nearbyint): Likewise.
3179 (nearbyintf): Likewise.
bdd74070 3180
91d8d69e
AJ
31812012-05-09 Andreas Jaeger <aj@suse.de>
3182 Pedro Alves <palves@redhat.com>
3183
3184 * nscd/nscd.c (run_mode): Use enum.
3185 (main): Cleanup coding style issue.
3186
bb90b80b
AJ
31872012-05-09 Alexandre Oliva <aoliva@redhat.com>
3188 Andreas Jaeger <aj@suse.de>
3189
bcfe3a54
ST
3190 * nscd/nscd.c (go_background): Replaced with...
3191 (run_mode): ... this.
bb90b80b 3192 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
3193 (options): Add -F --foreground.
3194 (main): Implement it.
3195 (parse_opt): Parse it.
bb90b80b 3196
1a4b75a1
AJ
31972012-05-09 Andreas Jaeger <aj@suse.de>
3198
3199 [BZ #14083]
3200 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3201 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3202 -Wconversion warning.
3203 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3204 Likewise.
3205
b1cc2472
JM
32062012-05-09 Joseph Myers <joseph@codesourcery.com>
3207
3208 * conform/data/locale.h-data (NULL): Use macro-constant. Require
3209 == 0.
3210 (LC_ALL): Use macro-int-constant.
3211 (LC_COLLATE): Likewise.
3212 (LC_CTYPE): Likewise.
3213 (LC_MESSAGES): Likewise.
3214 (LC_MONETARY): Likewise.
3215 (LC_NUMERIC): Likewise.
3216 (LC_TIME): Likewise.
3217 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3218 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3219 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3220 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3221 Specify type.
3222 [C99-based standards] (float_t): Expect type.
3223 [C99-based standards] (double_t): Expect type.
3224 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3225 type.
3226 [C99-based standards] (HUGE_VALL): Likewise.
3227 [C99-based standards] (INFINITY): Likewise.
3228 [C99-based standards] (NAN): Likewise.
3229 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3230 [C99-based standards] (FP_NAN): Likewise.
3231 [C99-based standards] (FP_NORMAL): Likewise.
3232 [C99-based standards] (FP_SUBNORMAL): Likewise.
3233 [C99-based standards] (FP_ZERO): Likewise.
3234 [C99-based standards] (FP_FAST_FMA): Use
3235 optional-macro-int-constant. Specify type. Require == 1.
3236 [C99-based standards] (FP_FAST_FMAF): Likewise.
3237 [C99-based standards] (FP_FAST_FMAL): Likewise.
3238 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3239 [C99-based standards] (FP_ILOGBNAN): Likewise.
3240 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3241 Specify type.
3242 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3243 [C99-based standards] (math_errhandling): Specify type.
3244 [ISO99 || ISO11] (signgam): Do not allow.
3245 [non-C99-based standards] (copysignf): Do not allow.
3246 [non-C99-based standards] (exp2f): Likewise.
3247 [non-C99-based standards] (log2f): Likewise.
3248 [non-C99-based standards] (modff): Allow.
3249 [non-C99-based standards] (erff): Do not allow.
3250 [non-C99-based standards] (erfcf): Likewise.
3251 [non-C99-based standards] (gammaf): Likewise.
3252 [non-C99-based standards] (hypotf): Likewise.
3253 [non-C99-based standards] (j0f): Likewise.
3254 [non-C99-based standards] (j1f): Likewise.
3255 [non-C99-based standards] (jnf): Likewise.
3256 [non-C99-based standards] (lgammaf): Likewise.
3257 [non-C99-based standards] (tgammaf): Likewise.
3258 [non-C99-based standards] (y0f): Likewise.
3259 [non-C99-based standards] (y1f): Likewise.
3260 [non-C99-based standards] (ynf): Likewise.
3261 [non-C99-based standards] (isnanf): Likewise.
3262 [non-C99-based standards] (acoshf): Likewise.
3263 [non-C99-based standards] (asinhf): Likewise.
3264 [non-C99-based standards] (atanhf): Likewise.
3265 [non-C99-based standards] (cbrtf): Likewise.
3266 [non-C99-based standards] (expm1f): Likewise.
3267 [non-C99-based standards] (ilogbf): Likewise.
3268 [non-C99-based standards] (log1pf): Likewise.
3269 [non-C99-based standards] (logbf): Likewise.
3270 [non-C99-based standards] (nextafterf): Likewise.
3271 [non-C99-based standards] (remainderf): Likewise.
3272 [non-C99-based standards] (rintf): Likewise.
3273 [non-C99-based standards] (scalbf): Likewise.
3274 [non-C99-based standards] (copysignl): Likewise.
3275 [non-C99-based standards] (exp2l): Likewise.
3276 [non-C99-based standards] (log2l): Likewise.
3277 [non-C99-based standards] (modfl): Allow.
3278 [non-C99-based standards] (erfl): Do not allow.
3279 [non-C99-based standards] (erfcl): Likewise.
3280 [non-C99-based standards] (gammal): Likewise.
3281 [non-C99-based standards] (hypotl): Likewise.
3282 [non-C99-based standards] (j0l): Likewise.
3283 [non-C99-based standards] (j1l): Likewise.
3284 [non-C99-based standards] (jnl): Likewise.
3285 [non-C99-based standards] (lgammal): Likewise.
3286 [non-C99-based standards] (tgammal): Likewise.
3287 [non-C99-based standards] (y0l): Likewise.
3288 [non-C99-based standards] (y1l): Likewise.
3289 [non-C99-based standards] (ynl): Likewise.
3290 [non-C99-based standards] (isnanl): Likewise.
3291 [non-C99-based standards] (acoshl): Likewise.
3292 [non-C99-based standards] (asinhl): Likewise.
3293 [non-C99-based standards] (atanhl): Likewise.
3294 [non-C99-based standards] (cbrtl): Likewise.
3295 [non-C99-based standards] (expm1l): Likewise.
3296 [non-C99-based standards] (ilogbl): Likewise.
3297 [non-C99-based standards] (log1pl): Likewise.
3298 [non-C99-based standards] (logbl): Likewise.
3299 [non-C99-based standards] (nextafterl): Likewise.
3300 [non-C99-based standards] (remainderl): Likewise.
3301 [non-C99-based standards] (rintl): Likewise.
3302 [non-C99-based standards] (scalbl): Likewise.
3303 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3304 [non-C99-based standards] (FP_*): Do not allow.
3305 [C99-based standards] (FP_*): Change to
3306 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3307 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3308 allow.
3309 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3310 (SIG_ERR): Likewise.
3311 [X/Open-based standards] (SIG_HOLD): Likewise.
3312 (SIG_IGN): Likewise.
3313 (SIGABRT): Use macro-int-constant. Specify type. Require
3314 positive value.
3315 (SIGFPE): Likewise.
3316 (SIGILL): Likewise.
3317 (SIGINT): Likewise.
3318 (SIGSEGV): Likewise.
3319 (SIGTER): Likewise.
3320 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3321 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3322 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3323 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3324 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3325 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3326 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3327 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3328 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3329 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3330 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3331 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3332 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3333 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3334 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3335 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3336 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3337 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3338 [X/Open-based standards] (SIGTRAP): Likewise.
3339 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3340 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3341 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3342 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3343 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3344 allow.
3345
b9f1922d
IW
33462012-05-08 Ian Wienand <ianw@vmware.com>
3347
3348 [BZ #14080]
3349 * time/tzset.c (__tzset_parse_tz): Update default rules for
3350 daylight time changes in the Energy Policy Act of 2005.
3351
1db86e88
AJ
33522012-05-09 Andreas Jaeger <aj@suse.de>
3353
3354 [BZ #13983]
3355 * elf/ldconfig.c (parse_conf): Change string to make clear that
3356 ldconfig only issued a warning if ld.so.conf does not exist.
3357
dee4a4e3
DM
33582012-05-08 David S. Miller <davem@davemloft.net>
3359
ee0db190
DM
3360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3361 movxtod instead of popping the value on the stack.
3362
dee4a4e3
DM
3363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3364
6a43ec98
CD
33652012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3366
3367 * config.h.in: Add HAVE_ARM_PCS_VFP.
3368
05c2c961
RMG
33692012-05-08 Roland Mc Grath <roland@hack.frob.com>
3370
bcfe3a54
ST
3371 [BZ #13979]
3372 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3373 checking but the checks are disabled for any reason.
05c2c961 3374
4b30f61a
L
33752012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3376
3377 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3378 and ELF64_R_TYPE with ELFW(R_TYPE).
3379
eee2bc67
JM
33802012-05-08 Joseph Myers <joseph@codesourcery.com>
3381
7ea5391a
JM
3382 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3383 (ulimit): Likewise.
3384
eee2bc67
JM
3385 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3386 (settimeofday): Likewise.
3387
abb66a67
MF
33882012-05-08 Mike Frysinger <vapier@gentoo.org>
3389
3390 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3391 a struct th_u2 inside the union, and move tu_block/tu_code into
3392 a new th_u3 union of tu_block/tu_code inside of that. Move
3393 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3394 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3395 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3396 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3397 (th_stuff): Change to th_u1.tu_stuff.
3398 (th_data): Define.
3399 (th_msg): Change to th_u1.th_u2.tu_data.
3400
7f18b530
DM
34012012-05-07 David S. Miller <davem@davemloft.net>
3402
05760585
DM
3403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3404
7f18b530
DM
3405 [BZ #14074]
3406 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3407 (SETUP_PIC_REG): Use it.
3408 (SETUP_PIC_REG_LEAF): Use it.
3409
495fd99f
JM
34102012-05-07 Joseph Myers <joseph@codesourcery.com>
3411
3412 [BZ #13885]
3413 [BZ #13923]
3414 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3415 USE_AS_EXPM1L.
3416 (EXPL_FINITE): Likewise.
3417 (FLDLOG): Likewise.
3418 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3419 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3420 e_expl.S.
3421 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3422 USE_AS_EXPM1L.
3423 (EXPL_FINITE): Likewise.
3424 (FLDLOG): Likewise.
3425 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3426 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3427 e_expl.S.
3428 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3429 test of -max_value argument for long double.
3430 * sysdeps/i386/fpu/libm-test-ulps: Update.
3431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3432
6693d694
DM
34332012-05-06 David S. Miller <davem@davemloft.net>
3434
3435 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3436 quad soft-float symbols whose references which are compiler
3437 generated.
3438 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3439
6c23e11c
JM
34402012-05-06 Joseph Myers <joseph@codesourcery.com>
3441
d8b82cad
JM
3442 [BZ #13884]
3443 [BZ #13914]
3444 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3445 USE_AS_EXP10L.
3446 (EXPL_FINITE): Likewise.
3447 (FLDLOG): Likewise.
3448 (c0): Likewise.
3449 (c1): Likewise.
3450 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3451 Adjust comments for base varying.
3452 (__expl_finite): Change alias to EXPL_FINITE.
3453 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3454 e_expl.S.
3455 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3456 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3457 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3458 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3459 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3460 USE_AS_EXP10L.
3461 (EXPL_FINITE): Likewise.
3462 (FLDLOG): Likewise.
3463 (c0): Likewise.
3464 (c1): Likewise.
3465 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3466 Adjust comments for base varying.
3467 (__expl_finite): Change alias to EXPL_FINITE.
3468 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3469 tests for bugs.
3470 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3471
6c23e11c
JM
3472 [BZ #14064]
3473 * math/libm-test.inc (check_float_internal): Correct ulp
3474 calculation for subnormal expected results.
3475
29ba805c
AJ
34762012-05-06 Andreas Jaeger <aj@suse.de>
3477
3478 * Makeconfig (+math-flags): New, set to -frounding-math.
3479 (+cflags): Add +math-flags so that all of glibc gets compiled with
3480 it.
3481
3482 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3483
7b17aeda
JM
34842012-05-05 Joseph Myers <joseph@codesourcery.com>
3485
5779f134
JM
3486 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3487 Disable one test.
3488
41498f4d
JM
3489 [BZ #13787]
3490 [BZ #13922]
3491 [BZ #14036]
3492 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3493 (__ieee754_expl): Allow for and saturate large arguments.
3494 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3495 (u_threshold): Likewise.
3496 (__exp): Call __ieee754_exp before checking for overflow and
3497 underflow.
3498 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3499 (u_threshold): Likewise.
3500 (__expf): Call __ieee754_expf before checking for overflow and
3501 underflow.
3502 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3503 (u_threshold): Likewise.
3504 (__expl): Call __ieee754_expl before checking for overflow and
3505 underflow.
3506 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3507 (__ieee754_expl): Allow for and saturate large arguments.
3508 * math/libm-test.inc (exp_test): Add another test. Do not allow
3509 missing overflow exception on overflow.
3510 (expm1_test): Do not allow missing overflow exception on overflow.
3511
6698b8bf
JM
3512 * sysdeps/i386/fpu/e_expl.c: Move to ...
3513 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3514 rather than using inline asm.
3515 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3516 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3517 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3518
7b17aeda
JM
3519 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3520 (nice): Likewise.
3521 (poll): Likewise.
3522 (signal): Likewise.
3523 (time): Likewise.
3524 (times): Likewise.
3525
f7c85819
JM
35262012-05-04 Joseph Myers <joseph@codesourcery.com>
3527
3528 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3529 sysdeps/unix/common/syscalls.list.
3530 (fchmod): Likewise.
3531 (fchown): Likewise.
3532 (ftruncate): Likewise.
3533 (getrusage): Likewise.
3534 (gettimeofday): Likewise.
3535 (setpgid): Likewise.
3536 (setregid): Likewise.
3537 (setreuid): Likewise.
3538 (sigaction): Likewise.
3539 (truncate): Likewise.
3540 (vhangup): Likewise.
3541 * sysdeps/unix/common/syscalls.list: Remove file.
3542 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3543 * sysdeps/unix/sysv/linux/Implies: Likewise.
3544
336270d0
L
35452012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3546
3547 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3548 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3549 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3550 Moved to ...
3551 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3552 Here.
3553 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3554 to ...
3555 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3556 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3557 to ...
3558 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3559 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3560 to ...
3561 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3562 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3563 to ...
3564 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3565 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3566 to ...
3567 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3568 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3569 to ...
3570 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3571 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3572 to ...
3573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3574 Here.
3575 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3576 to ...
3577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3578 Here.
3579 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3580 to ...
3581 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3582 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3583 Moved to ...
3584 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3585 Here.
3586 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3587 to ...
3588 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3589
d128e450
JM
35902012-05-04 Joseph Myers <joseph@codesourcery.com>
3591
fa8ee516
JM
3592 * sysdeps/unix/common/bits/dirent.h: Remove file.
3593 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3594
d128e450
JM
3595 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3596 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3597 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3598 * sysdeps/unix/bsd/isatty.c: Likewise.
3599 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3600 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3601 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3602
ff8faaf0 36032012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 3604
62881be4 3605 [BZ #13563]
31dc8730
AZ
3606 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3607 long double comparison inaccuracies.
3608 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3610
6fef930c
AS
36112012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3612
3613 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3614 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3615
8f203e6c
JM
36162012-05-04 Joseph Myers <joseph@codesourcery.com>
3617
3618 [BZ #14049]
3619 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3620 nonzero digits before rounding a hex value.
3621 * stdlib/tst-strtod.c (tests): Add another test.
3622
5197d9c2
AK
36232012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3624
3625 * sysdeps/s390/fpu/libm-test-ulps: Update.
3626
f0c1dedf
AJ
36272012-05-03 Andreas Jaeger <aj@suse.de>
3628
3629 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3630 does not get optimized out.
3631 (malloc_opt_barrier): New.
3632
a65ef2ae 36332012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 3634 Roland McGrath <roland@hack.frob.com>
a65ef2ae 3635
2b942cb7 3636 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 3637 intermediate file deletion.
2b942cb7 3638 (generated): Add .symlist files.
a65ef2ae 3639
54b71e02
JM
36402012-05-03 Joseph Myers <joseph@codesourcery.com>
3641
3642 [BZ #13775]
3643 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3644 Redirect under this condition.
3645 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3646 [__USE_GNU] (__dprintf_chk): Not under this condition.
3647 [__USE_GNU] (__vdprintf_chk): Likewise.
3648 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3649 under this condition.
3650 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3651 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3652 [__USE_XOPEN2K8] (vdprintf): Likewise.
3653 [__USE_GNU] (__dprintf_chk): Not under this condition.
3654 [__USE_GNU] (__vdprintf_chk): Likewise.
3655 [__USE_GNU] (dprintf): Likewise.
3656 [__USE_GNU] (vdprintf): Likewise.
3657
d3dfcc41
RM
36582012-05-03 Roland McGrath <roland@hack.frob.com>
3659
3660 * elf/Makefile (common-generated): Set this instead of generated for
3661 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3662 $(all-built-dso)-derived lists.
3663
7ac30cc5
AJ
36642012-05-03 Andreas Jaeger <aj@suse.de>
3665
0c51e550
AJ
3666 * sysdeps/i386/fpu/libm-test-ulps: Update.
3667
7ac30cc5
AJ
3668 * FAQ: Removed.
3669 * FAQ.in: Likewise.
3670 * scripts/gen-FAQ.pl: Likewise.
3671 * manual/install.texi (Installation): Point to online location of
3672 FAQ.
3673 * Makefile (files-for-dist): Remove FAQ.
3674 (FAQ): Remove.
3675
d4c2917f
AM
36762012-05-02 Allan McRae <allan@archlinux.org>
3677
3678 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3679 (LDFLAGS-reldepmod5.so): Likewise.
3680 (LDFLAGS-reldep6mod1.so): Likewise.
3681 (LDFLAGS-reldep6mod4.so): Likewise.
3682 (LDFLAGS-reldep8mod3.so): Likewise.
3683 (LDFLAGS-unload4mod1.so): Likewise.
3684 (LDFLAGS-unload4mod2.so): Likewise.
3685 (LDFLAGS-tst-initorder): Likewise.
3686 (LDFLAGS-tst-initordera2.so): Likewise.
3687 (LDFLAGS-tst-initordera3.so): Likewise.
3688 (LDFLAGS-tst-initordera4.so): Likewise.
3689 (LDFLAGS-tst-initorderb2.so): Likewise.
3690 (LDFLAGS-noload): Likewise.
3691 (LDFLAGS-next): Likewise.
3692 (LDFLAGS-order2mod1.so): Likewise.
3693 (LDFLAGS-order2mod2.so): Likewise.
3694 (LDFLAGS-tst-initorder2): Likewise.
3695 (LDFLAGS-tst-initorder2a.so): Likewise.
3696 (LDFLAGS-tst-initorder2b.so): Likewise.
3697 (LDFLAGS-tst-initorder2c.so): Likewise.
3698 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3699
d77f993f
DM
37002012-05-02 David S. Miller <davem@davemloft.net>
3701
3702 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3703
171a70b4
PP
37042012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3705
3706 [BZ #14055]
3707 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3708
0be196ad
AJ
37092012-05-02 Andreas Jaeger <aj@suse.de>
3710
3711 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3712 since we manipulate rounding mode.
3713 (CPPFLAGS-test-idouble.c): Likewise.
3714 (CPPFLAGS-test-ifloat.c): Likewise.
3715 (CFLAGS-test-ldouble.c): Likewise.
3716 (CFLAGS-test-double.c): Likewise.
3717 (CFLAGS-test-float.c): Likewise.
3718 (CFLAGS-test-misc.c): Likewise.
3719 (CFLAGS-test-test-fenv.c): Likewise.
3720
4f9d04aa
AZ
37212012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3722
2b942cb7
RM
3723 [BZ #2550]
3724 [BZ #2570]
3725 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3726 comparisons to determine direction to adjust input.
4f9d04aa 3727
82a79e7d
RM
37282012-05-01 Roland McGrath <roland@hack.frob.com>
3729
f5a01ca9
RM
3730 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3731 output to the target.
3732
90fe4186
RM
3733 * scripts/localplt.awk: New file.
3734 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3735 (check-localplt-CFLAGS): Variable removed.
3736 ($(all-built-dso:=.jmprel)): New static pattern rule.
3737 (generated): Add those targets.
3738 (localplt-built-dso): New variable.
3739 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3740
3741 * elf/check-localplt.c: File removed.
3742
82397ed6
RM
3743 * scripts/check-execstack.awk: New file.
3744 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3745 (check-execstack-CFLAGS): Variable removed.
3746 ($(objpfx)check-execstack.h): Target removed.
3747 ($(objpfx)execstack-default): New target.
3748 (generated): Add that instead of check-execstack.h.
3749 ($(all-built-dso:=.phdr)): New static pattern rule.
3750 (generated): Add those targets.
3751 * elf/check-execstack.c: File removed.
3752
82a79e7d
RM
3753 * scripts/check-textrel.awk: New file.
3754 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3755 (check-textrel-CFLAGS): Variable removed.
3756 (all-built-dso): Use := to define.o
3757 ($(all-built-dso:=.dyn)): New static pattern rule.
3758 (generated): Add those targets.
3759 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3760 * config.make.in (READELF): New substituted variable.
3761 * elf/check-textrel.c: File removed.
3762
62fde54f 37632012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 3764
615605c9
JM
3765 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3766 allow.
3767 * conform/data/ctype.h-data [C99-based standards] (isblank):
3768 Expect function.
3769 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3770 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3771 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3772 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3773 Specify type. Require positive value.
3774 (EILSEQ): Likewise.
3775 (ERANGE): Likewise.
3776 [ISO || POSIX] (EILSEQ): Do not expect.
3777 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3778 Specify type. Require positive value.
3779 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3780 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3781 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3782 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3783 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3784 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3785 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3786 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3787 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3788 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3789 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3790 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3791 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3792 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3793 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3794 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3795 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3796 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3797 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3798 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3799 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3800 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3801 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3802 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3803 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3804 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3805 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3806 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3807 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3808 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3809 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3810 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3811 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3812 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3813 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3814 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3815 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3816 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3817 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3818 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3819 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3820 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3821 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3822 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3823 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3824 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3825 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3826 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3827 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3828 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3829 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3830 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3831 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3832 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3833 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3834 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3835 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3836 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3837 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3838 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3839 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3840 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3841 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3842 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3843 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3844 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3845 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3846 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3847 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3848 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3849 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3850 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3851 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3852 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3853 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3854 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3855 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3856 Require >= 2.
3857 (FLT_ROUNDS): Expect as macro, not constant.
3858 (FLT_MANT_DIG): Use macro-int-constant.
3859 (DBL_MANT_DIG): Likewise.
3860 (LDBL_MANT_DIG): Likewise.
3861 (FLT_DIG): Likewise.
3862 (DBL_DIG): Likewise.
3863 (LDBL_DIG): Likewise.
3864 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3865 (DBL_MIN_EXP): Likewise.
3866 (LDBL_MIN_EXP): Likewise.
3867 (FLT_MAX_EXP): Use macro-int-constant.
3868 (DBL_MAX_EXP): Likewise.
3869 (LDBL_MAX_EXP): Likewise.
3870 (FLT_MAX_10_EXP): Likewise.
3871 (DBL_MAX_10_EXP): Likewise.
3872 (LDBL_MAX_10_EXP): Likewise.
3873 (FLT_MAX): Use macro-constant.
3874 (DBL_MAX): Likewise.
3875 (LDBL_MAX): Likewise.
3876 (FLT_EPSILON): Use macro-constant. Give upper bound.
3877 (DBL_EPSILON): Likewise.
3878 (LDBL_EPSILON): Likewise.
3879 (FLT_MIN): Likewise.
3880 (DBL_MIN): Likewise.
3881 (LDBL_MIN): Likewise.
3882 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3883 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3884 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3885 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3886 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3887 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3888 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3889 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3890 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3891 [ISO11] (FLT_TRUE_MIN): Likewise.
3892 [ISO11] (LDBL_TRUE_MIN): Likewise.
3893 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3894 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3895 (SCHAR_MIN): Use macro-int-constant. Specify type.
3896 (SCHAR_MAX): Likewise.
3897 (UCHAR_MAX): Likewise.
3898 (CHAR_MIN): Likewise.
3899 (CHAR_MAX): Likewise.
3900 (MB_LEN_MAX): Use macro-int-constant.
3901 (SHRT_MIN): Use macro-int-constant. Specify type.
3902 (SHRT_MAX): Likewise.
3903 (USHRT_MAX): Likewise.
3904 (INT_MAX): Likewise.
3905 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3906 bound negative.
3907 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3908 bound with "U".
3909 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3910 bound with "L".
3911 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3912 bound negative. Suffix upper bound with "L".
3913 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3914 bound with "UL".
3915 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3916 Specify type.
3917 [C99-based standards] (LLONG_MAX): Likewise.
3918 [C99-based standards] (ULLONG_MAX): Likewise.
3919 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3920 == 0.
3921 [ISO11] (max_align_t): Require type.
3922 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3923
c9140a62
JM
3924 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3925 from $CFLAGS, without defining away __attribute__ calls.
3926 (checknamespace): Use $CFLAGS_namespace.
3927
9af0bf29
JM
3928 * conform/conformtest.pl (@keywords): Only include C99 keywords
3929 for standards based on C99 or C11.
3930
343222a2
JM
3931 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3932 Disable tests.
3933 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3934 UNIX98]: Likewise.
3935
661f8cf0
JM
3936 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3937 usability of symbols in #if.
3938
ee74b9cb
JM
3939 * conform/conformtest.pl: If macro or constant types start
3940 "promoted:", expect the symbol to be of the following type
3941 promoted by the integer promotions.
62fde54f 3942
aafc49b3
JM
3943 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3944 in one place. Also handle "macro-constant".
3945
fefdf574
JM
3946 * conform/conformtest.pl: Only accept expected macro values with
3947 "==". Parse all "macro" lines in one place.
3948 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3949
f2d922fe
JM
3950 * conform/conformtest.pl: Handle braced types on "constant" lines
3951 instead of handling "typed-constant".
3952 * conform/data/signal.h-data: Use "constant" instead of
3953 "typed-constant".
3954
d22956c9
JM
3955 * conform/conformtest.pl: Handle "optional-" at start of lines in
3956 one place rather than duplicating several cases. Handle each
3957 format of "macro" line with initial "optional-".
3958
028e2e38
JM
3959 * conform/conformtest.pl: Only accept expected constant or
3960 optional-constant values with "==". Parse all "constant" lines in
3961 one place. Parse all "optional-constant" lines in one place.
3962 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3963 * conform/data/fmtmsg.h-data: Likewise.
3964 * conform/data/netinet/in.h-data: Likewise.
3965 * conform/data/tar.h-data: Likewise.
3966 * conform/data/limits.h-data: Use "==" form on "constant" and
3967 "optional-constant" lines.
3968
1b8f2850
JM
3969 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3970 Use -std=c99 for XOPEN2K.
3971 (@knownproblems): Remove.
3972 (newtoken): Don't check %isknown.
3973
a05a144b
JM
3974 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3975 Do not expect macro.
3976 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3977 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3978 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3979 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3980 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3981 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3982 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3983 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3984 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3985 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3986 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3987 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3988 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3989 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3990 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3991 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3992 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3993 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3994 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3995 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3996 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3997 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3998 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3999 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
4000 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
4001 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
4002 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
4003 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
4004 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
4005 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
4006 [XPG3] (acosh): Likewise.
4007 [XPG3] (asinh): Likewise.
4008 [XPG3] (atanh): Likewise.
4009 [XPG3] (cbrt): Likewise.
4010 [XPG3] (expm1): Likewise.
4011 [XPG3] (ilogb): Likewise.
4012 [XPG3] (log1p): Likewise.
4013 [XPG3] (logb): Likewise.
4014 [XPG3] (nextafter): Likewise.
4015 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
4016 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
4017 [XPG3] (remainder): Likewise.
4018 [XPG3] (rint): Likewise.
4019 [XPG3 || XPG4 || UNIX98] (round): Likewise.
4020 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
4021 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
4022 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
4023 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
4024 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
4025 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
4026 [UNIX98 || XOPEN2K] (scalb): Expect.
4027 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
4028 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
4029 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
4030 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
4031 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
4032 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
4033 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
4034 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
4035 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
4036 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
4037 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
4038 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
4039 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
4040 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
4041 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
4042 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
4043 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
4044 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
4045 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
4046 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
4047 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
4048 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
4049 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
4050 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
4051 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
4052 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
4053 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
4054 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
4055 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
4056 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
4057 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
4058 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
4059 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
4060 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
4061 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
4062 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
4063 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
4064 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
4065 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
4066 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
4067 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
4068 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
4069 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
4070 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
4071 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
4072 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
4073 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
4074 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
4075 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
4076 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
4077 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
4078 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
4079 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
4080 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
4081 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
4082 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
4083 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
4084 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
4085 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
4086 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
4087 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
4088 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
4089 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
4090 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
4091 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
4092 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
4093 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
4094 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
4095 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
4096 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
4097 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
4098 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
4099 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
4100 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
4101 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
4102 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
4103 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
4104 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
4105 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
4106 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
4107 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
4108 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
4109 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
4110 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
4111 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
4112 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
4113 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
4114 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
4115 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
4116 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
4117 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
4118 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
4119 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
4120 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
4121 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
4122 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
4123 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
4124 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
4125 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
4126 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
4127 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
4128 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
4129 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
4130 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
4131 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
4132 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
4133 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
4134 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
4135 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
4136 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
4137 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
4138 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
4139 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
4140 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
4141 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
4142 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
4143 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
4144 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
4145 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
4146 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
4147 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
4148 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
4149 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
4150 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
4151 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
4152 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
4153 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
4154 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
4155 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
4156 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
4157 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
4158 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
4159 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
4160 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
4161 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4162 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4163 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4164
73c5ebe3
JM
4165 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4166 _XOPEN_SOURCE_EXTENDED for XPG4.
4167
39c33b6c
JM
4168 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4169
62fde54f
JM
4170 * Makeconfig (localtime): Remove variable.
4171 (inst_localtime-file): Likewise.
4172
0741d64c
AS
41732012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4174
4175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4176 Update.
4177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4178 Update.
4179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4180 Update.
4181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4182 Update.
4183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4184 Update.
4185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4186 Update.
4187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4188 Update.
4189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4190 Update.
4191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4192 Update.
4193
7cb029ee
JM
41942012-05-01 Joseph Myers <joseph@codesourcery.com>
4195
4196 [BZ #2550]
4197 [BZ #2570]
4198 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4199 comparisons to determine direction to adjust input.
4200 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4201 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4202 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4203 Likewise.
4204 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4205 Likewise.
4206 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4207 Likewise.
4208 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4209 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4210 Likewise.
4211 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4212 Likewise.
4213 * math/libm-test.inc (nexttoward_test): Add more tests.
4214
412bd966
AS
42152012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4216
4217 [BZ #14040]
4218 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4219 in version GLIBC_2.1, not GLIBC_2.0.
4220 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4221 Likewise.
4222
9568c0c2
JM
42232012-04-30 Joseph Myers <joseph@codesourcery.com>
4224
adfbc8ac
JM
4225 [BZ #13942]
4226 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4227 (1 - x) * (1 + x).
4228 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4229 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4230 * math/libm-test.inc (acos_test): Add more tests.
4231 (asin_test): Likewise.
4232 * sysdeps/i386/fpu/libm-test-ulps: Update.
4233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4234
5ba3cc69
JM
4235 [BZ #14034]
4236 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4237 of square root.
4238 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4239 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4240 * math/libm-test.inc (acos_test_tonearest): New function.
4241 (acos_test_towardzero): Likewise.
4242 (acos_test_downward): Likewise.
4243 (acos_test_upward): Likewise.
4244 (asin_test_tonearest): Likewise.
4245 (asin_test_towardzero): Likewise.
4246 (asin_test_downward): Likewise.
4247 (asin_test_upward): Likewise.
4248 (main): Call the new functions.
4249 * sysdeps/i386/fpu/libm-test-ulps: Update.
4250 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4251
9568c0c2
JM
4252 [BZ #13884]
4253 [BZ #13924]
4254 * math/e_exp10.c: Include <float.h>.
4255 (__ieee754_exp10): Handle underflow here rather than multiplying
4256 large negative argument by M_LN10.
4257 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4258 of __ieee754_expf.
4259 * math/e_exp10l.c: Include <float.h>.
4260 (__ieee754_exp10l): Handle underflow here rather than multiplying
4261 large negative argument by M_LN10l.
4262 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4263 spurious overflow exception on underflow.
4264
5ac3ea17
MP
42652012-04-29 Marek Polacek <polacek@redhat.com>
4266
4267 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4268 (__fortify_function): New macro.
4269 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4270 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4271 __extern_always_inline.
4272 * libio/bits/stdio2.h: Likewise.
4273 * libio/bits/stdio.h: Likewise.
4274 * string/string.h: Likewise.
4275 * string/bits/string3.h: Likewise.
4276 * include/stdio.h: Likewise.
4277 * stdlib/bits/stdlib.h: Likewise.
4278 * stdlib/stdlib.h: Likewise.
4279 * rt/bits/mqueue2.h: Likewise.
4280 * rt/mqueue.h: Likewise.
4281 * posix/bits/unistd.h: Likewise.
4282 * posix/unistd.h: Likewise.
4283 * io/bits/poll2.h: Likewise.
4284 * io/bits/fcntl2.h: Likewise.
4285 * io/fcntl.h: Likewise.
4286 * io/sys/poll.h: Likewise.
4287 * misc/bits/syslog.h: Likewise.
4288 * misc/bits/syslog-ldbl.h: Likewise.
4289 * misc/sys/syslog.h: Likewise.
4290 * socket/bits/socket2.h: Likewise.
4291 * socket/sys/socket.h: Likewise.
4292 * debug/tst-chk1.c: Likewise.
4293 * wcsmbs/bits/wchar2.h: Likewise.
4294 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4295 * wcsmbs/wchar.h: Likewise.
4296
ecf0ebfb
AJ
42972012-04-29 Andreas Jaeger <aj@suse.de>
4298
4299 * Makerules (tests): Remove enable-check-abi protection.
4300 (check-abi-warn): Remove.
4301 (check-abi-%): Remove check-abi-warn usage.
4302
4303 * configure.in: Remove check-abi configure option.
4304 * configure: Regenerated.
4305 * config.make.in (enable-check-abi): Remove.
4306
6d5c57fa
AS
43072012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4308
24c5d07e 4309 [BZ #14033]
ded5180a
AS
4310 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4311 double functions to double *_finite functions.
4312
7e0d315d
AS
4313 [BZ #13941]
4314 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4315 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4316 LDBL_MIN_EXP.
4317 * stdio-common/Makefile (tests): Add tst-sprintf3.
4318 * stdio-common/tst-sprintf3.c: New file.
4319
6d5c57fa
AS
4320 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4321 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4322
0749ff8b
JM
43232012-04-28 Joseph Myers <joseph@codesourcery.com>
4324
4325 * conform/conformtest.pl: Remove duplicate typed-constant
4326 handling.
4327
8dbd5d7b
DM
43282012-04-28 David S. Miller <davem@davemloft.net>
4329
4330 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4331 (check-abi-%): Remove AWK script prerequisite and explicit
4332 abilist directory.
4333 (check-abi): Rewrite to just diff the symlist with the abilist.
4334 (config-tls, config-abi-config): Delete, no longer used.
4335 (update-abi-%): Remove AWK script and explicit abilist directory.
4336 (update-abi): Rewrite to simply compare and conditionally copy the
4337 symlist and the sysdep abilist file. Remove update-abi-config
4338 checks.
4339 * abilist/ld.abilist: Remove.
4340 * abilist/libBrokenLocale.abilist: Remove.
4341 * abilist/libanl.abilist: Remove.
4342 * abilist/libcrypt.abilist: Remove.
4343 * abilist/libdl.abilist: Remove.
4344 * abilist/librt.abilist: Remove.
4345 * abilist/libthread_db.abilist: Remove.
4346 * abilist/libutil.abilist: Remove.
4347 * scripts/extract-abilist.awk: Remove.
4348 * scripts/merge-abilist.awk: Remove.
4349 * sysdeps/generic/libcidn.abilist: New file.
4350 * sysdeps/generic/libnss_compat.abilist: New file.
4351 * sysdeps/generic/libnss_db.abilist: New file.
4352 * sysdeps/generic/libnss_dns.abilist: New file.
4353 * sysdeps/generic/libnss_files.abilist: New file.
4354 * sysdeps/generic/libnss_hesiod.abilist: New file.
4355 * sysdeps/generic/libnss_nis.abilist: New file.
4356 * sysdeps/generic/libnss_nisplus.abilist: New file.
4357 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4358 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4359 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4360 file.
4361 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4362 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4363 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4364 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4365 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4366 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4367 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4368 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4369 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4370 file.
4371 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4372 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4373 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4374 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4375 file.
4376 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4377 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4378 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4379 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4380 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4381 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4382 file.
4383 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4384 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4385 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4386 file.
4387 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4388 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4389 New file.
4390 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4391 New file.
4392 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4393 New file.
4394 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4395 New file.
4396 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4397 New file.
4398 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4399 New file.
4400 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4401 New file.
4402 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4403 New file.
4404 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4405 New file.
4406 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4407 New file.
4408 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4409 New file.
4410 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4411 New file.
4412 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4413 New file.
4414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4415 file.
4416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4417 New file.
4418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4419 New file.
4420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4421 file.
4422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4423 New file.
4424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4425 New file.
4426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4427 file.
4428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4429 New file.
4430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4431 New file.
4432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4433 New file.
4434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4435 New file.
4436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4437 New file.
4438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4439 New file.
4440 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4442 file.
4443 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4444 New file.
4445 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4446 file.
4447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4448 file.
4449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4450 file.
4451 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4452 file.
4453 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4454 file.
4455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4456 New file.
4457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4458 file.
4459 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4460 file.
4461 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4462 New file.
4463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4464 file.
4465 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4466 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4467 file.
4468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4469 New file.
4470 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4471 file.
4472 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4473 file.
4474 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4475 file.
4476 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4477 file.
4478 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4479 file.
4480 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4481 New file.
4482 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4483 file.
4484 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4485 file.
4486 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4487 New file.
4488 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4489 file.
4490 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4491 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4492 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4493 file.
4494 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4495 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4496 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4497 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4498 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4499 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4500 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4501 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4502 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4503 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4504 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4505 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4506 file.
4507 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4508 New file.
4509 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4510 file.
4511 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4512 file.
4513 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4514 file.
4515 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4516 file.
4517 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4518 file.
4519 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4520 New file.
4521 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4522 New file.
4523 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4524 file.
4525 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4526 New file.
4527 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4528 file.
4529 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4530 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4531 file.
4532 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4533 New file.
4534 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4535 file.
4536 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4537 file.
4538 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4539 file.
4540 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4541 file.
4542 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4543 file.
4544 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4545 New file.
4546 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4547 New file.
4548 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4549 file.
4550 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4551 New file.
4552 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4553 file.
4554
41d73a1b
JM
45552012-04-28 Joseph Myers <joseph@codesourcery.com>
4556
4557 * conform/conformtest.pl: Fix typo in handling typed-constant from
4558 allow-header.
4559
28aeeda4
JM
45602012-04-27 Joseph Myers <joseph@codesourcery.com>
4561
adae8f5e
JM
4562 * README: Cut down references to pre-2.6 Linux kernels and
4563 Linuxthreads. Update lists of configurations in libc and ports
4564 and sort alphabetically. Say "or newer" with Linux kernel version
4565 requirements.
4566
28aeeda4
JM
4567 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4568
a462cb63
RA
45692012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4570
4571 [BZ #887]
4572 * math/libm-test.inc (logb_test_downward): New test to expose
4573 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4574 rounding mode.
4575
6ad3493e
JM
45762012-04-27 Joseph Myers <joseph@codesourcery.com>
4577
4578 [BZ #14027]
4579 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4580 to be done.
4581 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4582 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4583
2ce4f015
JM
45842012-04-26 Joseph Myers <joseph@codesourcery.com>
4585
5aeb141a
JM
4586 * sysdeps/unix/i386/brk.S: Remove file.
4587 * sysdeps/unix/i386/dl-brk.S: Likewise.
4588 * sysdeps/unix/i386/pipe.S: Likewise.
4589 * sysdeps/unix/i386/sigreturn.S: Likewise.
4590 * sysdeps/unix/i386/syscall.S: Likewise.
4591 * sysdeps/unix/i386/vfork.S: Likewise.
4592 * sysdeps/unix/i386/wait.S: Likewise.
4593
7143acae
JM
4594 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4595 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4596
2ce4f015
JM
4597 * configure.in (arm*-none*): Do not allow without
4598 --enable-hacker-mode.
4599 (netbsd*): Remove case setting base_os.
4600 (386bsd*): Likewise.
4601 (freebsd*): Likewise.
4602 (bsdi*): Likewise.
4603 (osf*): Likewise.
4604 (sunos*): Likewise.
4605 (ultrix*): Likewise.
4606 (newsos*): Likewise.
4607 (dynix*): Likewise.
4608 (*bsd*): Likewise.
4609 (sysv*): Likewise.
4610 (isc*): Likewise.
4611 (esix*): Likewise.
4612 (sco*): Likewise.
4613 (minix*): Likewise.
4614 (irix4*): Likewise.
4615 (irix6*): Likewise.
4616 (solaris[2-9]*): Likewise.
4617 (none): Likewise.
4618 * configure: Regenerated.
4619
0ac229c8
AZ
46202012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4621
4622 [BZ #11521]
4623 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4624 overflow or cancellation in calculating denominator.
4625 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4626 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4627 down expression to avoid unexpected rounding in newer GCCs.
4628 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4629
33f244f4
DM
46302012-04-26 David S. Miller <davem@davemloft.net>
4631
4632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4633 long-double compat symbols.
4634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4647
cfa1f3e8
DM
46482012-04-25 David S. Miller <davem@davemloft.net>
4649
4650 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4651 HWCAP_* values only after the memory barriers have been defined.
4652 (atomic_full_barrier): Define.
4653 (atomic_read_barrier): Define.
4654 (atomic_write_barrier): Define.
4655
6e236b92
SP
46562012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4657
4658 * shlib-versions: Add libgcc_s version information.
4659 * sysdeps/generic/libgcc_s.h: Remove.
4660 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4661 libgcc_s.h.
4662 * sysdeps/gnu/unwind-resume.c: Likewise.
4663 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4664
aab39a09
DM
46652012-04-25 David S. Miller <davem@davemloft.net>
4666
4667 * sysdeps/unix/sparc/brk.S: Delete.
4668 * sysdeps/unix/sparc/dl-brk.S: Delete.
4669 * sysdeps/unix/sparc/pipe.S: Delete.
4670 * sysdeps/unix/sparc/sysdep.S: Delete.
4671 * sysdeps/unix/sparc/sysdep.h: Delete.
4672 * sysdeps/unix/sparc/vfork.S: Delete.
4673 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4674 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4675 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4676 ret_ERRVAL, r0, r1, MOVE): Define.
4677 (JUMPTARGET): Remove.
4678 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4679 sysdeps/unix/sparc/sysdep.h
4680 (ENTRY, END): Remove.
4681 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4682
a3cc4f48
JM
46832012-04-25 Joseph Myers <joseph@codesourcery.com>
4684
2ed8cda2
JM
4685 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4686 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4687 -DIS_IN_build.
4688
35d76d59
JM
4689 * timezone/README: Update upstream location and email address for
4690 tzcode and tzdata.
4691 * timezone/zdump.c: Update from tzcode 2012b.
4692 * timezone/zic.c: Likewise.
4693
a3cc4f48
JM
4694 * configure.in (libc_cv_as_needed): Remove test.
4695 * configure: Regenerated.
4696 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4697 conditional definition.
4698 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4699 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4700 * config.make.in (have-as-needed): Remove variable.
4701
ceab42c3
SP
47022012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4703 Paul Pluzhnikov <ppluzhnikov@google.com>
4704
4705 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4706 strings correctly.
4707
3ce2865f
CLT
47082012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4709
4710 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4711 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4712 * sysdeps/sh/strlen.S: Likewise.
4713
f37e0d68
JM
47142012-04-24 Joseph Myers <joseph@codesourcery.com>
4715
ae186e9a
JM
4716 * sysdeps/unix/fork.S: Remove file.
4717 * sysdeps/unix/i386/fork.S: Likewise.
4718 * sysdeps/unix/sparc/fork.S: Likewise.
4719
b96914af
JM
4720 * sysdeps/unix/system.c: Remove file.
4721 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4722
f37e0d68
JM
4723 * sysdeps/unix/getegid.S: Remove file.
4724 * sysdeps/unix/geteuid.S: Likewise.
4725
87ef29ca
RM
47262012-04-24 Roland McGrath <roland@hack.frob.com>
4727
83bcd236
RM
4728 * scripts/check-localplt.awk: New file.
4729 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4730 of diff.
4731 * scripts/data/localplt-generic.data: Add a comment.
4732
87ef29ca
RM
4733 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4734 NODE when __dir_mkfile failed.
4735 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4736 Reported by Ludovic Courtès <ludo@gnu.org>.
4737
e5a6e567
AJ
47382012-04-24 Andreas Jaeger <aj@suse.de>
4739
4740 * Makerules (common-clean): Also remove gen-as-const-headers
4741 files.
4742
c1820385
JM
47432012-04-24 Joseph Myers <joseph@codesourcery.com>
4744
4745 * Makerules (native-compile): Do not change working directory for
4746 build. Use $(OUTPUT_OPTION) in command.
4747 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4748
94e02fc4
AZ
47492012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4750
4751 [BZ #13886]
4752 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4753 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4754 * math/libm-test.inc (floor_test): Add more tests.
4755 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4756
3a533ca3
JM
47572012-04-24 Joseph Myers <joseph@codesourcery.com>
4758
940ab4b3
JM
4759 * sysdeps/unix/getdents.c: Remove file.
4760 * sysdeps/unix/sysv/getdents.c: Likewise.
4761 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4762
90e037bd
JM
4763 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4764 sysdeps/unix/mman/syscalls.list.
4765 (mmap): Likewise.
4766 (mprotect): Likewise.
4767 (msync): Likewise.
4768 (munmap): Likewise.
4769 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4770 * sysdeps/unix/mman/syscalls.list: Remove.
4771 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4772
3a533ca3
JM
4773 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4774 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4775 * configure: Regenerated.
4776 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4777 $(libgcc_s_suffix).
4778 * config.make.in (libgcc_s_suffix): Remove variable.
4779
1ad743de
JM
47802012-04-23 Joseph Myers <joseph@codesourcery.com>
4781
4ad451e2
JM
4782 * sysdeps/unix/sysv/gethostname.c: Move to ...
4783 * sysdeps/posix/gethostname.c: ... here.
4784
5e37ce39
JM
4785 * sysdeps/unix/execve.S: Remove file.
4786
1ad743de
JM
4787 * sysdeps/unix/_exit.S: Remove file.
4788
4e681b5b
AJ
47892012-04-23 Andreas Jaeger <aj@suse.de>
4790
4791 [BZ #13739]
4792 * manual/Makefile: Remove make dist support, there's no
4793 need for a stand-alone documentation tar ball.
4794 (TEXI2DVI): Define always, it's not in Makeconfig.
4795 (dist): Removed.
4796 (tar-it): Removed.
4797 (edition): Removed.
4798 (glibc-doc-$(edition).tar): Removed
4799 (%.Z): Removed.
4800 (%.gz): Removed.
4801 (%.uu): Removed.
4802 (ETAGS): Remove, it's in Makeconfig.
4803 (move-if-change): Remove, it's in Makeconfig.
4804
c0baea34
PE
48052013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4806
4807 [BZ #13970]
4808 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4809 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4810 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4811 (strtod_l, strtof_l, strtold_l): Remove __wur.
4812 It is not necessarily an error to ignore strtol's return value.
4813 One can reliably look at the stored endptr to decide whether
4814 the number had valid syntax.
4815
7c0616fa
AJ
48162012-04-21 Andreas Jaeger <aj@suse.de>
4817
803cb6b7 4818 [BZ #13739]
7c0616fa
AJ
4819 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4820
b0fe253f
JM
48212012-04-21 Joseph Myers <joseph@codesourcery.com>
4822
4823 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4824 * sysdeps/unix/sysv/Versions: Remove file.
4825
8280f22d
MT
48262012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4827
4828 [BZ #13927]
4829 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4830
75ce411f 48312012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
4832
4833 [BZ #7064]
4834 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4835 version from __vm86.
4836
097d59fa
JM
48372012-04-20 Joseph Myers <joseph@codesourcery.com>
4838
a90f3bcb
JM
4839 * sysdeps/unix/common/lxstat.c: Remove file.
4840 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4841
edc7ea78
JM
4842 * sysdeps/unix/sysv/Makefile: Remove file.
4843
cb78c221
JM
4844 * sysdeps/unix/sysv/direct.h: Remove file.
4845
efa6a45f
JM
4846 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4847 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4848 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4849 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4850 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4851 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4852 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4853
9c9f2d0c
JM
4854 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4855
4541c83b
JM
4856 * sysdeps/unix/xmknod.c: Remove file.
4857 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4858
f5d153a0
JM
4859 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4860
aa746595
JM
4861 * sysdeps/unix/sysv/i386/time.S: Remove file.
4862
cce5905e
JM
4863 * sysdeps/unix/fxstat.c: Remove file.
4864 * sysdeps/unix/xstat.c: Likewise.
4865 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4866
37fa3841
JM
4867 * sysdeps/unix/sysv/sigaction.c: Remove file.
4868
ff1962a3
JM
4869 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4870 (sysdep_headers): Remove variable.
4871 [termio.h not in sysdep_headers] (generated): Likewise.
4872 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4873 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4874 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4875 * sysdeps/unix/sysv/tcflow.c: Likewise.
4876 * sysdeps/unix/sysv/tcflush.c: Likewise.
4877 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4878 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4879 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4880 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4881 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4882
e7740d31
JM
4883 * sysdeps/unix/siglist.c: Remove file.
4884
ee06f18b
JM
4885 * sysdeps/unix/getppid.S: Remove file.
4886
097d59fa
JM
4887 * sysdeps/unix/mkdir.c: Remove file.
4888 * sysdeps/unix/rmdir.c: Likewise.
4889
ff3d51ec
AS
48902012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4891
4892 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4893 ERR_MAX value.
4894 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4895 errlist-compat value.
4896
50f81fd7
DM
48972012-04-18 David S. Miller <davem@davemloft.net>
4898
4899 * sysdeps/generic/memcopy.h (reg_char): Delete.
4900 * debug/strcat_chk.c: Use char, not reg_char.
4901 * debug/strcpy_chk.c: Likewise.
4902 * debug/strncat_chk.c: Likewise.
4903 * debug/strncpy_chk.c: Likewise.
4904 * string/memchr.c: Likewise.
4905 * string/memrchr.c: Likewise.
4906 * string/rawmemchr.c: Likewise.
4907 * string/strcat.c: Likewise.
4908 * string/strchr.c: Likewise.
4909 * string/strchrnul.c: Likewise.
4910 * string/strcmp.c: Likewise.
4911 * string/strcpy.c: Likewise.
4912 * string/strncat.c: Likewise.
4913 * string/strncmp.c: Likewise.
4914 * string/strncpy.c: Likewise.
4915
8ff41c46
WS
49162012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4917
4918 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4919 __builtin_memcopy is called when src and dest ranges are known to not
4920 overlap.
4921
6b652f46
WS
49222012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4923
4924 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4925 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4926 fwd_align_merge macro call.
4927 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4928 bwd_align_merge macro call.
4929 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4930
b282631e
WS
49312012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4932
4933 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4934 bwd_align_merge macros.
4935 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4936 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4937 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4938
95aa737c
DM
49392012-04-18 David S. Miller <davem@davemloft.net>
4940
4941 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4942
7a99a614
AJ
49432012-04-18 Andreas Jaeger <aj@suse.de>
4944
4945 [BZ# 6794]
4946 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4947 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4948 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4949
4950 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4951 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4952 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4953
4954 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4955 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4956 Adjust for changed ldbl-128 files.
4957
4958 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4959 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4960 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4961
e5270c23
DM
49622012-04-17 David S. Miller <davem@davemloft.net>
4963
4964 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4965
fb5e92c9
AS
49662012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4967
4968 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4969 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4970 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4971 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4972 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4973 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4974
76da7265
AZ
49752012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4976
4977 [BZ #6794]
4978 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4979 * math/libm-test.inc: Add ilogb errno and exception tests.
4980 * math/w_ilogb.c: New file: ilogb wrapper.
4981 * math/w_ilogbf.c: New file: ilogbf wrapper.
4982 * math/w_ilogbl.c: New file: ilogbl wrapper.
4983 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4984 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4985 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4986 exception being thrown with 0.0 as argument.
4987 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4988 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4989 exception being thrown with 0.0 as argument.
4990 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4991 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4992 exception being thrown with 0.0 as argument.
4993 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4994 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4995 exception being thrown with 0.0 as argument.
4996 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4997 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 4998 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
4999 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
5000 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
5001 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
5002 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
5003 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
5004 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
5005
0396e69d
PB
50062012-04-17 Petr Baudis <pasky@ucw.cz>
5007
5008 * include/sys/uio.h: Change __vector to __iovec to avoid clash
5009 with altivec.
5010
750b5926
MP
50112012-04-16 Marek Polacek <polacek@redhat.com>
5012
5013 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
5014
751728a1
MP
50152012-04-16 Marek Polacek <polacek@redhat.com>
5016
5017 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
5018 operands of fdivp instruction.
5019
34a27407
L
50202012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5021
5022 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
5023 * elf/tst-auditmod3b.c: Likewise.
5024 * elf/tst-auditmod4b.c: Likewise.
5025 * elf/tst-auditmod5b.c: Likewise.
5026 * elf/tst-auditmod6b.c: Likewise.
5027 * elf/tst-auditmod6c.c: Likewise.
5028 * elf/tst-auditmod7b.c: Likewise.
5029 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
5030 * sysdeps/x86_64/preconfigure.in: Likewise.
5031 * sysdeps/x86_64/preconfigure: Regenerated.
5032
7e73e17d
L
50332012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5034
5035 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
5036 __ILP32__.
5037
c7a6ab72
AB
50382012-04-13 Antoine Balestrat <merkil33@gmail.com>
5039
5040 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5041 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
5042
a9e8e0e0
CL
50432012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
5044
5045 [BZ #13973]
5046 * locale/iso-639.def: Fix gl language name. Spotted by
5047 Yaron Shahrabani.
5048
ec98af7d
RM
50492012-04-12 Roland McGrath <roland@hack.frob.com>
5050
5051 [BZ #2074]
5052 * libio/libio.h (__io_write_fn): Update comment.
5053
247c3ede
PB
50542012-04-12 Petr Baudis <pasky@ucw.cz>
5055
5056 [BZ #2074]
5057 * stdio.texi (Hook Functions): The user provided writer function
5058 is not allowed to return -1.
5059
55939d6d
DM
50602012-04-11 David S. Miller <davem@davemloft.net>
5061
5062 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5063
90020f5a
MF
50642012-04-11 Mike Frysinger <vapier@gentoo.org>
5065
5066 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
5067 Add a leading slash to rtkaio.
5068
288f9098
JM
50692012-04-11 Jim Meyering <meyering@redhat.com>
5070
90020f5a
MF
5071 [BZ #11959]
5072 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
5073 It is not necessarily an error to ignore fwrite's return
5074 value. One can reliably use ferror to test for errors after
5075 the fact.
288f9098 5076
4be2b570
L
50772012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5078
5079 * bits/types.h (__snseconds_t): New type.
5080 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
5081
5082 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
5083 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5084 (__SNSECONDS_T_TYPE): Likewise.
5085 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5086 (__SNSECONDS_T_TYPE): Likewise.
5087 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5088 (__SNSECONDS_T_TYPE): Likewise.
5089
288f9098 50902012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
5091
5092 [BZ #2636]
5093 * manual/time.texi (Processor Time): Return type of times is
5094 elapsed real time since an arbitrary point in the past.
5095 (CPU Time): Move CLK_TCK from here...
5096 (Processor Time): ...to here. Correct description.
5097 * manual/conf.texi (Constants for Sysconf): Correct description of
5098 _SC_CLK_TCK.
5099
d7dd4413
DM
51002012-04-10 David S. Miller <davem@davemloft.net>
5101
5102 [BZ #13967]
5103 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
5104 where the is a gap between DT_REL(A) and DT_JMPREL.
5105
b46068fc
L
51062012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5107
5108 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
5109 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5110 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5111
73d65cc3
SP
51122012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5113
5114 * elf/dl-support.c (_dl_inhibit_cache): New variable.
5115 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
5116 (dl_main): Handle --inhibit-cache.
5117 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
5118 _dl_inhibit_cache.
5119 * elf/dl-load.c (_dl_map_object): Use it.
5120 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
5121
bcc8d661
JM
51222012-04-09 Joseph Myers <joseph@codesourcery.com>
5123
8f9a2fae
JM
5124 [BZ #13872]
5125 * sysdeps/i386/fpu/e_powl.S (p78): New object.
5126 (__ieee754_powl): Saturate large exponents rather than testing for
5127 overflow of y*log2(x).
5128 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5129 * math/libm-test.inc (pow_test): Do not permit spurious overflow
5130 exceptions.
5131
bcc8d661
JM
5132 [BZ #11521]
5133 * math/s_ctan.c: Include <float.h>.
5134 (__ctan): Avoid internal overflow or cancellation in calculating
5135 denominator.
5136 * math/s_ctanf.c: Likewise.
5137 * math/s_ctanl.c: Likewise.
5138 * math/s_ctanh.c: Likewise.
5139 * math/s_ctanhf.c: Likewise.
5140 * math/s_ctanhl.c: Likewise.
5141 * math/libm-test.inc (ctan_test): Add more tests.
5142 (ctanh_test): Likewise.
5143 * sysdeps/i386/fpu/libm-test-ulps: Update.
5144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5145
823fbbb4
AJ
51462012-04-09 Andreas Jaeger <aj@suse.de>
5147
03879793
AJ
5148 [BZ #6894]
5149 * manual/filesys.texi (Directory Entries): Mention that d_namlen
5150 is an optional BSD extension.
5151
823fbbb4
AJ
5152 [BZ #10254]
5153 * manual/stdio.texi (Opening Streams): Document additional fopen
5154 parameters.
5155
8de131cb
RM
51562012-04-09 Roland McGrath <roland@hack.frob.com>
5157
5158 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
5159 %eax without telling the compiler.
5160
c0ed9d7d
CD
51612012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
5162
5163 [BZ # 13963]
5164 * manual/install.texi: Use sourceware.org.
5165
c483f6b4
JM
51662012-04-09 Joseph Myers <joseph@codesourcery.com>
5167
d7dd9453
JM
5168 [BZ #13873]
5169 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5170 (__ieee754_pow): Generate overflow and underflow using huge*huge
5171 and tiny*tiny rather than just returning constant infinity or zero
5172 for large exponents.
5173 * math/libm-test.inc (pow_test): Require overflow exceptions for
5174 applicable cases of large exponents.
5175
c483f6b4
JM
5176 [BZ #706]
5177 * sysdeps/i386/fpu/e_pow.S (p10): New object.
5178 (__ieee754_pow): Use iterative multiplication algorithm only for
5179 integer exponents with absolute value below 1024. Check for odd
5180 integer exponents when using algorithm for real exponents.
5181 * math/libm-test.inc (pow_test): Add more tests.
5182 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5183
d2de7579
JM
51842012-04-08 Joseph Myers <joseph@codesourcery.com>
5185
5186 [BZ #13705]
5187 * math/libm-test.inc (exp_test): Do not allow overflow exception
5188 on underflow test.
5189
f77f1232
AJ
51902012-04-08 Aurelien Jarno <aurelien@aurel32.net>
5191
5192 [BZ #13705]
5193 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5194 instead of __kernel_standard_f.
5195
3884932b
MF
51962012-04-08 Mike Frysinger <vapier@gentoo.org>
5197
5198 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5199 * sysdeps/x86_64/memset_chk.S: Likewise.
5200
54472e9c
AJ
52012012-04-08 Andreas Jaeger <aj@suse.de>
5202
6ab0fbfc
AJ
5203 [BZ #10153]
5204 * manual/startup.texi (Environment Access): Describe return value
5205 for putenv and setenv.
5206
61efba8c
AJ
5207 [BZ #6895]
5208 * manual/filesys.texi (Directory Entries): Add description for
5209 DT_LNK.
5210
95c3f29a
AJ
5211 [BZ #6890]
5212 * manual/filesys.texi (Directory Entries): Clarify that it's file
5213 system not operating system in the description of DT_UNKNOWN.
5214
54472e9c
AJ
5215 [BZ #6578]
5216 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5217
624254b1
SC
52182012-04-08 Stephen Compall <s11@member.fsf.org>
5219
5220 [BZ #6649]
5221 * manual/llio.texi (Opening and Closing Files): Add cross
5222 reference to explain mode argument.
5223
1e4920e0
MF
52242012-04-07 Mike Frysinger <vapier@gentoo.org>
5225
5226 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5227 * sysdeps/x86_64/memset_chk.S: Likewise.
5228
5ed848f3
DM
52292012-04-07 David S. Miller <davem@davemloft.net>
5230
5231 * elf/elf.h (R_SPARC_WDISP10): Define.
5232 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5233 R_SPARC_SIZE32.
5234 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5235 R_SPARC_SIZE64 and R_SPARC_H34.
5236
96154cd8
CD
52372012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5238
5239 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5240 conditions and remove no longer applicable assertion.
5241
9904dc47
L
52422012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5243
5244 * bits/byteswap.h: Include <features.h>.
5245 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5246 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5247
f8887d0a
L
52482012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5249
5250 * bits/byteswap.h (__bswap_16): Removed.
5251 Include <bits/byteswap-16.h> to get __bswap_16.
5252 * sysdeps/i386/bits/byteswap.h: Likewise.
5253 * sysdeps/s390/bits/byteswap.h: Likewise.
5254 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5255 * bits/byteswap-16.h: New file.
5256 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5257 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5258 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5259 * string/Makefile (headers): Add bits/byteswap-16.h.
5260
62470f60
PP
52612012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5262
5263 [BZ #13895]
5264 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5265 extra indirection.
5266 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5267 * nss/tst-nss-static.c: New.
5268
4dad7bab
RM
52692012-04-06 Robert Millan <rmh@gnu.org>
5270
5271 [BZ #6486]
5272 * manual/llio.texi (File Position Primitive): lseek
5273 refers to WHENCE when it really means OFFSET.
5274
e9142a17
AJ
52752012-04-06 Andreas Jaeger <aj@suse.de>
5276
2c040eff
AJ
5277 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5278 strncmp declarations.
5279
e9142a17
AJ
5280 * abilist/libc.abilist: Add __poll and __ppoll.
5281
ff9f1c5f
DM
52822012-04-05 David S. Miller <davem@davemloft.net>
5283
dcd2ae90
DM
5284 * scripts/check-local-headers.sh: Accept a host triplet in the
5285 path matched by the exclude regexp.
5286
993eb054
DM
5287 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5288 definition.
5289 * sysdeps/powerpc/powerpc32/dl-machine.h
5290 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5291 * sysdeps/s390/s390-32/dl-machine.h
5292 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5293 * sysdeps/sparc/sparc32/dl-machine.h
5294 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5295 * sysdeps/sparc/sparc64/dl-machine.h
5296 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5297
ff9f1c5f
DM
5298 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5299 lazy binding.
48e2e132 5300 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
5301 undefined symbol errors.
5302
48e2e132 5303 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
5304 DT_NEEDED entries.
5305
e80d6f94
MM
53062012-04-05 Michael Matz <matz@suse.de>
5307
5308 [BZ #13592]
5309 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5310
349fa79f
AJ
53112012-04-05 Andreas Jaeger <aj@suse.de>
5312
5313 [BZ #13908]
5314 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5315 comment.
5316
f402708f
KK
53172012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5318
5319 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5320 which ROUND is no valid rounding mode.
5321
2ecccfc9
KK
53222012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5323
5324 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5325 read again.
5326 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5327
8a53f50f
KK
53282012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5329
5330 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5331 an exception using FPU order intentionally.
5332
53332012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5334
5335 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5336 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5337 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5338 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5339
d653abb7
SJ
53402012-04-05 Simon Josefsson <simon@josefsson.org>
5341
5342 [BZ #12340]
5343 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5344 EINVAL when BUFLEN is too smal.
5345
c3b1bf7d
TS
53462012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5347
5348 [BZ #13553]
5349 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5350 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5351
b1aa60f3
AJ
53522012-04-03 Andreas Jaeger <aj@suse.de>
5353
c3b1bf7d 5354 [BZ #13938]
67f60a26
AJ
5355 * manual/setjmp.texi (System V contexts): Fix sentence.
5356
b1aa60f3
AJ
5357 [BZ #13926]
5358 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5359 New macro for this case.
5360 [!__GNUC__] (__bswap_64): New inline function for this case.
5361 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5362 * bits/byteswap.h: Likewise.
5363 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5364 ull, guard with __GLIBC_HAVE_LONG_LONG.
5365
5366 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5367 __GLIBC_HAVE_LONG_LONG.
5368
5369 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5370 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5371
39c59c35
TMQMF
53722012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5373
5374 [BZ #13691]
5375 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5376 inptr and inend, rather than using last_ch.
5377
135ffda8
DM
53782012-04-02 David S. Miller <davem@davemloft.net>
5379
5380 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5381 * stdio-common/printf-parse.h (read_int): Change return type to
5382 'int', return -1 on INT_MAX overflow.
5383 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5384 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5385 overflows INT_MAX. Check for overflow of in-format-string precision
5386 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5387 SIZE_MAX not INT_MAX for integer overflow test.
5388 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5389 skip the construct in the format string but do not record anything.
5390 * stdio-common/bug22.c: Adjust to test both width/prevision
5391 INT_MAX overflow as well as total length INT_MAX overflow. Check
5392 explicitly for proper errno values.
5393
228c019e
TS
53942012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5395
302cadd3
TS
5396 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5397 CHAR_MAX.
5398 * string/test-strcmp.c [! WIDE]: Likewise.
5399 * time/tst-mktime2.c: Likewise for INT_MAX.
5400 * string/test-string.h: #include <sys/param.h> for MIN.
5401
228c019e
TS
5402 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5403 * sysdeps/i386/init-first.c (init): Likewise.
5404 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5405 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5406 * sysdeps/sh/init-first.c (init): Likewise.
5407
cfa633f5
UD
54082012-04-01 Ulrich Drepper <drepper@gmail.com>
5409
5410 * po/ru.po: Update from translation team.
d1635ef8 5411 * po/vi.po: Likewise.
cfa633f5 5412
6cd0a5ea
SP
54132012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5414
5415 * resolv/nss_dns/dns-host.c: Merge copyright years.
5416
4b43400f
LD
54172012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5418
5419 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5420 Optimize memcpy with prefetch if
5421 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5422 src, dst pointers have unequal 16 byte alignments.
5423
48c41d04
SP
54242012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5425
5426 [BZ #13928]
5427 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5428 from a CNAME entry and return the minimum ttl for the query.
5429 (gaih_getanswer_slice): Likewise.
5430
b8dc394d
JL
54312012-03-30 Jeff Law <law@redhat.com>
5432
5433 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5434 due to long keys.
5435 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5436 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5437
2f5a5ed0
JL
5438 * resolv/nss_dns/dns-host.c: Update copyright year.
5439
1d39e359
UD
54402012-03-30 Ulrich Drepper <drepper@gmail.com>
5441
c030f70c 5442 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 5443 requests to save a system call. Fix check that all bytes are sent.
c030f70c 5444
1d39e359
UD
5445 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5446 comments for sendmmsg.
5447
54482012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
5449
5450 [BZ #13691]
5451 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5452 with only 1 character between 0x0041 and 0x01b0.
5453 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5454 * wcsmbs/tst-mbsnrtowcs.c: New file.
5455
20fde227
DM
54562012-03-29 David S. Miller <davem@davemloft.net>
5457
5458 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5459 small copies by hand.
5460
984a4237
JL
54612012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5462
5463 [BZ #13761]
5464 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5465 _nss_compat_initgroups_dyn): Fall back to malloc/free
5466 for large group memberships.
5467
18c9d62b
DM
54682012-03-28 David S. Miller <davem@davemloft.net>
5469
88d85d4f
DM
5470 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5471 that branches into memcpy.
5472 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5473 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5474 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5475 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5476 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5477 bits.
5478 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5479 implementation too.
5480 * sysdeps/sparc/mempcpy.S: New file.
5481
e5aa83e1
DM
5482 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5483 the IFUNC routine in the libc case.
5484 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5485
88570753
DM
5486 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5487 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5488 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5489 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5490 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5491 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5492 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5493 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5494
249d7567
DM
5495 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5496 loop to 256 bytes instead of 64 bytes and fix test signedness.
5497
18c9d62b
DM
5498 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5499 * sysdeps/sparc/sparc32/Makefile: rather than here...
5500 * sysdeps/sparc/sparc64/Makefile: and here.
5501
05f3d1f6
UD
55022012-03-28 Ulrich Drepper <drepper@gmail.com>
5503
5504 * malloc/mallocbug.c: Avoid warnings about unused variables.
5505
86ae07a8
JL
55062012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5507
5508 [BZ #13760]
5509 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5510 in the right place. Discard and retry query if response is
5511 larger than input buffer size.
5512
41bf21a1
JM
55132012-03-28 Joseph Myers <joseph@codesourcery.com>
5514
d6270972
JM
5515 [BZ #369]
5516 [BZ #2678]
5517 [BZ #3866]
5518 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5519 x for large integer exponent.
5520 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5521 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5522 sign of result as needed afterwards.
5523 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5524 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5525 result for underflowing pow the same as for overflow.
5526 (__kernel_standard_l): Handle powl overflow and underflow here
5527 rather than calling __kernel_standard.
5528 * math/libm-test.inc (pow_test): Add more tests.
5529
414fca03 5530 [BZ #3868]
41bf21a1
JM
5531 [BZ #13879]
5532 [BZ #13910]
5533 [BZ #13911]
5534 [BZ #13912]
5535 [BZ #13913]
5536 [BZ #13915]
5537 [BZ #13916]
5538 [BZ #13917]
5539 [BZ #13918]
5540 [BZ #13919]
5541 [BZ #13920]
5542 [BZ #13921]
5543 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5544 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5545 (__kernel_standard_l): New function.
5546 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5547 __kernel_standard.
5548 * math/w_acosl.c (__acosl): Likewise.
5549 * math/w_asinl.c (__asinl): Likewise.
5550 * math/w_atan2l.c (__atan2l): Likewise.
5551 * math/w_atanhl.c (__atanhl): Likewise.
5552 * math/w_coshl.c (__coshl): Likewise.
5553 * math/w_exp10l.c (__exp10l): Likewise.
5554 * math/w_exp2l.c (__exp2l): Likewise.
5555 * math/w_fmodl.c (__fmodl): Likewise.
5556 * math/w_hypotl.c (__hypotl): Likewise.
5557 * math/w_j0l.c (__j0l, __y0l): Likewise.
5558 * math/w_j1l.c (__j1l, __y1l): Likewise.
5559 * math/w_jnl.c (__jnl, __ynl): Likewise.
5560 * math/w_lgammal.c (__lgammal): Likewise.
5561 * math/w_log10l.c (__log10l): Likewise.
5562 * math/w_log2l.c (__log2l): Likewise.
5563 * math/w_logl.c (__logl): Likewise.
5564 * math/w_powl.c (__powl): Likewise.
5565 * math/w_remainderl.c (__remainderl): Likewise.
5566 * math/w_scalbl.c (sysv_scalbl): Likewise.
5567 * math/w_sinhl.c (__sinhl): Likewise.
5568 * math/w_sqrtl.c (__sqrtl): Likewise.
5569 * math/w_tgammal.c (__tgammal): Likewise.
5570 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5571 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5572 * math/libm-test.inc (acos_test): Add more tests.
5573 (acosh_test): Likewise.
5574 (asin_test): Likewise.
5575 (atanh_test): Likewise.
5576 (exp_test): Likewise.
5577 (exp10_test): Likewise.
5578 (exp2_test): Likewise.
5579 (expm1_test): Likewise.
5580 (lgamma_test): Likewise.
5581 (log_test): Likewise.
5582 (log10_test): Likewise.
5583 (log1p_test): Likewise.
5584 (log2_test): Likewise.
5585 (pow_test): Do not allow some spurious overflow exceptions.
5586 (sqrt_test): Add more tests.
5587 (tgamma_test): Likewise.
5588 (y0_test): Likewise.
5589 (y1_test): Likewise.
5590 (yn_test): Likewise.
5591
dd62fda6
AB
55922012-03-27 Anton Blanchard <anton@samba.org>
5593
5594 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5595 MAP_HUGETLB.
5596 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5597 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5598 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5599
1e3cdfda
AJ
56002012-03-27 David S. Miller <davem@davemloft.net>
5601
b855ab85
DM
5602 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5603
1e3cdfda
AJ
5604 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5605 have-as-vis3 check.
5606
56072012-03-27 Andreas Jaeger <aj@suse.de>
5608
5609 * sysdeps/x86_64/elf/configure.in: Moved to ...
5610 * sysdeps/x86_64/configure.in: ... here.
5611 * sysdeps/x86_64/elf/start.S: Moved to ...
5612 * sysdeps/x86_64/start.S: ... here.
5613 * sysdeps/x86_64/elf/configure: Delete.
5614
5615 * sysdeps/x86_64/configure.in: Merge contents from
5616 sysdeps/i386/configure.in (without i686 check).
5617
5618 * sysdeps/i386/elf/Versions: Merge into ...
5619 * sysdeps/i386/Versions: ... this.
5620 * sysdeps/i386/elf/Versions: Delete file.
5621 * sysdeps/i386/elf/start.S: Moved to ...
5622 * sysdeps/i386/start.S: ...here.
5623 * sysdeps/i386/elf/configure.in: Merge into...
5624 * sysdeps/i386/configure.in: ...here.
5625 * sysdeps/i386/elf/configure.in: Delete file.
5626 * sysdeps/i386/elf/configure: Delete file.
5627
5628 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5629 * debug/backtracesyms.c: ... here.
5630 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5631 * debug/backtracesymsfd.c: ... here.
5632 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5633 * sysdeps/generic/ifunc-sel.h: ... here.
5634
5635 * sysdeps/unix/i386/start.c: Delete file.
5636 * sysdeps/unix/sparc/start.c: Delete file.
5637 * sysdeps/unix/start.c: Delete file.
5638
5639 * sysdeps/sh/elf/configure.in: Moved to ...
5640 * sysdeps/sh/configure.in: ... here.
5641 * sysdeps/sh/elf/start.S: Moved to ...
5642 * sysdeps/sh/start.S: ... here.
5643 * sysdeps/sh/elf/configure: Delete file.
5644
5645 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5646 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5647 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5648 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5649 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5650 * sysdeps/powerpc/powerpc64/start.S: here.
5651 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5652 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5653 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5654 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5655 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5656
5657 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5658 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5659 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5660 * sysdeps/powerpc/powerpc32/start.S: ... here.
5661 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5662 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5663 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5664
5665 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5666 * sysdeps/powerpc/ifunc-sel.h: ... here.
5667 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5668 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5669
5670 * sysdeps/sparc/elf/configure.in: Moved to ...
5671 * sysdeps/sparc/configure.in: ... here.
5672 * sysdeps/sparc/elf/configure: Delete file.
5673 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5674 * sysdeps/sparc/sparc32/start.S: ... here.
5675 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5676 * sysdeps/sparc/sparc64/start.S: ... here.
5677 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5678 * sysdeps/sparc/sparc32/Makefile: ... this.
5679 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5680 * sysdeps/sparc/sparc64/Makefile: ... this.
5681
5682 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5683 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5684 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5685 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5686 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5687 * sysdeps/s390/s390-32/setjmp.S: ... here.
5688 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5689 * sysdeps/s390/s390-32/configure.in: ... here.
5690 * sysdeps/s390/s390-32/elf/configure: Delete file.
5691 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5692 * sysdeps/s390/s390-32/start.S: ... here.
5693
5694 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5695 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5696 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5697 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5698 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5699 * sysdeps/s390/s390-64/setjmp.S: ... here.
5700 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5701 * sysdeps/s390/s390-64/configure.in: ... here
5702 * sysdeps/s390/s390-64/elf/configure: Delete file.
5703 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5704 * sysdeps/s390/s390-64/start.S: ... here.
5705 * sysdeps/s390/s390-64/elf/configure: Delete.
5706
5707 * configure.in: Remove support for elf directories in sysdeps.
5708
5709 * configure: Regenerated.
5710 * sysdeps/i386/configure: Regenerated.
5711 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5712 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5713 * sysdeps/s390/s390-32/configure: Regenerated.
5714 * sysdeps/s390/s390-64/configure: Regenerated.
5715 * sysdeps/sh/configure: Regenerated.
5716 * sysdeps/sparc/configure: Regenerated.
5717 * sysdeps/x86_64/configure: Regenerated.
5718
a3f61311
AS
57192012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5720
c876e002
AS
5721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5722
a3f61311
AS
5723 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5724 denormal result into account.
5725
ac4c54f0
RM
57262012-03-25 Roland McGrath <roland@hack.frob.com>
5727
5728 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5729 Reported by Allan McRae <allan@archlinux.org>.
5730
6a9b9c02
JL
57312012-03-23 Jeff Law <law@redhat.com>
5732
5733 * nss/getnssent.c (__nss_getent): Fix typo.
5734
4c42a0c1
DM
57352012-03-23 David S. Miller <davem@davemloft.net>
5736
5737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5738
1532c7ac
L
57392012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5740
5741 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5742 to pad to uint64_t for each field.
5743 (dl_tls_index): Replace unsigned long with uint64_t.
5744
3ff42526
PP
57452012-03-23 Daniel Jacobowitz <dmj@google.com>
5746 Paul Pluzhnikov <ppluzhnikov@google.com>
5747
5748 [BZ #6528]
5749 * grp/Makefile (otherlibs): Don't set it.
5750 * inet/Makefile (otherlibs): Likewise.
5751 * login/Makefile (otherlibs): Likewise.
5752 * nscd/Makefile (otherlibs): Likewise.
5753 * posix/Makefile (otherlibs): Likewise.
5754 * pwd/Makefile (otherlibs): Likewise.
5755 * rt/Makefile (otherlibs): Likewise.
5756 * sunrpc/Makefile (otherlibs): Likewise.
5757 * nss/Makefile (otherlibs): Likewise.
5758 Add libnss_files to routines and static-only-routines.
5759 ($(objpfx)getent): Remove rule.
5760 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5761 static-only-routines.
5762
7c69cd14
JM
57632012-03-22 Joseph Myers <joseph@codesourcery.com>
5764
5765 [BZ #13892]
5766 * math/s_cexp.c: Include <float.h>.
5767 (__cexp): Handle exp result overflowing not necessarily
5768 overflowing both real and imaginary parts of result.
5769 * math/s_cexpf.c: Likewise.
5770 * math/s_cexpl.c: Likewise.
5771 * math/libm-test.inc (cexp_test): Add more tests.
5772 * sysdeps/i386/fpu/libm-test-ulps: Update.
5773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5774
81b035fe
L
57752012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5776
5777 * include/link.h (ELFW): New macro.
5778 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5779 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5780
1da7940c
L
57812012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5782
5783 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5784 with uint64_t.
5785
b749dbb9
L
57862012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5787
5788 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5789 declaration.
5790 (struct La_x32_retval): Likewise.
5791
2ff87f3f
L
57922012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5793
5794 * sysdeps/x86_64/preconfigure.in: New file.
5795 * sysdeps/x86_64/preconfigure: New generated file.
5796
c0df8e69
JM
57972012-03-22 Joseph Myers <joseph@codesourcery.com>
5798
48e44791
JM
5799 [BZ #13824]
5800 * math/e_exp2l.c: Include <float.h>.
5801 (__ieee754_exp2l): Handle overflow and underflow cases
5802 separately. Only pass fractional part of argument to
5803 __ieee754_expl.
5804 * math/libm-test.inc (exp2_test): Add more tests.
5805
c0df8e69
JM
5806 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5807 negating x to take absolute value.
5808 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5809 Likewise.
5810 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5811 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5812 Likewise.
5813 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5814 computing low part if x was negated.
5815 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5816
c8e43ba7
L
58172012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5818
5819 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5820 la_x32_gnu_pltexit.
5821 (pltexit): Cast int_retval to ptrdiff_t.
5822 * elf/tst-auditmod3b.c: Likewise.
5823 * elf/tst-auditmod4b.c: Likewise.
5824 * elf/tst-auditmod5b.c: Likewise.
5825 * elf/tst-auditmod6b.c: Likewise.
5826 * elf/tst-auditmod6c.c: Likewise.
5827 * elf/tst-auditmod7b.c: Likewise.
5828
5829 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5830 and x32_gnu_pltexit.
5831
5832 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5833 __ELF_NATIVE_CLASS.
5834 (La_x32_regs): New macro.
5835 (La_x32_retval): Likewise.
5836 (la_x32_gnu_pltenter): New function prototype.
5837 (la_x32_gnu_pltexit): Likewise.
5838
7998fa78
AS
58392012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5840
dcb33988
AS
5841 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5842 exponent.
5843
233fc563
AS
5844 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5845
7998fa78
AS
5846 * configure.in (libc_cv_cc_nofma): Check for option to disable
5847 generation of FMA instructions.
5848 * configure: Regenerate.
5849 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5850 * sysdeps/ieee754/dbl-64/Makefile: New file.
5851 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5852 Remove brandred-fma4.
5853 (CFLAGS-brandred-fma4.c): Remove.
5854 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5855 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5856 define.
5857 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5858 define.
5859
8e95c99a
L
58602012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5861
5862 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5863 LLONG_MAX != LONG_MAX.
5864 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5865 (_fitoa_word): Likewise.
5866 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5867 LLONG_MAX != LONG_MAX.
5868 * stdio-common/_itowa.h: Include <_itoa.h>.
5869 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5870 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5871 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5872 only if not defined.
5873 (_ITOA_WORD_TYPE): Likewise.
5874 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5875 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5876
6f4db457
DM
58772012-03-21 David S. Miller <davem@davemloft.net>
5878
5879 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5880
7785fe5a
L
58812012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5882
5883 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5884 of x86_64 when setting libc_cv_slibdir, libdir and
5885 libc_cv_localedir.
5886 * sysdeps/unix/sysv/linux/configure: Regenerated.
5887
4535cd55
JM
58882012-03-21 Joseph Myers <joseph@codesourcery.com>
5889
5890 * manual/lang.texi (Old Varargs): Remove section.
5891 (How Variadic): Update menu.
5892 (va_start): Do not mention varargs.h.
5893
17228132
TS
58942012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5895 Joseph Myers <joseph@codesourcery.com>
5896
5897 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5898 link test.
5899 * configure: Regenerated.
5900
8149f976
TS
59012012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5902
05f3d1f6
UD
5903 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5904 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5905 conformtest.pl
8149f976 5906
1a4ac776
JM
59072012-03-21 Joseph Myers <joseph@codesourcery.com>
5908
be22ce65
JM
5909 * NOTES: Remove.
5910 * Makefile (files-for-dist): Remove NOTES.
5911 (NOTES): Remove rule.
5912 * README: Don't refer to NOTES.
5913 * manual/creature.texi: Don't include macros.texi.
5914 * manual/intro.texi (creature.texi): Remove comment referring to
5915 NOTES.
5916
40b601fb
JM
5917 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5918 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5919 * configure: Regenerated.
5920 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5921 LIBC_TRY_CC_OPTION.
5922 (libc_cv_as_i686): Likewise.
5923 (libc_cv_cc_avx): Likewise.
5924 (libc_cv_cc_sse2avx): Likewise.
5925 (libc_cv_cc_fma4): Likewise.
5926 (libc_cv_cc_novzeroupper): Likewise.
5927 * sysdeps/i386/configure: Regenerated.
5928
1a4ac776
JM
5929 [BZ #13883]
5930 * sysdeps/i386/fpu/s_cexp.S: Remove.
5931 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5932 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5933 * math/libm-test.inc (cexp_test): Add more tests.
5934 * sysdeps/i386/fpu/libm-test-ulps: Update.
5935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5936
a458e7fe
AM
59372012-03-21 Allan McRae <allan@archlinux.org>
5938
5939 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5940
0cb7efc5
JM
59412012-03-21 Joseph Myers <joseph@codesourcery.com>
5942
5943 [BZ #13871]
5944 * math/w_exp2.c: Do not include <float.h>.
5945 (o_threshold, u_threshold): Remove.
5946 (__exp2): Calculate result before checking finiteness and calling
5947 __kernel_standard.
5948 * math/w_exp2f.c: Likewise.
5949 * math/w_exp2l.c: Likewise.
5950 * math/libm-test.inc (exp2_test): Require overflow exception for
5951 1e6 input.
2460d3aa
JM
5952
5953 [BZ #3866]
5954 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5955 range of signed 64-bit integers before using fistpll. Remove
5956 checks for whether integers fit in mantissa bits.
5957 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5958 the range of signed 32-bit integers before using fistpl. Remove
5959 checks for whether integers fit in mantissa bits.
5960 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5961 (__ieee754_powl): Test for y outside the range of signed 64-bit
5962 integers before using fistpll. Reduce 64-bit values to 63-bit
5963 ones as needed.
5964 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5965 divide-by-zero is raised for zero to large negative powers.
5966 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5967 (__ieee754_powl): Test for y outside the range of signed 64-bit
5968 integers before using fistpll. Reduce 64-bit values to 63-bit
5969 ones as needed.
5970 * math/libm-test.inc (pow_test): Add more tests.
5971
eb96ffb0
L
59722012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5973
5974 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5975 <stdio-common/_itoa.h>.
5976 * debug/segfault.c: Likewise.
5977 * elf/dl-cache.c: Likewise.
5978 * elf/dl-minimal.c: Likewise.
5979 * elf/dl-misc.c: Likewise.
5980 * elf/dl-sysdep.c: Likewise.
5981 * elf/dl-version.c: Likewise.
5982 * elf/rtld.c: Likewise.
5983 * hurd/hurdsock.c: Likewise.
5984 * hurd/lookup-retry.c: Likewise.
5985 * malloc/malloc.c: Likewise.
5986 * malloc/mtrace.c: Likewise.
5987 * nscd/nscd_getgr_r.c: Likewise.
5988 * nscd/nscd_getpw_r.c: Likewise.
5989 * nscd/nscd_getserv_r.c: Likewise.
5990 * posix/getopt_init.c: Likewise.
5991 * posix/wordexp.c: Likewise.
5992 * stdio-common/_itoa.c: Likewise.
5993 * stdio-common/printf_fphex.c: Likewise.
5994 * stdio-common/vfprintf.c: Likewise.
5995 * string/_strerror.c: Likewise.
5996 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5997 * sysdeps/i386/i686/hp-timing.h: Likewise.
5998 * sysdeps/mach/_strerror.c: Likewise.
5999 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
6000 * sysdeps/mach/hurd/sethostid.c: Likewise.
6001 * sysdeps/mach/hurd/xmknodat.c: Likewise.
6002 * sysdeps/mach/xpg-strerror.c: Likewise.
6003 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6004 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6005 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
6006 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
6007 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6008 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
6009 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6010 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6011 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
6012 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
6013 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
6014 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6015 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
6016 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6017 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6018 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
6019 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
6020 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6021 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6022 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6023 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
6024
6025 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
6026
6027 * stdio-common/_itoa.h: Moved to ...
6028 * sysdeps/generic/_itoa.h: Here.
6029
6030 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
6031
6032 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
6033 instead of "_itoa.h" and "_itowa.h".
6034 * stdio-common/vfprintf.: Likewise.
6035
d1af992d
L
60362012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6037
6038 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
6039 <bits/wordsize.h>.
6040 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
6041 (__signbit): Likwise.
6042 (llrintf): Likwise.
6043 (llrint): Likwise.
6044
114883e0
L
60452012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6046
6047 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
6048 __WORDSIZE != 64.
6049
c135cc1b
JM
60502012-03-20 Joseph Myers <joseph@codesourcery.com>
6051
6052 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
6053 OVERFLOW_EXCEPTION_OK.
6054 * math/libm-test.inc ("Philosophy"): Update comment about
6055 exception testing.
6056 (OVERFLOW_EXCEPTION): Define.
6057 (OVERFLOW_EXCEPTION_OK): Likewise.
6058 (INVALID_EXCEPTION_OK): Renumber.
6059 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6060 (IGNORE_ZERO_INF_SIGN): Likewise.
6061 (test_exceptions): Handle FE_OVERFLOW.
6062 (exp10_test): Expect overflow exceptions.
6063 (exp2_test): Likewise.
6064 (expm1_test): Likewise.
6065 (nextafter_test): Likewise.
6066 (pow_test): Likewise.
6067 (scalbn_test): Likewise.
6068 (scalbln_test): Likewise.
6069
95443d88
L
60702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6071
6072 * sysdeps/x86_64/bits/atomic.h
6073 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
6074 64bit integer.
6075 (atomic_exchange_acq): Likewise.
6076 (__arch_exchange_and_add_body): Likewise.
6077 (__arch_add_body): Likewise.
6078 (atomic_add_negative): Likewise.
6079 (atomic_add_zero): Likewise.
6080
490df6c4
L
60812012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6082
c2722551 6083 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
6084 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
6085
5e52b189
L
60862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6087
6088 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
6089 Check __x86_64__ instead of __WORDSIZE.
6090
a9879d4c
L
60912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6092
6093 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
6094
5df98260
DM
60952012-03-19 David S. Miller <davem@davemloft.net>
6096
e1497744
DM
6097 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6098
5df98260
DM
6099 * sysdeps/sparc/fpu/fenv_private.h: New file.
6100 * sysdeps/sparc/fpu/math_private.h: Use it.
6101 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
6102 Remove.
6103 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
6104 (libc_feholdexcept_setroundl): Remove.
6105 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
6106 Remove.
6107 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
6108 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
6109
b4c35121
L
61102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6111
6112 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
6113 int64_t instead of long int.
6114 (INSERT_WORDS64): Likwise.
6115
56965fd7
L
61162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6117
6118 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
6119 _Unwind_GetCFA return to _Unwind_Ptr first.
6120
83d1aec8
JM
61212012-03-19 Joseph Myers <joseph@codesourcery.com>
6122
1897ad44
JM
6123 [BZ #13629]
6124 * math/s_clog.c: Include <float.h>.
6125 (__clog): Scale large or subnormal inputs.
6126 * math/s_clogf.c: Likewise.
6127 * math/s_clogl.c: Likewise.
6128 * math/s_clog10.c: Include <float.h>.
6129 (M_LOG10_2): Define.
6130 (__clog10): Scale large or subnormal inputs.
6131 * math/s_clog10f.c: Likewise.
6132 * math/s_clog10l.c: Likewise.
6133 * math/libm-test.inc (clog_test): Add more tests.
6134 (clog10_test): Likewise.
6135 * sysdeps/i386/fpu/libm-test-ulps: Update.
6136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6137
7726d6a9
JM
6138 [BZ #11451]
6139 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
6140 x and y.
6141 * math/libm-test.inc (atan2_test): Add another test.
6142
83d1aec8
JM
6143 * Makerules (common-objdir-compile): Remove.
6144 * sysdeps/unix/Makefile (config-generated): Do not add
6145 $(unix-generated) to variable.
6146 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
6147 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
6148 Remove rule.
6149 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
6150 Likewise.
6151 [generic bits/local_lim.h] (before-compile): Do not append to
6152 variable.
6153 [generic bits/local_lim.h] (common-generated): Likewise.
6154 [generic sys/param.h] (before-compile): Do not append to variable.
6155 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
6156 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
6157 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
6158 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
6159 include.
6160 [generic sys/param.h] (sys/param.h-includes): Remove variable.
6161 [generic sys/param.h] (sys/param.h-includes): Remove rule.
6162 [generic sys/param.h] ($(addprefix
6163 $(common-objpfx),$(sys/param.h-includes))): Likewise.
6164 [generic sys/param.h] (common-generated): Do not append to
6165 variable.
6166 [generic sys/param.h] (sysdep_headers): Likewise.
6167 [generic bits/errno.h] (before-compile): Do not append to
6168 variable.
6169 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6170 rule.
6171 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6172 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6173 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6174 [generic bits/errno.h] (common-generated): Do not append to
6175 variable.
6176 [generic bits/ioctls.h] (before-compile): Do not append to
6177 variable.
6178 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6179 rule.
6180 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6181 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6182 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6183 rule.
6184 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6185 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6186 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6187 [generic bits/ioctls.h] (common-generated): Do not append to
6188 variable.
6189 [generic sys/syscall.h] (syscall.h): Remove variable.
6190 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6191 rule.
6192 [generic sys/syscall.h] (before-compile): Do not append to
6193 variable.
6194 [generic sys/syscall.h] (common-generated): Likewise.
6195 * sysdeps/unix/errnos-tmpl.c: Remove file.
6196 * sysdeps/unix/errnos.awk: Likewise.
6197 * sysdeps/unix/ioctls-tmpl.c: Likewise.
6198 * sysdeps/unix/ioctls.awk: Likewise.
6199 * sysdeps/unix/mk-local_lim.c: Likewise.
6200 * sysdeps/unix/snarf-ioctls: Likewise.
6201
4851a949
RH
62022012-03-19 Richard Henderson <rth@twiddle.net>
6203
bd37f2ee
RH
6204 * sysdeps/i386/fpu/fenv_private.h: New file.
6205 * sysdeps/i386/fpu/math_private.h: Use it.
6206 (math_opt_barrier, math_force_eval): Remove.
6207 (libc_feholdexcept_setround_53bit): Remove.
6208 (libc_feupdateenv_53bit): Remove.
6209 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6210 (math_opt_barrier, math_force_eval): Remove.
6211 (libc_feholdexcept): Remove.
6212 (libc_feholdexcept_setround): Remove.
6213 (libc_fetestexcept, libc_fesetenv): Remove.
6214 (libc_feupdateenv_test): Remove.
6215 (libc_feupdateenv, libc_feholdsetround): Remove.
6216 (libc_feresetround): Remove.
6217
d0adc922
RH
6218 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6219 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6220
0fe0f1f8
RH
6221 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6222 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6223 (libc_feupdateenv_testl): New.
6224 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6225 (libc_feupdateenv_testf): New.
6226 (libc_feupdateenv): Use libc_feupdateenv_test.
6227 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6228 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6229
eb92c487
RH
6230 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6231 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6232 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6233 (libc_feresetround_noex): New.
6234 (libc_feresetround_noexf): New.
6235 (libc_feresetround_noexl): New.
6236 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6237 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6238 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6239 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6240 SET_RESTORE_ROUND.
6241 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6242 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6243 (__cos): Likewise.
6244 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6245 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6246 SET_RESTORE_ROUND_NOEX.
6247 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6248 SET_RESTORE_ROUND_NOEXF.
6249 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6250 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6251 (libc_feholdsetroundf): New.
6252 (libc_feresetround, libc_feresetroundf): New.
6253
7d2e8012
RH
6254 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6255 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6256 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6257
b4dabbb4
RH
6258 * sysdeps/generic/math_private.h: Include <fenv.h>.
6259 (default_libc_feholdexcept): New.
6260 (default_libc_feholdexcept_setround): New.
6261 (default_libc_fesetenv, default_libc_feupdateenv): New.
6262 (libc_feholdexcept): Only define if undefined.
6263 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6264 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6265 (libc_feholdexcept_setroundl): Likewise.
6266 (libc_feholdexcept_setround_53bit): Likewise.
6267 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6268 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6269 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6270 (libc_feupdateenv_53bit): Likewise.
6271 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6272 (libc_feholdexcept): Convert from macro to inline function.
6273 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6274 (libc_fesetenv, libc_feupdateenv): Likewise.
6275
4851a949
RH
6276 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6277 not previously defined.
6278 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6279 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6280 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6281 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6282 * sysdeps/ieee754/flt-32/math_private.h: New file.
6283 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6284 math_private.h below SET_FLOAT_WORD.
6285 (__isnan, __isinf_ns, __finite): Remove.
6286 (__isnanf, __isinf_nsf, __finitef): Remove.
6287
e79d442e
AS
62882012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6289
6290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6291
90b80344
DM
62922012-03-17 David S. Miller <davem@davemloft.net>
6293
6294 [BZ #6471]
6295 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6296 for 2.16.
6297
edc21804
DM
62982012-03-16 David S. Miller <davem@davemloft.net>
6299
77e927af
DM
6300 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6301 warnings.
6302
374976dd
DM
6303 [BZ #6471]
6304 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6305 properly.
6306 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6307 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6308 sysdep_routines when subdir is sysvipc.
6309 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6310 __getshmlba helper.
6311
edc21804
DM
6312 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6313
473c3ef3
L
63142012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6315
6316 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6317 [__LP64__].
6318
eb0f39b6
L
63192012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6320
6321 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6322 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6323 (__lround): Renamed to ...
6324 (__llround): This. Replace long int with long long int.
6325 Define lround functions as aliases of llround functions.
6326 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6327
6b6cd74b
L
63282012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6329
6330 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6331 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6332 adresses to uintptr_t. Replace "long int" and "unsigned long
6333 int" with "greg_t" on va_arg.
6334
f1a77b01
L
63352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6336
6337 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6338 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6339
6340 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6341 Move e_machine check before EI_CLASS check. Handle x32
6342 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6343 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6344 SKIP_EM_IA_64 and include
6345 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6346
6347 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6348 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6349 (add_system_dir): New macro.
6350
6351 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6352 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6353
11b90b9f
JM
63542012-03-16 Joseph Myers <joseph@codesourcery.com>
6355
c36e1d23
JM
6356 [BZ #2551]
6357 [BZ #2552]
6358 [BZ #2553]
6359 [BZ #2554]
6360 [BZ #2562]
6361 [BZ #2563]
6362 [BZ #2565]
6363 [BZ #2566]
6364 [BZ #2576]
6365 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6366 (y0): Likewise.
6367 * math/w_j0f.c (j0f): Likewise.
6368 (y0f): Likewise.
6369 * math/w_j0l.c (__j0l): Likewise.
6370 (__y0l): Likewise.
6371 * math/w_j1.c (j1): Likewise.
6372 (y1): Likewise.
6373 * math/w_j1f.c (j1f): Likewise.
6374 (y1f): Likewise.
6375 * math/w_j1l.c (__j1l): Likewise.
6376 (__y1l): Likewise.
6377 * math/w_jn.c (jn): Likewise.
6378 (yn): Likewise.
6379 * math/w_jnf.c (jnf): Likewise.
6380 (ynf): Likewise.
6381 * math/w_jnl.c (__jnl): Likewise.
6382 (__ynl): Likewise.
6383 * math/libm-test.inc (j0_test): Add more tests.
6384 (j1_test): Likewise.
6385 (jn_test): Likewise. Add trailing semicolon to existing test.
6386 (y0_test): Likewise.
6387 (y1_test): Likewise.
6388 * sysdeps/i386/fpu/libm-test-ulps: Update.
6389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6390
11b90b9f
JM
6391 [BZ #13851]
6392 [BZ #13854]
6393 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6394 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6395 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6396 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6397 (__tanl): Set errno for infinite argument.
6398 * sysdeps/i386/fpu/mptan.c: Remove.
6399 * sysdeps/i386/fpu/s_tan.S: Likewise.
6400 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6401 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6402 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6403 * math/libm-test.inc (tan_test): Add more tests and enable more
6404 tests for double and long double.
6405 * sysdeps/i386/fpu/libm-test-ulps: Update.
6406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6407
6a1bd2a1
JK
64082012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6409
6410 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6411 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6412
10a803e0
RM
64132012-03-16 Roland McGrath <roland@hack.frob.com>
6414
6415 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6416 * configure.in: Use it for both main tree and add-ons.
6417 * configure: Regenerated.
6418
f196c7f7
L
64192012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6420
6421 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6422
8848d99d
JM
64232012-03-16 Joseph Myers <joseph@codesourcery.com>
6424
96cbe7f4
JM
6425 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6426 in comment.
6427
8848d99d
JM
6428 [BZ #13851]
6429 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6430 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6431 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6432 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6433 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6434 infinite argument.
6435 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6436 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6437 != 0 for prec == 2.
6438 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6439 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6440 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6441 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6442 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6443 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6444 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6445 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6446 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6447 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6448 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6449 * math/libm-test.inc (cos_test): Add more tests and enable more
6450 tests for long double.
6451 (sin_test): Likewise.
6452 (sincos_test): Likewise.
6453 * sysdeps/i386/fpu/libm-test-ulps: Update.
6454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6455
dd7f4703
DM
64562012-03-16 David S. Miller <davem@davemloft.net>
6457
6458 * sysdeps/sparc/fpu/math_private.h: New file.
6459
006f1daa
DM
64602012-03-15 David S. Miller <davem@davemloft.net>
6461
c0c83bc8
DM
6462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6463 file.
e6a62e18 6464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
6465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6466 file.
e6a62e18
DM
6467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6468 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6469 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6470 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6471 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6472 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6473 sysdep routines.
6474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6475
88cb87d9
DM
6476 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6477 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6478
006f1daa 6479 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
6480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6481 sparc-ifunc.h
006f1daa 6482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
6483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6484 Likewise.
6485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6486 Likewise.
006f1daa
DM
6487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
6490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6491 Likewise.
006f1daa
DM
6492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
6496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6497 Likewise.
6498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6499 Likewise.
006f1daa
DM
6500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6504 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6505 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6506 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6507 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6508 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6509 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6510 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6511 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6512 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6513 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6514 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6515 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6516 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6517 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6518 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6519 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6520 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6521 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6522 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6523 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6524
11e0098e
AS
65252012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6526
6527 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6528 scaling.
6529 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6530
e85b09d0
AJ
65312012-03-15 Andreas Jaeger <aj@suse.de>
6532
6533 [BZ #13852]
6534 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6535 ieee754/flt-32 implementation for sin, cos and sincos.
6536 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6537 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6538 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6539 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6540 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6541 ieee754/flt-32 implementation for tan.
6542
6543 * math/libm-test.inc (cos_test): Enable some large input tests for
6544 float as well
6545 (sin_test): Likewise.
6546 (sincos_test): Likewise.
6547 (tan_test): Add tests for large input.
6548
6549 * sysdeps/i386/fpu/libm-test-ulps: Update.
6550
81c64153
AJ
65512012-03-15 Andreas Jaeger <aj@suse.de>
6552
6553 [BZ #13658]
6554 * math/libm-test.inc (cos_test): Add more test cases.
6555 (sin_test): Likewise.
6556 (sincos_test): Likewise.
6557
7bbfa5c6
AJ
65582012-03-15 Andreas Jaeger <aj@suse.de>
6559
6560 [BZ #13837]
6561 * math/libm-test.inc (cos_test): Add a test case for large input
6562 value.
6563 (sin_test): Likewise.
6564 (sincos_test): Likewise.
6565
65662012-03-15 Andreas Jaeger <aj@suse.de>,
6567 Joseph Myers <joseph@codesourcery.com>
6568
6569 [BZ #13658]
0671f479 6570 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
6571 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6572 * sysdeps/i386/fpu/branred.c: Likewise.
6573 * sysdeps/i386/fpu/dosincos.c: Likewise.
6574 * sysdeps/i386/fpu/mpa.c: Likewise.
6575 * sysdeps/i386/fpu/s_cos.S: Likewise.
6576 * sysdeps/i386/fpu/s_sin.S: Likewise.
6577 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6578 * sysdeps/i386/fpu/sincos32.c: Likewise.
6579
6580 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6581 Define.
6582 (libc_feupdateenv_53bit): Define.
6583 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6584 Define.
6585 (libc_feupdateenv_53bit): Define.
6586
6587 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6588 53 bit (without extend i386 double precision).
6589
6590 * math/libm-test.inc (sincos_test): Add tests for large input.
6591 (sin): Likewise.
6592 (cos): Likewise.
6593
6594 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6595
9cad04ea
AS
65962012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6597
6598 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6599
f7062b9a
DM
66002012-03-15 David S. Miller <davem@davemloft.net>
6601
6602 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6603 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6604 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6605 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6610 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6611 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6612 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6613 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6614 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6615 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6616 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
6617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6618 file.
f7062b9a 6619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
6620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6621 file.
f7062b9a 6622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
6623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6624 file.
f7062b9a 6625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
6626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6627 file.
f7062b9a
DM
6628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6629 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6630 fmin/fmax sysdep routines.
6631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6632
7bd951ff
DM
66332012-03-14 David S. Miller <davem@davemloft.net>
6634
559398ab
DM
6635 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6636 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6637 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6638 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6639 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6640 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6641 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6642 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6643 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6644 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6645 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6646 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6647 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6648 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6649 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6650 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6651 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6652 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6653 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6654 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6655 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6656 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6657 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6658 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6659 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6660 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6661 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6662 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6663 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6664 routines.
6665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6666 file.
559398ab 6667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
6668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6669 file.
559398ab 6670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
6671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6672 file.
559398ab 6673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
6674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6675 file.
559398ab 6676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
6677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6678 file.
559398ab 6679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
6680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6681 file.
6682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6683 file.
6684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6685 file.
6686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6687 file.
6688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6689 New file.
6690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6691 file.
6692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6693 file.
559398ab 6694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
6695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6696 file.
559398ab 6697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6699 file.
559398ab 6700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
6701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6702 file.
559398ab 6703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
6704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6705 VIS3 routines.
559398ab
DM
6706
6707 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6708 New file.
6709
5a1c1e32
DM
6710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6711
eae47a36
DM
6712 * sysdeps/sparc/configure.in: New file.
6713 * sysdeps/sparc/configure: Generate.
6714 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6715 * configure: Regenerate.
6716 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6717 * config.make.in (have-as-vis3): New.
6718 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6719 available use -Av9d instead of -Av9a.
6720 * sysdeps/sparc/sparc64/Makefile: Likewise.
6721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
6722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6723 New file.
6724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6725 file.
6726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6727 New file.
6728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6729 file.
eae47a36
DM
6730 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6731 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6732 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6733 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6734 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6735
c0c83bc8
DM
6736 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6737 fzeros/fnegs to load 0x80000000 into a float register instead of
6738 using the stack.
7bd951ff
DM
6739 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6740
bd951ccb
JM
67412012-03-14 Joseph Myers <joseph@codesourcery.com>
6742
6743 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6744 bits/syscall.h.
6745 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6746 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6747 ($(inst_includedir)/bits/syscall.h): Remove rule.
6748 ($(objpfx)bits/syscall.d): Include instead of
6749 $(objpfx)syscall-list.d.
6750 (generated): Change syscall-list.h and syscall-list.d to
6751 bits/syscall.h and bits/syscall.d.
6752
bb4e6db2
RM
67532012-03-14 Roland McGrath <roland@hack.frob.com>
6754
6755 [BZ #13846]
6756 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6757
aa4a2ae1
JM
67582012-03-14 Joseph Myers <joseph@codesourcery.com>
6759
e456826d
JM
6760 [BZ #13841]
6761 * math/s_csqrt.c: Include <float.h>.
6762 (__csqrt): Scale large or subnormal inputs.
6763 * math/s_csqrtf.c: Likewise.
6764 * math/s_csqrtl.c: Likewise.
6765 * math/libm-test.inc (csqrt_test): Add more tests.
6766 * sysdeps/i386/fpu/libm-test-ulps: Update.
6767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6768
aa4a2ae1
JM
6769 [BZ #13840]
6770 * math/libm-test.inc (hypot_test): Add more tests.
6771
7c10fd35
DM
67722012-03-13 David S. Miller <davem@davemloft.net>
6773
6774 [BZ #13840]
6775 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6776 double-precision for the calculation instead of scaling.
6777
f453b98b
JM
67782012-03-13 Joseph Myers <joseph@codesourcery.com>
6779
6780 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6781 manipulate bits before adding and subtracting TWO52[sx].
6782 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6783 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6784 Likewise.
6785 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6786
09a3453f
DM
67872012-03-13 David S. Miller <davem@davemloft.net>
6788
8e59da90
DM
6789 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6790 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6791 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6792 rtld-global-offsets.h
6793 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6794
2a8ab7f2
DM
6795 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6796 large parameters.
6797
10f62770
DM
6798 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6799
5f0bdb18
DM
6800 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6801 'err' in the ifdef scope in which it is actually used.
6802
09a3453f
DM
6803 * nss/nss_db/db-init.c: Include string.h
6804
b4b2eb5e
DM
68052012-03-12 David S. Miller <davem@davemloft.net>
6806
98bb2f1c
DM
6807 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6808 masking out of the most significant byte of random value used.
6809 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6810 Fix coding style in previous change.
6811
b4b2eb5e
DM
6812 * sysdeps/unix/sysv/linux/kernel-features.h
6813 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6814 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6815 expression.
6816 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6817 later.
6818
6e226b09
DM
68192012-03-11 David S. Miller <davem@davemloft.net>
6820
a1bcbd40
DM
6821 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6822 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6823 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6824 for 'resultvar' otherwise things get truncated on 64-bit.
6825
cb9d6174
DM
6826 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6827 Fix masking out of the most significant byte of random value used.
6828
6e226b09
DM
6829 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6830
058c132d
AS
68312012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6832
6833 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6834
2d2cd515
DM
68352012-03-09 David S. Miller <davem@davemloft.net>
6836
6837 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6838 variables with appropriate CPP guards.
6839 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6840 frame pointer, not the stack pointer. Correct layout comments. Fix test
6841 on resulting framesize and the management of the outregs buffer for pltexit.
6842 Preserve floating point return values across _dl_call_pltexit call.
6843 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6844 framesize and the management of the outregs buffer for pltexit.
6845 Preserve floating point return values across _dl_call_pltexit
6846 call.
6847 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6848 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6849 (print_exit): Fix format string for return register value.
6850
9a07f9d0
JM
68512012-03-10 Joseph Myers <joseph@codesourcery.com>
6852
6853 * sunrpc/Makefile (others): Add rpcgen.
6854 ($(objpfx)rpcgen): Remove special build rule and dependency on
6855 libc.
6856 * sunrpc/rpcgen.c: New file.
6857
547b5e30
PE
68582012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6859
c524201a
PE
6860 [BZ #13673]
6861 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6862 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6863 * sysdeps/i386/crti.S: Likewise.
6864 * sysdeps/i386/crtn.S: Likewise.
6865 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6866 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6867 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6868 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6869 * sysdeps/sh/crti.S: Likewise.
6870 * sysdeps/sh/crtn.S: Likewise.
6871 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6872
7b6235f2
PE
6873 [BZ #13673]
6874 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6875 with URL.
6876 * locale/programs/locfile-kw.gperf: Likewise.
6877 * locale/programs/charmap-kw.h: Regenerated.
6878 * locale/programs/locfile-kw.h: Likewise.
6879
547b5e30
PE
6880 [BZ #13673]
6881 * intl/plural.y: Replace FSF snail mail address with URL.
6882 * intl/plural.c: Regenerated.
6883
5f0a5dae
RH
68842012-03-09 Richard Henderson <rth@twiddle.net>
6885
6886 * include/math_private.h: Remove file.
6887 * math/math_private.h: Move file ...
6888 * sysdeps/generic/math_private.h: ... here.
6889
b8c03620
RH
6890 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6891 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6892 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6893
4e234f5d 6894 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
6895 and <math_private.h>.
6896 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6897 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6898 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6899 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6900 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6901 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6902 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6903 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6904 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6905 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6906 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6907 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6908 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6909 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6910 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6911 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6912 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6913 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6914 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6915 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6916 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6917 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6918 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6919 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6920 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6921 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6922 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6923 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6924 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6925 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6926 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6927 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6928 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6929 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6930 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6931 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6932 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6933 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6934 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6935 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6936 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6937 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6938 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6939 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6940 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6941 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6942 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6943 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6944 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6945 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6946 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6947 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6948 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6949 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6950 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6951 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6952 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6953 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6954 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6955 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6956 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6957 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6958 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6959 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6960 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6961 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6962 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6963 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6964 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6965 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6966 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6967 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6968 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6969 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6970 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6971 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6972 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6973 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6974 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6975 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6976 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6977 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6978 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6979 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6980 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6981 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6982 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6983 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6984 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6985 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6986 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6987 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6988 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6989 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6990 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6991 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6992 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6993 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6994 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6995 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6996 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6997 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6998 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6999 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7000 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7001 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7002 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7003 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7004 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7005 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7006 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7007 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7008 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7009 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7010 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7011 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7012 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7013 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7014 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7015 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7016 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7017 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7018 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7019 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
7020 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7021 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7022 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7023 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
7024 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7025 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7026 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7027 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7028 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7029 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7030 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7031 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7032 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7033 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7034 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
7035 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7036 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7037 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7038 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7039 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
7040 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
7041 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7042 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7043 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7044 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7045 * sysdeps/ieee754/k_standard.c: Likewise.
7046 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7047 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7048 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7049 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7050 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7051 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7052 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7053 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7054 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7055 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7056 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7057 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7058 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7059 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7060 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7061 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7062 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7063 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7064 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7065 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7066 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7067 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7068 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7069 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7070 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7071 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7072 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7073 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7074 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7075 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7076 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7077 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7078 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7079 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7080 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7081 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7082 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7083 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
7084 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7085 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7086 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7087 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7088 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7089 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7090 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7091 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7092 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7093 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7094 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7095 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7096 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7097 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7098 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7099 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7100 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7101 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7102 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
7103 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7104 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7105 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7106 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7107 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7108 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7109 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7110 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7111 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7112 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7113 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7114 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7115 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7116 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7117 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7118 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7119 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7120 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7121 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7122 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
7123 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7124 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7125 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7126 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7127 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7128 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7129 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7130 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
7131 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7132 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7133 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7134 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7135 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7136 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
7137 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7138 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7139 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7140 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7141 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7142 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
7143 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7144 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7145 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
7146 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7147 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7148 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7149 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7150 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
7151 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7152 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7153 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7154 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
7155 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7156 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7157 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7158 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7159 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7160 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7161 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7162 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7163 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7164 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7165 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7166 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7167 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7168 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7169 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7170 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7171 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7172 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7173 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7174 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7175 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7176 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7177 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7178 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7179 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7180 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7181 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7182 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7183 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7184 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7185 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7186 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7187 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7188 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7189 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7190 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7191 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7192 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7193 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7194 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7195 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7196 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7197 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7198 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7199 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7200 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7201 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7202 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7203 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7204 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7205 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7206 * sysdeps/ieee754/s_lib_version.c: Likewise.
7207 * sysdeps/ieee754/s_matherr.c: Likewise.
7208 * sysdeps/ieee754/s_signgam.c: Likewise.
7209 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7210 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7211 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7212 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7213 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7214 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7215 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7216 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7217 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7218 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7219 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7220 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7221 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7222 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7223 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7224 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7225 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7226 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7227 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7228 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7229 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 7230
1991fa03
JM
72312012-03-09 Joseph Myers <joseph@codesourcery.com>
7232
7233 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7234 * sunrpc/rpc_main.c: Likewise.
7235 * sunrpc/rpc_svcout.c: Likewise.
7236
60d6f5a6
DM
72372012-03-09 David S. Miller <davem@davemloft.net>
7238
7239 * include/math_private.h: New file.
7240
4962050e
JM
72412012-03-09 Joseph Myers <joseph@codesourcery.com>
7242
02a6f887
JM
7243 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7244 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7245 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7246 from <bits/socket_type.h>.
7247 (enum __socket_type): Don't define here.
7248 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7249 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7250 bits/socket_type.h.
7251
c6e013c1
JM
7252 [BZ #13566]
7253 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7254 checking __USE_GNU.
7255
4962050e
JM
7256 * Makerules ($(inst_includedir)/%.h): New rule.
7257 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7258 (install-others): Remove variable setting.
7259 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7260
38842f45
RH
72612012-03-08 Richard Henderson <rth@twiddle.net>
7262
67bb6da6
RH
7263 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7264 from macro to inline function; merge with the
7265 !__LIBC_INTERNAL_MATH_INLINES version.
7266 (__ieee754_sqrtf): Likewise.
7267
15194b4b
RH
7268 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7269 to inline function.
7270 (__rintf, __floor, __floorf): Likewise.
7271
64e21ede
RH
7272 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7273 macro to inline function.
7274 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7275
38842f45
RH
7276 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7277 not <math/math_private.h>.
7278
c64bf5fe
DM
72792012-03-08 David S. Miller <davem@davemloft.net>
7280
7281 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7282 copyright year.
7283 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7284
82d86f28
TS
72852012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7286
7287 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7288 normalization.
7289 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7290 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7291
aea5d727
UD
72922012-03-08 Ulrich Drepper <drepper@gmail.com>
7293
7294 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7295 be defined individually, they must be defined as a block. Define
7296 S for printing a string instead of hidint the different by using a
7297 macro for adding the 'l'.
7298 * stdio-common/tst-fphex-wide.c: Adjust.
7299
70bca0a3
MP
73002012-03-07 Marek Polacek <polacek@redhat.com>
7301
7302 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7303
65b81130
MP
73042012-03-08 Marek Polacek <polacek@redhat.com>
7305
7306 [BZ #13806]
7307 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7308 * stdio-common/tst-fphex.c: Define a few macros to make the
7309 test reusable. Use them.
7310 * stdio-common/tst-fphex-wide.c: New file.
7311
07037eeb
JM
73122012-03-08 Joseph Myers <joseph@codesourcery.com>
7313
a7a93d50
JM
7314 [BZ #6911]
7315 * manual/macros.texi (gnusystems): New macro.
7316 (nongnusystems): Likewise.
7317 (gnulinuxhurdsystems): Likewise.
7318 (gnuhurdsystems): Likewise..
7319 (gnulinuxsystems): Likewise.
7320 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7321 variants of the GNU system, not "GNU system".
7322 * manual/conf.texi: Likewise.
7323 * manual/errno.texi: Likewise. Update example of errno macro
7324 expansion.
7325 * manual/filesys.texi: Likewise.
7326 (getumask): Document as specific to GNU/Hurd.
7327 * manual/install.texi: Likewise. Reword some references to
7328 GNU/Linux.
7329 * manual/intro.texi: Likewise.
7330 * manual/io.texi: Likewise.
7331 (File Name Portability): Detail which constraints are inapplicable
7332 to all GNU systems and which are only inapplicable to GNU/Hurd.
7333 * manual/job.texi: Likewise.
7334 * manual/llio.texi: Likewise.
7335 (O_NOCTTY): Document as present on GNU/Linux.
7336 * manual/maint.texi: Likewise.
7337 * manual/memory.texi: Likewise.
7338 * manual/pattern.texi: Likewise.
7339 * manual/pipe.texi: Likewise.
7340 * manual/process.texi: Likewise.
7341 * manual/resource.texi: Likewise.
7342 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7343 child on GNU/Hurd.
7344 * manual/setjmp.texi: Likewise.
7345 * manual/signal.texi: Likewise.
7346 * manual/startup.texi: Likewise.
7347 * manual/stdio.texi: Likewise.
7348 * manual/terminal.texi: Likewise.
7349 (ONLCR): Document as POSIX.
7350 (OXTABS): Document availability on GNU/Linux as XTABS.
7351 (ONOEOT): Document availability separately from other bits.
7352 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7353 * manual/time.texi: Likewise.
7354 * manual/users.texi: Likewise.
7355 * INSTALL: Regenerated.
7356 * sysdeps/gnu/errlist.c: Regenerated.
7357
07037eeb
JM
7358 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7359 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7360 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7361 puts.
7362 * configure: Regenerated.
7363
d1d3431a
JM
73642012-03-07 Joseph Myers <joseph@codesourcery.com>
7365
af6a1e37
JM
7366 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7367 default includes instead of AC_HEADER_CHECK.
7368 * sysdeps/i386/configure: Regenerated.
7369
d1d3431a
JM
7370 [BZ #10716]
7371 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7372 * math/s_cacoshf.c (__cacoshf): Likewise.
7373 * math/s_cacoshl.c (__cacoshl): Likewise.
7374 * math/s_casinh.c (__casinh): Set signs of result from argument.
7375 * math/s_casinhf.c (__casinhf): Likewise.
7376 * math/s_casinhl.c (__casinhl): Likewise.
7377 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7378 (casinh_test): Add more tests.
7379 * sysdeps/i386/fpu/libm-test-ulps: Update.
7380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7381
482ff4da
UD
73822012-03-07 Ulrich Drepper <drepper@gmail.com>
7383
872fda05
UD
7384 * po/zh_TW.po: Update from translation team.
7385
a4300c7a
UD
7386 * login/Makefile (distribute): Remove variable.
7387 * catgets/Makefile: Likewise.
7388 * mach/Makefile: Likewise.
7389 * malloc/Makefile: Likewise.
7390 * misc/Makefile: Likewise.
7391 * iconv/Makefile: Likewise.
7392 * nscd/Makefile: Likewise.
7393 * hurd/Makefile: Likewise.
7394 * manual/Makefile: Likewise.
7395 * locale/Makefile: Likewise.
7396 * intl/Makefile: Likewise.
7397 * conform/Makefile: Likewise.
7398 * nss/Makefile: Likewise.
7399 * time/Makefile: Likewise.
7400 * soft-fp/Makefile: Likewise.
7401 * dirent/Makefile: Likewise.
7402 * gmon/Makefile: Likewise.
7403 * po/Makefile: Likewise.
7404 * rt/Makefile: Likewise.
7405 * socket/Makefile: Likewise.
7406 * math/Makefile: Likewise.
7407 * signal/Makefile: Likewise.
7408 * debug/Makefile: Likewise.
7409 * elf/Makefile: Likewise.
7410 * timezone/Makefile: Likewise.
7411 * stdlib/Makefile: Likewise.
7412 * iconvdata/Makefile: Likewise.
7413 * sunrpc/Makefile: Likewise.
7414 * io/Makefile: Likewise.
7415 * argp/Makefile: Likewise.
7416 * inet/Makefile: Likewise.
7417 * hesiod/Makefile: Likewise.
7418 * grp/Makefile: Likewise.
7419 * csu/Makefile: Likewise.
7420 * wctype/Makefile: Likewise.
7421 * crypt/Makefile: Likewise.
7422 * libio/Makefile: Likewise.
7423 * string/Makefile: Likewise.
7424 * nis/Makefile: Likewise.
7425 * resolv/Makefile: Likewise.
7426 * stdio-common/Makefile: Likewise.
7427 * wcsmbs/Makefile: Likewise.
7428 * dlfcn/Makefile: Likewise.
7429 * posix/Makefile: Likewise.
7430
3b7c4e74 7431 [BZ #6959]
482ff4da
UD
7432 * timezone/Makefile: Don't install timezone files, just the programs
7433 and scripts.
7434
f72ed77d
UD
74352012-03-06 Ulrich Drepper <drepper@gmail.com>
7436
a000466f
UD
7437 * nss/databases.def: Add missing gshadow entry.
7438
f72ed77d
UD
7439 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7440
a53b7a4e
MP
74412012-03-06 Marek Polacek <polacek@redhat.com>
7442
7443 [BZ #13726]
7444 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7445 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7446 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7447 * stdio-common/tst-long-dbl-fphex.c: New file.
7448
e9258400
DM
74492012-03-06 David S. Miller <davem@davemloft.net>
7450
7451 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7452 (set_obp_int): New function.
7453 (get_obp_int): New function.
7454 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
7455 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7456 Avoid unused variable warnings on 'val' and use builtin_expect.
7457 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7458 __builtin_expect.
e9258400
DM
7459 (INLINE_CLONE_SYSCALL): Likewise.
7460
3bd2c723
DM
74612012-03-05 David S. Miller <davem@davemloft.net>
7462
7463 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7464
bbb78d03
AS
74652012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7466
884c5db4
AS
7467 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7468
bbb78d03
AS
7469 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7470 only for |x| >= 40.
7471 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7472
1c9f702a 74732012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
7474
7475 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7476 Replace gettimeofday with __vdso_gettimeofday.
7477
7be16f82
RM
7478 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7479 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7480 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
7481
7482 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7483 time with __vdso_time.
7484
ed58a00f
JM
74852012-03-05 Joseph Myers <joseph@codesourcery.com>
7486
7487 * manual/lang.texi (size_t): Note types to which size_t may be
7488 equivalent with the GNU C Library, but do not describe when
7489 differences between them are significant.
7490
30ee4ced
AJ
74912012-03-05 Andreas Jaeger <aj@suse.de>
7492
7493 * sysdeps/i386/fpu/libm-test-ulps: Update.
7494
b7cd39e8
JM
74952012-03-05 Joseph Myers <joseph@codesourcery.com>
7496
7497 [BZ #3976]
7498 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7499 (__ieee754_pow): Save and restore rounding mode and use
7500 round-to-nearest for main computations.
7501 * math/libm-test.inc (pow_test_tonearest): New function.
7502 (pow_test_towardzero): Likewise.
7503 (pow_test_downward): Likewise.
7504 (pow_test_upward): Likewise.
7505 (main): Call the new functions.
7506 * sysdeps/i386/fpu/libm-test-ulps: Update.
7507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
7508
7509 [BZ #3976]
7510 * math/libm-test.inc (cosh_test_tonearest): New function.
7511 (cosh_test_towardzero): Likewise.
7512 (cosh_test_downward): Likewise.
7513 (cosh_test_upward): Likewise.
7514 (sinh_test_tonearest): Likewise.
7515 (sinh_test_towardzero): Likewise.
7516 (sinh_test_downward): Likewise.
7517 (sinh_test_upward): Likewise.
7518 (main): Call the new functions.
7519 * sysdeps/i386/fpu/libm-test-ulps: Update.
7520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7521
6c6a98c9
TV
75222012-03-05 Tom de Vries <tom@codesourcery.com>
7523
7524 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7525 default stack guard is set in last bytes.
7526 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7527
21bb2d2e 75282012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 7529
21bb2d2e 7530 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 7531
21bb2d2e
AJ
7532 [BZ #13656]
7533 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7534 possibly allocate from heap instead of stack.
7535 * stdio-common/bug-vfprintf-nargs.c: New file.
7536 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 7537
c6922934
AS
75382012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7539
7540 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7541
bc957d53
MP
75422012-03-03 Marek Polacek <polacek@redhat.com>
7543
7544 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7545 * math/math_private.h: Likewise.
7546 * stdlib/tst-strtod.c: Likewise.
7547 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7548 * sysdeps/x86_64/bits/atomic.h: Likewise.
7549
6358490d
DM
75502012-03-02 David S. Miller <davem@davemloft.net>
7551
7552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7556 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7557 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7558 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7559 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7560
01ae168d
RM
75612012-03-02 Roland McGrath <roland@hack.frob.com>
7562
d9a17c07
RM
7563 [BZ #13792]
7564 * manual/examples/README: New file, says the example source files
7565 can be used under GPL>=2.
7566 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7567 line containing just "*/".
7568 * manual/examples/add.c: Add copyright header (GPL>=2).
7569 * manual/examples/argp-ex1.c: Likewise.
7570 * manual/examples/argp-ex2.c: Likewise.
7571 * manual/examples/argp-ex3.c: Likewise.
7572 * manual/examples/argp-ex4.c: Likewise.
7573 * manual/examples/atexit.c: Likewise.
7574 * manual/examples/db.c: Likewise.
7575 * manual/examples/dir.c: Likewise.
7576 * manual/examples/dir2.c: Likewise.
7577 * manual/examples/execinfo.c: Likewise.
7578 * manual/examples/filecli.c: Likewise.
7579 * manual/examples/filesrv.c: Likewise.
7580 * manual/examples/fmtmsgexpl.c: Likewise.
7581 * manual/examples/genpass.c: Likewise.
7582 * manual/examples/inetcli.c: Likewise.
7583 * manual/examples/inetsrv.c: Likewise.
7584 * manual/examples/isockad.c: Likewise.
7585 * manual/examples/longopt.c: Likewise.
7586 * manual/examples/memopen.c: Likewise.
7587 * manual/examples/memstrm.c: Likewise.
7588 * manual/examples/mkfsock.c: Likewise.
7589 * manual/examples/mkisock.c: Likewise.
7590 * manual/examples/mygetpass.c: Likewise.
7591 * manual/examples/pipe.c: Likewise.
7592 * manual/examples/popen.c: Likewise.
7593 * manual/examples/rprintf.c: Likewise.
7594 * manual/examples/search.c: Likewise.
7595 * manual/examples/select.c: Likewise.
7596 * manual/examples/setjmp.c: Likewise.
7597 * manual/examples/sigh1.c: Likewise.
7598 * manual/examples/sigusr.c: Likewise.
7599 * manual/examples/stpcpy.c: Likewise.
7600 * manual/examples/strdupa.c: Likewise.
7601 * manual/examples/strftim.c: Likewise.
7602 * manual/examples/strncat.c: Likewise.
7603 * manual/examples/subopt.c: Likewise.
7604 * manual/examples/swapcontext.c: Likewise.
7605 * manual/examples/termios.c: Likewise.
7606 * manual/examples/testopt.c: Likewise.
7607 * manual/examples/testpass.c: Likewise.
7608 * manual/examples/timeval_subtract.c: Likewise.
7609
01ae168d
RM
7610 [BZ #13792]
7611 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7612 function to ...
7613 * manual/timeval_subtract.c.texi: ... here, new file.
7614
49efa33d
DM
76152012-03-02 David S. Miller <davem@davemloft.net>
7616
7617 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7618
28afd92d
JM
76192012-03-02 Joseph Myers <joseph@codesourcery.com>
7620
804360ed
JM
7621 [BZ #3976]
7622 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7623 (__sin): Save and restore rounding mode and use round-to-nearest
7624 for all computations.
7625 (__cos): Save and restore rounding mode and use round-to-nearest
7626 for all computations.
7627 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7628 <fenv.h>.
7629 (tan): Save and restore rounding mode and use round-to-nearest for
7630 all computations.
7631 * math/libm-test.inc (cos_test_tonearest): New function.
7632 (cos_test_towardzero): Likewise.
7633 (cos_test_downward): Likewise.
7634 (cos_test_upward): Likewise.
7635 (sin_test_tonearest): Likewise.
7636 (sin_test_towardzero): Likewise.
7637 (sin_test_downward): Likewise.
7638 (sin_test_upward): Likewise.
7639 (tan_test_tonearest): Likewise.
7640 (tan_test_towardzero): Likewise.
7641 (tan_test_downward): Likewise.
7642 (tan_test_upward): Likewise.
7643 (main): Call the new functions.
7644 * sysdeps/i386/fpu/libm-test-ulps: Update.
7645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7646
a6d06d7b
JM
7647 [BZ #10135]
7648 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7649 small n, then large n, before computing and testing k+n.
7650 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7651 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7652 Likewise.
7653 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7654 Likewise.
7655 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7656 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7657 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7658 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7659 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7660 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7661 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7662 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7663 * math/libm-test.inc (scalbn_test): Add more tests.
7664 (scalbln_test): Likewise.
7665
07e12bb3
JM
7666 * manual/filesys.texi (mode_t): Describe constraints on size and
7667 signedness, not exact equivalence to a particular type.
7668 (ino_t): Likewise.
7669 (ino64_t): Likewise.
7670 (dev_t): Likewise.
7671 (nlink_t): Likewise.
7672 (blkcnt_t): Likewise.
7673 (blkcnt64_t): Likewise.
7674 * manual/llio.texi (off_t): Likewise.
7675
28afd92d
JM
7676 [BZ #3976]
7677 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7678 (__ieee754_exp): Save and restore rounding mode and use
7679 round-to-nearest for all computations.
7680 * math/libm-test.inc (exp_test_tonearest): New function.
7681 (exp_test_towardzero): Likewise.
7682 (exp_test_downward): Likewise.
7683 (exp_test_upward): Likewise.
7684 (main): Call the new functions.
7685 * sysdeps/i386/fpu/libm-test-ulps: Update.
7686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7687
b1eeb65d
CD
76882012-03-01 Chris Demetriou <cgd@google.com>
7689
7690 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7691 have predictable order.
7692
53362a4b
DM
76932012-03-01 David S. Miller <davem@davemloft.net>
7694
3c969083
DM
7695 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7696
759707de
DM
7697 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7698 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7699 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7700 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7701
dfdb8ff2
DM
7702 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7703 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7704 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7706 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7707 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7708 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7709 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7710 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7711
ead89f96
DM
7712 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7713
7f66bd07
DM
7714 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7715 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7716 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7717
53362a4b
DM
7718 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7719 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7720 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7721 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7722 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7723 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7724 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7725 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7726 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7727 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7728 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7729 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7730 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7731 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7732 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7733 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7734 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7735 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7736 * sysdeps/sparc/elf/configure: Regenerated.
7737
7b1902cb
JM
77382012-03-01 Joseph Myers <joseph@codesourcery.com>
7739
bec039bc
JM
7740 * configure.in (AS, LD): Require binutils 2.20 or later.
7741 * configure: Regenerated.
7742 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7743 as required minimum version.
7744 * INSTALL: Regenerated.
7745
7b1902cb
JM
7746 [BZ #2541]
7747 [BZ #4108]
7748 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7749 before squaring exponent.
7750 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7751 bottom long double and 27 bits of top long double before squaring
7752 exponent.
7753 * math/libm-test.inc (erfc_test): Add more tests.
7754 * sysdeps/i386/fpu/libm-test-ulps: Update.
7755 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7757
f775c276
KT
77582012-03-01 Kai Tietz <ktietz@redhat.com>
7759
7760 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7761 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7762 containing bit-fields.
7763 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7764 * soft-fp/single.h (_FP_UNION_S): Likewise.
7765 * soft-fp/double.h (_FP_UNION_D): Likewise.
7766
5b8a4d4a
JM
77672012-02-29 Joseph Myers <joseph@codesourcery.com>
7768
0bab47b6
JM
7769 [BZ #13786]
7770 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7771 not include ../strcmp.S.
7772 [USE_AS_STRNCASECMP_L]: Likewise.
7773 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7774 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7775 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7776 (__strncasecmp_l_ia32): Define as alias to
7777 __strncasecmp_l_nonascii.
7778
0fcad3e2
JM
7779 [BZ #5794]
7780 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7781 * sysdeps/i386/fpu/libm-test-ulps: Update.
7782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7783
5b8a4d4a
JM
7784 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7786
8fdceb2e
JL
77872012-02-29 Jeff Law <law@redhat.com>
7788
7789 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7790 out of bounds read.
7791
1f393a11
MP
77922012-02-29 Marek Polacek <polacek@redhat.com>
7793
7794 [BZ #13706]
7795 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7796 * elf/Makefile: Add rules to run tst-unused-dep.out.
7797
8847f037
DM
77982012-02-28 David S. Miller <davem@davemloft.net>
7799
7800 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7801 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7802 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7803 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7804 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7805 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7806
169d7f11
JM
78072012-02-29 Joseph Myers <joseph@codesourcery.com>
7808
7809 * math/libm-test.inc (llround_test): Move one test from
7810 lround_test. Use TEST_f_L in moved test.
7811 (lround_test): Move misplaced test to llround_test. Add testcase
7812 from bug 2561.
7813
39adf059
UD
78142012-02-28 Ulrich Drepper <drepper@gmail.com>
7815
7816 * sysdeps/x86_64/fpu/e_expf.S: New file.
7817 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7818
71b5d1c5
SB
78192012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7820
7821 [BZ #13637]
7822 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7823 of remain_len that may cause incomplete multi-byte character and
7824 false match.
7825 * posix/bug-regex33.c: New file.
7826 * posix/Makefile (tests): Add bug-regex33.
7827
1f77f049
JM
78282012-02-28 Joseph Myers <joseph@codesourcery.com>
7829
7830 * manual/macros.texi: New file.
7831 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7832 * manual/libc.texinfo: Include macros.texi.
7833 * manual/creatute.texi: Likewise.
7834 * manual/install.texi: Likewise.
7835 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7836 @glibcadj{} in references to the GNU C Library.
7837 * manual/charset.texi: Likewise.
7838 * manual/conf.texi: Likewise.
7839 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7840 when not using those macros.
7841 * manual/creature.texi: Likewise.
7842 * manual/crypt.texi: Likewise.
7843 * manual/errno.texi: Likewise.
7844 * manual/filesys.texi: Likewise.
7845 * manual/header.texi: Likewise.
7846 * manual/install.texi: Likewise.
7847 * manual/intro.texi: Likewise.
7848 * manual/io.texi: Likewise.
7849 * manual/job.texi: Likewise.
7850 * manual/lang.texi: Likewise.
7851 * manual/libc.texiinfo: Likewise.
7852 * manual/llio.texi: Likewise.
7853 * manual/locale.texi: Likewise.
7854 * manual/maint.texi: Likewise.
7855 * manual/math.texi: Likewise.
7856 * manual/memory.texi: Likewise.
7857 * manual/message.texi: Likewise.
7858 * manual/nss.texi: Likewise.
7859 * manual/pattern.texi: Likewise.
7860 * manual/process.texi: Likewise.
7861 * manual/resource.texi: Likewise.
7862 * manual/search.texi: Likewise.
7863 * manual/setjmp.texi: Likewise.
7864 * manual/signal.texi: Likewise.
7865 * manual/socket.texi: Likewise.
7866 * manual/startup.texi: Likewise.
7867 * manual/stdio.texi: Likewise.
7868 * manual/string.texi: Likewise.
7869 * manual/sysinfo.texi: Likewise.
7870 * manual/syslog.texi: Likewise.
7871 * manual/terminal.texi: Likewise.
7872 * manual/time.texi: Likewise.
7873 * manual/users.texi: Likewise.
7874 * INSTALL: Regenerated.
7875 * NOTES: Regenerated.
d40c5d54 7876 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 7877
450bf206
AS
78782012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7879
7880 * include/dirent.h: Include <dirstream.h> before
7881 <dirent/dirent.h>.
7882
741a235b
DM
78832012-02-28 David S. Miller <davem@davemloft.net>
7884
7885 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7886 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7887 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7888 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7889
d6b5aa58
DM
78902012-02-27 David S. Miller <davem@davemloft.net>
7891
1aff59a3
DM
7892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7894 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7895 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7896
d6b5aa58
DM
7897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7898 frame pointer instead of stack pointer relative arg slot.
7899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7900 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7901 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7902
433f48bf
CD
79032012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7904
7905 [BZ #3992]
7906 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7907
d674b76d
DM
79082012-02-27 David S. Miller <davem@davemloft.net>
7909
7910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7914 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7915 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7916 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7917 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7918
0e7727f7
JM
79192012-02-27 Joseph Myers <joseph@codesourcery.com>
7920
7921 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7922 later. Allow versions 5-9.
43be4ca2 7923 * configure: Regenerated.
0e7727f7
JM
7924 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7925 required minimum version and 4.6 as recommended version. Do not
7926 mention bugs in GCC 2.7 and 2.8.
43be4ca2 7927 * INSTALL: Regenerated.
0e7727f7 7928
a78bc654
DM
79292012-02-27 David S. Miller <davem@davemloft.net>
7930
428d5830
DM
7931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7935 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7936 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7937 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7938 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7939
a78bc654
DM
7940 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7941 manipulate bits before adding and subtracting TWO112[sx].
7942 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7943
4579f81c
RM
79442012-02-27 Roland McGrath <roland@hack.frob.com>
7945
36c8acb4
RM
7946 [BZ #13775]
7947 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7948 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7949 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7950 being in POSIX, because they are in 1003.1-2008.
7951
84ad622b
RM
7952 * rt/tst-aio.c: Include <fcntl.h>.
7953 * rt/tst-aio7.c: Likewise.
7954 * rt/tst-aio64.c: Likewise.
7955
4579f81c
RM
7956 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7957
abd923db
JM
79582012-02-27 Joseph Myers <joseph@codesourcery.com>
7959
7960 * manual/install.texi (--with-headers): Describe headers as
7961 interface headers, not private headers.
7962 (Specific advice for GNU/Linux systems): Describe use of headers
7963 from "make headers_install", not private headers from older
7964 kernels.
43be4ca2 7965 * INSTALL: Regenerated.
abd923db
JM
7966 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7967 Change to 2.6.19.
7968 * sysdeps/unix/sysv/linux/configure: Regenerated.
7969
6664049b
JM
7970 * manual/llio.texi (fclean): Remove documentation.
7971
bb8b6697
JM
7972 * manual/Makefile (libc-texi-generated): New variable. Include
7973 version.texi.
7974 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7975 $(libc-texi-generated), not duplicated list of files.
7976 (version.texi, stamp-version): New rules.
7977 (realclean): Remove $(libc-texi-generated), not individual files
7978 from that list. Do not remove dir-add.texinfo.
7979 * manual/libc.texinfo: Comment out uses of edition numbers and
7980 references to printed manual. Remove last-updated dates.
7981 (EDITION): Comment out.
7982 (ISBN): Likewise.
7983 (VERSION, UPDATED): Remove.
7984 (version.texi): Include.
7985
12e5c3b9
AS
79862012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7987
7988 * sysdeps/posix/spawni.c: Include <signal.h>.
7989 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7990 * sysdeps/pthread/aio_fsync.c: Likewise.
7991
4efeffc1 79922012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 7993
ba63ba08
UD
7994 * conform/Makefile (tests): Run only when not cross-compiling and
7995 when fast-check is not defined.
7996
d94a4670
UD
7997 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7998 * conform/data/limits.h-data: Fixes for POSIX2008.
7999 * conform/run-conformtest.sh: Run all tests.
8000 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
8001 headers.
8002 * include/bits/dlfcn.h: Likewise.
8003 * include/langinfo.h: Likewise.
8004 * include/monetary.h: Likewise.
8005 * include/sys/poll.h: Likewise.
8006
8007 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
8008 for __USE_GNU.
8009 * posix/spawn.h: Define __need_sigset_t.
8010 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
8011 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
8012 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
8013 to get sigevent_t only.
8014 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
8015 only for __USE_GNU.
8016 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8017 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8018 process_vm_writev only for __USE_GNU.
8019 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
8020
8021 * conform/Makefile: For now ignore errors from run-conformtest.
8022 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
8023 POSIX to avoid namespace pollution. Don't prepend headers.
8024 * conform/data/aio.h-data: Fixes for POSIX testing.
8025 * conform/data/fcntl.h-data: Likewise.
8026 * conform/data/glob.h-data: Likewise.
8027 * conform/data/grp.h-data: Likewise.
8028 * conform/data/pthread.h-data: Likewise.
8029 * conform/data/pwd.h-data: Likewise.
8030 * conform/data/signal.h-data: Likewise.
8031 * conform/data/spawn.h-data: Likewise.
8032 * conform/data/stdio.h-data: Likewise.
8033 * conform/data/stdlib.h-data: Likewise.
8034 * conform/data/stropts.h-data: Likewise.
8035 * conform/data/sys/mman.h-data: Likewise.
8036 * conform/data/sys/stat.h-data: Likewise.
8037 * conform/data/sys/types.h-data: Likewise.
8038 * conform/data/sys/wait.h-data: Likewise.
8039 * conform/data/time.h-data: Likewise.
8040 * conform/data/unistd.h-data: Likewise.
8041 * conform/data/utime.h-data: Likewise.
8042
8043 * io/sys/stat.h: fchmod was always in POSIX.
8044 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
8045 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
8046 * rt/aio.h: Define __need_timespec before including <time.h>.
8047 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
8048 struct. Add forward declaration of pthread_attr_t and use it in
8049 sigevent.
8050 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8051 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8052 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
8053 always remove CLK_TCK definition.
8054
c20105c3
AS
80552012-02-26 Andreas Schwab <schwab@linux-m68k.org>
8056
8057 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
8058
7a270350
UD
80592012-02-25 Ulrich Drepper <drepper@gmail.com>
8060
31341567
UD
8061 * conform/run-conformtest.sh: New file.
8062 * conform/Makefile: Run run-conformtest for tests.
8063 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
8064 support.
8065
8066 * conform/data/uchar.h-data: New file.
8067 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
8068 * conform/data/arpa/inet.h-data: Likewise.
8069 * conform/data/assert.h-data: Likewise.
8070 * conform/data/complex.h-data: Likewise.
8071 * conform/data/cpio.h-data: Likewise.
8072 * conform/data/ctype.h-data: Likewise.
8073 * conform/data/dirent.h-data: Likewise.
8074 * conform/data/dlfcn.h-data: Likewise.
8075 * conform/data/errno.h-data: Likewise.
8076 * conform/data/fcntl.h-data: Likewise.
8077 * conform/data/float.h-data: Likewise.
8078 * conform/data/fmtmsg.h-data: Likewise.
8079 * conform/data/fnmatch.h-data: Likewise.
8080 * conform/data/ftw.h-data: Likewise.
8081 * conform/data/glob.h-data: Likewise.
8082 * conform/data/grp.h-data: Likewise.
8083 * conform/data/iconv.h-data: Likewise.
8084 * conform/data/inttypes.h-data: Likewise.
8085 * conform/data/langinfo.h-data: Likewise.
8086 * conform/data/libgen.h-data: Likewise.
8087 * conform/data/limits.h-data: Likewise.
8088 * conform/data/locale.h-data: Likewise.
8089 * conform/data/math.h-data: Likewise.
8090 * conform/data/monetary.h-data: Likewise.
8091 * conform/data/mqueue.h-data: Likewise.
8092 * conform/data/ndbm.h-data: Likewise.
8093 * conform/data/net/if.h-data: Likewise.
8094 * conform/data/netdb.h-data: Likewise.
8095 * conform/data/netinet/in.h-data: Likewise.
8096 * conform/data/nl_types.h-data: Likewise.
8097 * conform/data/poll.h-data: Likewise.
8098 * conform/data/pthread.h-data: Likewise.
8099 * conform/data/pwd.h-data: Likewise.
8100 * conform/data/regex.h-data: Likewise.
8101 * conform/data/sched.h-data: Likewise.
8102 * conform/data/search.h-data: Likewise.
8103 * conform/data/semaphore.h-data: Likewise.
8104 * conform/data/setjmp.h-data: Likewise.
8105 * conform/data/signal.h-data: Likewise.
8106 * conform/data/spawn.h-data: Likewise.
8107 * conform/data/stdarg.h-data: Likewise.
8108 * conform/data/stdio.h-data: Likewise.
8109 * conform/data/stdlib.h-data: Likewise.
8110 * conform/data/string.h-data: Likewise.
8111 * conform/data/strings.h-data: Likewise.
8112 * conform/data/stropts.h-data: Likewise.
8113 * conform/data/sys/ipc.h-data: Likewise.
8114 * conform/data/sys/mman.h-data: Likewise.
8115 * conform/data/sys/msg.h-data: Likewise.
8116 * conform/data/sys/resource.h-data: Likewise.
8117 * conform/data/sys/select.h-data: Likewise.
8118 * conform/data/sys/sem.h-data: Likewise.
8119 * conform/data/sys/shm.h-data: Likewise.
8120 * conform/data/sys/socket.h-data: Likewise.
8121 * conform/data/sys/stat.h-data: Likewise.
8122 * conform/data/sys/statvfs.h-data: Likewise.
8123 * conform/data/sys/time.h-data: Likewise.
8124 * conform/data/sys/timeb.h-data: Likewise.
8125 * conform/data/sys/times.h-data: Likewise.
8126 * conform/data/sys/types.h-data: Likewise.
8127 * conform/data/sys/uio.h-data: Likewise.
8128 * conform/data/sys/un.h-data: Likewise.
8129 * conform/data/sys/utsname.h-data: Likewise.
8130 * conform/data/sys/wait.h-data: Likewise.
8131 * conform/data/syslog.h-data: Likewise.
8132 * conform/data/tar.h-data: Likewise.
8133 * conform/data/termios.h-data: Likewise.
8134 * conform/data/utime.h-data: Likewise.
8135 * conform/data/utmpx.h-data: Likewise.
8136 * conform/data/varargs.h-data: Likewise.
8137 * conform/data/wchar.h-data: Likewise.
8138 * conform/data/wctype.h-data: Likewise.
8139 * conform/data/wordexp.h-data: Likewise.
8140
8141 * include/stropts.h: New file.
8142 * include/uchar.h: New file.
8143 * include/aio.h: Changes to allow conformtest.pl to use the headers.
8144 * include/assert.h: Likewise.
8145 * include/ctype.h: Likewise.
8146 * include/dirent.h: Likewise.
8147 * include/dlfcn.h: Likewise.
8148 * include/fcntl.h: Likewise.
8149 * include/fnmatch.h: Likewise.
8150 * include/glob.h: Likewise.
8151 * include/grp.h: Likewise.
8152 * include/libio.h: Likewise.
8153 * include/locale.h: Likewise.
8154 * include/math.h: Likewise.
8155 * include/net/if.h: Likewise.
8156 * include/netdb.h: Likewise.
8157 * include/netinet/in.h: Likewise.
8158 * include/pthread.h: Likewise.
8159 * include/pwd.h: Likewise.
8160 * include/regex.h: Likewise.
8161 * include/sched.h: Likewise.
8162 * include/search.h: Likewise.
8163 * include/setjmp.h: Likewise.
8164 * include/signal.h: Likewise.
8165 * include/stdio.h: Likewise.
8166 * include/stdlib.h: Likewise.
8167 * include/string.h: Likewise.
8168 * include/sys/cdefs.h: Likewise.
8169 * include/sys/mman.h: Likewise.
8170 * include/sys/msg.h: Likewise.
8171 * include/sys/resource.h: Likewise.
8172 * include/sys/select.h: Likewise.
8173 * include/sys/socket.h: Likewise.
8174 * include/sys/stat.h: Likewise.
8175 * include/sys/statvfs.h: Likewise.
8176 * include/sys/time.h: Likewise.
8177 * include/sys/times.h: Likewise.
8178 * include/sys/uio.h: Likewise.
8179 * include/sys/utsname.h: Likewise.
8180 * include/sys/wait.h: Likewise.
8181 * include/termios.h: Likewise.
8182 * include/time.h: Likewise.
8183 * include/ulimit.h: Likewise.
8184 * include/unistd.h: Likewise.
8185 * include/utime.h: Likewise.
8186 * include/wchar.h: Likewise.
8187 * include/wctype.h: Likewise.
8188 * include/wordexp.h: Likewise.
8189
8190 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8191
7a270350
UD
8192 * time/time.h: TIME_UTC must be a macro.
8193 Make timespec_get available for ISO C11 only as well.
8194
7724defc
UD
81952012-02-24 Ulrich Drepper <drepper@gmail.com>
8196
8197 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8198 Reported by Peng Haitao <penght@cn.fujitsu.com>.
8199
6b1d1d46
JM
82002012-02-24 Joseph Myers <joseph@codesourcery.com>
8201
8202 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 8203
0f8bbd69
JM
82042012-02-24 Joseph Myers <joseph@codesourcery.com>
8205
8206 * manual/texinfo.tex: Update to version 2012-01-19.16.
8207
66ab80bc
JM
82082012-02-24 Joseph Myers <joseph@codesourcery.com>
8209
8210 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8211
74981cc5
RM
82122012-02-24 Roland McGrath <roland@hack.frob.com>
8213
ee968201
RM
8214 [BZ #13738]
8215 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8216 * manual/fdl-1.3.texi: New file.
8217 * manual/fdl-1.1.texi: File removed.
8218
74981cc5
RM
8219 [BZ #13738]
8220 * manual/libc.texinfo (FDL_VERSION): New @set.
8221 Use it for mention of FDL in cover text.
8222 (Documentation License): Use it in @include file name.
8223
7bb764bc
JM
82242012-02-22 Joseph Myers <joseph@codesourcery.com>
8225 Roland McGrath <roland@hack.frob.com>
8226
8227 [BZ #5461]
8228 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8229 not LONG_LONG_MAX and LONG_LONG_MIN.
8230 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8231 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8232 name.
8233 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8234
6cbeae47
JM
82352012-02-22 Joseph Myers <joseph@codesourcery.com>
8236
8237 [BZ #2547]
8238 [BZ #11365]
8239 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8240 manipulate bits before adding and subtracting TWO23[sx].
8241 * math/libm-test.inc (nearbyint_test): Add more tests.
8242
fe45ce09
JM
82432012-02-22 Joseph Myers <joseph@codesourcery.com>
8244
8245 [BZ #2548]
8246 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8247 bits before adding and subtracting TWO23[sx].
8248 * math/libm-test.inc (rint_test): Add more tests.
8249 (rint_test_tonearest): Likewise.
8250 (rint_test_towardzero): Likewise.
8251 (rint_test_downward): Likewise.
8252 (rint_test_upward: Likewise.
8253
ff3b3d82
JM
82542012-02-22 Joseph Myers <joseph@codesourcery.com>
8255
8256 [BZ #10110]
8257 * include/stdc-predef.h: New file. Extracted from features.h.
8258 * include/features.h: Include stdc-predef.h.
8259 * Makefile (headers): Add stdc-predef.h.
8260 * CONFORMANCE (Compiler limitations): Update.
8261
ef0aab35
JM
82622012-02-22 Joseph Myers <joseph@codesourcery.com>
8263
8264 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8265
58639409
DM
82662012-02-21 David S. Miller <davem@davemloft.net>
8267
8268 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8269 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8270
c0e70b25
DM
82712012-02-20 David S. Miller <davem@davemloft.net>
8272
8273 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8274 using a normal save/restore sequence, rather than allocating a
8275 dummy stack frame just to store a frame pointer and restore.
8276 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8277
fb06851d
JM
82782012-02-21 Joseph Myers <joseph@codesourcery.com>
8279
8280 * manual/install.texi: Fix stray word in line-wrapped comment.
8281
7a8b71c3
DM
82822012-02-20 David S. Miller <davem@davemloft.net>
8283
d510c123
DM
8284 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8285 both binutils and gcc support GOTDATA.
8286
0722d7c2
DM
8287 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8288 "rd %pc" in the PIC register setup sequences.
8289
3d2b3019
DM
8290 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8291 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8292 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8293 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8294 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8295 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8296 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8297 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8298 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8299 (SYSCALL_ERROR_HANDLER): Likewise.
8300 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8301 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8302 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8303 (SYSCALL_ERROR_HANDLER): Likewise.
8304
c80098a9
DM
8305 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8306 (HAVE_GCC_GOTDATA): New.
8307 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8308 relocation support in both binutils and gcc.
8309 * sysdeps/sparc/elf/configure: Regenerate.
8310
3a2545a0
DM
8311 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8312 * sysdeps/sparc/sparc32/elf/configure: Delete.
8313 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8314 * sysdeps/sparc/sparc64/elf/configure: Delete.
8315 * sysdeps/sparc/elf/configure.in: New file.
8316 * sysdeps/sparc/elf/configure: Generate.
8317
7a8b71c3
DM
8318 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8319 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8320 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8321 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8322 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8323
f1e86fca
JM
83242012-02-21 Joseph Myers <joseph@codesourcery.com>
8325
8326 * manual/install.texi: Do not mention specific glibc version
8327 numbers.
8328 * manual/libc.texinfo (VERSION, UPDATED): Update.
8329 (@copying): Use @copyright{} and range of years.
8330
0e7dfaef
JM
83312012-02-21 Joseph Myers <joseph@codesourcery.com>
8332
8333 [BZ #13695]
8334 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8335 [crti.S not in sysdirs] (generated): Do not append.
8336 [crti.S not in sysdirs] (omit-deps): Likewise.
8337 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8338 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8339 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8340 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8341 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8342 Likewise.
8343 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8344 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8345 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8346 * csu/defs.awk: Remove file.
8347 * sysdeps/generic/initfini.c: Likewise.
8348 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8349 variable.
8350 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8351 Likewise.
8352
599af3ca
JM
83532012-02-20 Joseph Myers <joseph@codesourcery.com>
8354
8355 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8356 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8357 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8358 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8359 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8360 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8361 <bits/epoll.h>.
8362 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8363 (__EPOLL_PACKED): Define to empty if not defined by
8364 <bits/epoll.h>.
8365 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8366 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8367 bits/epoll.h.
8368
0e499750
JM
83692012-02-20 Joseph Myers <joseph@codesourcery.com>
8370
8371 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8372 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8373 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8374 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8375 <bits/timerfd.h>.
8376 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8377 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8378 bits/timerfd.h.
8379
5ad91f6e
JM
83802012-02-20 Joseph Myers <joseph@codesourcery.com>
8381
8382 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8383 in C locale.
8384 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8385 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8386 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8388
06b99b02
AJ
83892012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8390
8391 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8392 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8393
7638c0fd
AS
83942012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8395
8396 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8397 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8398 defined.
8399 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8400 Likewise.
8401 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8402 entry for 2.16.
8403
92221550
AJ
84042012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8405
8406 * math/w_acos.c: Use non-signaling floating-point comparisons.
8407 * math/w_acosf.c: Likewise.
8408 * math/w_acosh.c: Likewise.
8409 * math/w_acoshf.c: Likewise.
8410 * math/w_acoshl.c: Likewise.
8411 * math/w_acosl.c: Likewise.
8412 * math/w_asin.c: Likewise.
8413 * math/w_asinf.c: Likewise.
8414 * math/w_asinl.c: Likewise.
8415 * math/w_atanh.c: Likewise.
8416 * math/w_atanhf.c: Likewise.
8417 * math/w_atanhl.c: Likewise.
8418 * math/w_exp2.c: Likewise.
8419 * math/w_exp2f.c: Likewise.
8420 * math/w_exp2l.c: Likewise.
8421 * math/w_j0.c: Likewise.
8422 * math/w_j0f.c: Likewise.
8423 * math/w_j0l.c: Likewise.
8424 * math/w_j1.c: Likewise.
8425 * math/w_j1f.c: Likewise.
8426 * math/w_j1l.c: Likewise.
8427 * math/w_jn.c: Likewise.
8428 * math/w_jnf.c: Likewise.
8429 * math/w_log.c: Likewise.
8430 * math/w_log10.c: Likewise.
8431 * math/w_log10f.c: Likewise.
8432 * math/w_log10l.c: Likewise.
8433 * math/w_log2.c: Likewise.
8434 * math/w_log2f.c: Likewise.
8435 * math/w_log2l.c: Likewise.
8436 * math/w_logf.c: Likewise.
8437 * math/w_logl.c: Likewise.
8438 * math/w_sqrt.c: Likewise.
8439 * math/w_sqrtf.c: Likewise.
8440 * math/w_sqrtl.c: Likewise.
8441 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8442 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8443 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8444 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8445 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8446
ebaf36eb
JM
84472012-02-19 Joseph Myers <joseph@codesourcery.com>
8448
8449 [BZ #9739]
8450 * manual/string.texi (strnlen): Use correct parameter name in
8451 equivalent expression.
8452
71c254a6
JM
84532012-02-19 Joseph Myers <joseph@codesourcery.com>
8454
8455 [BZ #11174]
8456 * manual/users.texi (seteuid): Consistently use neweuid for
8457 argument name.
8458
16d2c631
JM
84592012-02-19 Joseph Myers <joseph@codesourcery.com>
8460
8461 [BZ #13704]
8462 * manual/nss.texi (Services in the NSS configuration): Correct
8463 list of services in example configuration file.
8464
cd837b09
NB
84652012-02-19 Nick Bowler <nbowler@draconx.ca>
8466
8467 [BZ #11322]
8468 * manual/arith.texi: Remove statements about negative zero
8469 behaving identically to zero.
8470
02c4bbad
JM
84712012-02-18 Joseph Myers <joseph@codesourcery.com>
8472
8473 [BZ #5993]
8474 * manual/install.texi: Do not document upgrading from libc5.
8475
366842e7
JM
84762012-02-18 Joseph Myers <joseph@codesourcery.com>
8477
8478 [BZ #4596]
8479 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8480
dd54084d
DM
84812012-02-18 David S. Miller <davem@davemloft.net>
8482
8483 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8484 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8485 %o7 across the call.
8486 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8487 instead.
8488 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8489 SETUP_PIC_REG_LEAF.
8490 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8491 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8492 * sysdeps/sparc/crtn.S: Likewise.
8493
2bcc53a3
UD
84942012-02-17 Ulrich Drepper <drepper@gmail.com>
8495
8496 * aout/Makefile: Remove.
8497
09c093b5
RK
84982012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8499
8500 [BZ #13058]
8501 * manual/examples/argp-ex1.c (main): Format definition in GNU
8502 style.
8503 * manual/examples/argp-ex2.c (main): Likewise.
8504 * manual/examples/argp-ex3.c (main): Likewise.
8505 * manual/examples/argp-ex4.c (main): Likewise.
8506 * manual/examples/longopt.c (main): Use new-style prototype
8507 definition.
8508 * manual/examples/strncat.c (main): Specify return type and use
8509 (void) for arguments.
8510 * manual/examples/subopt.c (main): Use char **argv argument.
8511
2ee633a2
JM
85122012-02-17 Joseph Myers <joseph@codesourcery.com>
8513
8514 [BZ #5077]
8515 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8516 rounding modes.
8517
0520adde
FB
85182012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8519
8520 [BZ #6907]
8521 * manual/string.texi (strchr): Change when strchrnul is
8522 recommended.
8523
3f4081cd
DGM
85242012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8525
8526 [BZ #174]
8527 * manual/locale.texi (setlocale): Document LOCPATH.
8528
d1b10e78
JM
85292012-02-17 Joseph Myers <joseph@codesourcery.com>
8530
8531 [BZ #10210]
8532 * manual/process.texi (execle): Move @dots{} before last argument.
8533
79c6869c
PB
85342012-02-17 Paul Bolle <pebolle@tiscali.nl>
8535
8536 [BZ #12047]
8537 * manual/charset.texi (Generic Charset Conversion): Fix typo
8538 (LC_TYPE -> LC_CTYPE).
8539
cc6e48bc
NB
85402012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8541
8542 [BZ #5805]
8543 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8544 (scalbnf): Likewise.
8545 (scalbnl): Likewise.
8546 (scalbln): Likewise.
8547 (scalblnf): Likewise.
8548 (scalblnl): Likewise.
8549 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8550 (vwarnx): Likewise.
8551 (verr): Likewise.
8552 (verrx): Likewise.
8553 * manual/filesys.texi (telldir): Use braces around return type.
8554 * manual/llio.texi (mmap): Add space after comma.
8555 (mmap64): Likewise.
8556 * manual/math.texi (jn): Use @var{} on parameter names.
8557 (jnf): Likewise.
8558 (jnl): Likewise.
8559 (yn): Likewise.
8560 (ynf): Likewise.
8561 (ynl): Likewise.
8562 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8563 line.
8564 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8565 "...".
8566 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8567 (sched_get_priority_max): Likewise.
8568 * manual/signal.texi (sigvec): Add space after comma.
8569 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8570 names.
8571 (if_indextoname): Likewise.
8572 (if_freenameindex): Likewise.
8573 (sendto): Use ',' instead of '.' in prototype.
8574 * manual/startup.texi (syscall): Use @dots{} instead of literal
8575 "...".
8576 * manual/stdio.texi (__fpending): Separate initial words of
8577 paragraph from @deftypefun line.
8578 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8579 "...".
8580 (vsyslog): Use @var{} on parameter names.
8581 * manual/terminal.texi (stty): Use @var{} on parameter names.
8582 * manual/users.texi (getutmp): Use @var{} on parameter names.
8583 (getutmpx): Likewise.
8584
5b23062f
JM
85852012-02-17 Joseph Myers <joseph@codesourcery.com>
8586
8587 [BZ #6884]
8588 * manual/stdio.texi (fopen): Fix typos in description of
8589 ",ccs=STRING".
8590
8dee4833
AJ
85912012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8592
8593 [BZ #4026]
8594 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8595 get clock_id definition.
8596
9078ce93
TS
85972012-02-17 Thomas Schwinge <thomas@schwinge.name>
8598
8599 [BZ #4822]
8600 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8601 (madvise): Cast every argument to void on its own.
8602
3835c55f
JM
86032012-02-17 Joseph Myers <joseph@codesourcery.com>
8604
8605 [BZ #9902]
8606 * manual/startup.texi (Exit Status): Fix typo.
8607
35c47e37
JM
86082012-02-17 Joseph Myers <joseph@codesourcery.com>
8609
8610 [BZ #10140]
8611 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8612 * manual/examples/argp-ex2.c: Likewise.
8613 * manual/examples/argp-ex3.c: Likewise.
8614
e3b69ca7
RH
86152012-02-16 Richard Henderson <rth@redhat.com>
8616
8617 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8618 * sysdeps/s390/s390-32/initfini.c: Remove.
8619 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8620 * sysdeps/s390/s390-64/initfini.c: Remove.
8621
df83af67
KK
86222012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8623
8624 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8625 compiler output for sysdeps/generic/initfini.c.
8626 * sysdeps/sh/elf/initfini.c: Remove file.
8627
f63f3380
DM
86282012-02-16 David S. Miller <davem@davemloft.net>
8629
fb59b3a4
DM
8630 [BZ #11494]
8631 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8632
f63f3380
DM
8633 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8634 * sysdeps/sparc/crti.S: New file.
8635 * sysdeps/sparc/crtn.S: New file.
8636 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8637 * sysdeps/sparc/sparc64/Makefile: Likewise.
8638
df6a4a4a
MF
86392012-02-15 Mike Frysinger <vapier@gentoo.org>
8640
6dd8f3dc 8641 [BZ #3335]
df6a4a4a
MF
8642 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8643
1cac7236
RM
86442012-02-15 Roland McGrath <roland@hack.frob.com>
8645
d2c736f8
RM
8646 [BZ #4822]
8647 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8648
1cac7236
RM
8649 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8650 (write, read, close): Likewise.
8651 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8652
8e475601
JM
86532012-02-15 Joseph Myers <joseph@codesourcery.com>
8654
8655 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8656 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8657 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8658 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8659 <bits/signalfd.h>.
8660 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8661 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8662 bits/signalfd.h.
8663
ed656b40
MP
86642012-02-14 Marek Polacek <polacek@redhat.com>
8665
8666 * sysdeps/x86_64/crti.S: New file.
8667 * sysdeps/x86_64/crtn.S: New file.
8668 * sysdeps/x86_64/elf/initfini.c: Remove file.
8669
2a979d3a
JM
86702012-02-13 Joseph Myers <joseph@codesourcery.com>
8671
8672 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8673 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8674 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8675 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8676 <bits/inotify.h>.
8677 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8678 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8679 bits/inotify.h.
8680
2a418ac3
JM
86812012-02-13 Joseph Myers <joseph@codesourcery.com>
8682
8683 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8684 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8685 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8686 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8687 <bits/eventfd.h>.
8688 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8689 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8690 bits/eventfd.h.
8691
fb779be7
TS
86922012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8693
e19e83c5
RM
8694 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8695 __feraiseexcept instead of feraiseexcept.
7c35ffed 8696
fb779be7
TS
8697 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8698 nanosleep invocations.
8699 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8700 strings, and add error checking for a nanosleep invocations.
8701
59ba27a6
PE
87022012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8703
8704 Replace FSF snail mail address with URLs, as per GNU coding standards.
8705 Most of the snail mail addresses were wrong anyway, and omitting
8706 them makes the source code easier to maintain. Almost all of the
8707 changes are to license notices and to locale LC_IDENTIFICATION
8708 addresses, except for this one:
8709 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8710 not its snail mail address.
8711
57b957eb
RH
87122012-02-09 Richard Henderson <rth@twiddle.net>
8713
af850b1c
RH
8714 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8715 of kernel-features.h.
8716
57b957eb
RH
8717 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8718
6b73181a
MP
87192012-02-08 Marek Polacek <polacek@redhat.com>
8720
8721 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8722 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8723 * sysdeps/gnu/_G_config.h: Likewise.
8724 * sysdeps/generic/_G_config.h: Likewise.
8725
26ecc33a
AS
87262012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8727
6c6dbc63
AS
8728 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8729 tests.
8730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8731
e216c012
AS
8732 * sysdeps/powerpc/powerpc32/crti.S: New file.
8733 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8734 * sysdeps/powerpc/powerpc64/crti.S: New file.
8735 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8736
26ecc33a
AS
8737 * Makeconfig (have-initfini): Don't set.
8738 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8739 * configure.in (nopic_initfini): Don't substitute.
8740 * config.h.in (HAVE_INITFINI): Don't #undef.
8741 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8742 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8743
3add8e13
JM
87442012-02-08 Joseph Myers <joseph@codesourcery.com>
8745
8746 Support crti.S and crtn.S provided directly by architectures.
8747 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8748 [crti.S in sysdirs] (omit-deps): Likewise.
8749 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8750 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8751 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8752 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8753 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8754 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8755 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8756 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8757 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8758 compiler output for sysdeps/generic/initfini.c.
8759 * sysdeps/i386/elf/Makefile: Remove file.
8760 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8761
a22f12b4
MP
87622012-02-07 Marek Polacek <polacek@redhat.com>
8763
8764 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8765 * sysdeps/gnu/_G_config.h: Likewise.
8766 * sysdeps/mach/hurd/_G_config.h: Likewise.
8767
148cf100
MP
87682012-02-07 Marek Polacek <polacek@redhat.com>
8769
8770 * math/Makefile (tests): Add tst-CMPLX2.
8771 * math/tst-CMPLX2.c: New file.
8772
cfdc0dd7
AS
87732012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8774
84ba42c4
AS
8775 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8776
cfdc0dd7
AS
8777 * math/libm-test.inc (jn_test): Add missing L suffix.
8778
622c86f4
MP
87792012-02-06 Marek Polacek <polacek@redhat.com>
8780
8781 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8782 * sysdeps/i386/fpu/e_powf.S: Likewise.
8783 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8784 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8785 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8786 * sysdeps/i386/fpu/e_pow.S: Likewise.
8787 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8788 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8789 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8790 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8791 * sysdeps/i386/fpu/e_log2.S: Likewise.
8792 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8793 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8794 * sysdeps/i386/fpu/e_powl.S: Likewise.
8795 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8796 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8797 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8798 * sysdeps/i386/fpu/e_logl.S: Likewise.
8799 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8800 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8801 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8802 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8803 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8804 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8805 * sysdeps/i386/fpu/e_log.S: Likewise.
8806 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8807 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8808 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8809 * sysdeps/i386/fpu/e_logf.S: Likewise.
8810 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8811 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8812 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8813 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8814 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8815 * sysdeps/i386/fpu/e_log10.S: Likewise.
8816 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8817 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8818 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8819 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8820 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8821 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8822 * sysdeps/i386/asm-syntax.h: Likewise.
8823 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8824 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8825 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8826 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8827 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8828 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8829 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8830 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8831 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8832 * sysdeps/powerpc/sysdep.h: Likewise.
8833 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8834 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8835
d4a54ac6
JM
88362012-02-06 Joseph Myers <joseph@codesourcery.com>
8837
8838 [BZ #411]
8839 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8840
314054ea
JM
88412012-02-06 Joseph Myers <joseph@codesourcery.com>
8842
8843 * sysdeps/i386/sysdep.h: Include <features.h>.
8844 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8845 version.
8846
d8e0ca50
JM
88472012-02-05 Joseph Myers <joseph@codesourcery.com>
8848
8849 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8850 Define.
8851 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8852 LOAD_PIC_REG_STR.
8853
b1da7dd9
JM
88542012-02-03 Joseph Myers <joseph@codesourcery.com>
8855
8856 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8857 (SETUP_PIC_REG): Use GET_PC_THUNK.
8858 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8859 macro.
8860
9a1d9254
JM
88612012-02-03 Joseph Myers <joseph@codesourcery.com>
8862
8863 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8864 for non-PIC compilation.
8865 (SETUP_PIC_REG): Add .p2align directive.
8866 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8867 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8868 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8869 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8870 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8871 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8872 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8873 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8874 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8875 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8876 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8877 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8878 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8879 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8880 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8881 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8882 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8883 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8884 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8885 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8886 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8887 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8888 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8889 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8890 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8891 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8892 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8893 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8894 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8895 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8896 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8897 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8898 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8899 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8900 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8901 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8902 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8903 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8904 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8905 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8906 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8907
65dc3b75
JM
89082012-02-03 Joseph Myers <joseph@codesourcery.com>
8909
8910 * math/tst-CMPLX.c: Include <stdio.h>.
8911
d55bf177
JM
89122012-01-31 Joseph Myers <joseph@codesourcery.com>
8913
8914 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8915 float.
8916 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8917 * sysdeps/sparc/bits/mathdef.h: Likewise.
8918
69db4f8f
MP
89192012-01-31 Marek Polacek <polacek@redhat.com>
8920
8921 * libio/libio.h: Don't define _PARAMS.
8922 * locale/programs/config.h: Don't define PARAMS.
8923 * stdlib/strtol_l.c: Likewise.
8924 (__strtol_l): Remove PARAMS from the prototype.
8925
41b81892
UD
89262012-01-31 Ulrich Drepper <drepper@gmail.com>
8927
3b49edc0
UD
8928 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8929 names. Just use the correct names. Remove unnecessary wrapper
8930 functions.
8931 * malloc/arena.c: Likewise.
8932 * malloc/hooks.c: Likewise.
8933
41b81892
UD
8934 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8935 ARENA_TEST says not to. Simplify test for creation of a new arena.
8936 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8937
27a25b6e
UD
89382012-01-30 Ulrich Drepper <drepper@gmail.com>
8939
8940 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8941 into tail calls.
8942 (update_get_addr): New function.
8943 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8944 GET_ADDR_MODULE parameter.
8945
c8a89e7d
JM
89462012-01-30 Joseph Myers <joseph@codesourcery.com>
8947
8948 * crypt/cert.c: Remove __STDC__ conditionals.
8949 * crypt/crypt-entry.c: Likewise.
8950 * crypt/crypt_util.c: Likewise.
8951 * libio/filedoalloc.c: Likewise.
8952 * libio/fileops.c: Likewise.
8953 * libio/genops.c: Likewise.
8954 * libio/iofclose.c: Likewise.
8955 * libio/iofdopen.c: Likewise.
8956 * libio/iofopen.c: Likewise.
8957 * libio/iofopen64.c: Likewise.
8958 * libio/iogetdelim.c: Likewise.
8959 * libio/iopopen.c: Likewise.
8960 * libio/obprintf.c: Likewise.
8961 * libio/oldfileops.c: Likewise.
8962 * libio/oldiofclose.c: Likewise.
8963 * libio/oldiofdopen.c: Likewise.
8964 * libio/oldiofopen.c: Likewise.
8965 * libio/oldiopopen.c: Likewise.
8966 * libio/wfiledoalloc.c: Likewise.
8967 * libio/wgenops.c: Likewise.
8968 * locale/programs/xmalloc.c: Likewise.
8969 * misc/syslog.c: Likewise.
8970 * stdio-common/xbug.c: Likewise.
8971 * string/memchr.c: Likewise.
8972 * string/memcmp.c: Likewise.
8973 * string/memrchr.c: Likewise.
8974 * string/rawmemchr.c: Likewise.
8975 * sysdeps/posix/getcwd.c: Likewise.
8976 * time/strftime_l.c: Likewise.
8977
3b100462
JM
89782012-01-30 Joseph Myers <joseph@codesourcery.com>
8979
8980 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
8981 * config.make.in (config-cflags-sse2avx): Define.
8982 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8983 Fix typo.
8984
607998af
CM
89852012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8986
8987 * scripts/config.guess: Update from upstream config git repository.
8988 * scripts/config.sub: Likewise.
8989
3601428f
CM
89902012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8991
3ac8b282
CM
8992 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8993 (EM_NUM): Update.
8994 (R_TILEPRO_*, R_TILEGX_*): New macros.
8995
e034841e
CM
8996 * scripts/firstversions.awk: Fix bug in version range handling.
8997
540d7568
CM
8998 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8999
3601428f
CM
9000 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
9001
463de862
CM
9002 * include/sys/epoll.h: New file.
9003 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
9004 libc_hidden_def.
9005
73139a76
UD
90062012-01-28 Ulrich Drepper <drepper@gmail.com>
9007
96bc5b45
UD
9008 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
9009 Avoid unnecessary __WORDSIZE == 64 test.
9010 (fmaxf): Use VEX format if possible.
9011 (fmax): Likewise.
9012 (fminf): Likewise.
9013 (fmin): Likewise.
9014
56f6f6a2
UD
9015 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
9016 * math/math_private.h: Remove libc_fegetround* and
9017 libc_fesetround*.
9018 * sysdeps/i386/configure.in: Check for -msse2avx.
9019 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
9020 also if SSE2AVX is defined.
9021 Remove libc_fegetround* and libc_fesetround*.
9022 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
9023 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
9024 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
9025 of HAS_YMM_USABLE.
9026 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9027 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9028 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9029 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9030 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9031
73139a76
UD
9032 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
9033
d73f93a4
AZ
90342012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9035
9036 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
9037 size is not set.
9038 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9039
6ee65ed6
UD
90402012-01-27 Ulrich Drepper <drepper@gmail.com>
9041
9042 [BZ #13618]
9043 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
9044 relocation.
9045 * Makeconfig (libm): Define.
9046 * elf/Makefile: Add rules to build and run tst-relsort1.
9047 * elf/tst-relsort1.c: New file.
9048 * elf/tst-relsort1mod1.c: New file.
9049 * elf/tst-relsort1mod2.c: New file.
9050
8db21882
JM
90512012-01-27 Joseph Myers <joseph@codesourcery.com>
9052
9053 * math/s_ldexp.c: Remove __STDC__ conditionals.
9054 * math/s_ldexpf.c: Likewise.
9055 * math/s_ldexpl.c: Likewise.
9056 * math/s_nextafter.c: Likewise.
9057 * math/s_nexttowardf.c: Likewise.
9058 * math/s_significand.c: Likewise.
9059 * math/s_significandf.c: Likewise.
9060 * math/s_significandl.c: Likewise.
9061 * math/w_jnl.c: Likewise.
9062 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9063 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9064 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9065 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9066 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9067 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9068 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
9069 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9070 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9071 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9072 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9073 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9074 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9075 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9076 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9077 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9078 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9079 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9080 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9081 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9082 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9083 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9084 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9085 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9086 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9087 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9088 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9089 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9090 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9091 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9092 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9093 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9094 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9095 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9096 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9097 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9098 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9099 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9100 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9101 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9102 * sysdeps/ieee754/k_standard.c: Likewise.
9103 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9104 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9105 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9106 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9107 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9108 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9109 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9110 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9111 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9112 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9113 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9114 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9115 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9116 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9117 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9118 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9119 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9120 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9121 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9122 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9123 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9124 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9125 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9126 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9127 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9128 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9129 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9130 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9131 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9132 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9133 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9134 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9135 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9136 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9137 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9138 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9139 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9140 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9141 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9142 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9143 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9144 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9145 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9146 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9147 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9148 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9149 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9150 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9151 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9152 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9153 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9154 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9155 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9156 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9157 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9158 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9159 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9160 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9161 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9162 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9163 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9164 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9165 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9166 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9167 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9168 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9169 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9170 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9171 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9172 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9173 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9174 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9175 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9176 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9177 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9178 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9179 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9180 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9181 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9182 * sysdeps/ieee754/s_matherr.c: Likewise.
9183 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9184 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9185 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9186 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9187
965a54a4
JM
91882012-01-26 Joseph Myers <joseph@codesourcery.com>
9189
9190 * crypt/md5.h: Remove __STDC__ conditionals.
9191 * libio/libioP.h: Likewise.
9192 * locale/programs/config.h: Likewise.
9193 * sysdeps/generic/sysdep.h: Likewise.
9194 * sysdeps/i386/asm-syntax.h: Likewise.
9195 * sysdeps/s390/asm-syntax.h: Likewise.
9196 * sysdeps/unix/sysdep.h: Likewise.
9197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9199
7071ad79
JM
92002012-01-26 Joseph Myers <joseph@codesourcery.com>
9201
9202 * libio/libio.h: Remove __STDC__ conditionals.
9203 * malloc/obstack.h: Likewise.
9204 * math/complex.h: Likewise.
9205 * math/math.h: Likewise.
9206 * sysdeps/generic/_G_config.h: Likewise.
9207 * sysdeps/gnu/_G_config.h: Likewise.
9208 * sysdeps/mach/hurd/_G_config.h: Likewise.
9209 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9210 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9211 * sysdeps/sparc/bits/mathdef.h: Likewise.
9212
afc5ed09
UD
92132012-01-26 Ulrich Drepper <drepper@gmail.com>
9214
9215 [BZ #13583]
9216 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 9217 Clean up HAS_* macros.
afc5ed09 9218 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
9219 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9220 possible.
9221 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9222 HAS_AVX.
9223 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9224 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9225 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9226 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9227 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 9228
bdb6de1d
JM
92292012-01-25 Joseph Myers <joseph@codesourcery.com>
9230
9231 * elf/tst-unique3.cc (gets): Remove declaration.
9232 * elf/tst-unique3lib.cc (gets): Likewise.
9233 * elf/tst-unique3lib2.cc (gets): Likewise.
9234 * elf/tst-unique4.cc (gets): Likewise.
9235
b15549e6
UD
92362012-01-24 Ulrich Drepper <drepper@gmail.com>
9237
9238 * include/stdio.h: Add C++ protection. Add gets declarations and
9239 definitions.
9240 * debug/tst-chk1.c: Don't declare gets here.
9241 * stdio-common/tst-gets.c: Likewise.
9242
a037381f
JM
92432012-01-24 Joseph Myers <joseph@codesourcery.com>
9244
9245 * posix/glob: Remove directory.
9246
f1d4aa75
JM
92472012-01-24 Joseph Myers <joseph@codesourcery.com>
9248
9249 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9250
81c0c964
PT
92512012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9252
9253 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9254 of the non-standard EPFNOSUPPORT.
9255
0ea698ae
ST
92562011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9257
9258 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9259 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9260 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9261
d220b117
UD
92622012-01-21 Ulrich Drepper <drepper@gmail.com>
9263
9264 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9265
3e1aa84e
UD
92662012-01-20 Ulrich Drepper <drepper@gmail.com>
9267
9268 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9269 transient errors.
9270 * nscd/grpcache.c (cache_addgr): Likewise.
9271 * nscd/hstcache.c (cache_addhst): Likewise.
9272 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9273 * nscd/pwdcache.c (cache_addpw): Likewise.
9274 * nscd/servicescache.c (cache_addserv): Likewise.
9275
400aa020
UD
92762012-01-16 Ulrich Drepper <drepper@gmail.com>
9277
d77e7869
UD
9278 * malloc/malloc.c: Various cleanups.
9279 * malloc/hooks.c: Likewise.
9280
400aa020
UD
9281 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9282 * stdlib/bug-fmtmsg1.c: New file.
9283
9284 * stdlib/fmtmsg.c (init): Add missing unlock.
9285 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9286
e0a309cf
MP
92872012-01-12 Marek Polacek <polacek@redhat.com>
9288
9289 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9290 and _GNU_SOURCE.
9291
929d11c7
WS
92922012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9293
9294 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9295 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9296 macro to ensure uniqueness of label name.
9297 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9298 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9299
41d0e869
UD
93002012-01-11 Ulrich Drepper <drepper@gmail.com>
9301
0cc5ed3b
UD
9302 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9303
41d0e869
UD
9304 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9305 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9306 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9307 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9308
a47a831a
UD
93092012-01-10 Ulrich Drepper <drepper@gmail.com>
9310
daa891c0
UD
9311 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9312
9313 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9314 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9315 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9316
e58ef0f2
UD
9317 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9318
a47a831a 9319 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
9320 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9321 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 9322 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
9323
9324 * math/bits/math-finite.h: Add ldexp support.
9325
a0bfc9c7
MP
93262012-01-10 Marek Polacek <polacek@redhat.com>
9327
9328 * locale/programs/localedef.h (show_archive_content): Add noreturn
9329 attribute.
9330
d6e97a1d
UD
93312012-01-09 Ulrich Drepper <drepper@gmail.com>
9332
9333 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9334
d5835c26
UD
93352012-01-08 Ulrich Drepper <drepper@gmail.com>
9336
e5f484c6
UD
9337 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9338
d5835c26
UD
9339 * io/Makefile (headers): Add bits/poll2.h.
9340
d1f741e9
WS
93412011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9342
9343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9344 typo #include statement.
9345
ec09c1c4
UD
93462012-01-08 Ulrich Drepper <drepper@gmail.com>
9347
9348 * include/sys/cdefs.h: Define __attribute_alloc_size.
9349 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9350 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9351 * elf/pldd.c: Likewise.
9352 * iconv/iconv_charmap.c: Likewise.
9353 * iconv/iconvconfig.c: Likewise.
9354 * iconv/strtab.c: Likewise.
9355 * locale/programs/locale.c: Likewise.
9356 * locale/programs/localedef.h: Likewise.
9357 * locale/programs/simple-hash.c: Likewise.
9358 * nscd/nscd.h: Likewise.
9359 * nss/makedb.c: Likewise.
9360 * sysdeps/generic/ldconfig.h: Likewise.
9361 * locale/programs/localedef.c: Remove xmalloc prototype.
9362 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9363
20b38e03
PP
93642012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9365
9366 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9367 appropriate.
9368
a0da5fe1
UD
93692012-01-08 Ulrich Drepper <drepper@gmail.com>
9370
1d5a644a 9371 * math/Makefile (tests): Add tst-CMPLX.
669704fd 9372 * math/tst-CMPLX.c: New file.
1d5a644a 9373
8784a6db
UD
9374 * math/complex.h (CMPLXL): Fix typo.
9375
d9a216c0
UD
9376 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9377 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9378 GLIBC_2.16.
9379 * debug/tst-chk1.c: Add poll and ppoll tests.
9380 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9381 * include/sys/poll.h: Add hidden proto for ppoll.
9382 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9383 * sysdeps/mach/hurd/ppoll.c: Likewise.
9384 * io/ppoll.c: Likewise.
9385 * debug/poll_chk.c: New file.
9386 * debug/ppoll_chk.c: New file.
9387 * include/bits/poll2.h: New file.
9388 * io/bits/poll2.h: New file.
9389
ac097f5c
UD
9390 [BZ #1350]
9391 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9392
2119dcfa
UD
9393 * configure.in: static is always set to yes. Remove.
9394 * config.make.in: Don't set build-static.
9395 * Makeconfig: Remove use of build-static.
9396 * dlfcn/Makefile: Likewise.
9397 * elf/Makefile: Likewise.
9398 * math/Makefile: Likewise.
9399 * misc/Makefile: Likewise.
9400 * nptl/Makefile: Likewise.
9401 * sysdeps/mach/hurd/Makefile: Likewise.
9402
121766a9
UD
9403 * configure.in: PWD_P is not used anymore.
9404 * config.make.in: Remove PWD_P entry.
9405
51a1d39c 9406 * configure.in: Remove last remnants of RANLIB.
8720d066 9407 No need to check for signed size_t anymore.
215f4bdc
UD
9408 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9409 and IA-64.
3857022a 9410 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
9411 * aclocal.m4: Likewise.
9412
d3ed7225
UD
9413 * wcsmbs/mbrtoc16.c: Implement using towc function.
9414 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9415 * wcsmbs/wcsmbsload.c: Likewise.
9416 * iconv/gconv_simple.c: Likewise.
9417 * iconv/gconv_int.h: Likewise.
9418 * iconv/gconv_builtin.h: Likewise.
9419 * iconv/iconv_prog.c: Remove CHAR16 handling.
9420
9421 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9422
9423 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9424
a0da5fe1
UD
9425 * configure.in: Remove --with-elf and --enable-bounded options.
9426 Dont set base_machine for ia64. More non-ELF conditions removed.
9427 Remove testing and setting of leading underscore information.
9428 * config.make.in (build-bounded): Set to no.
9429 * config.h.in: Remove NO_UNDERSCORES entry.
9430 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9431 them.
9432 * csu/start.c: Remove !NO_UNDERSCORE code.
9433 * locale/localeinfo.h: Likewise.
9434 * sysdeps/generic/machine-gmon.h: Likewise.
9435 * sysdeps/generic/sysdep.h: Likewise.
9436 * sysdeps/i386/sysdep.h: Likewise.
9437 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9438 * sysdeps/mach/sysdep.h: Likewise.
9439 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9440 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9441 * sysdeps/sh/sysdep.h: Likewise.
9442 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9443 * sysdeps/unix/i386/sysdep.S: Likewise.
9444 * sysdeps/unix/sparc/start.c: Likewise.
9445 * sysdeps/unix/sparc/sysdep.S: Likewise.
9446 * sysdeps/unix/sparc/sysdep.h: Likewise.
9447 * sysdeps/unix/start.c: Likewise.
9448 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9449 * sysdeps/x86_64/sysdep.h: Likewise.
9450
df78418a
UD
94512012-01-07 Ulrich Drepper <drepper@gmail.com>
9452
a784e502
UD
9453 [BZ #13553]
9454 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9455 for non-gcc.
9456 * argp/argp-fmtstream.h: Use const instead __const.
9457 * argp/argp.h: Likewise.
9458 * assert/assert.h: Likewise.
9459 * bits/fenv.h: Likewise.
9460 * bits/sched.h: Likewise.
9461 * bits/sigset.h: Likewise.
9462 * bits/sigthread.h: Likewise.
9463 * catgets/nl_types.h: Likewise.
9464 * conform/data/pthread.h-data: Likewise.
9465 * crypt/crypt-private.h: Likewise.
9466 * crypt/crypt.h: Likewise.
9467 * crypt/crypt_util.c: Likewise.
9468 * ctype/ctype.h: Likewise.
9469 * debug/execinfo.h: Likewise.
9470 * debug/mbsnrtowcs_chk.c: Likewise.
9471 * debug/mbsrtowcs_chk.c: Likewise.
9472 * debug/wcsnrtombs_chk.c: Likewise.
9473 * debug/wcsrtombs_chk.c: Likewise.
9474 * debug/wcstombs_chk.c: Likewise.
9475 * dirent/dirent.h: Likewise.
9476 * dlfcn/dlfcn.h: Likewise.
9477 * elf/neededtest4.c: Likewise.
9478 * grp/grp.h: Likewise.
9479 * gshadow/gshadow.h: Likewise.
9480 * iconv/gconv.h: Likewise.
9481 * iconv/gconv_int.h: Likewise.
9482 * iconv/gconv_simple.c: Likewise.
9483 * iconv/iconv.h: Likewise.
9484 * iconv/loop.c: Likewise.
9485 * iconv/skeleton.c: Likewise.
9486 * include/aio.h: Likewise.
9487 * include/aliases.h: Likewise.
9488 * include/argz.h: Likewise.
9489 * include/arpa/inet.h: Likewise.
9490 * include/assert.h: Likewise.
9491 * include/dirent.h: Likewise.
9492 * include/dlfcn.h: Likewise.
9493 * include/execinfo.h: Likewise.
9494 * include/fcntl.h: Likewise.
9495 * include/fenv.h: Likewise.
9496 * include/glob.h: Likewise.
9497 * include/grp.h: Likewise.
9498 * include/libintl.h: Likewise.
9499 * include/mntent.h: Likewise.
9500 * include/netdb.h: Likewise.
9501 * include/pwd.h: Likewise.
9502 * include/rpc/netdb.h: Likewise.
9503 * include/sched.h: Likewise.
9504 * include/search.h: Likewise.
9505 * include/shadow.h: Likewise.
9506 * include/signal.h: Likewise.
9507 * include/stdio.h: Likewise.
9508 * include/stdlib.h: Likewise.
9509 * include/string.h: Likewise.
9510 * include/sys/socket.h: Likewise.
9511 * include/sys/stat.h: Likewise.
9512 * include/sys/statfs.h: Likewise.
9513 * include/sys/statvfs.h: Likewise.
9514 * include/sys/syslog.h: Likewise.
9515 * include/sys/time.h: Likewise.
9516 * include/sys/uio.h: Likewise.
9517 * include/time.h: Likewise.
9518 * include/unistd.h: Likewise.
9519 * include/utmp.h: Likewise.
9520 * include/wchar.h: Likewise.
9521 * include/wctype.h: Likewise.
9522 * inet/aliases.h: Likewise.
9523 * inet/arpa/inet.h: Likewise.
9524 * inet/netinet/ether.h: Likewise.
9525 * inet/netinet/in.h: Likewise.
9526 * intl/libintl.h: Likewise.
9527 * io/bits/fcntl2.h: Likewise.
9528 * io/fcntl.h: Likewise.
9529 * io/ftw.h: Likewise.
9530 * io/sys/poll.h: Likewise.
9531 * io/sys/stat.h: Likewise.
9532 * io/sys/statfs.h: Likewise.
9533 * io/sys/statvfs.h: Likewise.
9534 * io/utime.h: Likewise.
9535 * libio/bits/stdio.h: Likewise.
9536 * libio/bits/stdio2.h: Likewise.
9537 * libio/libio.h: Likewise.
9538 * libio/libioP.h: Likewise.
9539 * libio/stdio.h: Likewise.
9540 * locale/lc-ctype.c: Likewise.
9541 * locale/locale.h: Likewise.
9542 * login/utmp.h: Likewise.
9543 * malloc/arena.c: Likewise.
9544 * malloc/malloc.c: Likewise.
9545 * malloc/malloc.h: Likewise.
9546 * malloc/mcheck.c: Likewise.
9547 * malloc/mtrace.c: Likewise.
9548 * math/bits/mathcalls.h: Likewise.
9549 * math/fenv.h: Likewise.
9550 * math/math_private.h: Likewise.
9551 * misc/bits/error.h: Likewise.
9552 * misc/bits/syslog.h: Likewise.
9553 * misc/err.h: Likewise.
9554 * misc/error.h: Likewise.
9555 * misc/fstab.h: Likewise.
9556 * misc/mntent.h: Likewise.
9557 * misc/regexp.h: Likewise.
9558 * misc/search.h: Likewise.
9559 * misc/sgtty.h: Likewise.
9560 * misc/sys/mman.h: Likewise.
9561 * misc/sys/syslog.h: Likewise.
9562 * misc/sys/uio.h: Likewise.
9563 * misc/sys/xattr.h: Likewise.
9564 * misc/ttyent.h: Likewise.
9565 * nis/rpcsvc/ypclnt.h: Likewise.
9566 * nss/nss.h: Likewise.
9567 * posix/bits/unistd.h: Likewise.
9568 * posix/fnmatch.h: Likewise.
9569 * posix/glob.h: Likewise.
9570 * posix/sched.h: Likewise.
9571 * posix/spawn.h: Likewise.
9572 * posix/sys/wait.h: Likewise.
9573 * posix/unistd.h: Likewise.
9574 * posix/wordexp.h: Likewise.
9575 * pwd/pwd.h: Likewise.
9576 * resolv/netdb.h: Likewise.
9577 * resource/sys/resource.h: Likewise.
9578 * rt/aio.h: Likewise.
9579 * rt/bits/mqueue2.h: Likewise.
9580 * rt/mqueue.h: Likewise.
9581 * shadow/shadow.h: Likewise.
9582 * signal/signal.h: Likewise.
9583 * socket/send.c: Likewise.
9584 * socket/sendto.c: Likewise.
9585 * socket/sys/socket.h: Likewise.
9586 * stdio-common/printf.h: Likewise.
9587 * stdlib/bits/stdlib.h: Likewise.
9588 * stdlib/fmtmsg.h: Likewise.
9589 * stdlib/monetary.h: Likewise.
9590 * stdlib/stdlib.h: Likewise.
9591 * stdlib/ucontext.h: Likewise.
9592 * streams/stropts.h: Likewise.
9593 * string/argz.h: Likewise.
9594 * string/bits/string2.h: Likewise.
9595 * string/string.h: Likewise.
9596 * string/strings.h: Likewise.
9597 * sunrpc/rpc/auth.h: Likewise.
9598 * sunrpc/rpc/auth_des.h: Likewise.
9599 * sunrpc/rpc/clnt.h: Likewise.
9600 * sunrpc/rpc/netdb.h: Likewise.
9601 * sunrpc/rpc/pmap_clnt.h: Likewise.
9602 * sunrpc/rpc/xdr.h: Likewise.
9603 * sysdeps/generic/inttypes.h: Likewise.
9604 * sysdeps/generic/net/if.h: Likewise.
9605 * sysdeps/generic/sys/swap.h: Likewise.
9606 * sysdeps/gnu/net/if.h: Likewise.
9607 * sysdeps/gnu/utmpx.h: Likewise.
9608 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9609 * sysdeps/i386/i486/bits/string.h: Likewise.
9610 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9611 * sysdeps/s390/bits/string.h: Likewise.
9612 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9613 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9614 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9615 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9616 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9617 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9618 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9619 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9620 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9621 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9622 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9623 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9624 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9625 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9626 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9627 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9628 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9629 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9630 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9631 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9632 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9633 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9634 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9635 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9636 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9637 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9638 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9639 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9640 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9641 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9642 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9643 * sysvipc/sys/ipc.h: Likewise.
9644 * sysvipc/sys/msg.h: Likewise.
9645 * sysvipc/sys/sem.h: Likewise.
9646 * sysvipc/sys/shm.h: Likewise.
9647 * termios/termios.h: Likewise.
9648 * time/sys/time.h: Likewise.
9649 * time/time.h: Likewise.
9650 * wcsmbs/bits/wchar2.h: Likewise.
9651 * wcsmbs/uchar.h: Likewise.
9652 * wcsmbs/wchar.h: Likewise.
9653 * wctype/wctype.h: Likewise.
9654
0269750c
UD
9655 [BZ #13551]
9656 * Makeconfig: Remove all but ELF support including AIX support.
9657 * Makerules: Likewise.
9658 * config.h.in: Likewise.
9659 * config.make.in: Likewise.
9660 * configure: Likewise.
9661 * configure.in: Likewise.
9662 * csu/Makefile: Likewise.
9663 * csu/version.c: Likewise.
9664 * debug/Makefile: Likewise.
9665 * dlfcn/Makefile: Likewise.
9666 * elf/Makefile: Likewise.
9667 * extra-lib.mk: Likewise.
9668 * iconv/Makefile: Likewise.
9669 * include/libc-symbols.h: Likewise.
9670 * include/shlib-compat.h: Likewise.
9671 * resolv/Makefile: Likewise.
9672 * resolv/res_libc.c: Likewise.
9673 * rt/Makefile: Likewise.
9674 * sysdeps/i386/asm-syntax.h: Likewise.
9675 * sysdeps/i386/sysdep.h: Likewise.
9676 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9677 * sysdeps/mach/sysdep.h: Likewise.
9678 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9679 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9680 * sysdeps/s390/asm-syntax.h: Likewise.
9681 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9682 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9683 * sysdeps/sh/sysdep.h: Likewise.
9684 * sysdeps/unix/sparc/sysdep.h: Likewise.
9685 * sysdeps/wordsize-32/divdi3.c: Likewise.
9686 * sysdeps/x86_64/sysdep.h: Likewise.
9687
00bbd29b
UD
9688 * argp/Versions: Remove _argp_unlock_xxx.
9689
9690 [BZ #13559]
9691 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9692 * abilist/libBrokenLocale.abilist: Likewise.
9693 * abilist/libanl.abilist: Likewise.
9694 * abilist/libc.abilist: Likewise.
9695 * abilist/libcrypt.abilist: Likewise.
9696 * abilist/libdl.abilist: Likewise.
9697 * abilist/libm.abilist: Likewise.
9698 * abilist/libnsl.abilist: Likewise.
9699 * abilist/libpthread.abilist: Likewise.
9700 * abilist/libresolv.abilist: Likewise.
9701 * abilist/librt.abilist: Likewise.
9702 * abilist/libthread_db.abilist: Likewise.
9703 * abilist/libutil.abilist: Likewise.
9704 * abilist/libnss_db.abilist: New file.
9705
9706 * scripts/abilist.awk: Add support for indirect functions.
9707
a2693a0e
UD
9708 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9709
3f05895f
UD
9710 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9711
ecb6fb48
UD
9712 * shlib-versions: Remove entries for ports architectures.
9713
664f8cb9
UD
9714 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9715 files in ports.
9716 * elf/stackguard-macros.h: Remove support for IA-64.
9717 * elf/tst-auditmod1.c: Likewise.
9718 * sysdeps/generic/ldsodefs.h: Likewise.
9719
7ae81d88
UD
9720 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9721 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9722 configure files.
9723
bdeba135
UD
9724 [BZ #13552]
9725 * configure.in: Remove --enable-omitfp support.
9726 * FAQ.in: Adjust.
9727 * config.make.in: Likewise.
9728 * Makeconfig: Likewise.
9729 * manual/install.texi: Likewise.
9730
d75a0a62
UD
9731 In case anyone cares, the IA-64 architecture could move to ports.
9732 * sysdeps/ia64/*: Removed.
9733 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 9734 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 9735
dcc9756b
UD
9736 [BZ #13555]
9737 * configure.in: Remove entries for unsupported architectures.
9738
d3761ebc 9739 [BZ #13533]
9954432e
UD
9740 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9741 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9742 routines.
9743 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9744 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9745 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9746 fall back to using wcrtomb.
9747 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9748 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9749 renaming.
9750 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9751 * wcsmbs/tst-c16c32-1.c: New file.
9752
9753 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9754 local variable.
9755
c3a87236
UD
9756 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9757
28926a1b
UD
9758 * elf/tst-unique3.cc: Add explicit declaration of gets.
9759 * elf/tst-unique3lib.cc: Likewise.
9760 * elf/tst-unique3lib2.cc: Likewise.
9761 * elf/tst-unique4.cc: Likewise.
9762
df78418a
UD
9763 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9764
8ecd6b2a
JM
97652012-01-06 Joseph Myers <joseph@codesourcery.com>
9766
9767 [BZ #13566]
9768 * assert/assert.h (static_assert): Don't define for C++.
9769 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9770 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9771
9f115170
UD
97722012-01-03 Ulrich Drepper <drepper@gmail.com>
9773
5e0d0300
UD
9774 * iconv/loop.c (single loop): Fix assertion in storing of
9775 remaining bytes.
9776
9f115170
UD
9777 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9778
81fb02b0
UD
97792012-01-01 Ulrich Drepper <drepper@gmail.com>
9780
9781 * posix/getconf.c: Update copyright year.
9782 * nss/getent.c: Likewise.
a316c1f6 9783 * nss/makedb.c: Likewise.
81fb02b0
UD
9784 * iconv/iconvconfig.c: Likewise.
9785 * iconv/iconv_prog.c: Likewise.
9786 * elf/ldconfig.c: Likewise.
a316c1f6
UD
9787 * elf/pldd.c: Likewise.
9788 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
9789 * catgets/gencat.c: Likewise.
9790 * csu/version.c: Likewise.
9791 * elf/ldd.bash.in: Likewise.
9792 * elf/sprof.c (print_version): Likewise.
9793 * locale/programs/locale.c: Likewise.
9794 * locale/programs/localedef.c: Likewise.
a316c1f6 9795 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
9796 * nscd/nscd.c (print_version): Likewise.
9797 * debug/xtrace.sh: Likewise.
9798 * malloc/memusage.sh: Likewise.
9799 * malloc/mtrace.pl: Likewise.
9800 * debug/catchsegv.sh: Likewise.
9801
2ba92745
JJ
98022011-12-30 Jakub Jelinek <jakub@redhat.com>
9803
9804 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9805 pure attribute.
9806
dadebdae
UD
98072011-12-24 Ulrich Drepper <drepper@gmail.com>
9808
d3761ebc 9809 [BZ #13533]
db6af3eb
UD
9810 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9811 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9812 transformations.
9813 * iconv/gconv_int.h: Likewise.
9814 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9815 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9816 from libc for GLIBC_2.16.
9817 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9818 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9819 * wcsmbs/uchar.h: Really define mbstate_t.
9820 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9821 * wcsmbs/c16rtomb.c: New file.
9822 * wcsmbs/mbrtoc16.c: New file.
9823 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9824 for C/POSIX locale.
9825 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9826 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9827
dadebdae
UD
9828 * wcsmbs/wchar.h: Add missing __restrict.
9829
67371b56
UD
98302011-12-23 Ulrich Drepper <drepper@gmail.com>
9831
74033a25
UD
9832 [BZ #13532]
9833 * time/Makefile (routines): Add timespec_get.
9834 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9835 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9836 timespec for ISO C11.
9837 * time/timespec_get.c: New file.
9838 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9839 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9840
380d7e87
UD
9841 [BZ #13531]
9842 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9843 * stdlib/stdlib.h: Declare aligned_alloc.
9844 * Versions.def: Add GLIBC_2.16 for libc.
9845 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9846
4e9e7a35
UD
9847 [BZ 13527]
9848 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9849 ISO C11.
9850
380d7e87 9851 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
9852 code.
9853
03a71829
UD
9854 [BZ #13528]
9855 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9856
839e283e
UD
9857 [BZ #13529]
9858 * assert/assert.h (static_assert): Define.
9859
ce5294e2 9860 * version.h: Update for 2.16 development version.
90fa7312 9861
8d44e150 9862 [BZ #13526]
d7809905
UD
9863 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9864 _ISOC11_SOURCE.
9865
c0da14cd
UD
9866 * version.h (RELEASE): Bump for 2.15 release.
9867 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9868
530a3249
MP
9869 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9870 Patch by Marek Polacek <mpolacek@redhat.com>.
9871
67371b56
UD
9872 * bits/byteswap.h: Protect long long constants with __extension__.
9873 * sysdeps/i386/bits/byteswap.h: Likewise.
9874 * sysdeps/ia64/bits/byteswap.h: Likewise.
9875 * sysdeps/s390/bits/byteswap.h: Likewise.
9876 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9877
15db4de1
LD
98782011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9879
9880 [BZ #13540]
bbe315ea
LD
9881 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9882 destination buffer.
15db4de1
LD
9883 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9884
2b2596b1
MP
98852011-12-23 Marek Polacek <polacek@redhat.com>
9886
9887 * elf/dl-addr.c (determine_info): Add inline keyword.
9888 * elf/tst-auditmod4b.c (check_avx): Likewise.
9889 * elf/tst-auditmod6b.c (check_avx): Likewise.
9890 * elf/tst-auditmod6c.c (check_avx): Likewise.
9891 * elf/tst-auditmod7b.c (check_avx): Likewise.
9892
70c6c246
UD
98932011-12-23 Ulrich Drepper <drepper@gmail.com>
9894
9895 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9896 !__SSE_MATH__.
9897
c044cf14
LD
98982011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9899
15db4de1 9900 [BZ #13540]
c044cf14
LD
9901 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9902 processing for last bytes.
9903
6b13d9d9
BH
99042011-08-06 Bruno Haible <bruno@clisp.org>
9905
d455f537
BH
9906 [BZ #13061]
9907 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9908 U+0385, not to U+1FEE.
9909
6b13d9d9
BH
9910 [BZ #13062]
9911 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9912 entry for U+00A5 U+0301.
9913
db910efd
UD
99142011-12-22 Ulrich Drepper <drepper@gmail.com>
9915
27deeafc
UD
9916 [BZ #13166]
9917 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9918 buffer for the output is too small.
9919
aed9d171
UD
9920 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9921 optimization.
9922
db910efd
UD
9923 [BZ #13185]
9924 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9925 SSE flags if possible.
9926
2bd779ae
LD
99272011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9928
e7f9dac3 9929 [BZ #13540]
2bd779ae
LD
9930 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9931 processing for last bytes.
9932
154bfc16
JM
99332011-12-22 Joseph Myers <joseph@codesourcery.com>
9934
9935 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9936 (syscall-list-default-options, syscall-list-default-condition)
9937 (syscall-list-includes): Define.
9938 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9939 list of ABIs and options and #if conditions for each ABI. Do not
9940 handle common syscalls between ABIs specially.
9941 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9942 Remove.
9943 (syscall-list-variants, syscall-list-32bit-options)
9944 (syscall-list-32bit-condition, syscall-list-64bit-options)
9945 (syscall-list-64bit-condition): Define.
9946 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9947 (syscall-list-variants, syscall-list-32bit-options)
9948 (syscall-list-32bit-condition, syscall-list-64bit-options)
9949 (syscall-list-64bit-condition): Define.
9950 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9951 Remove.
9952 (syscall-list-variants, syscall-list-32bit-options)
9953 (syscall-list-32bit-condition, syscall-list-64bit-options)
9954 (syscall-list-64bit-condition): Define.
9955 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9956 Remove.
9957 (syscall-list-variants, syscall-list-32bit-options)
9958 (syscall-list-32bit-condition, syscall-list-64bit-options)
9959 (syscall-list-64bit-condition): Define.
9960
21eaf3a5
UD
99612011-12-22 Ulrich Drepper <drepper@gmail.com>
9962
16c6f992
UD
9963 * locale/iso-639.def: Add brx entry.
9964
41043168
UD
9965 [BZ #13328]
9966 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9967 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9968
21eaf3a5
UD
9969 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9970 __feraiseexcept_renamed.
9971
e3a851a2
UD
99722011-12-21 Ulrich Drepper <drepper@gmail.com>
9973
4920765e
UD
9974 [BZ #13538]
9975 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9976 EPOLLET with unsigned values.
9977 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9978 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9979
e3a851a2
UD
9980 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9981 to large cancellation.
9982 * math/s_cacoshf.c: Likewise.
9983 * math/s_cacoshl.c: Likewise.
9984
b27e24b8
RK
99852011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9986
9987 [BZ #13305]
aebefeee 9988 [BZ #12786]
b27e24b8
RK
9989 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9990 * math/s_cacoshf.c: Likewise.
9991 * math/s_cacoshl.c: Likewise.
9992
ee190f67
UD
99932011-12-21 Ulrich Drepper <drepper@gmail.com>
9994
9995 [BZ #13439]
9996 * iconv/gconv.h: Define __GCONV_SWAP.
9997 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9998 * iconvdata/utf-16.c: Likewise.
9999 * iconvdata/utf-32.c: Likewise.
10000
707f25df
AS
100012011-12-21 Andreas Schwab <schwab@linux-m68k.org>
10002
10003 [BZ #13524]
10004 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
10005 numerator after shifting it by one limb.
10006
d2daaa1e
RÁE
100072011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
10008
10009 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
10010 under [__USE_EXTERN_INLINES].
10011
a4647e72
UD
100122011-12-17 Ulrich Drepper <drepper@gmail.com>
10013
10014 [BZ #13446]
10015 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
10016
f0b264f1
AZ
100172011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10018
10019 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
10020 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
10021 optimized code.
10022 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
10023 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
10024 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
10025 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
10026 for strncasecmp/strncasecmp_l compilation.
10027 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
10028 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
10029
8ef4f244
MP
100302011-12-08 Marek Polacek <mpolacek@redhat.com>
10031
10032 [BZ #13484]
10033 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
10034 of __asm__.
10035
97ac2654
UD
100362011-12-17 Ulrich Drepper <drepper@gmail.com>
10037
10038 [BZ #13506]
10039 * time/tzfile.c (__tzfile_read): Check values from file header.
10040
91d2a845
WS
100412011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10042
10043 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
10044 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
10045 * powerpc/powerpc32/dl-start.S: Likewise.
10046 * powerpc/powerpc32/elf/start.S: Likewise.
10047 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10048 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
10049 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
10050 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
10051 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10052 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
10053 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
10054 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10055 * powerpc/powerpc32/fpu/s_round.S: Likewise.
10056 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10057 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10058 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10059 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10060 * powerpc/powerpc32/memset.S: Likewise.
10061 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10062 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10063 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10064 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10065 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10066 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10067 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10068 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10069 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
10070 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
10071 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
10072 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10073 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10074
a1267ba1
AZ
100752011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10076
10077 * math/libm-test.inc: Added more nearbyint tests.
10078 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
10079 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
10080 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
10081 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
10082
ad8ac1bd
RL
100832011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
10084
10085 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
10086 FD_CLOEXEC.
10087
1d3e4b61
UD
100882011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10089
10090 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
10091 Add wcscpy-ssse3 wcscpy-c.
10092 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
10093 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
10094 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
10095 * sysdeps/x86_64/wcschr.S: New file.
10096 * sysdeps/x86_64/wcsrchr.S: New file.
10097 * string/test-strcmp.c: Remove checking of wcscmp function for
10098 wrong alignments.
10099 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
10100 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
10101 wcsrchr-sse2 wcsrchr-c.
10102 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
10103 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
10104 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
10105 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
10106 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
10107 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
10108 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
10109 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
10110 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
10111 * wcsmbc/wcschr.c (WCSCHR): New macro.
10112
5b330a2d
UD
101132011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10114
10115 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
10116 * wcsmbs/test-wcsrchr.c: New file.
10117 * string/test-strrchr.c: Add wcsrchr support.
10118 (WIDE): New macro.
10119 * wcsmbs/test-wcscpy.c: New file.
10120 * string/test-strcpy.c: Add wcscpy support.
10121 (WIDE): New macro.
26428b7c 10122
f039c043
UD
101232011-12-10 Ulrich Drepper <drepper@gmail.com>
10124
10125 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
10126 the inner loop.
10127
850fb039
AS
101282011-12-06 Andreas Schwab <schwab@linux-m68k.org>
10129
10130 [BZ #13472]
10131 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
10132
4efbd5cb
UD
101332011-12-04 Ulrich Drepper <drepper@gmail.com>
10134
52ff5dd0 10135 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 10136 Minor optimizations.
52ff5dd0 10137
4efbd5cb
UD
10138 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
10139 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
10140 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10141
8a426e12
UD
101422011-12-03 Ulrich Drepper <drepper@gmail.com>
10143
aff2453d
UD
10144 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
10145 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
10146 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
10147 for gcc to avoid warnings.
10148 * inet/Makefile (tests): Add tst-checks.
10149 * inet/tst-checks.c: New file.
10150
10151 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
10152 warning.
10153
10154 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
10155 __wmemcmp_sse2.
10156
10157 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
10158 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
10159
8a426e12
UD
10160 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
10161
9bea3473
UD
101622011-12-02 Ulrich Drepper <drepper@gmail.com>
10163
3a965496
UD
10164 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10165 problem.
10166
9bea3473
UD
10167 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10168
f101631b
UD
101692011-11-29 Joseph Myers <joseph@codesourcery.com>
10170
10171 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10172 conditional on GCC version.
10173 (__arch_compare_and_exchange_val_8_acq)
10174 (__arch_compare_and_exchange_val_16_acq)
10175 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10176 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10177 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10178
a98275aa
UD
101792011-12-02 Joseph Myers <joseph@codesourcery.com>
10180
10181 * sysdeps/sh/backtrace.c: New file.
10182
d4cc29a2
AS
101832011-12-02 Andreas Schwab <schwab@redhat.com>
10184
10185 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
10186 parenthesis.
10187
6257af2d
AS
101882011-12-01 Andreas Schwab <schwab@redhat.com>
10189
10190 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10191 falling back to utime.
10192
b5f44c1a
AS
101932011-11-30 Andreas Schwab <schwab@redhat.com>
10194
10195 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10196 expectations for float.
10197
f3a6cc0a
AS
101982011-11-29 Andreas Schwab <schwab@redhat.com>
10199
10200 * locale/weight.h (findidx): Add parameter len.
10201 * locale/weightwc.h (findidx): Likewise.
10202 * posix/fnmatch_loop.c (FCT): Adjust caller.
10203 * posix/regcomp.c (build_equiv_class): Likewise.
10204 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10205 * posix/regexec.c (check_node_accept_bytes): Likewise.
10206 * string/strcoll_l.c (STRCOLL): Likewise.
10207 * string/strxfrm_l.c (STRXFRM): Likewise.
10208
9d65ea3a
UD
102092011-11-17 Ulrich Drepper <drepper@gmail.com>
10210
10211 * Makefile.in: Remove CVSOPT handling.
10212 * configure.in: Remove use of AC_REVISION.
10213 * iconvdata/Makefile (distribute): No need to filter out CVS.
10214 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10215 handling.
10216
5583a086
AS
102172011-11-16 Andreas Schwab <schwab@redhat.com>
10218
10219 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10220 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10221 [USE_AS_STRNCASECMP_L]: Likewise.
10222 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10223 NO_TLS_DIRECT_SEG_REFS.
10224 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10225 Fix argument offsets for non-PIC.
10226 [USE_AS_STRNCASECMP_L]: Likewise.
10227 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10228 NO_TLS_DIRECT_SEG_REFS.
10229
d62a8200
UD
102302011-11-15 Ulrich Drepper <drepper@gmail.com>
10231
9d65ea3a 10232 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
10233 O_CLOEXEC.
10234 * locale/loadlocale.c (_nl_load_locale): Likewise.
10235
09f93bd3
AS
102362011-11-15 Andreas Schwab <schwab@redhat.com>
10237
446514f9
AS
10238 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10239 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10240 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10241 (SYSCALL_GETTIME): Set errno on error.
10242
09f93bd3
AS
10243 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10244 count references to noai6ai_cached.
10245
312be3f9
UD
102462011-11-15 Ulrich Drepper <drepper@gmail.com>
10247
10248 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10249
10250 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10251 FD_CLOEXEC for /proc/self/maps.
10252
10253 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10254 FD_CLOEXEC for /proc/meminfo.
10255
10256 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10257 gai.conf.
10258
10259 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10260 FD_CLOEXEC for given file.
10261
10262 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10263
10264 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10265 FD_CLOEXEC for /etc/hosts.
10266 (_gethtent): Likewise.
10267
10268 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10269
10270 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10271 cancellation and set FD_CLOEXEC for /etc/netgroup.
10272
10273 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10274 reading /etc/publickey.
10275
10276 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10277 allow cancellation when reading /etc/group.
10278
10279 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10280 cancellation.
10281 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10282
10283 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10284 when using data file.
10285
10286 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10287
10288 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10289 (write_nis_obj): Use "c" and "e" in fopen.
10290
10291 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10292
10293 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10294
10295 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10296
10297 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10298
10299 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10300 locale.alias.
10301
10302 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10303
10304 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10305
10306 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10307
10308 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10309 file parsing and set FD_CLOEXEC.
10310
82af0fa8
UD
103112011-11-14 Ulrich Drepper <drepper@gmail.com>
10312
10313 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10314
a5fb313c
AS
103152011-11-14 Andreas Schwab <schwab@redhat.com>
10316
10317 * malloc/arena.c (arena_get2): Don't call reused_arena when
10318 _int_new_arena failed.
10319
6abf3465
UD
103202011-11-14 Ulrich Drepper <drepper@gmail.com>
10321
10322 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10323 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10324 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10325 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10326 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10327 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10328 to compile strcasecmp and strncasecmp.
10329 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10330 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10331
10332 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10333
76e3966e
UD
103342011-11-13 Ulrich Drepper <drepper@gmail.com>
10335
10336 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10337 locale-defines.sym to gen-as-const-headers.
10338 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10339 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10340 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10341 to compile strcasecmp and strncasecmp.
10342 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10343 strcasecmp_l and strncasecmp_l.
10344 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10345 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10346 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10347 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10348 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10349 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10350 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10351 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10352 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10353 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10354 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10355
ab26144e
UD
103562011-11-12 Ulrich Drepper <drepper@gmail.com>
10357
7edb22ef
UD
10358 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10359 result of SYSDEP_GETTIME_CPU to retval.
10360 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10361 parameter list to macro. Remove trailing semicolon. Adjust users.
10362
9694fc44
UD
10363 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10364 variable.
10365
8ad89ef8
UD
10366 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10367 mantissa words.
10368 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10369
0c822ef9
UD
10370 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10371 from unused variable.
10372
874e0564
UD
10373 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10374 DWARF definitions.
10375 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10376 for assembling.
10377
3a2edc79
UD
10378 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10379 over namespaces.
10380
f3c2577f
UD
10381 * sunrpc/rpc_prot.c (rejected): Fix case value.
10382
294ce126
UD
10383 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10384 unsigned long long int to avoid warnings in shift.
10385
5e2b63c6
UD
10386 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10387 of use of trans.
10388 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10389 variable tmp.
10390
e7f4b08e
UD
10391 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10392 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10393 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10394
ab26144e
UD
10395 * nis/nis_table.c (nis_list): Use variable of correct type for
10396 result of __follow_path call.
10397
8a6d5255
AZ
103982011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10399
10400 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10401 of math functions ceil, trunc, floor, round, and sqrt, when
10402 avaliable on the platform.
10403 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10404 name clash.
10405 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10406 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10407 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10408
aaddc98c
MP
104092011-10-30 Marek Polacek <mpolacek@redhat.com>
10410
10411 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10412 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10413
95b7042b
RM
104142011-11-11 Roland McGrath <roland@hack.frob.com>
10415
10416 * include/unistd.h: Fix __readlink return type.
10417 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10418
57769839
UD
104192011-11-11 Ulrich Drepper <drepper@gmail.com>
10420
10421 * stdlib/ucontext.h: Undo last change for makecontext.
10422
edc5984d
AS
104232011-11-11 Andreas Schwab <schwab@redhat.com>
10424
98591e58
AS
10425 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10426
edc5984d
AS
10427 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10428 * setjmp/setjmp.h: Mark functions as non-leaf.
10429 * setjmp/bits/setjmp2.h: Likewise.
10430 * stdlib/ucontext.h: Likewise.
10431
77cdc054
AS
104322011-11-10 Andreas Schwab <schwab@redhat.com>
10433
10434 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10435 (reused_arena): Don't check arena limit.
10436 (arena_get2): Atomically check arena limit.
10437
fe72eebd
UD
104382011-11-08 Ulrich Drepper <drepper@gmail.com>
10439
5f078c32
UD
10440 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10441 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10442
fe72eebd
UD
10443 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10444 instructions.
10445
ae1bc2fa
AS
104462011-11-07 Andreas Schwab <schwab@redhat.com>
10447
7583a88d
AS
10448 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10449 handler when locking.
10450
ae1bc2fa
AS
10451 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10452 Fix size of allocated buffer.
10453
10fb0bfa
AS
104542011-11-04 Andreas Schwab <schwab@redhat.com>
10455
998832a4
AS
10456 [BZ #10103]
10457 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10458 declarations for long double functions.
10459 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10460
10fb0bfa
AS
10461 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10462
3d7ba52b
AS
104632011-11-03 Andreas Schwab <schwab@redhat.com>
10464
a9ae54a1
AS
10465 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10466 installed.
10467
3d7ba52b
AS
10468 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10469 is disabled.
10470
bc8db248
ST
104712011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10472
10473 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10474
45b96dd6
AS
104752011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10476
647776f6
AS
10477 * include/alloca.h (stackinfo_alloca_round): Define.
10478 (extend_alloca): Use it.
10479 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10480 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10481 here.
10482
d91a8b93
AS
10483 * scripts/check-local-headers.sh: Ignore libaudit.h.
10484
45b96dd6
AS
10485 * nscd/Makefile (extra-objs): Make recursively expanded.
10486
432d41ce
UD
104872011-11-01 Ulrich Drepper <drepper@gmail.com>
10488
34372fc6
UD
10489 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10490 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10491
fadb59f8
UD
10492 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10493 * posix/tst-rfc3484-2.c: Likewise.
10494 * posix/tst-rfc3484-3.c: Likewise.
10495
78239589
UD
10496 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10497 process_vm_writev.
10498 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10499 process_vm_writev.
10500 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10501 process_vm_writev from libc using GLIBC_2.15 version.
10502
432d41ce
UD
10503 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10504
02f9c6cf
PP
105052011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10506
10507 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10508 stack usage.
10509
3a2c0242
UD
105102011-10-31 Ulrich Drepper <drepper@gmail.com>
10511
f4ec4833
UD
10512 [BZ #13367]
10513 * nss/getent.c (initgroups_keys): Show error message in case no group
10514 names are given.
10515
3a2c0242
UD
10516 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10517 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10518 __bump_nl_timestamp.
10519 * nscd/connections (nscd_init): When host database is served open
10520 netlink socket and request notification about configuration changes.
10521 (main_loop_poll): Track netlink file descriptor and bump timestamp
10522 in case data becomes available.
10523 (main_loop_epoll): Likewise.
10524 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10525 (database_pers_head): Add extra_data fileds.
10526 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10527 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10528 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10529 Adjust caller.
10530 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10531 in6ai data, call __free_in6ai.
10532 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10533 Add -DHAVE_NETLINK.
10534 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10535 interface information. Reuse previous data if netlink timestamp
10536 is not changed.
10537 (__bump_nl_timestamp): New function.
10538 (__free_in6ai): New function.
10539
636064eb
UD
105402011-10-30 Ulrich Drepper <drepper@gmail.com>
10541
10542 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10543 close_not_cancel_no_status here.
10544 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10545
9beb2334
UD
105462011-10-29 Ulrich Drepper <drepper@gmail.com>
10547
6ef76f3b
UD
10548 [BZ #13276]
10549 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10550 return value.
10551
0ffc4f3e 10552 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
10553 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10554 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10555
cb95113e
UD
105562011-07-03 Andreas Jaeger <aj@suse.de>
10557
10558 [BZ #10709]
10559 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10560 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10561 * math/libm-test.inc (sin_test): Add test case.
10562
a1b560ff
UD
105632011-10-29 Ulrich Drepper <drepper@gmail.com>
10564
c9aaface
UD
10565 [BZ #13337]
10566 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10567 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10568
d272e7f1
UD
10569 * elf/chroot_canon.c (chroot_canon): Cleanups.
10570
1bc33071
UD
10571 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10572
1760874d
TJ
10573 [BZ #13335]
10574 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10575 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10576
51d91b18
UD
10577 * string/test-strchr.c: Make usable for strchrnul testing.
10578 * string/test-strchrnul.c: New file.
10579 * string/Makefile (strop-tests): Add strchrnul.
10580
a1b560ff 10581 * po/it.po: Update from translation team.
b611fb81 10582 * po/es.po: Likewise.
a1b560ff 10583
a5b81e1f
UD
105842011-10-28 Ulrich Drepper <drepper@gmail.com>
10585
fd52bc6d
UD
10586 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10587 the three constants needed as parameters. Drop the others.
10588 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10589 __m128i_strloadu_tolower.
52e4b9eb
UD
10590 Create and initialize variable zero and use it in all the places
10591 where _mm_setzero_si128 was used.
fd52bc6d 10592
a5b81e1f
UD
10593 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10594 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10595 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10596 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10597 anymore.
10598 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10599 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10600 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10601 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10602 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10603 __mpranred, __mptan.
10604 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10605 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10606 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10607 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10608 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10609 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10610 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10611 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10612 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10613
b4343346
AS
106142011-10-28 Andreas Schwab <schwab@redhat.com>
10615
0c92d8a8
AS
10616 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10617 redefine if SHARED.
10618 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10619
b4343346
AS
10620 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10621 wide char related routines to wcsmbs subdir.
10622
3871f58f
AS
106232011-10-27 Andreas Schwab <schwab@redhat.com>
10624
10625 [BZ #13344]
10626 * misc/sys/cdefs.h (__THROWNL): Define.
10627 * posix/unistd.h: Use __THREADNL instead of __THREAD
10628 for memory synchronization functions.
10629
94d44d9f
RM
106302011-10-26 Roland McGrath <roland@hack.frob.com>
10631
21b64b15 10632 [BZ #13349]
94d44d9f
RM
10633 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10634 doesn't exist.
10635 * manual/stdio.texi (Obstack Streams): Node removed.
10636
f6ce9294
AS
106372011-10-26 Andreas Schwab <schwab@redhat.com>
10638
80479147
AS
10639 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10640 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10641 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10642
f6ce9294
AS
10643 * math/math_private.h (math_force_eval): Allow non-addressable
10644 arguments.
10645 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10646
618280a1
UD
106472011-10-25 Ulrich Drepper <drepper@gmail.com>
10648
e0016b11
UD
10649 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10650 file is not needed.
10651
10652 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10653 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10654 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10655 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10656 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10657 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10658 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10659 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10660 Add AVX variants.
10661 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10662 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10663 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10664 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10665 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10666 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10667 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10668 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10669 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10670 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10671 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10672 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10673 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10674 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10675 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10676 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10677 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10678 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10679 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10680
10681 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10682 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10683
618280a1
UD
10684 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10685 place. Use VEX encoding when compiling for AVX.
10686
37822576
AS
106872011-10-25 Andreas Schwab <schwab@redhat.com>
10688
1f1e1947
AS
10689 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10690 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10691
37822576
AS
10692 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10693
31ea014d
UD
106942011-10-25 Ulrich Drepper <drepper@gmail.com>
10695
d7826aa1 10696 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 10697 useless if() expression.
d7826aa1
UD
10698 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10699 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10700 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10701 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10702 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10703 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10704 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10705 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10706 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10707 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10708 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10709 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10710 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10711 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10712 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10713 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10714 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10715 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10716 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10717
31ea014d
UD
10718 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10719
16437fec
AS
107202011-10-25 Andreas Schwab <schwab@redhat.com>
10721
10722 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10723 condition.
10724 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10725
31d3cc00
UD
107262011-10-25 Ulrich Drepper <drepper@gmail.com>
10727
10728 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10729 .text section. Avoid duplicate constants.
10730 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10731 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10732 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10733 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10734 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10735 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10736 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10737 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10738 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10739 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10740 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10741 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10742 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10743 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10744 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10745 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10746 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10747 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10748 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10749 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10750 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10751 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10752 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10753 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10754 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10755 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10756 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10757 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10758 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10759 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10760 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10761 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10762 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10763 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10764 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10765 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10766 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10767 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10768 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10769 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10770 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10771 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10772 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10773 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10774 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10775
58985aa9
UD
107762011-10-24 Ulrich Drepper <drepper@gmail.com>
10777
202c9deb
UD
10778 * sysdeps/x86_64/dla.h: Move to ...
10779 * sysdeps/x86_64/fpu/dla.h: ...here.
10780 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10781 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 10782
af968f62
UD
10783 * config.make.in: Add have-mfma4 entry.
10784 * configure.in: Substitute libc_cv_cc_fma4.
10785 * math/Makefile (dbl-only-routines): Add sincostab.
10786 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10787 Use __sincostab not sincos.
10788 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10789 name is a macro.
10790 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10791 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10792 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10793 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10794 using __copysign.
10795 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10796 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10797 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10798 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10799 and __inv.
10800 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10801 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10802 __copysign.
10803 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10804 define aliases when function name is a macro.
10805 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10806 sysdeps/ieee754/dbl-64/sincos.tbl.
10807 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10808 fma4-enabled routines.
10809 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10810 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10811 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10812 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10813 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10814 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10815 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10816 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10817 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10818 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10819 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10820 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10821 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10822 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10823 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10824 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10825 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10826 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10827 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10828 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10829 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10830 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10831 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10832 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10833 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10834 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10835 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10836 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10837 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10838 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10839
58985aa9
UD
10840 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10841 rename.
10842 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10843 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10844 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10845 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10846 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10847 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10848 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10849 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10850
a201fbcf
AS
108512011-10-24 Andreas Schwab <schwab@redhat.com>
10852
10853 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10854
fc2ee42a
LD
108552011-10-23 Ulrich Drepper <drepper@gmail.com>
10856
bb3129bd
UD
10857 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10858
0275fff8
UD
10859 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10860 prediction.
10861 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10862
2fa2ae85
UD
10863 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10864 Remove unused variable magic_bits.
10865 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10866
fc2ee42a
LD
10867 * string/strnlen.c: Define and use STRNLEN macro.
10868 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10869 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10870 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10871 * wcsmbs/wcslen.c: Define and use WCSLEN.
10872 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10873 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10874 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10875 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10876 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10877 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10878 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10879
ce7dd29f
LD
108802011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10881
10882 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10883 strnlen-sse2-no-bsf.
10884 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10885 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10886 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10887 Add strnlen support.
10888 (USE_AS_STRNLEN): New macro.
10889 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10890 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10891 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10892 * sysdeps/x86_64/wcslen.S: New file.
10893
979c70a3
MZ
108942011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10895
10896 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10897 XMM-moves are used for copying on small sizes.
10898
2d09f82f
LD
108992011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10900
10901 * wcsmbs/Makefile (strop-tests): Add wcschr.
10902 * wcsmbs/test-wcschr.c: New file.
10903 * string/test-strchr.c: Update.
10904 Add wcschr support.
10905 (WIDE): New macro.
10906
619fccca
LD
109072011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10908
2d09f82f 10909 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
10910 * wcsmbs/test-wcslen.c: New file.
10911 * string/test-strlen.c: Update.
10912 Add wcslen support.
10913 (WIDE): New macro.
10914
09f699ea
UD
109152011-10-23 Ulrich Drepper <drepper@gmail.com>
10916
10917 * po/it.po: Update from translation team.
10918
95584d3b
LD
109192011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10920
10921 * sysdeps/x86_64/wcscmp.S: Update.
10922 Fix wrong comparison semantics.
10923 wcscmp shall use signed comparison not unsigned.
10924 Don't use substraction to avoid overflow bug.
10925 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10926 * wcsmbc/wcscmp.c: Likewise.
10927 * string/test-strcmp.c: Likewise.
10928 Add new tests to check cases with negative values.
10929
c8b3296b
UD
109302011-10-23 Ulrich Drepper <drepper@gmail.com>
10931
10932 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10933 * sysdeps/x86_64/dla.h: ...here. New file.
10934 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10935 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10936 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10937 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10938 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10939 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10940 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10941 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10942 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10943
246ad57a
AS
109442011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10945
10946 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10947 __ynl_finite aliases.
10948
a1a87169
UD
109492011-10-22 Ulrich Drepper <drepper@gmail.com>
10950
0d355eb7
UD
10951 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10952
a1a87169
UD
10953 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10954 define DLA_FMA.
10955 [DLA_FMA] (EMULV): Use DLA_FMA.
10956 [DLA_FMA] (MUL12): Use EMULV.
10957 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10958 that are not needed.
10959 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10960 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10961 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10962 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10963 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10964 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10965 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10966
ee2aafe0
AS
109672011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10968
10969 * math/s_nan.c: Undef __nan.
10970 * math/s_nanf.c: Undef __nanf.
10971 * math/s_nanl.c: Undef __nanl.
10972 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10973 "math_private.h".
10974
bc62c2fb
UD
109752011-10-22 Ulrich Drepper <drepper@gmail.com>
10976
77425c63
UD
10977 * math/s_catan.c: Add branch predictions.
10978 * math/s_catanf.c: Likewise.
10979 * math/s_catanh.c: Likewise.
10980 * math/s_catanhf.c: Likewise.
10981 * math/s_catanhl.c: Likewise.
10982 * math/s_catanl.c: Likewise.
10983 * math/s_cexp.c: Likewise.
10984 * math/s_cexpf.c: Likewise.
10985 * math/s_cexpl.c: Likewise.
10986 * math/s_clog.c: Likewise.
10987 * math/s_clog10.c: Likewise.
10988 * math/s_clog10f.c: Likewise.
10989 * math/s_clog10l.c: Likewise.
10990 * math/s_clogf.c: Likewise.
10991 * math/s_clogl.c: Likewise.
10992 * math/s_csqrt.c: Likewise.
10993 * math/s_csqrtf.c: Likewise.
10994 * math/s_csqrtl.c: Likewise.
10995 * math/s_ctanf.c: Likewise.
10996 * math/s_ctanh.c: Likewise.
10997 * math/s_ctanhf.c: Likewise.
10998 * math/s_ctanhl.c: Likewise.
10999 * math/s_ctanl.c: Likewise.
11000
bc62c2fb
UD
11001 * math/math_private.h: Define __nan, __nanf, __nanl.
11002 * math/s_cacosh.c: Include <math_private.h>.
11003 * math/s_cacoshl.c: Likewise.
11004 * math/s_casinh.c: Likewise.
11005 * math/s_casinhf.c: Likewise.
11006 * math/s_casinhl.c: Likewise.
11007 * math/s_ccos.c: Rely entire on ccosh.
11008 * math/s_ccosf.c: Rely entire on ccoshf.
11009 * math/s_ccosl.c: Rely entirely on ccoshl.
11010 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
11011 Remove tests for FE_INVALID.
11012 * math/s_ccoshf.c: Likewise.
11013 * math/s_ccoshl.c: Likewise.
11014 * math/s_csin.c: Likewise.
11015 * math/s_csinf.c: Likewise.
11016 * math/s_csinh.c Likewise.
11017 * math/s_csinhf.c: Likewise.
11018 * math/s_csinhl.c: Likewise.
11019 * math/s_csinl.c: Likewise.
11020 * math/s_ctan.c: Likewise.
11021 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
11022 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
11023 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
11024
8ec250a4
UD
110252011-10-21 Ulrich Drepper <drepper@gmail.com>
11026
c196fed8
UD
11027 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
11028 compilation problems.
11029
8ec250a4
UD
11030 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
11031 __builtin_expect.
11032
8d4f46c6
UD
110332011-10-20 Ulrich Drepper <drepper@gmail.com>
11034
ed72b654
UD
11035 * sysdeps/i386/configure.in: Test for -mfma4 option.
11036 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
11037 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
11038 COMMON_CPUID_INDEX_80000001.
11039 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
11040 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
11041 use it if FMA3 is not supported.
11042 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11043
8d4f46c6
UD
11044 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
11045 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11046
d45c60c2
AS
110472011-10-20 Andreas Schwab <schwab@redhat.com>
11048
11049 [BZ #12892]
11050 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
11051 it would create a cycle with a link time dependency.
11052
d9a4d2ab
UD
110532011-10-19 Ulrich Drepper <drepper@gmail.com>
11054
855d1560
UD
11055 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
11056 instruction.
11057 * string/Makefile (strop-tests): Add rawmemchr.
11058 * string/test-rawmemchr.c: New file.
11059
d9a4d2ab
UD
11060 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
11061 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
11062 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
11063 when compiling str{,n}casecmp and when AVX is available. Hook up
11064 new optimized code in initializers.
11065
8f3b1ffe
AS
110662011-10-19 Andreas Schwab <schwab@redhat.com>
11067
11068 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
11069 __feraiseexcept instead of feraiseexcept.
11070
d38f1dba
UD
110712011-10-18 Ulrich Drepper <drepper@gmail.com>
11072
d9a8d0ab
UD
11073 * math/math_private.h: Define defaults for libc_fetestexcept and
11074 libc_feupdateenv.
11075 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
11076 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11077 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11078 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11079 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11080 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11081 libc_fetestexcept and libc_feupdateenv.
11082
4855e3dd
UD
11083 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
11084 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
11085 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
11086 * sysdeps/x86_64/fpu/math_private.h: Define special version of
11087 libc_feholdexcept_setround.
11088
581d30e3
UD
11089 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
11090 Add s_nearbyint-c and s_nearbyintf-c.
11091 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
11092 nearbyintf inlines.
11093 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
11094 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
11095 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
11096 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
11097
d38f1dba
UD
11098 * math/math_private.h: Define defaults for libc_fegetround,
11099 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
11100 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
11101 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
11102 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
11103 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
11104 standard functions.
11105 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11106 Remove comments and hacks for old compiler versions.
11107 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11108 libc_fegetround, libc_fesetround, libc_feholdexcept, and
11109 libc_feholdexceptl.
11110
caa6c9d8
AS
111112011-10-18 Andreas Schwab <schwab@redhat.com>
11112
11113 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
11114 (__feraiseexcept_renamed): Add __NTH.
11115 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
11116 namespace violations.
11117
97c066e6
UD
111182011-10-17 Ulrich Drepper <drepper@gmail.com>
11119
99ce7b04
UD
11120 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
11121
1004d182
UD
11122 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
11123
228a984d
UD
11124 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
11125 recently added interfaces.
11126 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
11127
c8553a6a
UD
11128 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
11129 about macro parameter expansion.
11130
ed22dcf6
UD
11131 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
11132 __NO_MATH_INLINES is defined. Cleanups.
11133
11134 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
11135 and __floorf is target has SSE4.1.
11136 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
11137 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
11138 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
11139 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
11140
b171c137
UD
11141 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
11142 name.
11143 (floorf): Likewise.
11144
97c066e6
UD
11145 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
11146
629f62ef
AS
111472011-10-17 Andreas Schwab <schwab@redhat.com>
11148
49a43d80
AS
11149 * misc/sys/cdefs.h: Fix last change.
11150
629f62ef
AS
11151 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
11152 database lookup.
11153
e453f6cd
UD
111542011-10-16 Ulrich Drepper <drepper@gmail.com>
11155
aa78043a
UD
11156 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
11157
ad0f5cad
UD
11158 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
11159 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11160 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11161 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11162 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11163 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11164 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11165 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11166 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11167 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11168 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11169 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11170 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11171 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11172 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11173 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11174 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11175 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11176 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11177 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11178 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11179 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11180
11181 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11182 ceil, ceilf, floor, floorf.
11183
11184 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11185 Perform IRELATIVE relocations last.
11186
e453f6cd
UD
11187 * elf/do-rel.h: Add another parameter nrelative, replacing the
11188 local variable with the same name. Change name of the function
11189 to end in Rel or Rela (uppercase).
11190 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11191 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
11192 elf_dynamic_do_##reloc function.
11193
fd5bdc09
UD
111942011-10-15 Ulrich Drepper <drepper@gmail.com>
11195
79b195b5
UD
11196 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11197 is sufficient, at least on modern CPUs.
11198
d4a28569
UD
11199 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11200
b61099b5
UD
11201 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11202 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11203
bcf01e6d
UD
11204 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11205 __expl_finite.
11206 * math/bits/math-finite.h: Add entries for exp.
11207 * math/e_expl.c: Add __*_finite alias.
11208 * sysdeps/i386/fpu/e_exp.S: Likewise.
11209 * sysdeps/i386/fpu/e_expf.S: Likewise.
11210 * sysdeps/i386/fpu/e_expl.c: Likewise.
11211 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11212 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11213 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11214 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11215 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11216 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11217 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11218
ba1a0d59
UD
11219 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11220 is sufficient, at least on modern CPUs.
11221
fd5bdc09
UD
11222 * ctype/ctype-info.c (__ctype_init): Define.
11223 * include/ctype.h (__ctype_init): Declare.
11224 (__ctype_b_loc): The variable is always initialized.
11225 (__ctype_toupper_loc): Likewise.
11226 (__ctype_tolower_loc): Likewise.
11227 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11228 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11229
7872cfb0
AS
112302011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11231
b468825a
AS
11232 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11233
7872cfb0
AS
11234 * configure.in: Also look in $cxxmachine/include for C++ system
11235 headers.
11236
be13f7bf
LD
112372011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11238
11239 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11240 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11241 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11242 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11243 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11244 (USE_AS_WMEMCMP): New macro.
11245 Fixing indents.
11246 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11247 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11248 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11249 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11250 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11251 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11252 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11253 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11254 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11255 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11256 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11257 (USE_AS_WMEMCMP): New macro.
11258 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11259 * sysdeps/string/test-memcmp.c: Update.
11260 Fix simple_wmemcmp.
11261 Add new tests.
11262 * wcsmbs/wmemcmp.c: Update.
11263 (WMEMCMP): New macro.
11264 Fix overflow bug.
11265
556a2007
AJ
112662011-10-12 Andreas Jaeger <aj@suse.de>
11267
11268 [BZ #13268]
11269 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11270
538faaa7
UD
112712011-10-15 Ulrich Drepper <drepper@gmail.com>
11272
ab6737ff
UD
11273 * libio/iofwide.c (do_length): Avoid warning.
11274
538faaa7
UD
11275 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11276
396a21b1
UD
112772011-10-14 Ulrich Drepper <drepper@gmail.com>
11278
cdf2901f
UD
11279 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11280
38ad40ce
UD
11281 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11282 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11283 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11284 * sysdeps/i386/i686/fpu/e_log.S: New file.
11285 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11286 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11287
396a21b1
UD
11288 * ctype/ctype.h: Add support for inlined isXXX functions when
11289 compiling C++ code.
11290
6b1f68c9
AS
112912011-10-14 Andreas Schwab <schwab@redhat.com>
11292
349290c0
AS
11293 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11294
6b1f68c9
AS
11295 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11296
f2282d42
RM
112972011-10-13 Roland McGrath <roland@hack.frob.com>
11298
11299 [BZ #13291]
11300 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11301
5298ffa8
AS
113022011-10-13 Andreas Schwab <schwab@redhat.com>
11303
714fad23
AS
11304 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11305 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11306 feraiseexcept.
11307
81dcc7fb
AS
11308 * sysdeps/x86_64/memrchr.S: Check for zero size.
11309
5298ffa8
AS
11310 * string/stratcliff.c: Add memrchr tests.
11311
951fbcec
LD
113122011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11313
11314 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11315 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11316 rawmemchr-sse2 rawmemchr-sse2-bsf.
11317 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11318 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11319 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11320 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11321 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11322 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11323 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11324 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11325 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11326 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11327 * string/memrchr.c (MEMRCHR): New macro.
11328
0ac5ae23
UD
113292011-10-12 Ulrich Drepper <drepper@gmail.com>
11330
11331 Add integration with gcc's -ffinite-math-only and optimize wrapper
11332 functions in libm.
11333 * Versions.def: Define GLIBC_2.15 version for libm.
11334 * math/Makefile (headers): Add bits/math-finite.h.
11335 * math/bits/math-finite.h: New file.
11336 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11337 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11338 * math/e_acoshl.c: Add __*_finite alias.
11339 * math/e_acosl.c: Likewise.
11340 * math/e_asinl.c: Likewise.
11341 * math/e_atan2l.c: Likewise.
11342 * math/e_atanhl.c: Likewise.
11343 * math/e_coshl.c: Likewise.
11344 * math/e_exp10.c: Likewise.
11345 * math/e_exp10f.c: Likewise.
11346 * math/e_exp10l.c: Likewise.
11347 * math/e_exp2l.c: Likewise.
11348 * math/e_fmodl.c: Likewise.
11349 * math/e_gammal_r.c: Likewise.
11350 * math/e_hypotl.c: Likewise.
11351 * math/e_j0l.c: Likewise.
11352 * math/e_j1l.c: Likewise.
11353 * math/e_jnl.c: Likewise.
11354 * math/e_lgammal_r.c: Likewise.
11355 * math/e_log10l.c: Likewise.
11356 * math/e_log2l.c: Likewise.
11357 * math/e_logl.c: Likewise.
11358 * math/e_powl.c: Likewise.
11359 * math/e_sinhl.c: Likewise.
11360 * math/e_sqrtl.c: Likewise.
11361 * math/e_scalb.c: Completely rewritten and optimized.
11362 * math/e_scalbf.c: Likewise.
11363 * math/e_scalbl.c: Likewise.
11364 * math/w_acos.c: Likewise.
11365 * math/w_acosf.c: Likewise.
11366 * math/w_acosl.c: Likewise.
11367 * math/w_acosh.c: Likewise.
11368 * math/w_acoshf.c: Likewise.
11369 * math/w_acoshl.c: Likewise.
11370 * math/w_asin.c: Likewise.
11371 * math/w_asinf.c: Likewise.
11372 * math/w_asinl.c: Likewise.
11373 * math/w_atan2.c: Likewise.
11374 * math/w_atan2f.c: Likewise.
11375 * math/w_atan2l.c: Likewise.
11376 * math/w_atanh.c: Likewise.
11377 * math/w_atanhf.c: Likewise.
11378 * math/w_atanhl.c: Likewise.
11379 * math/w_exp10.c: Likewise.
11380 * math/w_exp10f.c: Likewise.
11381 * math/w_exp10l.c: Likewise.
11382 * math/w_fmod.c: Likewise.
11383 * math/w_fmodf.c: Likewise.
11384 * math/w_fmodl.c: Likewise.
11385 * math/w_j0.c: Likewise.
11386 * math/w_j0f.c: Likewise.
11387 * math/w_j0l.c: Likewise.
11388 * math/w_j1.c: Likewise.
11389 * math/w_j1f.c: Likewise.
11390 * math/w_j1l.c: Likewise.
11391 * math/w_jn.c: Likewise.
11392 * math/w_jnf.c: Likewise.
11393 * math/w_log.c: Likewise.
11394 * math/w_logf.c: Likewise.
11395 * math/w_logl.c: Likewise.
11396 * math/w_log10.c: Likewise.
11397 * math/w_log10f.c: Likewise.
11398 * math/w_log10l.c: Likewise.
11399 * math/w_log2.c: Likewise.
11400 * math/w_log2f.c: Likewise.
11401 * math/w_log2l.c: Likewise.
11402 * math/w_pow.c: Likewise.
11403 * math/w_powf.c: Likewise.
11404 * math/w_powl.c: Likewise.
11405 * math/w_remainder.c: Likewise.
11406 * math/w_remainderf.c: Likewise.
11407 * math/w_remainderl.c: Likewise.
11408 * math/w_scalb.c: Likewise.
11409 * math/w_scalbf.c: Likewise.
11410 * math/w_scalbl.c: Likewise.
11411 * math/w_sqrt.c: Likewise.
11412 * math/w_sqrtf.c: Likewise.
11413 * math/w_sqrtl.c: Likewise.
11414 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11415 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11416 used.
11417 * math/math_private.h: Declare __kernel_standard_f.
11418 * math/w_cosh.c: Remove cruft and optimize a bit.
11419 * math/w_coshf.c: Likewise.
11420 * math/w_coshl.c: Likewise.
11421 * math/w_exp2.c: Likewise.
11422 * math/w_exp2f.c: Likewise.
11423 * math/w_exp2l.c: Likewise.
11424 * math/w_hypot.c: Likewise.
11425 * math/w_hypotf.c: Likewise.
11426 * math/w_hypotl.c: Likewise.
11427 * math/w_lgamma.c: Likewise.
11428 * math/w_lgamma_r.c: Likewise.
11429 * math/w_lgammaf.c: Likewise.
11430 * math/w_lgammaf_r.c: Likewise.
11431 * math/w_lgammal.c: Likewise.
11432 * math/w_lgammal_r.c: Likewise.
11433 * math/w_sinh.c: Likewise.
11434 * math/w_sinhf.c: Likewise.
11435 * math/w_sinhl.c: Likewise.
11436 * math/w_tgamma.c: Likewise.
11437 * math/w_tgammaf.c: Likewise.
11438 * math/w_tgammal.c: Likewise.
11439 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11440 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11441 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11442 Minor optimizations. Pretty printing. Remove cruft.
11443 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11444 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11445 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11446 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11447 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11448 * sysdeps/i386/fpu/e_asin.S: Likewise.
11449 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11450 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11451 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11452 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11453 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11454 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11455 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11456 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11457 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11458 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11459 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11460 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11461 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11462 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11463 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11464 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11465 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11466 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11467 * sysdeps/i386/fpu/e_log.S: Likewise.
11468 * sysdeps/i386/fpu/e_log10.S: Likewise.
11469 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11470 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11471 * sysdeps/i386/fpu/e_log2.S: Likewise.
11472 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11473 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11474 * sysdeps/i386/fpu/e_logf.S: Likewise.
11475 * sysdeps/i386/fpu/e_logl.S: Likewise.
11476 * sysdeps/i386/fpu/e_pow.S: Likewise.
11477 * sysdeps/i386/fpu/e_powf.S: Likewise.
11478 * sysdeps/i386/fpu/e_powl.S: Likewise.
11479 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11480 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11481 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11482 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11483 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11484 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11485 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11486 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11487 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11488 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11489 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11490 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11491 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11492 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11493 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11494 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11495 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11496 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11497 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11498 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11499 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11500 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11501 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11502 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11503 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11504 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11505 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11506 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11507 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11508 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11509 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11510 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11511 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11512 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11513 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11514 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11515 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11516 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11517 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11518 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11519 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11520 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11521 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11522 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11523 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11524 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11525 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11526 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11527 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11528 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11529 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11530 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11531 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11532 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11533 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11534 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11535 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11536 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11537 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11538 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11539 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11540 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11541 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11542 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11543 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11544 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11545 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11546 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11547 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11548 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11549 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11550 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11551 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11552 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11553 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11554 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11555 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11556 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11557 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11558 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11559 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11560 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11561 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11562 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11563 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11564 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11565 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11566 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11567 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11568 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11569 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11570 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11571 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11572 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11573 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11574 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11575 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11576 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11577 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11578 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11579 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11580 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11581 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11582 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11583 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11584 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11585 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11586 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11587 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11588 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11589 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11590 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11591 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11592 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11593 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11594 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11595 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11596 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11597 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11598 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11599 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11600 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11601 (__isnanf): Likewise.
11602 (__isinf_ns): Likewise.
11603 (__isinf_nsf): Likewise.
11604 (__finite): Likewise.
11605 (__finitef): Likewise.
11606 (__ieee754_sqrt): Define as macro.
11607 (__ieee754_sqrtf): Define as macro.
11608 (__ieee754_sqrtl): Define as macro.
11609 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11610 inlined copy.
11611 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11612 __FINITE_MATH_ONLY__ consistent.
11613 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11614
12cc2fcd
AS
116152011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11616
a843a204
AS
11617 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11618 of rawmemchr.
11619
12cc2fcd
AS
11620 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11621
c853acd5
UD
116222011-10-09 Ulrich Drepper <drepper@gmail.com>
11623
11624 * po/ja.po: Update from translation team.
11625
c658d255
RM
116262011-10-08 Roland McGrath <roland@hack.frob.com>
11627
110946e4
RM
11628 * locale/programs/locarchive.c (prepare_address_space): New function.
11629 (create_archive, enlarge_archive, open_archive): Use it.
11630
50604220
RM
11631 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11632 inside [SHARED], where it is used.
11633
c658d255
RM
11634 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11635
11636 * nss/getent.c (netgroup_keys): Remove unused variable.
11637 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11638
6a621eb7
UD
116392011-10-08 Ulrich Drepper <drepper@gmail.com>
11640
7edb55ce
UD
11641 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11642 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11643 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11644 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11645 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11646 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11647 * math/Makefile (libm-calls): Add s_isinf_ns.
11648 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11649 * math/multc3.c: Likewise.
11650 * math/s_casin.c: Likewise.
11651 * math/s_casinf.c: Likewise.
11652 * math/s_casinl.c: Likewise.
11653 * math/s_ccos.c: Likewise.
11654 * math/s_ccosf.c: Likewise.
11655 * math/s_ccosl.c: Likewise.
11656 * math/s_ctan.c: Likewise.
11657 * math/s_ctanf.c: Likewise.
11658 * math/s_ctanh.c: Likewise.
11659 * math/s_ctanhf.c: Likewise.
11660 * math/s_ctanhl.c: Likewise.
11661 * math/s_ctanl.c: Likewise.
11662 * math/w_fmod.c: Likewise.
11663 * math/w_fmodf.c: Likewise.
11664 * math/w_fmodl.c: Likewise.
11665 * math/w_remainder.c: Likewise.
11666 * math/w_remainderf.c: Likewise.
11667 * math/w_remainderl.c: Likewise.
11668 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11669 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11670 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11671 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11672 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11673 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11674 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11675 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11676
187da0ae
UD
11677 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11678 of the number.
11679 * stdio-common/printf_fphex.c: Likewise.
11680 * stdio-common/printf_size.c: Likewise.
11681
9277c064
UD
11682 * math/e_exp10.c: Include math_private.h using <...> not "...".
11683 * math/e_exp10f.c: Likewise.
11684 * math/e_exp10l.c: Likewise.
11685 * math/e_exp2l.c: Likewise.
11686 * math/e_j0l.c: Likewise.
11687 * math/e_j1l.c: Likewise.
11688 * math/e_jnl.c: Likewise.
11689 * math/e_lgammal_r.c: Likewise.
11690 * math/e_rem_pio2l.c: Likewise.
11691 * math/e_scalb.c: Likewise.
11692 * math/e_scalbf.c: Likewise.
11693 * math/e_scalbl.c: Likewise.
11694 * math/k_cosl.c: Likewise.
11695 * math/k_sinl.c: Likewise.
11696 * math/k_tanl.c: Likewise.
11697 * math/s_cacoshf.c: Likewise.
11698 * math/s_catan.c: Likewise.
11699 * math/s_catanf.c: Likewise.
11700 * math/s_catanh.c: Likewise.
11701 * math/s_catanhf.c: Likewise.
11702 * math/s_catanhl.c: Likewise.
11703 * math/s_catanl.c: Likewise.
11704 * math/s_ccosh.c: Likewise.
11705 * math/s_ccoshf.c: Likewise.
11706 * math/s_ccoshl.c: Likewise.
11707 * math/s_cexp.c: Likewise.
11708 * math/s_cexpf.c: Likewise.
11709 * math/s_cexpl.c: Likewise.
11710 * math/s_clog.c: Likewise.
11711 * math/s_clog10.c: Likewise.
11712 * math/s_clog10f.c: Likewise.
11713 * math/s_clog10l.c: Likewise.
11714 * math/s_clogf.c: Likewise.
11715 * math/s_clogl.c: Likewise.
11716 * math/s_csin.c: Likewise.
11717 * math/s_csinf.c: Likewise.
11718 * math/s_csinh.c: Likewise.
11719 * math/s_csinhf.c: Likewise.
11720 * math/s_csinhl.c: Likewise.
11721 * math/s_csinl.c: Likewise.
11722 * math/s_csqrt.c: Likewise.
11723 * math/s_csqrtf.c: Likewise.
11724 * math/s_csqrtl.c: Likewise.
11725 * math/s_ctan.c: Likewise.
11726 * math/s_ctanf.c: Likewise.
11727 * math/s_ctanh.c: Likewise.
11728 * math/s_ctanhf.c: Likewise.
11729 * math/s_ctanhl.c: Likewise.
11730 * math/s_ctanl.c: Likewise.
11731 * math/s_ldexp.c: Likewise.
11732 * math/s_ldexpf.c: Likewise.
11733 * math/s_ldexpl.c: Likewise.
11734 * math/s_significand.c: Likewise.
11735 * math/s_significandf.c: Likewise.
11736 * math/s_significandl.c: Likewise.
11737 * math/w_acos.c: Likewise.
11738 * math/w_acosf.c: Likewise.
11739 * math/w_acosh.c: Likewise.
11740 * math/w_acoshf.c: Likewise.
11741 * math/w_acoshl.c: Likewise.
11742 * math/w_acosl.c: Likewise.
11743 * math/w_asin.c: Likewise.
11744 * math/w_asinf.c: Likewise.
11745 * math/w_asinl.c: Likewise.
11746 * math/w_atan2.c: Likewise.
11747 * math/w_atan2f.c: Likewise.
11748 * math/w_atan2l.c: Likewise.
11749 * math/w_atanh.c: Likewise.
11750 * math/w_atanhf.c: Likewise.
11751 * math/w_atanhl.c: Likewise.
11752 * math/w_cosh.c: Likewise.
11753 * math/w_coshf.c: Likewise.
11754 * math/w_coshl.c: Likewise.
11755 * math/w_dremf.c: Likewise.
11756 * math/w_exp10.c: Likewise.
11757 * math/w_exp10f.c: Likewise.
11758 * math/w_exp10l.c: Likewise.
11759 * math/w_exp2.c: Likewise.
11760 * math/w_exp2f.c: Likewise.
11761 * math/w_fmod.c: Likewise.
11762 * math/w_fmodf.c: Likewise.
11763 * math/w_fmodl.c: Likewise.
11764 * math/w_hypot.c: Likewise.
11765 * math/w_hypotf.c: Likewise.
11766 * math/w_hypotl.c: Likewise.
11767 * math/w_j0.c: Likewise.
11768 * math/w_j0f.c: Likewise.
11769 * math/w_j0l.c: Likewise.
11770 * math/w_j1.c: Likewise.
11771 * math/w_j1f.c: Likewise.
11772 * math/w_j1l.c: Likewise.
11773 * math/w_jn.c: Likewise.
11774 * math/w_jnf.c: Likewise.
11775 * math/w_jnl.c: Likewise.
11776 * math/w_lgamma.c: Likewise.
11777 * math/w_lgamma_r.c: Likewise.
11778 * math/w_lgammaf.c: Likewise.
11779 * math/w_lgammaf_r.c: Likewise.
11780 * math/w_lgammal.c: Likewise.
11781 * math/w_lgammal_r.c: Likewise.
11782 * math/w_log.c: Likewise.
11783 * math/w_log10.c: Likewise.
11784 * math/w_log10f.c: Likewise.
11785 * math/w_log10l.c: Likewise.
11786 * math/w_log2.c: Likewise.
11787 * math/w_log2f.c: Likewise.
11788 * math/w_log2l.c: Likewise.
11789 * math/w_logf.c: Likewise.
11790 * math/w_logl.c: Likewise.
11791 * math/w_pow.c: Likewise.
11792 * math/w_powf.c: Likewise.
11793 * math/w_powl.c: Likewise.
11794 * math/w_remainder.c: Likewise.
11795 * math/w_remainderf.c: Likewise.
11796 * math/w_remainderl.c: Likewise.
11797 * math/w_scalb.c: Likewise.
11798 * math/w_scalbf.c: Likewise.
11799 * math/w_scalbl.c: Likewise.
11800 * math/w_sinh.c: Likewise.
11801 * math/w_sinhf.c: Likewise.
11802 * math/w_sinhl.c: Likewise.
11803 * math/w_sqrt.c: Likewise.
11804 * math/w_sqrtf.c: Likewise.
11805 * math/w_sqrtl.c: Likewise.
11806 * math/w_tgamma.c: Likewise.
11807 * math/w_tgammaf.c: Likewise.
11808 * math/w_tgammal.c: Likewise.
11809
6a621eb7
UD
11810 * po/ja.po: Update from translation team.
11811
bf582445
AJ
118122011-09-29 Andreas Jaeger <aj@suse.de>
11813
f9efbf3a
AJ
11814 [BZ #13179]
11815 * sunrpc/netname.c (netname2host): Fix logic.
11816
bf582445
AJ
11817 [BZ #6779]
11818 [BZ #6783]
11819 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11820 correctly.
11821 * math/w_remainder.c (__remainder): Likewise.
11822 * math/w_remainderf.c (__remainderf): Likewise.
11823 * math/libm-test.inc (remainder_test): Add test cases.
11824
48693bea
AK
118252011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11826
11827 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11828 sdiv_qrnnd.
11829
42622229
LD
118302011-10-07 Ulrich Drepper <drepper@gmail.com>
11831
11832 * string/test-memcmp.c: Avoid unncessary #defines.
11833 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11834
093ecf92
LD
118352011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11836
11837 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11838 Use new sse2 version for core i3 - i7 as it's faster
11839 than sse42 version.
11840 (bit_Prefer_PMINUB_for_stringop): New.
11841 * sysdeps/x86_64/rawmemchr.S: Update.
11842 Replace with faster SSE2 version.
11843 * sysdeps/x86_64/memrchr.S: New file.
11844 * sysdeps/x86_64/memchr.S: Update.
11845 Replace with faster SSE2 version.
11846
fde56e5c
MP
118472011-09-12 Marek Polacek <mpolacek@redhat.com>
11848
11849 * elf/dl-load.c (lose): Add cast to avoid warning.
11850
21fd49a9
UD
118512011-10-07 Ulrich Drepper <drepper@gmail.com>
11852
5a06e643
UD
11853 * po/ca.po: Update from translation team.
11854
684ae515
UD
11855 * inet/getnetgrent_r.c: Hook up nscd.
11856 * nscd/Makefile (routines): Add nscd_netgroup.
11857 (nscd-modules): Add netgroupcache.
11858 (CFLAGS-netgroupcache.c): Define.
11859 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11860 (cache_search): Add const to second parameter.
11861 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11862 INNETGR.
11863 (dbs): Add netgrdb entry.
11864 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11865 (verify_persistent_db): Handle netgrdb.
11866 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11867 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11868 GETFDNETGR.
11869 (netgroup_response_header): Define.
11870 (innetgroup_response_header): Define.
11871 (datahead): Add netgroup_response_header and innetgroup_response_header
11872 elements.
11873 * nscd/nscd.conf: Add entries for netgroup cache.
11874 * nscd/nscd.h (dbtype): Add netgrdb.
11875 (_PATH_NSCD_NETGROUP_DB): Define.
11876 (netgroup_iov_disabled): Declare.
11877 (xmalloc, xcalloc, xrealloc): Move declarations here.
11878 (cache_search): Adjust prototype.
11879 Add netgroup-related prototypes.
11880 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11881 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11882 (__nscd_innetgr): Declare.
11883 * nscd/selinux.c (perms): Use access_vector_t as element type and
11884 add netgroup-related initializers.
11885 * nscd/netgroupcache.c: New file.
11886 * nscd/nscd_netgroup.c: New file.
11887 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11888 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11889 For four parameters use innetgr.
11890 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11891 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11892 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11893 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11894
21fd49a9
UD
11895 * nscd/connections.c (register_traced_file): Don't register file
11896 for disabled databases.
11897
054c0457
UD
118982011-10-06 Ulrich Drepper <drepper@gmail.com>
11899
32b63198
UD
11900 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11901
054c0457
UD
11902 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11903 from tree and freeing node.
11904
64031225
JO
119052011-09-25 Jiri Olsa <jolsa@redhat.com>
11906
11907 * nss/nsswitch.c (__nss_database_lookup): Handle
11908 nss_parse_service_list out of memory case.
11909
0490345c
JO
119102011-09-15 Jiri Olsa <jolsa@redhat.com>
11911
11912 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11913 out of memory case.
11914
3a62d00d
AS
119152011-10-04 Andreas Schwab <schwab@redhat.com>
11916
11917 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11918 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11919 pass it down.
11920 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11921 elf_machine_rela, elf_machine_lazy_rel.
11922 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11923 (ELF_DYNAMIC_DO_REL): Likewise.
11924 (ELF_DYNAMIC_DO_RELA): Likewise.
11925 (ELF_DYNAMIC_RELOCATE): Likewise.
11926 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11927 to ELF_DYNAMIC_DO_REL.
11928 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11929 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11930 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11931 elf_machine_rela.
11932 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11933 skip_ifunc, don't call ifunc function if non-zero.
11934 (elf_machine_rela): Likewise.
11935 (elf_machine_lazy_rel): Likewise.
11936 (elf_machine_lazy_rela): Likewise.
11937 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11938 (elf_machine_lazy_rel): Likewise.
11939 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11940 Likewise.
11941 (elf_machine_lazy_rel): Likewise.
11942 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11943 Likewise.
11944 (elf_machine_lazy_rel): Likewise.
11945 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11946 (elf_machine_lazy_rel): Likewise.
11947 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11948 (elf_machine_lazy_rel): Likewise.
11949 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11950 (elf_machine_lazy_rel): Likewise.
11951 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11952 (elf_machine_lazy_rel): Likewise.
11953 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11954 (elf_machine_lazy_rel): Likewise.
11955 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11956 (elf_machine_lazy_rel): Likewise.
11957
68577918
UD
119582011-09-28 Ulrich Drepper <drepper@gmail.com>
11959
11960 * nss/nss_files/files-init.c (_nss_files_init): Use static
11961 initialization for all the *_traced_file variables.
11962
68822d74
AS
119632011-09-28 Andreas Schwab <schwab@redhat.com>
11964
11965 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11966
2056100b
RM
119672011-09-27 Roland McGrath <roland@hack.frob.com>
11968
11969 [BZ #13226]
11970 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11971
32c76b63
AS
119722011-09-27 Andreas Schwab <schwab@redhat.com>
11973
11974 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11975 Reread the line before reparsing it.
11976
bf972c9d
AS
119772011-09-26 Andreas Schwab <schwab@redhat.com>
11978
11979 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11980
e057a1b5
JM
119812011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11982 Maxim Kuvyrkov <maxim@codesourcery.com>
11983 Joseph Myers <joseph@codesourcery.com>
11984
11985 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11986 if needed for __stack_chk_guard.
11987
bc7e1c36
RM
119882011-09-19 Roland McGrath <roland@hack.frob.com>
11989
ecb1482f
RM
11990 * sysdeps/posix/spawni.c (script_execute): Always define it.
11991 It will be optimized away if unused.
11992 (maybe_script_execute): New function.
11993 (__spawni): Call it.
11994
bc7e1c36
RM
11995 * Makerules: Don't include tls.make.
11996 (config-tls): Always set to thread.
11997 * tls.make.c: File removed.
11998
1c3b002b
MF
119992011-09-19 Mike Frysinger <vapier@gentoo.org>
12000
12001 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
12002 * config.make.in (CPPFLAGS-config): New substituted variable.
12003
2840865d
UD
120042011-09-15 Ulrich Drepper <drepper@gmail.com>
12005
88738eb6
UD
12006 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
12007
cbf645a6 12008 [BZ #13192]
2840865d
UD
12009 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
12010 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
12011
b402e91a
RM
120122011-09-15 Roland McGrath <roland@hack.frob.com>
12013
12014 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
12015 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
12016 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12017 (CALL_FAIL): Likewise.
12018 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
12019 (CALL_FAIL): Macro removed.
12020 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
12021
4c1a1f71
UD
120222011-09-15 Ulrich Drepper <drepper@gmail.com>
12023
12024 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
12025 for __FINITE_MATH_ONLY__ == 1.
12026
edc121be
AS
120272011-09-15 Andreas Schwab <schwab@redhat.com>
12028
12029 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
12030 __ieee754_sqrt instead of sqrt.
12031 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
12032 __ieee754_sqrtf instead of sqrtf.
12033 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
12034 __floorf instead of floorf.
12035 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
12036 __floorf, __truncf instead of floorf, truncf.
12037
cd205654
UD
120382011-09-14 Ulrich Drepper <drepper@gmail.com>
12039
ee4d0315
UD
12040 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
12041
cd205654
UD
12042 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
12043 __extern_always_inline.
12044 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
12045 32-bit.
12046
48b67d71
AS
120472011-09-14 Andreas Schwab <schwab@redhat.com>
12048
12049 * elf/rtld.c (dl_main): Also relocate in dependency order when
12050 doing symbol dependency testing.
12051
1ae12c75
AS
120522011-09-13 Andreas Schwab <schwab@linux-m68k.org>
12053
12054 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12055 Always define `refsym'.
12056
995a80df
AS
120572011-09-13 Andreas Schwab <schwab@redhat.com>
12058
e529793b
AS
12059 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
12060 (__FD_ELT): Renamed from __FDELT.
12061 * misc/bits/select2.h (__FD_ELT): Likewise.
12062 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
12063 __FD_MASK instead of __FDELT, __FDMASK.
12064 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12065 Likewise.
12066 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12067 Likewise.
12068
52d4fef8
AS
12069 * elf/Makefile (gen-ldd): Fix pattern.
12070
995a80df
AS
12071 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
12072 (init_tls): Likewise.
12073
8682f8b0
UD
120742011-09-12 Ulrich Drepper <drepper@gmail.com>
12075
12076 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
12077
de82006d
AS
120782011-09-12 Andreas Schwab <schwab@redhat.com>
12079
a7c8e6a1
AS
12080 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
12081 `struct cmsghdr *' instead of `void *'.
12082 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
12083 Likewise.
12084
0f31fe77
AS
120852011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12086
12087 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
12088 if non-absolute.
12089 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
12090 ldd_rewrite_script.
0f31fe77 12091
32b4c839
UD
120922011-09-11 Ulrich Drepper <drepper@gmail.com>
12093
83cd1420
UD
12094 * configure.in: Remove --with-tls option.
12095 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
12096 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
12097 out in case it is missing.
12098 * sysdeps/ia64/elf/configure.in: Likewise.
12099 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
12100 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
12101 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
12102 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
12103 * sysdeps/sh/elf/configure.in: Likewise.
12104 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
12105 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12106 * sysdeps/x86_64/elf/configure.in: Likewise.
12107 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
12108 * sysdeps/mach/hurd/tls.h: Likewise.
12109
633f745d
UD
12110 [BZ #13067]
12111 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
12112
f318beb8
UD
12113 [BZ #13090]
12114 * configure.in: Fix use of AC_INIT.
12115
32b4c839
UD
12116 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
12117
3ce1f295
UD
121182011-09-10 Ulrich Drepper <drepper@gmail.com>
12119
bb016596
UD
12120 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
12121 __set_errno.
8e58439c
UD
12122 * malloc/hooks.c: Likewise.
12123
aebae053 12124 [BZ #11929]
02d46fc4
UD
12125 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
12126 variables statically.
12127 (narenas): Initialize.
12128 (list_lock): Initialize.
bb016596
UD
12129 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
12130 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
12131 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
12132 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
12133 Add initializers to main_arena and mp_.
12134 (malloc_state): Remove pagesize member. Change all users to use
12135 GLRO(dl_pagesize).
12136
12137 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
12138 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
12139 is always initialized.
12140
22a89187
UD
12141 * malloc/malloc.c: Removed unused configurations and dead code.
12142 * malloc/arena.c: Likewise.
12143 * malloc/hooks.c: Likewise.
02d46fc4 12144 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 12145
d063d164
UD
12146 * include/tls.h: Removed. USE___THREAD must always be defined.
12147 * bits/libc-tsd.h: Don't handle !USE___THREAD.
12148 * elf/dl-libc.c: Likewise.
12149 * elf/dl-tsd.c: Likewise.
12150 * include/errno.h: Likewise.
12151 * include/netdb.h: Likewise.
12152 * include/resolv.h: Likewise.
12153 * inet/herrno-loc.c: Likewise.
12154 * inet/herrno.c: Likewise.
12155 * malloc/arena.c: Likewise.
12156 * malloc/hooks.c: Likewise.
12157 * malloc/malloc.c: Likewise.
12158 * resolv/res-state.c: Likewise.
12159 * resolv/res_libc.c: Likewise.
12160 * sysdeps/i386/dl-machine.h: Likewise.
12161 * sysdeps/ia64/dl-machine.h: Likewise.
12162 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12163 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12164 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12165 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12166 * sysdeps/sh/dl-machine.h: Likewise.
12167 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12168 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12169 * sysdeps/unix/i386/sysdep.S: Likewise.
12170 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12171 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12172 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12173 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12174 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12175 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12176 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12177 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12178 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12179 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12180 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12181 * sysdeps/x86_64/dl-machine.h: Likewise.
12182 * tls.make.c: Likewise.
12183
3ce1f295
UD
12184 * configure.in: Remove --with-__thread option. Make tests for
12185 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12186 tls_model attribute fail if no support is available. Remove
12187 USE_IN_LIBIO.
12188 * Makeconfig: Adjust for dropped configure option. All features are
12189 now mandatory.
12190 * Makerules: Likewise.
12191 * Versions.def: Likewise.
12192 * argp/argp-fmtstream.c: Likewise.
12193 * argp/argp-fmtstream.h: Likewise.
12194 * argp/argp-help.c: Likewise.
12195 * assert/assert.c: Likewise.
12196 * config.h.in: Likewise.
12197 * config.make.in: Likewise.
12198 * configure: Likewise.
12199 * configure.in: Likewise.
12200 * csu/Versions: Likewise.
12201 * csu/init.c: Likewise.
12202 * elf/tst-audit2.c: Likewise.
12203 * elf/tst-tls10.c: Likewise.
12204 * elf/tst-tls10.h: Likewise.
12205 * elf/tst-tls11.c: Likewise.
12206 * elf/tst-tls12.c: Likewise.
12207 * elf/tst-tls14.c: Likewise.
12208 * elf/tst-tlsmod11.c: Likewise.
12209 * elf/tst-tlsmod12.c: Likewise.
12210 * elf/tst-tlsmod13.c: Likewise.
12211 * elf/tst-tlsmod13a.c: Likewise.
12212 * elf/tst-tlsmod14a.c: Likewise.
12213 * elf/tst-tlsmod15b.c: Likewise.
12214 * elf/tst-tlsmod16a.c: Likewise.
12215 * elf/tst-tlsmod16b.c: Likewise.
12216 * elf/tst-tlsmod7.c: Likewise.
12217 * elf/tst-tlsmod8.c: Likewise.
12218 * elf/tst-tlsmod9.c: Likewise.
12219 * gmon/gmon.c: Likewise.
12220 * grp/fgetgrent_r.c: Likewise.
12221 * grp/putgrent.c: Likewise.
12222 * hurd/fopenport.c: Likewise.
12223 * include/libc-symbols.h: Likewise.
12224 * include/tls.h: Likewise.
12225 * intl/gettextP.h: Likewise.
12226 * intl/loadinfo.h: Likewise.
12227 * locale/global-locale.c: Likewise.
12228 * locale/localeinfo.h: Likewise.
12229 * mach/devstream.c: Likewise.
12230 * malloc/arena.c: Likewise.
12231 * malloc/set-freeres.c: Likewise.
12232 * misc/err.c: Likewise.
12233 * misc/getttyent.c: Likewise.
12234 * misc/mntent_r.c: Likewise.
12235 * posix/getopt.c: Likewise.
12236 * posix/wordexp.c: Likewise.
12237 * pwd/fgetpwent_r.c: Likewise.
12238 * resolv/Versions: Likewise.
12239 * resolv/res_hconf.c: Likewise.
12240 * shadow/fgetspent_r.c: Likewise.
12241 * shadow/putspent.c: Likewise.
12242 * stdio-common/printf_fphex.c: Likewise.
12243 * stdio-common/tmpfile.c: Likewise.
12244 * stdlib/abort.c: Likewise.
12245 * stdlib/fmtmsg.c: Likewise.
12246 * sunrpc/auth_unix.c: Likewise.
12247 * sunrpc/clnt_perr.c: Likewise.
12248 * sunrpc/clnt_tcp.c: Likewise.
12249 * sunrpc/clnt_udp.c: Likewise.
12250 * sunrpc/clnt_unix.c: Likewise.
12251 * sunrpc/openchild.c: Likewise.
12252 * sunrpc/svc_simple.c: Likewise.
12253 * sunrpc/svc_tcp.c: Likewise.
12254 * sunrpc/svc_udp.c: Likewise.
12255 * sunrpc/svc_unix.c: Likewise.
12256 * sunrpc/xdr.c: Likewise.
12257 * sunrpc/xdr_array.c: Likewise.
12258 * sunrpc/xdr_rec.c: Likewise.
12259 * sunrpc/xdr_ref.c: Likewise.
12260 * sunrpc/xdr_stdio.c: Likewise.
12261
1248c1c4
PB
122622011-09-09 Ulrich Drepper <drepper@gmail.com>
12263
12264 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12265
122662011-07-03 Andreas Jaeger <aj@suse.de>
12267
12268 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12269 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12270 regenerate with gen-libm-tests.pl.
12271
122722010-05-12 Petr Baudis <pasky@suse.cz>
12273
12274 [BZ #11589]
12275 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12276 around j0() zero points by switching to j1().
12277 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12278 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12279 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12280 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12281
f22e1074
UD
122822011-09-09 Ulrich Drepper <drepper@gmail.com>
12283
f19009c1
UD
12284 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12285 instead of 0.
12286 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12287 instead of 0. .
12288 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12289 Patch in part by Pavel Roskin <proski@gnu.org>.
12290
3f8cc204
UD
12291 [BZ #13138]
12292 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12293 realloc.
12294 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12295 Free memory block if necessary.
12296
f22e1074
UD
12297 [BZ #12847]
12298 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12299 be NULL. Don't lock in this case.
12300
0a2349f9
RM
123012011-09-09 Roland McGrath <roland@hack.frob.com>
12302
12303 * elf/elf.h (ELFOSABI_GNU): New macro.
12304 (ELFOSABI_LINUX): Define to that.
12305
f3cdd467
DZ
123062011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12307
12308 * string/strncat.c (strncat): Undef the symbol in case it has been
12309 defined in bits/string.h.
12310
74718d13
UD
123112011-09-09 Ulrich Drepper <drepper@gmail.com>
12312
633e9e0f
UD
12313 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12314
0a2349f9 12315 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
12316 link map.
12317
f9924780
AJ
123182011-08-17 Andreas Jaeger <aj@suse.de>
12319
12320 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12321
7f5517aa
PP
123222011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12323 Ian Lance Taylor <iant@google.com>
12324
12325 * math/libm-test.inc (lround_test): New testcase.
12326 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12327
762011fe
UD
123282011-09-08 Ulrich Drepper <drepper@gmail.com>
12329
92963737
UD
12330 * Makefile: Remove support for automatic cvs check-ins.
12331 * Makerules: Likewise.
12332 * config.make.in: Likewise.
12333 * configure.in: Likewise.
12334 * intl/Makefile: Likewise.
12335 * locale/Makefile: Likewise.
12336 * po/Makefile: Likewise.
12337 * posix/Makefile: Likewise.
12338 * sysdeps/gnu/Makefile: Likewise.
12339 * sysdeps/mach/hurd/Makefile: Likewise.
12340 * sysdeps/sparc/sparc32/Makefile: Likewise.
12341
b0727fd8
JS
12342 [BZ #13118]
12343 * posix/Makefile (bug-regex32-ENV): Define.
12344 Patch by John Stanley <jpsinthemix@verizon.net>.
12345
a0f33f99
UD
12346 * misc/Makefile (headers): Add bits/select2.h.
12347 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12348 * misc/bits/select2.h: New file.
12349 * include/bits/select2.h: New file.
12350 * debug/Makefile (routines): Add fdelt_chk.
12351 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12352 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12353 FD_ISSET.
12354 * debug/fdelt_chk.c: New file.
12355
762011fe
UD
12356 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12357 * wcsmbs/test-wmemcmp.c: Likewise.
12358 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 12359 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
12360
123612011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12362
12363 * string/Makefile (strop-tests): Add memcmp.
12364 * string/test-wmemcmp.c: New file.
12365 * string/test-memcmp.c: Add wmemcmp support.
12366
7f513ec8
RM
123672011-09-08 Roland McGrath <roland@hack.frob.com>
12368
0442afb4
RM
12369 [BZ #13153]
12370 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12371 2011-07-19 change.
12372
7f513ec8
RM
12373 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12374 garbage value in a __mach_port_mod_refs call in the cases of the
12375 task-self and thread-self ports.
12376
a12b2239
ST
123772011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12378
12379 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12380
610f9ab4
AS
123812011-09-08 Andreas Schwab <schwab@redhat.com>
12382
7f513ec8 12383 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 12384
48882a1a
LD
123852011-09-07 Ulrich Drepper <drepper@gmail.com>
12386
b49865be
UD
12387 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12388
fdc86bc9
UD
12389 * elf/dl-libc.c (dlerror_run): Pass back error code from
12390 dl_catch_error.
12391
c966526a
UD
12392 [BZ #13123]
12393 * elf/dl-load.c (lose): Free l_origin if it is valid.
12394
48882a1a
LD
12395 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12396 names.
12397 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12398 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12399 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12400 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12401 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12402 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12403
77a2a8b4
AZ
124042011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12405
12406 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12407 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12408 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12409 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12410 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12411 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12412 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12413 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12414 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12415 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12416
24f579d8
AM
124172011-08-15 Alan Modra <amodra@gmail.com>
12418
12419 [BZ #13092]
12420 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12421 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12422 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12423 ppc_mcount to static-only-routines.
12424 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12425 __mcount_internal.
12426 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12427 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12428
3d4837df
UD
124292011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12430
12431 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12432 for finite and infinity parameters.
12433
22700377
WS
124342011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12435
12436 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12437 and add nop instructions for throughput optimization.
12438 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12439
5025581e
WS
124402011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12441
12442 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12443 aligned copy for power7 with vector-scalar instructions.
12444 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12445
08a300c9
L
124462011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12447
12448 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12449 AVX check.
12450
59178ef9
AS
124512011-09-07 Andreas Schwab <schwab@redhat.com>
12452
12453 [BZ #13144]
12454 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12455 last change.
12456
e38ba7ab
UD
124572011-09-07 Ulrich Drepper <drepper@gmail.com>
12458
12459 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12460 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12461 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12462 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12463 clock_gettime.
12464
d53a73ac
UD
124652011-09-06 Ulrich Drepper <drepper@gmail.com>
12466
fc8bffcc
UD
12467 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12468 Forgot to demangle the pointer.
12469
ceaa0c5d
UD
12470 * sysdeps/i386/sysdep.h: Define atom_text_section.
12471 * sysdeps/x86_64/sysdep.h: Likewise.
12472 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12473 section with atom_text_section.
12474 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12475 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12476 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12477 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12478 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12479
a77d3c17
UD
12480 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12481 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12482 already be defined. Change to take two parameters and don't assign
12483 result to variable. Adjust all users.
12484 Define INTERNAL_GETTIME if not already defined.
12485 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12486 call.
12487 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12488 HAVE_CLOCK_GETTIME_VSYSCALL.
12489 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12490
d53a73ac
UD
12491 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12492 gettimeofday vsyscall, just use time.
12493
a8f84144
AS
124942011-09-06 Andreas Schwab <schwab@redhat.com>
12495
12496 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12497 <errno.h>.
12498
ef606249
UD
124992011-09-06 Ulrich Drepper <drepper@gmail.com>
12500
12501 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12502 syscall on x86-64.
12503 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12504 syscall.
12505 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12506 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12507 syscall if possible.
12508
6585cb60
UD
125092011-09-05 Ulrich Drepper <drepper@gmail.com>
12510
12511 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12512 e_ident. Don't pass to find_mapsXX.
12513 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12514
a5f524e4
LD
125152011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12516
12517 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12518 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12519 * sysdeps/x86_64/multiarch/strchr.S: Update.
12520 Check bit_slow_BSF bit.
12521 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12522 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12523 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12524
554881ef
UD
125252011-09-05 Ulrich Drepper <drepper@gmail.com>
12526
d96de963
UD
12527 [BZ #13134]
12528 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12529 before glibc 2.15.
12530 (tryshell): Define.
12531 (__spawni): Change last parameter to be flag. Test
12532 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12533 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12534 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12535 * posix/spawni.c: Likewise.
12536 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12537 * posix/spawnp.c: Likewise. Change normal version to use
12538 SPAWN_XFLAGS_USE_PATH.
12539 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12540 SPAWN_XFLAGS_TRY_SHELL.
12541
d48e5868
UD
12542 [BZ #13150]
12543 * posix/glob.h: Remove gcc 1.x support.
12544
554881ef
UD
12545 [BZ #13068]
12546 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12547
693fb948
LD
125482011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12549
12550 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12551 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12552 strrchr-sse2-bsf
12553 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12554 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12555 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12556 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12557 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12558 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12559
1b48c537
UD
125602011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12561
49d42c37
UD
12562 * sysdeps/x86_64/wcscmp.S: New file.
12563
1b48c537
UD
12564 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12565 wcscmp-c wcscmp-sse2
12566 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12567 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12568 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12569 * wcsmbs/wcscmp.c: Allow renaming.
12570
15c95c5d
DM
125712011-09-05 David S. Miller <davem@davemloft.net>
12572
12573 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12574 stack slot, rather than the struct return pointer slot.
12575 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12576 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12578 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12579
2f0ad8f3
UD
125802011-09-05 Ulrich Drepper <drepper@gmail.com>
12581
d88ae418
UD
12582 * po/ja.po: Update from translation team.
12583
2f0ad8f3
UD
12584 [BZ #13144]
12585 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12586 kernel in 64-bit binaries.
12587
5f4318d1
DM
125882011-09-01 David S. Miller <davem@davemloft.net>
12589
12590 * elf/elf.h (HWCAP_SPARC_*): Move to..
12591 * sysdeps/sparc/sysdep.h: this new file and add new values.
12592 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12593 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12594 _DL_HWCAP_COUNT to 24.
12595 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12596 entries.
12597 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12598 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12599 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12600 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12601 instead of magic constants.
12602 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12603
3ba57516
DM
126042011-08-31 David S. Miller <davem@davemloft.net>
12605
12606 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12607 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12608 Reimplement to do errno handling inline.
12609 (SYSCALL_ERROR_HANDLER): New macro.
12610 (__SYSCALL_STRING): Do not do errno handling in asm.
12611 (__CLONE_SYSCALL_STRING): Delete.
12612 (__INTERNAL_SYSCALL_STRING): Delete.
12613 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12614 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12615 (PSEUDO): Reimplement to do errno handling inline.
12616 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12617 (SYSCALL_ERROR_HANDLER): New macro.
12618 (__SYSCALL_STRING): Do not do errno handling in asm.
12619 (__CLONE_SYSCALL_STRING): Delete.
12620 (__INTERNAL_SYSCALL_STRING): Delete.
12621 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12622 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12623 i386.
12624 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12625 (inline_syscall*): Add 'err' argument.
12626 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12627 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12628 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12629 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12630
12631 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12632 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12633
2bc17433
AS
126342011-08-30 Andreas Schwab <schwab@redhat.com>
12635
12636 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12637
fbeb5f4d
JO
126382011-08-29 Jiri Olsa <jolsa@redhat.com>
12639
12640 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12641 directive.
12642
ad69cc26
DM
126432011-08-24 David S. Miller <davem@davemloft.net>
12644
12645 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12646
39dd69df
AS
126472011-08-24 Andreas Schwab <schwab@redhat.com>
12648
12649 * elf/Makefile: Add rules to build and run unload8 test.
12650 * elf/unload8.c: New file.
12651 * elf/unload8mod1.c: New file.
12652 * elf/unload8mod1x.c: New file.
12653 * elf/unload8mod2.c: New file.
12654 * elf/unload8mod3.c: New file.
12655
12656 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12657 it wasn't used.
12658
2c0b250a
DM
126592011-08-23 David S. Miller <davem@davemloft.net>
12660
12661 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12662 subtract stack bias.
12663 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12664 %sp not %fp in calculations.
12665 (_JMPBUF_UNWINDS_ADJ): Likewise.
12666
22044b48
DM
12667 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12668 (aio_suspend): Call it to force an exception region around the
12669 AIO_MISC_WAIT() invocation.
12670
2cae4995
AS
126712011-08-23 Andreas Schwab <schwab@redhat.com>
12672
12673 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12674 backslash.
12675
873a772e
AJ
126762011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12677
12678 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12679 protection macro.
12680 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12681 and <dl-machine.h>.
12682 (Elf64_FuncDesc): Remove.
12683
25ad0df1
DM
126842011-08-22 David S. Miller <davem@davemloft.net>
12685
12686 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12687 sigaltstack check, add missing cfi directives.
12688 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12689 missing cfi directives, and sigaltstack handling.
12690
e888bcbe
AS
126912011-08-16 Andreas Schwab <schwab@redhat.com>
12692
12693 [BZ #11724]
12694 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12695 object is seen twice.
12696 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12697
12698 * elf/Makefile (distribute): Add tst-initorder2.c.
12699 (tests): Add tst-initorder2.
12700 (modules-names): Add tst-initorder2a tst-initorder2b
12701 tst-initorder2c tst-initorder2d. Add rules to build them.
12702 ($(objpfx)tst-initorder2.out): New rule.
12703 * elf/tst-initorder2.c: New file.
12704 * elf/tst-initorder2.exp: New file.
12705
87162f46
AS
127062011-08-22 Andreas Schwab <schwab@redhat.com>
12707
70538b7f
AS
12708 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12709
f55ffe58
AS
12710 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12711 dependencies back to end of function.
12712
87162f46
AS
12713 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12714 $(elfobjdir)/ld.so.
12715
91b392a4
UD
127162011-08-21 Ulrich Drepper <drepper@gmail.com>
12717
12718 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12719 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12720 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12721 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12722 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12723 of __vdso_gettimeofday.
12724 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12725 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12726 attribute_hidden.
12727 (_libc_vdso_platform_setup): Remove initialization of
12728 __vdso_gettimeofday and __vdso_time.
12729
5c43483f
UD
127302011-08-20 Ulrich Drepper <drepper@gmail.com>
12731
775a77e7
UD
12732 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12733 and fgetc_unlocked.
12734 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12735 getc_unlocked.
89f447ed 12736
49c74ba9
UD
12737 * elf/dl-open.c (add_to_global): Report additions to the global scope
12738 for LD_DEBUG=scopes.
12739 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 12740 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 12741
5c43483f
UD
12742 [BZ #13114]
12743 * stdio-common/Makefile (tests): Add bug24.
12744 * stdio-common/bug24.c: New file.
12745
a101b025
AJ
127462011-08-19 Andreas Jaeger <aj@suse.de>
12747
12748 [BZ #13114]
12749 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12750 non-existant file when using close-on-exec mode.
12751
c88f1766
UD
127522011-08-20 Ulrich Drepper <drepper@gmail.com>
12753
0276a718
UD
12754 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12755 the very first instruction.
12756
c88f1766
UD
12757 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12758 the CFI state in the end.
12759 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12760 inclusion of dl-trampoline.h.
12761 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12762
51ccffa0
AS
127632011-08-19 Andreas Schwab <schwab@redhat.com>
12764
94d7165f
AS
12765 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12766 expectations for long double.
12767
51ccffa0
AS
12768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12769 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12770
fd708658 127712011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
12772
12773 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12774 artificual limit depends upon the system page size.
12775
44f0a71e
UD
127762011-08-17 Ulrich Drepper <drepper@gmail.com>
12777
12778 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12779 * resolv/Makefile: Define CFLAGS-libresolv.
12780
8de79a24
AS
127812011-08-17 Andreas Schwab <schwab@redhat.com>
12782
12783 * nss/makedb.c (compute_tables): Make variables used in nested
12784 function static.
12785
27724598
UD
127862011-08-17 Ulrich Drepper <drepper@gmail.com>
12787
c5305d88
UD
12788 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12789 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12790 if buffer was too small.
12791
27724598
UD
12792 * elf/pldd.c (main): Attach to all threads in the process.
12793 Rewrite /proc handling to use *at functions.
12794
076fe015
UD
127952011-08-16 Ulrich Drepper <drepper@gmail.com>
12796
174baab3
UD
12797 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12798 specifies first scope to show.
12799 (dl_open_worker): Update callers. Move printing scope of new
12800 object to before the relocation.
44f0a71e 12801 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
12802 * sysdeps/generic/ldsodefs.h: Update declaration.
12803
076fe015
UD
12804 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12805 string for the scope number.
12806
a60df2c3
UD
128072011-08-14 Ulrich Drepper <drepper@gmail.com>
12808
12809 * nscd/servicescache.c (cache_addserv): Make sure written is always
12810 initialized.
12811
5e4287d1
RM
128122011-08-14 Roland McGrath <roland@hack.frob.com>
12813
85ae0589
RM
12814 * sysdeps/i386/i486/bits/atomic.h
12815 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12816 statement expression, so as to suppress "set but not used" warning.
12817 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12818
69f63097
RM
12819 * string/strncat.c (STRNCAT): Use prototype definition.
12820
675456ef
RM
12821 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12822 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12823 -Iprograms here.
12824 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12825 (localedef-modules): Add localedef.
12826 (locale-modules): Add locale.
12827
5e4287d1
RM
12828 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12829 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12830 to avoid a warning.
12831
9c96ff23
DM
128322011-08-14 David S. Miller <davem@davemloft.net>
12833
12834 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12835 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12836
f9ddf089
UD
128372011-08-13 Ulrich Drepper <drepper@gmail.com>
12838
44f0a71e 12839 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
12840 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12841 * elf/rtld.c (dl_main): Set l_name of vDSO.
12842 Call _dl_show_scope when DL_DEBUG_SCOPES.
12843 (process_dl_debug): Recognize scopes flag and also set it for all.
12844 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12845 Declare _dl_show_scope.
12846
1dc27704
UD
12847 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12848 (do_dlopen): Pass caller_dlopen to dl_open.
12849 (__libc_dlopen_mode): Initialize caller_dlopen.
12850
f9ddf089
UD
12851 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12852 of libc. Make tolower call locale-independent. Optimize a bit by
12853 using isdigit instead of isalnum.
12854 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12855
9ac533d3
UD
128562011-08-12 Ulrich Drepper <drepper@gmail.com>
12857
12858 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12859 was a dependency or dynamically loaded.
12860
89edf2e9
UD
128612011-08-11 Ulrich Drepper <drepper@gmail.com>
12862
8e999d29
UD
12863 * intl/l10nflist.c: Allow architecture-specific pop function.
12864 * sysdeps/x86_64/l10nflist.c: New file.
12865
89edf2e9
UD
12866 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12867 classification.
12868
14d96785
AS
128692011-08-10 Andreas Schwab <schwab@redhat.com>
12870
12871 * include/dirent.h: Add libc_hidden_proto for scandirat and
12872 scandirat64. Don't declare __scandirat64.
12873 * dirent/scandirat.c: Add libc_hidden_def.
12874 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12875 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12876
6761ac04
DM
128772011-08-10 David S. Miller <davem@davemloft.net>
12878
12879 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12880 enum.
12881 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12882 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12883 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12884
c55fbd1e
UD
128852011-08-09 Ulrich Drepper <drepper@gmail.com>
12886
12887 * Versions.def [libc]: Add GLIBC_2.15.
12888 * dirent/Makefile (routines): Add scandirat and scandirat64.
12889 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12890 GLIBC_2.15.
12891 * dirent/dirent.h: Declare scandirat and scandirat64.
12892 * dirent/scandirat.c: New file.
12893 * dirent/scandirat64.c: New file.
12894 * sysdeps/wordsize-64/scandirat.c: New file.
12895 * sysdeps/wordsize-64/scandirat64.c: New file.
12896 * dirent/opendir.c: Define opendirat.
12897 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12898 using scandirat.
12899 * dirent/scandir64.c: Adjust for scandir.c change.
12900 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12901 __scandirat64, and __scandir_cancel_handler.
12902 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12903 additional parameter and use openat instead of open (outside of ld.so).
12904 Add new __opendir as wrapper around __opendirat.
12905 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12906 here without requiring old scandirat implementation.
12907
879165f2
UD
129082011-08-08 Ulrich Drepper <drepper@gmail.com>
12909
12910 * dirent/scandir.c (cancel_handler): Renamed to
12911 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12912 defined. Adjust users.
12913 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12914 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12915
cb7e923b
UD
129162011-08-04 Ulrich Drepper <drepper@gmail.com>
12917
16292edd
UD
12918 * string/test-string.h (IMPL): Use __STRING to expand name and then
12919 stringify it.
12920
cb7e923b
UD
12921 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12922 of cleanups.
12923
cff82933
LD
129242011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12925
12926 * string/Makefile: Update.
12927 (strop-tests): Append strncat.
12928 * string/test-wcscmp.c: New file.
12929 New comprehensive test for wcscmp.
12930 * string/test-strcmp.c: Update.
12931 (WIDE): New define.
12932
9be9bfcc
AS
129332011-07-22 Andreas Schwab <schwab@redhat.com>
12934
12935 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12936 line.
12937
2e96f1c7
AS
129382011-07-26 Andreas Schwab <schwab@redhat.com>
12939
12940 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12941 encoding to ACE if AI_IDN.
12942
85188888
JJ
129432011-08-01 Jakub Jelinek <jakub@redhat.com>
12944
12945 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12946 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12947
5fa16e9b
LD
129482011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12949
12950 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12951 Fix overflow bug in strncat.
12952 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12953
12954 * string/test-strncat.c: Update.
12955 Add new tests for checking overflow bugs.
12956
129572011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12958
12959 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12960 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12961 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12962 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12963 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12964 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12965 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12966 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12967 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12968
12969 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12970 (USE_AS_STRCAT): Define.
12971 Add strcat and strncat support.
12972 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12973
8c1a459f
AS
129742011-07-25 Andreas Schwab <schwab@redhat.com>
12975
12976 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12977 __n bigger than INT_MAX+1.
12978 (__strncmp_g): Likewise.
12979
bba33c28
UD
129802011-07-23 Ulrich Drepper <drepper@gmail.com>
12981
798be72d
UD
12982 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12983 * libio/stido.h: Likewise.
12984
8accd4dc
UD
12985 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12986 (AF_NFC): Define.
12987 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12988 (AF_NFC): Define.
12989
cbff0d96
UD
12990 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12991 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12992 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12993 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12994 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12995
9191c04a
UD
12996 [BZ #13021]
12997 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12998 installed.
12999
bba33c28
UD
13000 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
13001 typo.
13002 (_dl_x86_64_save_sse): Likewise.
13003
90f139dd
UD
130042011-07-22 Ulrich Drepper <drepper@gmail.com>
13005
1aae088a
UD
13006 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
13007 OSXSAVE.
13008 (_dl_x86_64_save_sse): Likewise.
13009
8e2045f5
UD
13010 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
13011
90f139dd
UD
13012 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
13013
1d002f25
AS
130142011-07-21 Andreas Schwab <schwab@redhat.com>
13015
13016 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
13017 change.
13018 (_dl_x86_64_save_sse): Use correct AVX check.
13019
21137f89
UD
130202011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13021
13022 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
13023 bug in strncpy/strncat.
13024 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13025
a65c0b7a
UD
130262011-07-21 Ulrich Drepper <drepper@gmail.com>
13027
13028 * string/tester.c (test_strcat): Add tests for different alignments
13029 of source and destination.
13030 (test_strncat): Likewise.
13031
6986b98a
UD
130322011-07-20 Ulrich Drepper <drepper@gmail.com>
13033
90bb2039
UD
13034 [BZ #12852]
13035 * posix/glob.c (glob): Check passed in values before using them in
13036 expressions to avoid some overflows.
13037 (glob_in_dir): Likewise.
13038
5644ef54
UD
13039 [BZ #13007]
13040 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
13041 check for AVX enablement so that we don't crash with old kernels and
13042 new hardware.
13043 * elf/tst-audit4.c: Add same checks here.
13044 * elf/tst-audit6.c: Likewise.
13045
13046 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 13047
bfc9dc9b
AS
130482011-07-09 Andreas Schwab <schwab@linux-m68k.org>
13049
13050 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
13051
702e64bb
UD
130522011-07-20 Ulrich Drepper <drepper@gmail.com>
13053
13054 * po/cs.po: Update from translation team.
13055 * po/bg.po: Likewise.
13056
295e904f
MP
130572011-07-12 Marek Polacek <mpolacek@redhat.com>
13058
13059 * misc/sys/cdefs.h: Add support for const attribute.
13060 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
13061 to gnu_dev_{major,minor,makedev} functions.
13062
3ff94596
MP
130632011-07-20 Marek Polacek <mpolacek@redhat.com>
13064
13065 * intl/dcigettext.c (get_output_charset): Add missing bracket.
13066
28b59fca
AS
130672011-07-20 Andreas Schwab <schwab@redhat.com>
13068
13069 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
13070 strlen results.
13071
19df733e
AK
130722011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13073
13074 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13075 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
13076 register in order to avoid conflicts with the soft frame pointer
13077 being held in r11 when necessary.
13078 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13079 (INTERNAL_VSYSCALL_NCS): Likewise.
13080
c8835729
MP
130812011-07-14 Marek Polacek <mpolacek@redhat.com>
13082
13083 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
13084 * elf/dl-fini.c (_dl_fini): Adjust caller.
13085 * elf/dl-close.c (_dl_close_worker): Likewise.
13086 * sysdeps/generic/ldsodefs.h: Adjust declaration.
13087
b902330c
MP
130882011-07-15 Marek Polacek <mpolacek@redhat.com>
13089
8991e135
MP
13090 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
13091 "aux_cache->nlibs < 0".
13092
b902330c
MP
13093 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
13094 in the reload-count case.
13095
99710781
LD
130962011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13097
13098 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13099 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
13100 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
13101 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
13102 * sysdeps/x86_64/multiarch/strcat.S: New file.
13103 * sysdeps/x86_64/multiarch/strncat.S: New file.
13104 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
13105 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
13106 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
13107 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
13108 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
13109 (USE_AS_STRCAT): Define.
13110 Add strcat and strncat support.
13111 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13112 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13113 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
13114 * string/strncat.c: Update.
13115 (USE_AS_STRNCAT): Define.
13116 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13117 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
13118 and i7.
13119 * sysdeps/x86_64/multiarch/init-arch.h
13120 (bit_Prefer_PMINUB_for_stringop): New.
13121 (index_Prefer_PMINUB_for_stringop): Likewise.
13122 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
13123 bit_Prefer_PMINUB_for_stringop.
13124
7dc6bd90
UD
131252011-07-19 Ulrich Drepper <drepper@gmail.com>
13126
13127 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
13128 buffer64.
13129 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
13130 of casting of buffer.
13131 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
13132 buffer32 and buffer64.
13133 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
13134 writes instead of casting of buffer.
13135 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
13136 buffer32.
13137 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
13138 casting of buffer.
13139
e0e72284
AS
131402011-07-19 Andreas Schwab <schwab@redhat.com>
13141
13142 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
13143
feb1eb0b
UD
131442011-07-19 Ulrich Drepper <drepper@gmail.com>
13145
13146 * nscd/nscd.c (termination_handler): Don't do anything for a database
13147 if it has not yet been initialized.
13148
298711ff
UD
131492011-07-18 Ulrich Drepper <drepper@gmail.com>
13150
13151 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13152
131532011-07-15 Marek Polacek <mpolacek@redhat.com>
13154
13155 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13156
f9d68389
UD
131572011-07-18 Ulrich Drepper <drepper@gmail.com>
13158
13159 * po/nl.po: Update from translation team.
13160 * po/sv.po: Likewise.
13161
db290cf5
RM
131622011-07-16 Roland McGrath <roland@hack.frob.com>
13163
13164 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13165 now disallowed by GCC.
5c550700 13166
fd5e21c7
RM
13167 * configure.in (use-default-link): Default to yes if a test -shared
13168 link meets our qualifications.
13169 * configure: Regenerated.
13170
5c550700
RM
13171 * config.make.in (output-format): New variable.
13172 * configure.in: Check for ld --print-output-format support.
13173 * configure: Regenerated.
13174 * Makerules ($(common-objpfx)format.lds)
13175 [$(output-format) != unknown]: Just use $(output-format),
13176 instead of the linker-script munging.
13177
9fa2c032
RM
131782011-07-14 Roland McGrath <roland@hack.frob.com>
13179
a6928d51
RM
13180 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13181 of $(common-objpfx)shlib.lds.
13182 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13183
661607b3
RM
13184 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13185 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13186
9fa2c032
RM
13187 * configure.in (-z relro check): Adjust test code to add a large
13188 writable data section after it.
13189 * configure: Regenerated.
13190
defe9061
RM
131912011-07-11 Roland McGrath <roland@hack.frob.com>
13192
13193 * configure.in (-z relro check): Fix test code to make the variable
13194 truly const.
13195 * configure: Regenerated.
13196
319b9ad4
UD
131972011-07-11 Ulrich Drepper <drepper@gmail.com>
13198
13199 * nscd/nscd.h (struct traced_file): Define.
13200 (struct database_dyn): Remove inotify_descr, reset_res, and filename
13201 elements. Add traced_files.
13202 (inotify_fd): Declare.
13203 (register_traced_file): Declare.
13204 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13205 (inotify_fd): Export.
13206 (resolv_conf_descr): Remove.
13207 (nscd_init): Move inotify descriptor creation to main.
13208 Don't register files for notification here.
13209 (register_traced_file): New function.
13210 (invalidate_cache): Don't use reset_res to determine whether to call
13211 res_init, go through the list of registered files.
13212 (main_loop_poll): The inotify descriptors are now stored in the
13213 structures for the traced files.
13214 (main_loop_epoll): Likewise
13215 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13216 to __nss_disable_nscd.
13217 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13218 for a database anymore. Check the records for all the registered
13219 files instead.
13220 * nss/Makefile (libnss_files-routines): Add files-init.
13221 (libnss_db-routines): Add db-init.
13222 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13223 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13224 * nss/nss_db/db-init.c: New file.
13225 * nss/nss_files/files-init.c: New file.
13226 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13227 __nss_lookup_function.
13228 (__nss_lookup_function): Call nss_load_library.
13229 (nss_load_all_libraries): New function.
13230 (__nss_disable_nscd): Take parameter with callback function for files
13231 to register. Set is_nscd. Load all the DSOs for the NSS modules
13232 used for the cached services.
13233 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13234 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13235 options for features to all the files in nscd.
13236
13237 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13238
23bee3e8
RM
132392011-07-10 Roland McGrath <roland@hack.frob.com>
13240
13241 * csu/elf-init.c (__libc_csu_init): Comment typo.
13242
46a5b7f0
UD
132432011-07-09 Ulrich Drepper <drepper@gmail.com>
13244
13245 * po/pl.po: Update from translation team.
13246 * po/ja.po: Likewise.
13247 * po/ru.po: Likewise.
13248 * po/ko.po: Likewise.
13249 * po/fr.po: Likewise.
13250
d30cf5bb
RM
132512011-07-09 Roland McGrath <roland@hack.frob.com>
13252
113ddea4
RM
13253 * configure.in (.ctors/.dtors header and trailer check):
13254 Use an empirical test on a built program.
13255 * configure: Regenerated.
13256
574920b4
RM
13257 * configure.in (-z relro check): Use an empirical test on a built DSO.
13258 Detect, but do not require, on ia64.
13259 * configure: Regenerated.
13260
d30cf5bb
RM
13261 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13262 Update tests that use readelf to use $READELF instead.
13263 * configure: Regenerated.
13264
8538fdb3
UD
132652011-07-08 Ulrich Drepper <drepper@gmail.com>
13266
13267 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13268 if the result is not used.
13269
04d08991
AJ
132702011-07-05 Andreas Jaeger <aj@suse.de>
13271
13272 [BZ#9696]
13273 * stdlib/tst-strtod.c: Add testcase.
13274
de283087
AD
132752011-07-07 Ulrich Drepper <drepper@gmail.com>
13276
4e5f31c8 13277 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 13278 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
13279 The latter has a higher limit. Take additional parameter to pass to
13280 the new function.
13281 (__pathconf): Pass file to __statfs_link_max.
13282 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13283 __statfs_link_max.
13284 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13285 __statfs_link_max.
13286
de283087
AD
13287 [BZ #12868]
13288 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13289 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13290 Handle Lustre.
13291 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13292 (__statfs_filesize_max): Likewise.
13293 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13294
c75fa153
AJ
132952011-07-05 Andreas Jaeger <aj@suse.de>
13296
13297 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13298
1a544854
UD
132992011-07-06 Marek Polacek <mpolacek@redhat.com>
13300
13301 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13302 `status' variable.
13303 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13304 Likewise.
13305
6f0eec67
UD
133062011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13307
13308 * Makefile (strop-tests): Add strncat.
13309 * string/test-strncat.c: New file.
13310
aae30307
UD
133112011-06-30 Marek Polacek <mpolacek@redhat.com>
13312
13313 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13314
c0cfb5eb
UD
133152011-06-21 Andreas Jaeger <aj@suse.de>
13316
13317 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13318 Copy rule from iconvdata/Makefile.
13319
01636b21
UD
133202011-07-06 Ulrich Drepper <drepper@gmail.com>
13321
13322 [BZ #12922]
13323 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13324 but no long options are defined, just return 'W'.
13325
9895c8bc
UD
133262011-06-22 Marek Polacek <mpolacek@redhat.com>
13327
13328 [BZ #9696]
13329 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13330
5d4cf042
UD
133312011-07-06 Ulrich Drepper <drepper@gmail.com>
13332
13333 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13334 netgroups to read.
960e5535 13335 (innetgr): Likewise.
5d4cf042 13336
751eb97e
RM
133372011-07-05 Roland McGrath <roland@hack.frob.com>
13338
13339 * config.make.in (install_root): Default to $(DESTDIR).
13340
f15f1e45
UD
133412011-07-05 Ulrich Drepper <drepper@gmail.com>
13342
13343 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13344
4e34ac6a
RM
133452011-07-02 Roland McGrath <roland@hack.frob.com>
13346
5e9b6af4
RM
13347 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13348
84f9ea0f
RM
13349 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13350 containing directory rather than embedding absolute directory names.
13351
ea5ee9f7
RM
13352 * scripts/check-local-headers.sh: Rewritten using awk.
13353 Match by word, not by line. Print error messages for matches.
13354 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13355
1b74661a
RM
13356 * Makerules [shlib-lds-flags empty]:
13357 ($(common-objpfx)libc_pic.opts): New target.
13358 ($(common-objpfx)libc_pic.os.clean): New target.
13359 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13360
13361 * config.make.in (OBJCOPY): New variable.
13362 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13363 * configure: Regenerated.
13364
f781ef40
RM
13365 * config.make.in (use-default-link): New variable.
13366 * configure.in (use_default_link): Grok --with-default-link to set it.
13367 * configure: Regenerated.
13368 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13369 (shlib-lds, shlib-lds-flags): Define to empty.
13370
2d4fa81e
RM
13371 * Makerules (shlib-lds): New variable.
13372 (shlib-lds-flags): New variable.
13373 (build-shlib, build-moduile, build-module-asneeded): Use it.
13374 ($(common-objpfx)libc.so): Use $(shlib-lds).
13375 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13376 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13377
31fffa6b
RM
13378 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13379 DT_FLAGS/DT_FLAGS_1 with zero flags.
13380
4e34ac6a
RM
13381 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13382 linker script munging.
13383
fcfc776b
UD
133842011-07-02 Ulrich Drepper <drepper@gmail.com>
13385
13386 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13387 as 128-bit value.
13388 * crypt/sha512.c (sha512_process_block): Perform total addition using
13389 128-bit if possible.
13390 (__sha512_finish_ctx): Likewise.
13391 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13392 as 64-bit value.
13393 * crypt/sha256.c (SWAP64): Define.
13394 (sha256_process_block): Perform total addition using 64-bit if
13395 possible.
13396 (__sha256_finish_ctx): Likewise.
13397
99231d9a
UD
133982011-07-01 Ulrich Drepper <drepper@gmail.com>
13399
13400 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13401 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13402 * nscd/hstcache.c (cache_addhst): Likewise.
13403 * nscd/grpcache.c (cache_addgr): Likewise.
13404 * nscd/aicache.c (addhstaiX): Likewise
13405 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13406
445b4a53
TK
134072011-07-01 Thorsten Kukuk <kukuk@suse.de>
13408
13409 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13410 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13411 * nscd/hstcache.c (cache_addhst): Likewise.
13412 * nscd/grpcache.c (cache_addgr): Likewise.
13413 * nscd/aicache.c (addhstaiX): Likewise
13414
6d4d8e8e
AS
134152011-07-01 Andreas Schwab <schwab@redhat.com>
13416
13417 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13418 domain only when needed.
13419
89f654c5
AS
134202011-06-30 Andreas Schwab <schwab@redhat.com>
13421
13422 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13423 is always restored.
13424
cf3b23ff
UD
134252011-06-29 Ulrich Drepper <drepper@gmail.com>
13426
13427 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13428 are re-adding the entry.
13429 * nscd/servicescache.c (cache_addserv): Likewise.
13430
751626f9
AJ
134312011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13432
13433 * sysdeps/generic/dl-irel.h: fix protection against multiple
13434 inclusions.
13435 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13436
9113ea1f
UD
134372011-06-28 Ulrich Drepper <drepper@gmail.com>
13438
5c0b8d90
UD
13439 [BZ #12935]
13440 * malloc/memusage.sh: Fix quoting in message.
13441 * debug/xtrace.sh: Likewise.
13442
9113ea1f
UD
13443 * configure.in: Remove support for --experimental-malloc option, make
13444 it the default.
13445 * config.make.in: Likewise.
13446 * malloc/Makefile: Likewise.
13447
a4172181
AS
134482011-06-27 Andreas Schwab <schwab@redhat.com>
13449
13450 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13451 two-byte characters.
13452
78a7eee7
RM
134532011-06-27 Roland McGrath <roland@hack.frob.com>
13454
62bede13
RM
13455 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13456 AC_CACHE_CHECK invocation.
13457 * configure: Regenerated.
13458
78a7eee7
RM
13459 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13460
5ce33a62
UD
134612011-06-27 Ulrich Drepper <drepper@gmail.com>
13462
034807a9
UD
13463 [BZ #12350]
13464 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13465 bit from old_res_options.
13466
4902da17
UD
13467 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13468
5ce33a62
UD
13469 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13470 value type for setfct.
13471
c2344f56
L
134722011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13473
13474 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13475 __gettimeofday instead of gettimeofday.
13476
68468076
UD
134772011-06-26 Ulrich Drepper <drepper@gmail.com>
13478
13479 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13480
acb0d739
L
134812011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13482
13483 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13484
13485 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13486 info.
13487
8912479f
L
134882011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13489
13490 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13491 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13492 strcpy-sse2-unaligned strncpy-sse2-unaligned
13493 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13494 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13495 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13496 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13497 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13498 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13499 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13500 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13501 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13502 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13503 (STRCPY): Support SSE2 and SSSE3 versions.
13504
d5495a11
UD
135052011-06-24 Ulrich Drepper <drepper@gmail.com>
13506
13507 [BZ #12874]
13508 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13509 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13510 kernels which artificially limit size of requests.
13511
0b1cbaae
L
135122011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13513
13514 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13515 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13516 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13517 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13518 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13519 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13520 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13521 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13522 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13523 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13524 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13525 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13526 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13527 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13528 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13529 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13530 Enable unaligned load optimization for Intel Core i3, i5 and i7
13531 processors.
13532 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13533 Define.
13534 (index_Fast_Unaligned_Load): Define.
13535 (HAS_FAST_UNALIGNED_LOAD): Define.
13536
07f494a0
MP
135372011-06-23 Marek Polacek <mpolacek@redhat.com>
13538
13539 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13540
fa3fc0fe
UD
135412011-06-22 Ulrich Drepper <drepper@gmail.com>
13542
13543 [BZ #12907]
13544 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13545 until it is clear that the information is realy needed.
13546 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13547
e12df166
AS
135482011-06-22 Andreas Schwab <schwab@redhat.com>
13549
13550 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13551
852eb34d
UD
135522011-06-22 Ulrich Drepper <drepper@gmail.com>
13553
84e2a551
UD
13554 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13555 /sys/devices/system/cpu/online if it is usable.
13556
852eb34d
UD
13557 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13558 reading the information from the /proc filesystem to once a second.
13559
6e502e19
UD
135602011-06-21 Andreas Jaeger <aj@suse.de>
13561
13562 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13563 NULL after inclusion of kernel headers.
13564
75d39ff2
UD
135652011-06-21 Ulrich Drepper <drepper@gmail.com>
13566
51f9aa6a
UD
13567 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13568 calls to internal_setent.
13569
c0244a9d
UD
13570 [BZ #12885]
13571 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13572 addresses using gethostbyname4_r ignore IPv4 addresses.
13573
c5e3c2ae
UD
13574 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13575 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13576
75d39ff2
UD
13577 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13578
42675c6f
DM
135792011-06-20 David S. Miller <davem@davemloft.net>
13580
13581 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13582 inclusions.
13583 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13584
13585 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13586 (elf_irel): Use it.
13587 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13588 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13589 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13590 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13591 * sysdeps/x86_64/dl-irel.h: Likewise.
13592
13593 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13594 * elf/dl-sym.c: Likewise.
13595
57912a71
UD
135962011-06-15 Ulrich Drepper <drepper@gmail.com>
13597
13598 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13599 need to dereference resplen2.
13600
ee22793d
AS
136012011-06-14 Andreas Schwab <schwab@redhat.com>
13602
13603 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13604
a9e836b0
UD
136052011-06-15 Ulrich Drepper <drepper@gmail.com>
13606
77fb9117
UD
13607 * Makeconfig: Define vardbdir and inst_vardbdir.
13608 * nss/Makefile: Add rules to install db-Makefile.
13609
40c1b22c
UD
13610 * nss/nss_db/db-XXX.c: Cleanup.
13611
9f2da732
UD
13612 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13613 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13614 GLIBC_PRIVATE.
13615 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13616 * nss/makedb.c: Implement -g option to specify that value strings
13617 are generated and should not be added to table iterated over for
13618 get*ent calls.
13619 * nss/nss_db/db-initgroups.c: New file.
13620
82e9a1f7
UD
13621 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13622 interface.
13623
c41af17e
UD
13624 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13625 (internal_getgrouplist): Adjust to name change.
13626 Update use_initgroups_entry if this is not the first call.
13627 * nss/databases.def: Add initgroups entry.
13628
a9e836b0
UD
13629 * nss/makedb.c (compute_tables): Check result of multiple hash table
13630 sizes to minimize maximum chain length.
13631
2666d441
UD
136322011-06-14 Ulrich Drepper <drepper@gmail.com>
13633
13634 * Versions.def: Add entry for libnss_db.
13635 * shlib-versions: Likewise.
13636 * nss/Makefile: Add rules to build libnss_db.
13637 * nss/Versions: Add libnss_db information. Organize libnss_files
13638 entries better.
13639 * nss/db-Makefile: Add gshadow support. Change rules for the new
13640 makedb progra. Some minor improvements to generate smaller files.
13641 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13642 here from...
13643 * nss/makedb.c: ...here.
13644 Improve database format to be smaller and require less memory at
13645 runtime.
13646 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13647 db anymore.
13648 * nss/nss_db/db-netgrp.c: Likewise.
13649 * nss/nss_db/db-open.c: Likewise.
13650 * nss/nss_files/flies-XXX.x: Adjust comments.
13651 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13652 * nss/nss_files/files-grp.c: Likewise.
13653 * nss/nss_files/files-hosts.c: Likewise.
13654 * nss/nss_files/files-network.c: Likewise.
13655 * nss/nss_files/files-proto.c: Likewise.
13656 * nss/nss_files/files-pwd.c: Likewise.
13657 * nss/nss_files/files-rpc.c: Likewise.
13658 * nss/nss_files/files-service.c: Likewise.
13659 * nss/nss_files/files-sgrp.c: Likewise.
13660 * nss/nss_files/files-spwd.c: Likewise.
13661 * nss/nss_db/db-alias.c: Removed.
13662 * nss/nss_db/dummy-db.h: Removed.
13663
9ee76b5a
UD
136642011-06-02 Ulrich Drepper <drepper@gmail.com>
13665
13666 * nss/makedb.c: Rewritten to not use database library.
13667 * nss/Makefile: Update to build new makedb program.
13668
c71ca1f8
AJ
136692011-06-14 Andreas Jaeger <aj@suse.de>
13670
13671 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13672 memset declaration.
13673
3154bfb8
UD
136742011-06-10 Andreas Schwab <schwab@redhat.com>
13675
13676 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13677 tmpbuf.
13678
b350afab
RM
136792011-06-10 Roland McGrath <roland@hack.frob.com>
13680
decd4e50
RM
13681 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13682 * elf/Makefile ($(objpfx)ld.so): Likewise.
13683
5615eaf2
RM
13684 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13685 Don't list ld.so twice in dependencies.
13686
13687 * posix/bug-regex31.c: Include <stdlib.h>.
13688
13689 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13690
13691 * nis/nss_compat/compat-spwd.c
13692 (getspent_next_nss_netgr): Remove unused variable.
13693 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13694
13695 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13696 nonmembers" output to use the right array.
13697
13698 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13699
13700 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13701
13702 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13703 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13704 * catgets/gencat.c (read_input_file): Likewise.
13705 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13706
13707 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13708 variable definition inside #if's controlling its use.
13709
13710 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13711
13712 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13713
13714 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13715
13716 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13717 unreachable code.
13718
13719 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13720
b68e08db
RM
13721 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13722 * configure: Regenerated.
13723
b350afab
RM
13724 * Makerules: Revert last change.
13725 * elf/Makefile: Likewise.
13726
28368601
RM
137272011-06-09 Roland McGrath <roland@hack.frob.com>
13728
13729 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13730 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13731 (reloc-link): Likewise.
13732
11988f8f
UD
137332011-06-09 Ulrich Drepper <drepper@gmail.com>
13734
13735 * elf/Makefile: Add rules to build pldd.
13736 * elf/pldd.c: New file.
13737 * elf/pldd-xx.c: New file.
13738
e80fab37
UD
137392011-06-07 Ulrich Drepper <drepper@gmail.com>
13740
13741 * version.h: Update for 2.15 development version.
13742
9b849836
DM
137432011-06-07 David S. Miller <davem@davemloft.net>
13744
13745 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13746 ifuncs.
13747 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13748 elf_machine_lazy_rel): Likewise.
13749 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13750 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13751 elf_machine_lazy_rel): Likewise.
13752 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13753 dl_hwcap via passed in argument.
13754 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13755 Likewise.
13756
5a31b283
AK
137572011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13758
13759 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13760
069e52f8
RM
137612011-06-06 Roland McGrath <roland@hack.frob.com>
13762
13763 [BZ #12849]
13764 * manual/fdl-1.1.texi: New file, verbatim from:
13765 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13766 * manual/lgpl-2.1.texi: New file, verbatim from:
13767 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13768 * manual/Makefile (licenses): New variable, list those new file names.
13769 (texis): Use it.
13770 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13771
13772 * manual/fdl.texi: File removed.
13773 * manual/lesser.texi: File removed.
13774 * manual/libc.texinfo (Copying, Documentation License):
13775 Use new @include file names, put @appendix directive before @include.
13776
f16846a5
JJ
137772011-06-04 Jakub Jelinek <jakub@redhat.com>
13778
13779 [BZ #12841]
13780 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13781 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13782 (mq_open): Add __NTH.
13783
3d29045b
L
137842011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13785
13786 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13787 Assume Intel Core i3/i5/i7 processor if AVX is available.
13788
8c297311
UD
137892011-05-31 Ulrich Drepper <drepper@gmail.com>
13790
13791 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13792 typo.
13793
c8fc0c91
UD
137942011-05-31 Andreas Schwab <schwab@redhat.com>
13795
13796 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13797 memory. Use alloca_account. Fix memory leak when retrying.
13798
5b27a807
UD
137992011-05-31 Ulrich Drepper <drepper@gmail.com>
13800
356f8bc6
UD
13801 * version.h (RELEASE): Bump for 2.14 release.
13802 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13803
5b27a807
UD
13804 * config.make.in (RANLIB): Remove entry.
13805
01f16ab0
UD
138062011-05-30 Ulrich Drepper <drepper@gmail.com>
13807
41fce8bd
UD
13808 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13809 (libc.pot): Work around missing support for .ksh extension in xgettext.
13810
4769ae77
UD
13811 [BZ #12684]
13812 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13813 if both request failed.
13814 (send_dg): In case of server errors clear resplen or *resplen2.
13815
6b1e7d19
UD
13816 [BZ #12454]
13817 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13818 when there are multiple maps.
13819 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13820 (_dl_fini): Remove test here.
13821
01f16ab0
UD
13822 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13823
b1ebd700
UD
138242011-05-29 Ulrich Drepper <drepper@gmail.com>
13825
7ae22829
UD
13826 [BZ #12350]
13827 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13828 bit from old_res_options.
13829 (gaih_inet): Likewise.
13830
553149f6 13831 [BZ #11099]
18a84741 13832 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
13833 as signed.
13834
652ffab1
UD
13835 * resolv/res_init.c (res_setoptions): Make the code more compact.
13836
16985fd0
UD
13837 [BZ #11558]
13838 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13839 set RES_USEVC.
13840
0464f746
UD
13841 [BZ #11634]
13842 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13843
7d17596c
UD
13844 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13845
cf6bbbd7
UD
13846 [BZ #11781]
13847 * malloc/malloc.h: Declare malloc hook variables as volatile.
13848
13f1ab36
UD
13849 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13850 in last patch.
13851
b1ebd700
UD
13852 [BZ #11799]
13853 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 13854 raise in the comment.
80e2212d
UD
13855 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13856 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13857 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 13858
ce67228d
UD
138592011-05-28 Ulrich Drepper <drepper@gmail.com>
13860
8887a920
UD
13861 [BZ #12811]
13862 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13863 grow the buffers more if it already has to be sufficient.
13864 (build_wcs_upper_buffer): Likewise.
13865 * posix/regexec.c (check_matching): Likewise.
13866 (clean_state_log_if_needed): Likewise.
13867 (extend_buffers): Don't enlarge buffers beyond size of the input
13868 buffer.
13869 Patches mostly by Emil Wojak <emil@wojak.eu>.
13870 * posix/bug-regex32.c: New file.
13871 * posix/Makefile (tests): Add bug-regex32.
13872
4f031072
UD
13873 * locale/findlocale.c (_nl_find_locale): Return right away if
13874 _nl_explode_name failed.
13875 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13876
d0478f0c
UD
13877 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13878
de81b246
UD
13879 * debug/xtrace.sh: Unify messages.
13880 * malloc/memusage.sh: Likewise.
13881
c738465a
UD
13882 [BZ #12813]
13883 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13884 time symbol from vDSO. Substitute with vsyscall if not available.
13885 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13886 __vdso_time.
13887
f1f929d7
UD
13888 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13889 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13890 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13891 Add sendmmsg and internal_sendmmsg.
13892 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13893 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13894 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13895
ce67228d
UD
13896 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13897 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13898 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13899
e57420c6
UD
139002011-05-27 Ulrich Drepper <drepper@gmail.com>
13901
a8509ca5
UD
13902 [BZ #12813]
13903 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13904 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13905 available.
13906 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13907 __vdso_getcpu.
13908
e57420c6
UD
13909 [BZ #12814]
13910 * iconvdata/Makefile (tests): Add bug-iconv9.
13911 * iconvdata/bug-iconv9.c: New file.
13912
4d07db15
AS
139132011-05-27 Andreas Schwab <schwab@redhat.com>
13914
13915 [BZ #12814]
13916 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13917
ea486f69
JJ
139182011-05-25 Jakub Jelinek <jakub@redhat.com>
13919
13920 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13921 (struct user_regs_struct): Change intcs field back to cs.
13922
6f038433
UD
139232011-05-25 Ulrich Drepper <drepper@gmail.com>
13924
13925 * po/ja.po: Update from translation team.
13926
67f86a25
UD
139272011-05-23 Ulrich Drepper <drepper@gmail.com>
13928
13929 [BZ #12795]
13930 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13931 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13932
def7fbd6
AS
139332011-05-20 Andreas Schwab <schwab@redhat.com>
13934
13935 * stdlib/longlong.h: Update from GCC.
13936
f50ef8f1
AS
139372011-05-23 Andreas Schwab <schwab@redhat.com>
13938
13939 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13940 parameter name.
13941 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13942 Add parameter name.
13943 (__sysconf): Pass it down.
13944
de7ce8f1
UD
139452011-05-22 Ulrich Drepper <drepper@gmail.com>
13946
f2962a71
UD
13947 [BZ #12671]
13948 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13949 some situations.
13950 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13951 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13952 add in in __libc_use_alloca calls. Adjust callers.
13953 (glob): Use malloc in some situations.
13954
de7ce8f1
UD
13955 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13956 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13957 pltexit.
13958
aec84f53
UD
139592011-05-21 Ulrich Drepper <drepper@gmail.com>
13960
05bb4a68
UD
13961 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13962 and CLOCK_BOOTTIME_ALARM.
13963
7ea72f99
UD
13964 [BZ #12782]
13965 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13966 is returned.
13967
7e4afad5
UD
13968 * string/_strerror.c (__strerror_r): Print negative errors as signed
13969 numbers.
13970
8e211fec
UD
13971 [BZ #12777]
13972 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13973 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13974 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13975
f7d82dc9
UD
13976 * configure.in: Fix typo in redirection and correct removal of test
13977 files in two cases.
13978
cc9e536d
UD
13979 [BZ #12788]
13980 * locale/setlocale.c (new_composite_name): Fix test to check for
13981 identical name of all categories.
13982
aec84f53
UD
13983 [BZ #12792]
13984 * libio/filedoalloc.c (local_isatty): New function.
13985 (_IO_file_doallocate): Use local_isatty.
13986 * stdio-common/perror.c (perror): In case a new stream is used
13987 forward the stream error.
13988 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13989 error flag.
13990
78e64fdc
RT
139912011-05-20 Ulrich Drepper <drepper@gmail.com>
13992
34a9094f
UD
13993 [BZ #11869]
13994 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13995 alloca.
13996 * include/alloca.h (extend_alloca_account): Define.
13997
78e64fdc
RT
13998 [BZ #11857]
13999 * posix/regex.h: Fix comments with documentation of user-accessible
14000 fields after compilation and describe correct free'ing of pattern
14001 after re_compile_pattern.
14002 Patch by Reuben Thomas <rrt@sc3d.org>.
14003
457bddfc
RA
140042011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
14005
14006 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
14007 and -mno-altivec to prevent the compiler from using Altivec and/or
14008 VSX instructions when the corresponding registers are not available.
14009
a4527b51
AS
140102011-05-19 Andreas Schwab <schwab@redhat.com>
14011
14012 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
14013
ed690b2f
UD
140142011-05-19 Ulrich Drepper <drepper@gmail.com>
14015
14016 * libio/freopen.c (freopen): Use __dup2, not dup2.
14017 * libio/freopen64.c (freopen64): Likewise.
14018
8db73634
L
140192011-05-17 H.J. Lu <hongjiu.lu@intel.com>
14020
14021 [BZ #12775]
14022 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
14023 * math/Makefile (tests): Add test-powl.
14024 (CFLAGS-test-powl.c): Define.
14025 * math/test-powl.c: New file.
14026
0a197a9d
L
140272011-05-16 H.J. Lu <hongjiu.lu@intel.com>
14028
14029 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
14030
ee30c380
UD
140312011-05-17 Ulrich Drepper <drepper@gmail.com>
14032
14033 [BZ #11837]
14034 * iconvdata/gb18030.c: Update to GB18020-2005.
14035
6ce75379
UD
140362011-05-16 Ulrich Drepper <drepper@gmail.com>
14037
a4b89fd8
AR
14038 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
14039 RE_SYNTAX_POSIX_AWK): Update to match recent development.
14040 Patch by Aharon Robbins <arnold@skeeve.com>.
14041
ea389b12
UD
14042 [BZ #11892]
14043 * stdlib/putenv.c (putenv): Don't always create copy of the variable
14044 on the stack.
14045
68a3f91f
UD
14046 [BZ #11895]
14047 * misc/pselect.c (__pselect): Handle timeout value errors hidden
14048 through underflows.
14049
15cc7dd1
UD
14050 [BZ #12766]
14051 * misc/error.c (error_at_line): Ensure file_name and old_file_name
14052 point to strings before performing equality test for error_one_per_line
14053 mode.
14054
f3799213
UD
14055 [BZ #11697]
14056 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
14057
d79a9c94
UD
14058 [BZ #11820]
14059 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14060 (struct user_fpregs_struct): Avoid __uint*_t types.
14061
56e5eb46
UD
14062 [BZ #6420]
14063 * malloc/mtrace.c (tr_where): Add additional parameter to point to
14064 symbol info. Use it instead of calling _dl_addr locally.
14065 (lock_and_info): New function.
14066 (tr_freehook): Call lock_and_info and pass symbol info as additional
14067 parameter to tr_where.
14068 (tr_mallochook): Likewise.
14069 (tr_reallochook): Likewise.
14070 (tr_memalignhook): Likewise.
14071
6ce75379
UD
14072 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
14073 used and couldn't be at all thread-safe.
14074
f8a3b5bf
UD
140752011-05-15 Ulrich Drepper <drepper@gmail.com>
14076
94b7cc37
UD
14077 * libio/freopen.c (freopen): Don't close old file descriptor
14078 before the new one is opened. Instead dup the new file descriptor
14079 to the old one after the new stream is created.
14080 * libio/freopen64.c (freopen64): Likewise.
14081 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
14082 * libio/fileops.c (_IO_new_file_close_it): Handle new
14083 _IO_FLAGS2_NOCLOSE flag.
14084 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
14085 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
14086 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
14087 _IO_FLAGS2_NOCLOSE flag.
14088 * include/unistd.h: Add hidden_proto for dup3.
14089 Define __have_dup3.
14090 * io/dup3.c: Define hidden symbol.
14091 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
14092
bd25564e
UD
14093 [BZ #7101]
14094 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
14095 when an incomplete long option is used.
14096 * posix/tst-getopt_long1.c: New file.
14097 * posix/Makefile (tests): Add tst-getopt_long1.
14098
c84cfef4
UD
14099 [BZ #10138]
14100 * scripts/config.guess: Update from autoconf-2.68.
14101 * scripts/config.sub: Likewise.
14102
3b85df27
UD
14103 [BZ #10157]
14104 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
14105 tests into ...
14106 (has_cpuclock): ...this. New function.
14107 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
14108 macro here based on has_cpuclock code.
14109
15a856b1
UD
14110 [BZ #10149]
14111 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14112 First byte (not low byte) is now always NUL.
14113 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
14114
05f399e6
UD
14115 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14116 Use non-cancelable interfaces.
14117
10a52685 14118 [BZ #9809]
94ecc67d
UD
14119 * locale/iso-639.def: Add entry for Sorani.
14120
f8a3b5bf
UD
14121 [BZ #11901]
14122 * include/stdlib.h: Move include protection to the right place.
14123 Define abort_msg_s. Declare __abort_msg with it.
14124 * stdlib/abort.c (__abort_msg): Adjust type.
14125 * assert/assert.c (__assert_fail_base): New function. Majority
14126 of code from __assert_fail. Allocate memory for __abort_msg with
14127 mmap.
14128 (__assert_fail): Now call __assert_fail_base.
14129 * assert/assert-perr.c: Remove bulk of implementation. Use
14130 __assert_fail_base.
14131 * include/assert.hL Declare __assert_fail_base.
14132 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
14133 mmap.
14134 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
14135
1af4e298
UD
141362011-05-14 Ulrich Drepper <drepper@gmail.com>
14137
f8a3b5bf 14138 [BZ #11952]
d26dfc60
MG
14139 [BZ #12453]
14140 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
14141 until all modules are registered in the DTV.
14142 * elf/Makefile: Add rules to build and run tst-tls19.
14143 * elf/tst-tls19.c: New file.
14144 * elf/tst-tls19mod1.c: New file.
14145 * elf/tst-tls19mod2.c: New file.
14146 * elf/tst-tls19mod3.c: New file.
14147 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
14148
2fc54d6f
UD
14149 [BZ #12083]
14150 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
14151 correctly.
14152
98d76b46
UD
14153 [BZ #12601]
14154 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
14155 two-byte sequence errors.
14156 * iconvdata/Makefile (tests): Add bug-iconv8.
14157 * iconvdata/bug-iconv8.c: New file.
14158
da3c19ef
UD
14159 [BZ #12626]
14160 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
14161 buf2 definition.
14162
ca408c15
UD
14163 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14164
d6f67f7d
UD
14165 [BZ #12432]
14166 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14167 (dummy_getcfa): New function.
14168 (init): Get _Unwind_GetCFA address, use dummy if not found.
14169 (backtrace_helper): In recursion check, also check whether CFA changes.
14170 (__backtrace): Completely initialize arg.
14171
1af4e298 14172 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
14173 storing incomplete byte sequence in state object. Avoid testing for
14174 guaranteed too small input if we know there is enough data available.
1af4e298 14175
da62f81b
AS
141762011-05-11 Andreas Schwab <schwab@redhat.com>
14177
14178 * Makeconfig (+link-pie): Indent.
14179 * Rules (binaries-pie): Define if $(have-fpie) and
14180 $(build-shared).
14181 (binaries-shared): Also filter out $(binaries-pie).
14182 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14183 * nscd/Makefile (others-pie): Add nscd.
14184 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14185 ($(objpfx)nscd): Remove command override.
14186 * login/Makefile (others-pie): Add pt_chown.
14187 ($(objpfx)pt_chown): Remove command override.
14188 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14189 remove command overrides.
14190
fcabc0f8
UD
141912011-05-13 Ulrich Drepper <drepper@gmail.com>
14192
20030ae6
UD
14193 * libio/tst_putwc.c: Fix error messages.
14194
fcabc0f8
UD
14195 [BZ #12724]
14196 * libio/fileops.c (_IO_new_file_close_it): Always flush when
14197 currently writing and seek to current position when not.
14198 * libio/Makefile (tests): Add bug-fclose1.
14199 * libio/bug-fclose1.c: New file.
14200
320a5dc0
PB
142012011-05-12 Ulrich Drepper <drepper@gmail.com>
14202
14203 [BZ #12511]
14204 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14205 don't set DF_1_NODELETE here.
14206 (do_lookup_x): When entering new entry test for copy relocation
14207 and if necessary set DF_1_NODELETE flag.
14208 * elf/tst-unique4.cc: New file.
14209 * elf/tst-unique4.h: New file.
14210 * elf/tst-unique4lib.cc: New file.
14211 * elf/Makefile: Add rules to build and run tst-unique4.
14212 Patch by Piotr Bury <pbury@goahead.com>.
14213
22836f52
UD
142142011-05-11 Ulrich Drepper <drepper@gmail.com>
14215
f574184a
UD
14216 [BZ #12052]
14217 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14218
e1fb097f
UD
14219 [BZ #12625]
14220 * misc/mntent_r.c (addmntent): Flush the stream after the output
14221
22836f52
UD
14222 [BZ #12393]
14223 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14224 (is_trusted_path_normalize): Skip initial colon. Append slash
14225 to empty buffer. Duplicate is_trusted_path code but allow
14226 constructed patch to be prefix.
14227 (is_dst): Allow $ORIGIN followed by /.
14228 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14229 Correct testing of result of is_trusted_path_normalize
14230 (decompose_rpath): Fix warning.
14231
7b3b0b2a
UD
142322011-05-10 Ulrich Drepper <drepper@gmail.com>
14233
14234 [BZ #11257]
14235 * grp/initgroups.c (internal_getgrouplist): When we found the service
14236 list through the initgroups entry in nsswitch.conf do not always
14237 continue on a successful lookup. Don't always use the
eac80ce2 14238 __nss_group_database value if it is set.
7b3b0b2a
UD
14239 * nss/nsswitch.conf (initgroups): Change action for successful db
14240 lookup to continue for compatibility.
14241
2a81eaa5
UD
142422011-05-09 Ulrich Drepper <drepper@gmail.com>
14243
be97a69e
UD
14244 [BZ #11532]
14245 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14246 and CP774 modules.
14247 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14248 and CP774 modules.
14249 * iconvdata/tst-tables.sh: Likewise.
14250 * iconvdata/cp770.c: New file.
14251 * iconvdata/cp771.c: New file.
14252 * iconvdata/cp772.c: New file.
14253 * iconvdata/cp773.c: New file.
14254 * iconvdata/cp774.c: New file.
14255 * iconvdata/testdata/CP770: New file.
14256 * iconvdata/testdata/CP770..UTF8: New file.
14257 * iconvdata/testdata/CP771: New file.
14258 * iconvdata/testdata/CP771..UTF8: New file.
14259 * iconvdata/testdata/CP772: New file.
14260 * iconvdata/testdata/CP772..UTF8: New file.
14261 * iconvdata/testdata/CP773: New file.
14262 * iconvdata/testdata/CP773..UTF8: New file.
14263 * iconvdata/testdata/CP774: New file.
14264 * iconvdata/testdata/CP774..UTF8: New file.
14265
14266 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14267 END CHARMAP line.
14268 * iconvdata/gen-8bit-gap.sh: Likewise.
14269 * iconvdata/gen-8bit.sh: Likewise.
14270
c1e9e399
UD
14271 * locale/iso-639.def: Add ary entry.
14272
24c55fb3 14273 [BZ #11258]
96b4b1b0
UD
14274 * locale/C-translit.h.in: Add U20A1 transliteration.
14275
bdc2f971
KB
14276 [BZ #12178]
14277 * locale/iso-639.def: Add wae entry.
14278 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14279
2952b117
UD
14280 [BZ #12545]
14281 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14282 for n.
14283
2a81eaa5
UD
14284 [BZ #12711]
14285 * locale/C-translit.h.in: Add entry for U20B9.
14286 Patch by pravin.d.s@gmail.com.
14287
28377d1b
UD
142882011-05-08 Ulrich Drepper <drepper@gmail.com>
14289
7fb90fb8
UD
14290 [BZ #12713]
14291 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14292 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
14293 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14294 in rtld. Use *stat64.
7fb90fb8 14295 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 14296 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 14297 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
14298 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14299 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14300 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14301 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14302 __fstatat64 macros.
7fb90fb8
UD
14303 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14304 * dirent/rewinddir.c: Add libc_hidden_def.
14305 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 14306 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 14307
28377d1b
UD
14308 * include/dirent.h (__alloc_dir): Add flags parameter.
14309 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14310 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14311 __alloc_dir.
14312 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14313 from fdopendir if O_CLOEXEC is already set.
14314
66bdbaa4
AM
143152011-03-15 Alan Modra <amodra@gmail.com>
14316
14317 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14318 l_tls_firstbyte_offset non-zero. Save padding offset in
14319 l_tls_firstbyte_offset for later use.
14320 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14321 freeing static tls block.
14322
95721191
JN
143232011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14324
14325 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14326 where #ifdef was intended. The intent is to prevent ARG_MAX from
14327 being defined by the kernel headers.
14328
f87dfb1f
UD
143292011-05-07 Ulrich Drepper <drepper@gmail.com>
14330
14331 [BZ #12734]
14332 * resolv/resolv.h: Define RES_NOTLDQUERY.
14333 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14334 no-tld-query and set RES_NOTLDQUERY.
14335 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14336 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14337 modern BIND to search name as TLD unless forbidden.
14338
47c3cd7a
UD
143392011-05-07 Petr Baudis <pasky@suse.cz>
14340 Ulrich Drepper <drepper@gmail.com>
14341
14342 [BZ #12393]
14343 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14344 (is_trusted_path): ...to here.
c1e9ea35 14345 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 14346 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 14347 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 14348
8a35c912
PP
143492011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14350
14351 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14352 __BEGIN/__END_DECLS.
14353
acd41f47
UD
143542011-05-06 Ulrich Drepper <drepper@gmail.com>
14355
14356 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14357 NSS_STATUS_NOTFOUND if no record was found.
14358
597df647
AS
143592011-05-05 Andreas Schwab <schwab@redhat.com>
14360
14361 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14362 (headers-not-in-tirpc): Remove rpc/netdb.h
14363 * resolv/netdb.h: Revert last change.
14364
b9af1301
PP
143652011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14366
14367 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14368 circular dependency between libgcc.a and libc.a.
14369
4e34d5f5
AS
143702011-05-05 Andreas Schwab <schwab@redhat.com>
14371
14372 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14373 * nis/Makefile: Don't install rpcsvc/*.
14374 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14375 instead of <rpc/types.h>.
14376 (MAXHOSTNAMELEN): Define.
14377
00ee369c
AS
143782011-05-03 Andreas Schwab <schwab@redhat.com>
14379
14380 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14381
0b592a30
MB
143822011-04-28 Maciej Babinski <mbabinski@google.com>
14383
14384 [BZ #12714]
14385 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14386 gethostbyname4_r when IPv6 results are possible.
14387
6e04cbbe
UD
143882011-05-02 Ulrich Drepper <drepper@gmail.com>
14389
14390 [BZ #12723]
14391 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14392 _PC_PIPE_BUF handling.
14393
e4ecafe0
BH
143942011-04-30 Bruno Haible <bruno@clisp.org>
14395
14396 [BZ #12717]
14397 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14398 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14399 to 'int'.
14400 * inet/getnameinfo.c (getnameinfo): Likewise.
14401
125ee683
UD
144022011-04-29 Ulrich Drepper <drepper@gmail.com>
14403
14404 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14405 to groups setting in database lookup.
14406 * nss/nsswitch.conf: Add initgroups entry.
14407
b722481a
EB
144082011-04-22 Ulrich Drepper <drepper@gmail.com>
14409
14410 [BZ #12685]
14411 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14412 mode string.
14413 Patch by Eric Blake <eblake@redhat.com>.
14414
4df46dbd
L
144152011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14416
14417 * sunrpc/Makefile (need-export-routines): Add svc_run.
14418 (routines): Remove svc_run.
14419 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14420 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14421 * sunrpc/svc_run.c (svc_run): Likewise.
14422 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14423
e84142d2
UD
144242011-04-21 Ulrich Drepper <drepper@gmail.com>
14425
14426 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14427 problem in reallocation in last patch.
14428
877175d8
UD
144292011-04-20 Ulrich Drepper <drepper@gmail.com>
14430
14431 * sunrpc/Makefile: Move inclusion of Rules.
14432
ab8eed78
UD
144332011-04-19 Ulrich Drepper <drepper@gmail.com>
14434
14435 * nss/nss_files/files-initgroups.c: New file.
14436 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14437 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14438 _nss_files_initgroups_dyn.
14439
e3d8f584
RS
144402011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14441
14442 * elf/elf.h (R_ARM_IRELATIVE): Define.
14443
af190f45
UD
144442011-04-19 Ulrich Drepper <drepper@gmail.com>
14445
14446 * po/ru.po: Update from translation team.
14447
53cf59ef
UD
144482011-04-17 Ulrich Drepper <drepper@gmail.com>
14449
14450 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14451 dependencies.
14452
4c559bcd
MF
144532011-02-06 Mike Frysinger <vapier@gentoo.org>
14454
14455 [BZ #12653]
14456 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14457 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14458 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14459 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14460 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14461
4420675c
AS
144622011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14463
14464 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14465 differing bytes.
14466 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14467 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14468 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14469
75ea32ab
UD
144702011-04-17 Ulrich Drepper <drepper@gmail.com>
14471
14472 [BZ #12420]
14473 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14474 storing it.
14475 * stdlib/bug-getcontext.c: New file.
14476 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14477
27390476
AK
144782011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14479
14480 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14481 instructions into .machine "z9-109".
14482 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14483 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14484
10442705
AK
144852011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14486
14487 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14488 between environment variables and auxiliary vector.
14489
7b57bfe5
UD
144902011-04-16 Ulrich Drepper <drepper@gmail.com>
14491
14492 * Makefile: Add rules to build linkobj/libc.so.
14493 * include/libc-symbols.h: Define libc_hidden_nolink.
14494 * include/rpc/auth.h: Mark functions which are to be hidden.
14495 * include/rpc/auth_des.h: Likewise.
14496 * include/rpc/auth_unix.h: Likewise.
14497 * include/rpc/clnt.h: Likewise.
14498 * include/rpc/des_crypt.h: Likewise.
14499 * include/rpc/key_prot.h: Likewise.
14500 * include/rpc/pmap_clnt.h: Likewise.
14501 * include/rpc/pmap_prot.h: Likewise.
14502 * include/rpc/pmap_rmt.h: Likewise.
14503 * include/rpc/rpc_msg.h: Likewise.
14504 * include/rpc/svc.h: Likewise.
14505 * include/rpc/svc_auth.h: Likewise.
14506 * include/rpc/xdr.h: Likewise.
14507 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14508 * nss/Makefile: Likewise.
14509 * sunrpc/Makefile: Don't install headers. Build library with normal
14510 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14511 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14512 for the compat linking library. Remove use of INTDEF/INTUSE.
14513 * sunrpc/auth_none.c: Likewise.
14514 * sunrpc/auth_unix.c: Likewise.
14515 * sunrpc/authdes_prot.c: Likewise.
14516 * sunrpc/authuxprot.c: Likewise.
14517 * sunrpc/clnt_gen.c: Likewise.
14518 * sunrpc/clnt_perr.c: Likewise.
14519 * sunrpc/clnt_raw.c: Likewise.
14520 * sunrpc/clnt_simp.c: Likewise.
14521 * sunrpc/clnt_tcp.c: Likewise.
14522 * sunrpc/clnt_udp.c: Likewise.
14523 * sunrpc/clnt_unix.c: Likewise.
14524 * sunrpc/des_crypt.c: Likewise.
14525 * sunrpc/des_soft.c: Likewise.
14526 * sunrpc/get_myaddr.c: Likewise.
14527 * sunrpc/key_call.c: Likewise.
14528 * sunrpc/key_prot.c: Likewise.
14529 * sunrpc/netname.c: Likewise.
14530 * sunrpc/pm_getmaps.c: Likewise.
14531 * sunrpc/pm_getport.c: Likewise.
14532 * sunrpc/pmap_clnt.c: Likewise.
14533 * sunrpc/pmap_prot.c: Likewise.
14534 * sunrpc/pmap_prot2.c: Likewise.
14535 * sunrpc/pmap_rmt.c: Likewise.
14536 * sunrpc/publickey.c: Likewise.
14537 * sunrpc/rpc_cmsg.c: Likewise.
14538 * sunrpc/rpc_common.c: Likewise.
14539 * sunrpc/rpc_dtable.c: Likewise.
14540 * sunrpc/rpc_prot.c: Likewise.
14541 * sunrpc/rpc_thread.c: Likewise.
14542 * sunrpc/rtime.c: Likewise.
14543 * sunrpc/svc.c: Likewise.
14544 * sunrpc/svc_auth.c: Likewise.
14545 * sunrpc/svc_authux.c: Likewise.
14546 * sunrpc/svc_raw.c: Likewise.
14547 * sunrpc/svc_run.c: Likewise.
14548 * sunrpc/svc_simple.c: Likewise.
14549 * sunrpc/svc_tcp.c: Likewise.
14550 * sunrpc/svc_udp.c: Likewise.
14551 * sunrpc/svc_unix.c: Likewise.
14552 * sunrpc/svcauth_des.c: Likewise.
14553 * sunrpc/xcrypt.c: Likewise.
14554 * sunrpc/xdr.c: Likewise.
14555 * sunrpc/xdr_array.c: Likewise.
14556 * sunrpc/xdr_float.c: Likewise.
14557 * sunrpc/xdr_intXX_t.c: Likewise.
14558 * sunrpc/xdr_mem.c: Likewise.
14559 * sunrpc/xdr_rec.c: Likewise.
14560 * sunrpc/xdr_ref.c: Likewise.
14561 * sunrpc/xdr_sizeof.c: Likewise.
14562 * sunrpc/xdr_stdio.c: Likewise.
14563
e6c61494
UD
145642011-04-10 Ulrich Drepper <drepper@gmail.com>
14565
14566 [BZ #12650]
14567 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14568 * sysdeps/ia64/dl-tls.h: Likewise.
14569 * sysdeps/powerpc/dl-tls.h: Likewise.
14570 * sysdeps/s390/dl-tls.h: Likewise.
14571 * sysdeps/sh/dl-tls.h: Likewise.
14572 * sysdeps/sparc/dl-tls.h: Likewise.
14573 * sysdeps/x86_64/dl-tls.h: Likewise.
14574 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14575
34fe483e
AS
145762011-03-14 Andreas Schwab <schwab@redhat.com>
14577
14578 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14579 rpath element also skip the following colon.
14580 (expand_dynamic_string_token): Add is_path parameter and pass
14581 down to DL_DST_REQUIRED and _dl_dst_substitute.
14582 (decompose_rpath): Call expand_dynamic_string_token with
14583 non-zero is_path. Ignore empty rpaths.
14584 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14585 with zero is_path.
14586
f12a32e6
AS
145872011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14588
14589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14590 Make cancelable.
14591
38a7d692
UD
145922011-04-09 Ulrich Drepper <drepper@gmail.com>
14593
14594 [BZ #12655]
14595 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14596 Patch by Filipe David Manana <fdmanana@apache.org>.
14597
e451d22b
AS
145982011-04-07 Andreas Schwab <schwab@redhat.com>
14599
14600 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14601 Maintain aligned stack.
14602 (CHECK_RSP): Remove unused macro.
14603
dedc7c7b
UD
146042011-04-03 Ulrich Drepper <drepper@gmail.com>
14605
14606 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14607 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14608
94521213
UD
146092011-04-02 Ulrich Drepper <drepper@gmail.com>
14610
14611 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14612
8cb700c0 14613 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 14614
0354e355
L
146152011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14616
14617 [BZ #12518]
14618 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14619 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14620 * sysdeps/x86_64/memmove.c: New file.
14621 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14622 (memcpy): Renamed to ...
14623 (__new_memcpy): This.
14624 (memcpy): Provide GLIBC_2_14 memcpy.
14625 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14626 (memcpy): Provide GLIBC_2_2_5 memcpy.
14627
8593482f
UD
146282011-04-01 Ulrich Drepper <drepper@gmail.com>
14629
14630 [BZ #12631]
14631 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14632
81a5726b
AS
146332011-03-30 Andreas Schwab <schwab@redhat.com>
14634
14635 * misc/syncfs.c: New file.
14636 * misc/Makefile (routines): Add syncfs.
14637 * posix/unistd.h: Declare syncfs.
14638 * sysdeps/unix/syscalls.list: Add syncfs.
14639
00e5419f
AS
146402011-04-01 Andreas Schwab <schwab@redhat.com>
14641
14642 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14643 open_by_handle_at.
14644 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14645 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14646 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14647 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14648 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14649 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14650 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14651
748876bf
UD
146522011-04-01 Ulrich Drepper <drepper@gmail.com>
14653
658e451d
UD
14654 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14655 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14656 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14657 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14658 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14659 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14660 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14661
748876bf
UD
14662 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14663 sync_file_range.c with -fexceptions.
14664 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14665 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14666 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14667 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14668 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14669 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14670 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
14671 sync_file_range as cancellation point
14672 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14673 now a wrapper around __call_sync_file_range with cancellation handling.
14674 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14675 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14676 function name to __call_sync_file_range.
14677 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14678 Add call_sync_file_range.
748876bf 14679
6e63d5e1
AS
146802011-04-01 Andreas Schwab <schwab@redhat.com>
14681
14682 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 14683 bits/timex.h.
6e63d5e1 14684
46998f74
UD
146852011-04-01 Ulrich Drepper <drepper@gmail.com>
14686
4c1423ed
UD
14687 * iconv/iconv.h: Fix typo in comment.
14688 * io/fcntl.h: Likewise.
14689 * libio/stdio.h: Likewise.
14690 * posix/spawn.h: Likewise.
14691 * posix/unistd.h: Likewise.
14692 * stdlib/stdlib.h: Likewise.
14693 * time/time.h: Likewise.
14694 * wcsmbs/wchar.h: Likewise.
14695
158648c0
UD
14696 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14697 open_by_handle): Add.
14698 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14699 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14700 Augment a few comments.
14701 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14702 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14703 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14704 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14705 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14706 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14707 open_by_handle.
14708
46998f74
UD
14709 * io/fcntl.h (AT_EMPTY_PATH): Define.
14710
83fe108b
UD
147112011-03-30 Ulrich Drepper <drepper@gmail.com>
14712
14713 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14714 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14715 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14716 to...
14717 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
14718 * Versions.def: Add GLIBC_2.14.
14719 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14720 Export.
83fe108b 14721
bb242059
UD
147222011-03-22 Ulrich Drepper <drepper@gmail.com>
14723
14724 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14725 round counter.
14726 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14727
c97a1282
L
147282011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14729
14730 [BZ #12597]
14731 * string/test-strncmp.c (do_page_test): New function.
14732 (check2): Likewise.
14733 (test_main): Call check2.
14734 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14735
2a115601
UD
147362011-03-20 Ulrich Drepper <drepper@gmail.com>
14737
14738 [BZ #12587]
14739 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14740 Handle cache information in CPU leaf 4.
14741 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14742
8126d904
UD
147432011-03-18 Ulrich Drepper <drepper@gmail.com>
14744
042c49c6 14745 [BZ #12583]
8126d904
UD
14746 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14747 character representation.
14748 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14749
ccfe366e
RA
147502011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14751
14752 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14753 END(__isnan) to END(__isnanf) to match function entry point/label
14754 EALIGN(__isnanf,...).
14755
c6e13027
JJ
147562011-03-10 Jakub Jelinek <jakub@redhat.com>
14757
14758 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14759
33f85a3f
UD
147602011-03-10 Ulrich Drepper <drepper@gmail.com>
14761
028478fa
UD
14762 [BZ #12510]
14763 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14764 copy from the symbol referenced in the relocation to initialize the
14765 used variable.
14766 Patch by Piotr Bury <pbury@goahead.com>.
14767 * elf/Makefile: Add rules to build and tst-unique3.
14768 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14769 * elf/tst-unique3.cc: New file.
14770 * elf/tst-unique3.h: New file.
14771 * elf/tst-unique3lib.cc: New file.
14772 * elf/tst-unique3lib2.cc: New file.
14773
33f85a3f
UD
14774 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14775
03592fc7
MF
147762011-03-10 Mike Frysinger <vapier@gentoo.org>
14777
14778 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14779 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14780 to _start.
03592fc7 14781
6a5ee102
UD
147822011-03-06 Ulrich Drepper <drepper@gmail.com>
14783
14784 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14785 to-be-loaded object along a path to loader is ld.so.
14786
7e4ba49c
HJ
147872011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14788 Ulrich Drepper <drepper@gmail.com>
14789
14790 * sysdeps/x86_64/memset.S: After aligning destination, code
14791 branches to different locations depending on the value of
14792 misalignment, when multiarch is enabled. Fix this.
14793
147942011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14795
14796 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14797 Set _x86_64_preferred_memory_instruction for AMD processsors.
14798 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14799 Set bit_Prefer_SSE_for_memop for AMD processors.
14800
13a804de
UD
148012011-03-04 Ulrich Drepper <drepper@gmail.com>
14802
14803 * libio/fmemopen.c (fmemopen): Optimize a bit.
14804
9d25c392
AS
148052011-03-03 Andreas Schwab <schwab@redhat.com>
14806
14807 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14808
a5543c6a
RM
148092011-03-03 Roland McGrath <roland@redhat.com>
14810
14811 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14812
012d35f7
DM
148132011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14814
7e4ba49c 14815 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
14816 __bzero_ultra1 instead of __memset_ultra1.
14817
4bff6e01
AS
148182011-02-23 Andreas Schwab <schwab@redhat.com>
14819 Ulrich Drepper <drepper@gmail.com>
14820
14821 [BZ #12509]
14822 * include/link.h (struct link_map): Add l_orig_initfini.
14823 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14824 returning unsuccessfully.
14825 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14826 close of a file loaded at startup, restore the original l_initfini
14827 list.
14828 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14829 list, store the pointer.
14830 * elf/Makefile ($(objpfx)noload-mem): New rule.
14831 (noload-ENV): Define.
14832 (tests): Add $(objpfx)noload-mem.
14833 * elf/noload.c: Include <memcheck.h>.
14834 (main): Call mtrace. Close all opened handles.
14835
f2092faf
AS
148362011-02-17 Andreas Schwab <schwab@redhat.com>
14837
14838 [BZ #12454]
14839 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14840 dependencies are missing.
14841
6c8a2e88
ST
148422011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14843
f2092faf 14844 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
14845 Hurd needs munmap.
14846 * sysdeps/mach/hurd/ifreq.h: New file.
14847
84a42118
PB
148482011-01-27 Petr Baudis <pasky@suse.cz>
14849 Ulrich Drepper <drepper@gmail.com>
14850
071f805e 14851 [BZ 12445]#
84a42118
PB
14852 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14853 to extend_alloca().
14854 * stdio-common/bug23.c: New file.
14855 * stdio-common/Makefile (tests): Add bug23.
14856
e23fe25b
AS
148572010-09-28 Andreas Schwab <schwab@redhat.com>
14858 Ulrich Drepper <drepper@gmail.com>
14859
14860 [BZ #12489]
14861 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14862 before performing relro protection. At old place add assertion
14863 to make sure nothing changed.
14864
d3f02e10
NS
148652011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14866 Glauber de Oliveira Costa <glommer@gmail.com>
14867
14868 * elf/elf.h: Add new ARM TLS relocs.
14869
d55fd7a5
RA
148702011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14871
14872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14873 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14874 cast from r3.
14875 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14876 'tests' variable.
14877 * sysdeps/wordsize-64/tst-writev.c: New file.
14878
2206397e
RA
148792011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14880
14881 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14882 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14883 insns in _dl_start to prevent a TOC reference before relocs are
14884 resolved.
14885
e9433893
UD
148862011-02-15 Ulrich Drepper <drepper@gmail.com>
14887
14888 [BZ #12469]
14889 * Makeconfig: Remove RANLIB definition.
14890 * Makerules: Don't use RANLIB.
14891 * aclocal.m4: Remove ranlib test.
14892 * configure.in: No need to check for ranlib.
14893 * elf/rtld-Rules: Don't use RANLIB.
14894
f75286c6
ST
148952011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14896
8e31c82d
ST
14897 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14898 protection macro.
14899 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14900 inclusion protection macro.
14901
f75286c6
ST
14902 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14903 SIGRTMIN and SIGRTMAX and print information in that case only when
14904 SIGRTMIN is defined.
14905
c1d0e639
JJ
149062011-02-11 Jakub Jelinek <jakub@redhat.com>
14907
14908 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14909 arginfo fn returning -1.
14910
14911 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14912 and thousands string is zero terminated.
14913
edf9294e
AS
149142011-02-03 Andreas Schwab <schwab@redhat.com>
14915
14916 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14917 sysdeps/unix/sysv/linux/bits/socket.h.
14918
2b7e92df
ST
149192011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14920
edf9294e
AS
14921 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14922 (__CPU_COUNT): Remove old macros.
14923 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14924 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14925 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
14926 (__sched_cpualloc, __sched_cpufree): Add declarations.
14927
a4c7ea7b
UD
149282011-02-05 Ulrich Drepper <drepper@gmail.com>
14929
14930 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14931 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14932 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14933 (readdhstai): Return value of addhstaiX call.
14934 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14935 (addgrbyX): Return value returned by cache_addgr.
14936 (readdgrbyname): Return value returned by addgrbyX.
14937 (readdgrbygid): Likewise.
14938 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14939 (addpwbyX): Return value returned by cache_addpw.
14940 (readdpwbyname): Return value returned by addhstbyX.
14941 (readdpwbyuid): Likewise.
14942 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14943 (addservbyX): Return value returned by cache_addserv.
14944 (readdservbyname): Return value returned by addservbyX:
14945 (readdservbyport): Likewise.
14946 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14947 (addhstbyX): Return value returned by cache_addhst.
14948 (readdhstbyname): Return value returned by addhstbyX.
14949 (readdhstbyaddr): Likewise.
14950 (readdhstbynamev6): Likewise.
14951 (readdhstbyaddrv6): Likewise.
14952 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14953 (readdinitgroups): Return value returned by addinitgroupsX.
14954 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14955 (prune_cache): Keep track of timeout value of re-added entries.
14956 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14957 * nscd/nscd.h: Adjust prototypes of readd* functions.
14958
a0bf67cc
RM
149592011-02-04 Roland McGrath <roland@redhat.com>
14960
14961 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14962 (nis_stats): Likewise.
14963 * nis/nis_modify.c (nis_modify): Likewise.
14964 * nis/nis_remove.c (nis_remove): Likewise.
14965 * nis/nis_add.c (nis_add): Likewise.
14966
14967 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14968
14969 * posix/fnmatch_loop.c: Add some consts.
14970
14971 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14972
435b95eb
L
149732011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14974
14975 [BZ #12460]
14976 * config.make.in (config-cflags-novzeroupper): Define.
14977 * configure.in: Substitute libc_cv_cc_novzeroupper.
14978 * elf/Makefile (AVX-CFLAGS): Define.
14979 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14980 (CFLAGS-tst-auditmod4a.c): Likewise.
14981 (CFLAGS-tst-auditmod4b.c): Likewise.
14982 (CFLAGS-tst-auditmod6b.c): Likewise.
14983 (CFLAGS-tst-auditmod6c.c): Likewise.
14984 (CFLAGS-tst-auditmod7b.c): Likewise.
14985 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14986
8517b15e
UD
149872011-02-02 Ulrich Drepper <drepper@gmail.com>
14988
14989 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14990 function to the callback.
14991 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14992
10a656fe
AS
149932011-02-02 Andreas Schwab <schwab@redhat.com>
14994
14995 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14996 of errno.
14997
968dad0a
UD
149982011-01-19 Ulrich Drepper <drepper@gmail.com>
14999
9f94d2ea 15000 [BZ #11724]
968dad0a
UD
15001 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
15002 of constructors.
15003 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
15004 of destructors.
15005 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
15006
15007 [BZ #11724]
15008 * elf/Makefile: Add rules to build and run new test.
15009 * elf/tst-initorder.c: New file.
15010 * elf/tst-initorder.exp: New file.
15011 * elf/tst-initordera1.c: New file.
15012 * elf/tst-initordera2.c: New file.
15013 * elf/tst-initordera3.c: New file.
15014 * elf/tst-initordera4.c: New file.
15015 * elf/tst-initorderb1.c: New file.
15016 * elf/tst-initorderb2.c: New file.
15017 * elf/tst-order-a1.c: New file.
15018 * elf/tst-order-a2.c: New file.
15019 * elf/tst-order-a3.c: New file.
15020 * elf/tst-order-a4.c: New file.
15021 * elf/tst-order-b1.c: New file.
15022 * elf/tst-order-b2.c: New file.
15023 * elf/tst-order-main.c: New file.
15024 New test case by George Gensure <werkt0@gmail.com>.
15025
86e92359
UD
150262010-10-01 Andreas Schwab <schwab@redhat.com>
15027
15028 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15029 decoding ACE if AI_CANONIDN.
15030
5d5732b0
UD
150312011-01-18 Ulrich Drepper <drepper@gmail.com>
15032
15033 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
15034
a77e8cbc
UD
150352011-01-17 Ulrich Drepper <drepper@gmail.com>
15036
6392473f
UD
15037 * version.h (RELEASE): Bump for 2.13 release.
15038 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
15039
620a0529
UD
15040 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
15041
18ba70a5
UD
15042 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
15043 MADV_NOHUGEPAGE.
32465c3e
UD
15044 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
15045 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15046 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15047 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15048 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15049 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15050
c0dafcf1
UD
15051 * posix/getconf.c: Update copyright year.
15052 * catgets/gencat.c: Likewise.
15053 * csu/version.c: Likewise.
15054 * debug/catchsegv.sh: Likewise.
15055 * debug/xtrace.sh: Likewise.
15056 * elf/ldconfig.c: Likewise.
15057 * elf/ldd.bash.in: Likewise.
15058 * elf/sprof.c (print_version): Likewise.
15059 * iconv/iconv_prog.c: Likewise.
15060 * iconv/iconvconfig.c: Likewise.
15061 * locale/programs/locale.c: Likewise.
15062 * locale/programs/localedef.c: Likewise.
15063 * malloc/memusage.sh: Likewise.
15064 * malloc/mtrace.pl: Likewise.
15065 * nscd/nscd.c (print_version): Likewise.
15066 * nss/getent.c: Likewise.
15067
a77e8cbc
UD
15068 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
15069 PF_CAIF, and PF_ALG.
15070 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15071
77e8bddf
AS
150722011-01-16 Andreas Schwab <schwab@linux-m68k.org>
15073
1f20b93a
AS
15074 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
15075 (modules-names): Use them.
15076 (ifunc-test-modules, ifunc-pie-tests): Define.
15077 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
15078 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
15079 (test-extras): Likewise.
15080 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
15081 $(compile-command.c).
15082 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
15083 (all-built-dso): Define.
15084 (check-textrel.out, check-execstack.out): Depend on it.
15085
77e8bddf
AS
15086 * configure.in: Don't override --enable-multi-arch.
15087
bc425b33
UD
150882011-01-15 Ulrich Drepper <drepper@gmail.com>
15089
15090 [BZ #6812]
15091 * nscd/hstcache.c (tryagain): Define.
15092 (cache_addhst): Return tryagain not notfound for temporary errors.
15093 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
15094 failed.
15095
794c3ad3
UD
150962011-01-14 Ulrich Drepper <drepper@gmail.com>
15097
70181fdd
UD
15098 [BZ #10563]
15099 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
15100 to make the syscall.
15101 * sysdeps/unix/sysv/linux/setgroups.c: New file.
15102
794c3ad3
UD
15103 [BZ #12378]
15104 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
15105 and fall back to matching as normal character if the string ends before
15106 the matching ']' is found. This is what POSIX requires.
15107 * posix/testfnm.c: Adjust test result.
15108 * posix/globtest.sh: Adjust test result. Add new test.
15109 * posix/tst-fnmatch.input: Likewise.
15110 * posix/tst-fnmatch2.c: Add new test.
15111
68dc9497
AS
151122010-12-28 Andreas Schwab <schwab@linux-m68k.org>
15113
15114 * elf/Makefile (check-execstack): Revert last change. Depend on
15115 check-execstack.h.
15116 (check-execstack.h): New target.
15117 (generated): Add check-execstack.h.
15118 * elf/check-execstack.c: Include "check-execstack.h".
15119 (main): Revert last change.
15120 (handle_file): Return zero if GNU_STACK is absent and
15121 DEFAULT_STACK_PERMS doesn't include PF_X.
15122
451f001b
UD
151232011-01-13 Ulrich Drepper <drepper@gmail.com>
15124
cfa28e56
UD
15125 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
15126 in child fails because the descriptor is already closed.
8cf8ce17
UD
15127 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
15128 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
15129 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 15130
1086d70d
UD
15131 [BZ #12397]
15132 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
15133 syscall.
15134
451f001b
UD
15135 [BZ #10484]
15136 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
15137 temporary buffer used to handle multi lookups locally.
a85b5cb4 15138 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 15139
08769175
UD
151402011-01-12 Ulrich Drepper <drepper@gmail.com>
15141
15142 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
15143 loader is ld.so.
15144
5e49c52e
UD
151452011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
15146
15147 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
15148 alignment for SSE2.
15149
60522a5f
UD
151502011-01-12 Ulrich Drepper <drepper@gmail.com>
15151
15152 [BZ #12394]
15153 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
15154 characters. When rounding increased number of integer digits recompute
15155 number of groups.
15156 * stdio-common/tst-grouping.c: New file.
15157 * stdio-common/Makefile: Add rules to build and run tst-grouping.
15158
f257bbd7
UD
151592011-01-09 Ulrich Drepper <drepper@gmail.com>
15160
15161 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15162 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
15163
15164 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15165 void.
15166 * bits/select.h: Likewise.
15167
fa9c15cb
UD
151682011-01-08 Ulrich Drepper <drepper@gmail.com>
15169
15170 * po/ja.po: Update from translation team.
15171
16c2895f
DM
151722011-01-04 David S. Miller <davem@sunset.davemloft.net>
15173
15174 [BZ #11155]
15175 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15176 implementation just like for lxstat, fxstatat, et al.
15177
2543fef2
JM
151782010-12-27 Jim Meyering <meyering@redhat.com>
15179
15180 [BZ #12348]
15181 * posix/regexec.c (build_trtable): Return failure indication upon
15182 calloc failure. Otherwise, re_search_internal could infloop on OOM.
15183
98727dbe
UD
151842010-12-25 Ulrich Drepper <drepper@gmail.com>
15185
5bd6dc5c
UD
15186 [BZ #12201]
15187 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15188 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15189 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15190 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15191
97983464
UD
15192 [BZ #12207]
15193 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15194
98727dbe
UD
15195 [BZ #12204]
15196 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15197 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15198
4a531bb0
L
151992010-12-15 H.J. Lu <hongjiu.lu@intel.com>
15200
15201 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15202 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15203 script has SORT_BY_INIT_PRIORITY.
15204 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15205 NO_CTORS_DTORS_SECTIONS is defined.
15206 * elf/soinit.c: Likewise.
15207 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15208 NO_CTORS_DTORS_SECTIONS is defined.
15209 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15210 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15211 * sysdeps/sh/init-first.c: Likewise.
15212 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15213
07eb4b71
UD
152142010-12-24 Ulrich Drepper <drepper@gmail.com>
15215
15216 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15217 always use the slow path.
15218
30950a5f
RA
152192010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15220
15221 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15222 similar rule which adds the sysdep directories to the header search in
15223 order to pick up the correct platform stackinfo.h.
15224 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15225 perform test if it is, otherwise return successfully without testing.
15226 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15227 DEFAULT_STACK_PERMS define in stackinfo.h.
15228 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15229 defined in stackinfo.h.
15230 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15231 DEFAULT_STACK_PERMS defined in stackinfo.h.
15232 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15233 * sysdeps/ia64/stackinfo.h: Likewise.
15234 * sysdeps/s390/stackinfo.h: Likewise.
15235 * sysdeps/sh/stackinfo.h: Likewise.
15236 * sysdeps/sparc/stackinfo.h: Likewise.
15237 * sysdeps/x86_64/stackinfo.h: Likewise.
15238 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15239 PF_X for powerpc64. Retain PF_X for powerpc32.
15240
db753e2c
UD
152412010-12-19 Ulrich Drepper <drepper@gmail.com>
15242
14b697f7
UD
15243 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15244 accurately.
db753e2c
UD
15245 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15246 GETDENTS_64BIT_ALIGNED.
15247
28300719
UD
152482010-12-14 Ulrich Drepper <dreper@gmail.com>
15249
14b697f7 15250 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 15251
4f197237
AS
152522010-12-10 Andreas Schwab <schwab@redhat.com>
15253
dbb0472f
AS
15254 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15255 _GNU_SOURCE.
15256
4f197237
AS
15257 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15258 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15259 Remove __restrict.
15260 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15261 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15262
fb88ac72
UD
152632010-12-09 Ulrich Drepper <drepper@gmail.com>
15264
15265 [BZ #11655]
15266 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15267 are initialized.
15268
42acbb92
JJ
152692010-12-09 Jakub Jelinek <jakub@redhat.com>
15270
15271 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15272
c038d98d
UD
152732010-12-03 Ulrich Drepper <drepper@gmail.com>
15274
15275 * po/it.po: Update from translation team.
15276
3a4a2499
L
152772010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15278
15279 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15280 unused codes.
15281
1e24cf6e
UD
152822010-11-30 Ulrich Drepper <drepper@gmail.com>
15283
15284 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15285
a7690819
AS
152862010-11-24 Andreas Schwab <schwab@redhat.com>
15287
15288 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15289 specially.
15290 (gaih_getanswer_slice): Likewise.
15291
3bf8d1b1
JJ
152922010-10-20 Jakub Jelinek <jakub@redhat.com>
15293
15294 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15295
6db52fbb
PB
152962010-05-31 Petr Baudis <pasky@suse.cz>
15297
15298 [BZ #11149]
15299 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15300 silently even in the chroot mode.
15301
eaca7569
UD
153022010-11-22 Ulrich Drepper <drepper@gmail.com>
15303
15304 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15305 last patch a bit. Pretty printing
15306
3056dcdb
UD
153072010-05-31 Petr Baudis <pasky@suse.cz>
15308
15309 [BZ #10085]
15310 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15311 initialization of skip_initgroups_dyn.
15312
cf7c9078
UD
153132010-11-19 Ulrich Drepper <drepper@gmail.com>
15314
15315 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15316 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15317
a1fb5e3e
UD
153182010-11-16 Ulrich Drepper <drepper@gmail.com>
15319
15320 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15321
3540d66b
AS
153222010-11-11 Andreas Schwab <schwab@redhat.com>
15323
15324 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15325 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15326 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15327 ($(objpfx)tst-fnmatch-mem): New rule.
15328 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15329 * posix/tst-fnmatch.c (main): Call mtrace.
15330
13b69574
L
153312010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15332
15333 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15334 Support Intel processor model 6 and model 0x2c.
15335
da93d214
LM
153362010-11-10 Luis Machado <luisgpm@br.ibm.com>
15337
15338 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15339 signed comparison.
15340
8ca52c6e
L
153412010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15342
15343 [BZ #12205]
15344 * string/test-strncasecmp.c (check_result): New function.
15345 (do_one_test): Use it.
15346 (check1): New function.
15347 (test_main): Use it.
15348 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15349 Support strcasecmp and strncasecmp.
15350
69da074d
UD
153512010-11-08 Ulrich Drepper <drepper@gmail.com>
15352
15353 [BZ #12194]
15354 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15355 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15356
ff02d528
L
153572010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15358
15359 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15360 IFUNC support.
15361 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15362 memset-x86-64.
15363 * sysdeps/x86_64/multiarch/bzero.S: New file.
15364 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15365 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15366 * sysdeps/x86_64/multiarch/memset.S: New file.
15367 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15368 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15369 Set bit_Prefer_SSE_for_memop for Intel processors.
15370 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15371 Define.
15372 (index_Prefer_SSE_for_memop): Define.
15373 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15374
344d0b54
LM
153752010-11-04 Luis Machado <luisgpm@br.ibm.com>
15376
15377 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15378 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15379
c0dde15b
UD
153802010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15381
15382 [BZ #12191]
15383 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15384 (__x86_64_raw_data_cache_size_half): Likewise.
15385 (__x86_64_raw_shared_cache_size): Likewise.
15386 (__x86_64_raw_shared_cache_size_half): Likewise.
15387
15388 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15389 (__x86_64_raw_data_cache_size_half): Likewise.
15390 (__x86_64_raw_shared_cache_size): Likewise.
15391 (__x86_64_raw_shared_cache_size_half): Likewise.
15392 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15393 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15394 and __x86_64_raw_shared_cache_size_half. Round
15395 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15396 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15397 to multiple of 256 bytes.
15398
0e516e0e
MS
153992010-11-03 Ulrich Drepper <drepper@gmail.com>
15400
15401 [BZ #12167]
15402 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15403 of inacessible symlinks. Verify result of symlink before returning it.
15404 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15405 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15406
0e012e87
ER
154072010-10-28 Erich Ritz <erichritz@gmail.com>
15408
15409 * math/math.h (isinf): Fix typo in comment.
15410
de0ff7bc
UD
154112010-11-01 Ulrich Drepper <drepper@gmail.com>
15412
15413 * po/da.po: Update from translation team.
15414
fa41c84d
UD
154152010-10-26 Ulrich Drepper <drepper@gmail.com>
15416
15417 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15418 is added to the list.
15419
f0967738
AK
154202010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15421 Ulrich Drepper <drepper@gmail.com>
15422
15423 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15424 the global list here. Move code to...
15425 (_dl_add_to_namespace_list): ...here. New function.
15426 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15427 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15428 * elf/dl-load.c (lose): Don't remove the element from the list.
15429 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15430 (_dl_map_object): Likewise.
15431
154322010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
15433
15434 [BZ #12159]
15435 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15436 into all bytes of SSE register.
15437 Patch by Richard Li <richardpku@gmail.com>.
15438
f0967738 154392010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
15440
15441 [BZ #12140]
15442 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15443 perturbing.
15444
d0b9e94f
MB
154452010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15446
15447 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15448 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15449 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15450 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15452 submachine.
15453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15454
8e9f92e9
AS
154552010-10-22 Andreas Schwab <schwab@redhat.com>
15456
15457 * include/dlfcn.h (__RTLD_SECURE): Define.
15458 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15459 mode & __RTLD_SECURE instead.
15460 (open_path): Rename preloaded parameter to secure.
15461 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15462 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15463 * elf/dl-deps.c (openaux): Likewise.
15464 * elf/rtld.c (struct map_args): Remove is_preloaded.
15465 (map_doit): Don't use it.
15466 (dl_main): Likewise.
15467 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15468 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15469
bc96fbda
AS
154702010-09-09 Andreas Schwab <schwab@redhat.com>
15471
15472 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15473 (sysd-rules-targets): Remove duplicates.
15474 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15475 rtld-%.$o dependency.
15476
22cd1c9b
AS
154772010-10-18 Andreas Schwab <schwab@redhat.com>
15478
15479 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15480 _dl_map_object do it.
15481
18edac48
UD
154822010-10-19 Ulrich Drepper <drepper@gmail.com>
15483
15484 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15485 fast fma builtins, define the macros in the C99 standard.
15486 (FP_FAST_FMAF): Likewise.
15487 (FP_FAST_FMAL): Likewise.
15488 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15489
15490 * bits/mathdef.h: Update copyright year.
15491 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15492
d2050124
MM
154932010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15494
15495 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15496 builtins, define the macros in the C99 standard.
15497 (FP_FAST_FMAF): Likewise.
15498 (FP_FAST_FMAL): Likewise.
15499 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15500 multiply/add.
15501 (FP_FAST_FMAF): Likewise.
15502
475facd1
JJ
155032010-10-15 Jakub Jelinek <jakub@redhat.com>
15504
15505 [BZ #3268]
15506 * math/libm-test.inc (fma_test): Some new testcases.
15507 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15508 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15509 y and infinite z. Do multiplication by C already in long double.
15510 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15511 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15512 y and infinite z. Do bitwise or of inexact bit into u.d.
15513 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15514 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15515 * sysdeps/i386/fpu/s_fma.S: Removed.
15516 * sysdeps/i386/fpu/s_fmal.S: Removed.
15517
7c08a05c
JJ
155182010-10-16 Jakub Jelinek <jakub@redhat.com>
15519
15520 [BZ #3268]
15521 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15522 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15523 computation is not scheduled after fetestexcept. Fix value
15524 of minimum denormal long double.
15525
f3f7372d
JJ
155262010-10-14 Jakub Jelinek <jakub@redhat.com>
15527
15528 [BZ #3268]
15529 * math/libm-test.inc (fma_test): Add some more tests.
15530 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15531 correctly.
15532
14d43591
AS
155332010-10-15 Andreas Schwab <schwab@redhat.com>
15534
15535 * scripts/data/localplt-s390-linux-gnu.data: New file.
15536 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15537
5e908464
JJ
155382010-10-13 Jakub Jelinek <jakub@redhat.com>
15539
15540 [BZ #3268]
15541 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15542 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15543 instead of dbl-64.
15544 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15545 inlines.
15546 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15547 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15548 if one of x and y is very large and the other is subnormal.
15549 * sysdeps/s390/fpu/s_fmaf.c: New file.
15550 * sysdeps/s390/fpu/s_fma.c: New file.
15551 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15552 * sysdeps/powerpc/fpu/s_fma.S: New file.
15553 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15554 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15555 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15556
155572010-10-12 Jakub Jelinek <jakub@redhat.com>
15558
15559 [BZ #3268]
15560 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15561 fma tests.
15562 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15563 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15564 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15565 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15566 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15567 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15568 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15569
b833d51f
UD
155702010-10-12 Ulrich Drepper <drepper@redhat.com>
15571
15572 [BZ #12078]
15573 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15574 * posix/bug-regex31.input: Add test case.
15575
1751705d
UD
155762010-10-11 Ulrich Drepper <drepper@gmail.com>
15577
e9b9cbf5
UD
15578 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15579 * posix/bug-regex31.input: New file.
15580
15581 [BZ #12078]
15582 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15583 (parse_sub_exp): Fix last change, use postorder.
15584
ef06edbe
UD
15585 * posix/bug-regex31.c: New file.
15586 * posix/Makefile: Add rules to build and run bug-regex31.
15587
a129c80d
UD
15588 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15589
15590 [BZ #12078]
15591 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15592
b76b818e
UD
15593 [BZ #12108]
15594 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15595 to have entries in sys_siglist.
15596
1751705d
UD
15597 [BZ #12093]
15598 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15599 be NULL.
15600
9ff8d36f
JJ
156012010-10-07 Jakub Jelinek <jakub@redhat.com>
15602
15603 [BZ #3268]
15604 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15605 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15606 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15607 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15608 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15609 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15610 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15611 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15612 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15613 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15614 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15615 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15616 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15617 * math/ftestexcept.c (fetestexcept): Likewise.
15618 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15619 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15620 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15621 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15622 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15623 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15624 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15625
af325969
UD
156262010-10-11 Ulrich Drepper <drepper@gmail.com>
15627
c579b202 15628 [BZ #12107]
af325969
UD
15629 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15630 newline.
15631
67a67b95
UD
156322010-10-06 Ulrich Drepper <drepper@gmail.com>
15633
15634 * string/bug-strstr1.c: New file.
15635 * string/Makefile: Add rules to build and run bug-strstr1.
15636
5fb308bc
EB
156372010-10-05 Eric Blake <eblake@redhat.com>
15638
15639 [BZ #12092]
15640 * string/str-two-way.h (two_way_long_needle): Always clear memory
15641 when skipping input due to the shift table.
15642
45db99c7
UD
156432010-10-03 Ulrich Drepper <drepper@gmail.com>
15644
3b111893
UD
15645 [BZ #12005]
15646 * malloc/mcheck.c: Handle large requests.
15647
45db99c7
UD
15648 [BZ #12077]
15649 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15650 for strncmp and strncasecmp.
15651 * string/stratcliff.c: Add tests for strcmp and strncmp.
15652 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15653
cf7a1eb8
NI
156542010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15655
15656 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15657 __set_fpscr.
15658
6484ba5e
AJ
156592010-09-30 Andreas Jaeger <aj@suse.de>
15660
15661 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15662 (CGROUP_SUPER_MAGIC): Define.
15663 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15664 Handle btrfs and cgroup file systems.
15665 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15666 Likewise.
15667
91c42559
LM
156682010-09-27 Luis Machado <luisgpm@br.ibm.com>
15669
15670 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15671 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15672
87a97932
AK
156732010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15674
15675 [BZ #12067]
15676 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15677 trying to locate the ELF header.
15678
c21cc9bc
AS
156792010-09-27 Andreas Schwab <schwab@redhat.com>
15680
15681 [BZ #11611]
15682 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15683 Mask out sign-bit copies when constructing f_fsid.
15684
315970f6
PB
156852010-09-24 Petr Baudis <pasky@suse.cz>
15686
15687 * debug/stack_chk_fail_local.c: Add missing licence exception.
15688 * debug/warning-nop.c: Likewise.
15689
1ac7a2c7
JM
156902010-09-15 Joseph Myers <joseph@codesourcery.com>
15691
15692 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15693 implementing getdents64 using getdents syscall, set d_type if
15694 __ASSUME_GETDENTS32_D_TYPE.
15695
56801c50
AS
156962010-09-16 Andreas Schwab <schwab@redhat.com>
15697
15698 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15699 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15700
dda51327
UD
157012010-09-21 Ulrich Drepper <drepper@redhat.com>
15702
15703 [BZ #12037]
15704 * posix/unistd.h: Undo change of feature selection for ftruncate from
15705 2010-01-11.
15706
8ffcee4a
UD
157072010-09-20 Ulrich Drepper <drepper@redhat.com>
15708
a545ecd9 15709 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
15710 detection.
15711
e24f0a8b
AS
157122010-09-20 Andreas Schwab <schwab@redhat.com>
15713
15714 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15715 fanotify_mark.
15716 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15717
7291c56f
AS
157182010-09-14 Andreas Schwab <schwab@redhat.com>
15719
15720 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15721 variables after CHECK_SP call.
15722 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15723
bc5fb037
AS
157242010-09-13 Andreas Schwab <schwab@redhat.com>
15725 Ulrich Drepper <drepper@redhat.com>
15726
15727 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15728 re-relocationg ld.so.
15729 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15730 _dl_init_paths call.
15731 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15732 here anymore.
15733
e66e7419
UD
157342010-09-14 Ulrich Drepper <drepper@redhat.com>
15735
15736 * resolv/res_init.c (__res_vinit): Count the default server we added.
15737
c044aa75
CLT
157382010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15739 Ulrich Drepper <drepper@redhat.com>
15740
15741 [BZ #11968]
15742 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15743 (____longjmp_chk): Use %ebx for saving value across system call.
15744 Add unwind info.
15745
32cf4069
AS
157462010-09-06 Andreas Schwab <schwab@redhat.com>
15747
15748 * manual/Makefile: Don't mix pattern rules with normal rules.
15749
817328ee
AS
157502010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15751
15752 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15753 operation.
15754 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15755 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15756 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15757 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15758 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15759 Likewise.
15760
29fddf61
UD
157612010-09-04 Ulrich Drepper <drepper@redhat.com>
15762
15763 [BZ #11979]
15764 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15765 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15766
0959ffc9
UD
157672010-09-02 Ulrich Drepper <drepper@redhat.com>
15768
15769 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15770 * sysdeps/x86_64/addmul_1.S: Likewise.
15771 * sysdeps/x86_64/lshift.S: Likewise.
15772 * sysdeps/x86_64/mul_1.S: Likewise.
15773 * sysdeps/x86_64/rshift.S: Likewise.
15774 * sysdeps/x86_64/sub_n.S: Likewise.
15775 * sysdeps/x86_64/submul_1.S: Likewise.
15776
ece29840
ST
157772010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15778
0959ffc9
UD
15779 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15780 Define __sched_param instead of SCHED_* and sched_param when
ece29840 15781 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 15782 * bits/sched.h [__need_schedparam]
ece29840 15783 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
15784 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15785 (__defined_schedparam): Define to 1.
ece29840
ST
15786 (__sched_param): New structure, identical to sched_param.
15787 (__need_schedparam): Undefine.
15788
e53a31fe
MF
157892010-08-31 Mike Frysinger <vapier@gentoo.org>
15790
fdc0c10d
MF
15791 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15792 (epoll_create1): Declare.
15793
e53a31fe
MF
15794 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15795
a726d796
AS
157962010-08-31 Andreas Schwab <schwab@redhat.com>
15797
15798 [BZ #7066]
15799 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15800 shifting retval into place.
15801
2f3e3dc7
UD
158022010-09-01 Ulrich Drepper <drepper@redhat.com>
15803
f2933da9
UD
15804 * nis/rpcsvc/nis.h: Update copyright notice.
15805 * nis/rpcsvc/nis.x: Likewise.
15806 * nis/rpcsvc/nis_callback.h: Likewise.
15807 * nis/rpcsvc/nis_callback.x: Likewise.
15808 * nis/rpcsvc/nis_object.x: Likewise.
15809 * nis/rpcsvc/nis_tags.h: Likewise.
15810 * nis/rpcsvc/yp.h: Likewise.
15811 * nis/rpcsvc/yp.x: Likewise.
15812 * nis/rpcsvc/ypupd.h: Likewise.
15813 * nis/yp_xdr.c: Likewise.
15814 * nis/ypupdate_xdr.c: Likewise.
15815
2f3e3dc7
UD
15816 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15817 mainly the body of pmap_getport. Add parameters to specify timeouts.
15818 (pmap_getport): Use __libc_rpc_getport.
15819 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15820 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15821 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15822
f3dcc2f9
AS
158232010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15824
15825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15826 fanotify_mark.
15827
6d34eb5b
RM
158282010-08-27 Roland McGrath <roland@redhat.com>
15829
15830 * sysdeps/i386/i686/multiarch/Makefile
15831 (CFLAGS-varshift.c): New variable.
15832
9ea3de11
UD
158332010-08-27 Ulrich Drepper <drepper@redhat.com>
15834
c96d23fc
UD
15835 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15836 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15837
9ea3de11
UD
15838 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15839
15840 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15841
623aac7f
L
158422010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15843
15844 * sysdeps/x86_64/strlen.S: Unroll the loop.
15845 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15846 strlen-sse2 strlen-sse2-bsf.
15847 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15848 __strlen_no_bsf if bit_Slow_BSF is set.
15849 (__strlen_sse42): Removed.
15850 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15851 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15852
8b2b7715
RM
158532010-08-25 Roland McGrath <roland@redhat.com>
15854
15855 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15856 * sysdeps/x86_64/multiarch/varshift.c: New file.
15857 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15858 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15859 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15860 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15861
e73015f2
L
158622010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15863
15864 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15865 strlen-sse2 strlen-sse2-bsf.
15866 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15867 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15868 (__strlen_sse2): Removed.
15869 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15870 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15871 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15872 bit_Slow_BSF for Atom.
15873 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15874 (index_Slow_BSF): Define.
15875 (HAS_SLOW_BSF): Define.
15876
df24a73e
UD
158772010-08-25 Ulrich Drepper <drepper@redhat.com>
15878
15879 [BZ #10851]
15880 * resolv/res_init.c (__res_vinit): When no server address at all
15881 is given default to loopback.
15882
f2ac4868
RM
158832010-08-24 Roland McGrath <roland@redhat.com>
15884
09055553
RM
15885 * configure.in: Remove config-name.h generation.
15886 * configure: Regenerated.
15887 * config-name.in: File removed.
15888 * scripts/config-uname.sh: New file.
15889 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15890 ($(objdir)config-name.h): New target.
15891
f2ac4868
RM
15892 * sunrpc/rpc_parse.h: Avoid nested comment.
15893
73f27d5e
RH
158942010-08-24 Richard Henderson <rth@redhat.com>
15895 Ulrich Drepper <drepper@redhat.com>
15896 H.J. Lu <hongjiu.lu@intel.com>
15897
15898 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15899 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15900 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15901 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15902 _mm_alignr_epi8 with _mm_loadu_si128.
15903 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15904 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15905 (__m128i_shift_right): Removed.
15906 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15907 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15908 * sysdeps/x86_64/multiarch/varshift.h: New file.
15909 * sysdeps/x86_64/multiarch/varshift.S: New file.
15910
84b9230c
MF
159112010-08-21 Mike Frysinger <vapier@gentoo.org>
15912
15913 * configure.in: Move assembler checks to before sysdep dir checking.
15914
9bbd0ddc
PB
159152010-08-20 Petr Baudis <pasky@suse.cz>
15916
15917 * LICENSES: Sync the sunrpc license.
15918
9da4bb31
UD
159192010-08-19 Ulrich Drepper <drepper@redhat.com>
15920
a7ab6ec8
UD
15921 * sunrpc/auth_des.c: Update copyright notice once again.
15922 * sunrpc/auth_none.c: Likewise.
15923 * sunrpc/auth_unix.c: Likewise.
15924 * sunrpc/authdes_prot.c: Likewise.
15925 * sunrpc/authuxprot.c: Likewise.
15926 * sunrpc/bindrsvprt.c: Likewise.
15927 * sunrpc/clnt_gen.c: Likewise.
15928 * sunrpc/clnt_perr.c: Likewise.
15929 * sunrpc/clnt_raw.c: Likewise.
15930 * sunrpc/clnt_simp.c: Likewise.
15931 * sunrpc/clnt_tcp.c: Likewise.
15932 * sunrpc/clnt_udp.c: Likewise.
15933 * sunrpc/clnt_unix.c: Likewise.
15934 * sunrpc/des_crypt.c: Likewise.
15935 * sunrpc/des_soft.c: Likewise.
15936 * sunrpc/get_myaddr.c: Likewise.
15937 * sunrpc/getrpcport.c: Likewise.
15938 * sunrpc/key_call.c: Likewise.
15939 * sunrpc/key_prot.c: Likewise.
15940 * sunrpc/openchild.c: Likewise.
15941 * sunrpc/pm_getmaps.c: Likewise.
15942 * sunrpc/pm_getport.c: Likewise.
15943 * sunrpc/pmap_clnt.c: Likewise.
15944 * sunrpc/pmap_prot.c: Likewise.
15945 * sunrpc/pmap_prot2.c: Likewise.
15946 * sunrpc/pmap_rmt.c: Likewise.
15947 * sunrpc/rpc/auth.h: Likewise.
15948 * sunrpc/rpc/auth_unix.h: Likewise.
15949 * sunrpc/rpc/clnt.h: Likewise.
15950 * sunrpc/rpc/des_crypt.h: Likewise.
15951 * sunrpc/rpc/key_prot.h: Likewise.
15952 * sunrpc/rpc/netdb.h: Likewise.
15953 * sunrpc/rpc/pmap_clnt.h: Likewise.
15954 * sunrpc/rpc/pmap_prot.h: Likewise.
15955 * sunrpc/rpc/pmap_rmt.h: Likewise.
15956 * sunrpc/rpc/rpc.h: Likewise.
15957 * sunrpc/rpc/rpc_des.h: Likewise.
15958 * sunrpc/rpc/rpc_msg.h: Likewise.
15959 * sunrpc/rpc/svc.h: Likewise.
15960 * sunrpc/rpc/svc_auth.h: Likewise.
15961 * sunrpc/rpc/types.h: Likewise.
15962 * sunrpc/rpc/xdr.h: Likewise.
15963 * sunrpc/rpc_clntout.c: Likewise.
15964 * sunrpc/rpc_cmsg.c: Likewise.
15965 * sunrpc/rpc_common.c: Likewise.
15966 * sunrpc/rpc_cout.c: Likewise.
15967 * sunrpc/rpc_dtable.c: Likewise.
15968 * sunrpc/rpc_hout.c: Likewise.
15969 * sunrpc/rpc_main.c: Likewise.
15970 * sunrpc/rpc_parse.c: Likewise.
15971 * sunrpc/rpc_parse.h: Likewise.
15972 * sunrpc/rpc_prot.c: Likewise.
15973 * sunrpc/rpc_sample.c: Likewise.
15974 * sunrpc/rpc_scan.c: Likewise.
15975 * sunrpc/rpc_scan.h: Likewise.
15976 * sunrpc/rpc_svcout.c: Likewise.
15977 * sunrpc/rpc_tblout.c: Likewise.
15978 * sunrpc/rpc_util.c: Likewise.
15979 * sunrpc/rpc_util.h: Likewise.
15980 * sunrpc/rpcinfo.c: Likewise.
15981 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15982 * sunrpc/rpcsvc/key_prot.x: Likewise.
15983 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15984 * sunrpc/rpcsvc/mount.x: Likewise.
15985 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15986 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15987 * sunrpc/rpcsvc/rex.x: Likewise.
15988 * sunrpc/rpcsvc/rstat.x: Likewise.
15989 * sunrpc/rpcsvc/rusers.x: Likewise.
15990 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15991 * sunrpc/rpcsvc/spray.x: Likewise.
15992 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15993 * sunrpc/rtime.c: Likewise.
15994 * sunrpc/svc.c: Likewise.
15995 * sunrpc/svc_auth.c: Likewise.
15996 * sunrpc/svc_authux.c: Likewise.
15997 * sunrpc/svc_raw.c: Likewise.
15998 * sunrpc/svc_run.c: Likewise.
15999 * sunrpc/svc_simple.c: Likewise.
16000 * sunrpc/svc_tcp.c: Likewise.
16001 * sunrpc/svc_udp.c: Likewise.
16002 * sunrpc/svc_unix.c: Likewise.
16003 * sunrpc/svcauth_des.c: Likewise.
16004 * sunrpc/xcrypt.c: Likewise.
16005 * sunrpc/xdr.c: Likewise.
16006 * sunrpc/xdr_array.c: Likewise.
16007 * sunrpc/xdr_float.c: Likewise.
16008 * sunrpc/xdr_mem.c: Likewise.
16009 * sunrpc/xdr_rec.c: Likewise.
16010 * sunrpc/xdr_ref.c: Likewise.
16011 * sunrpc/xdr_sizeof.c: Likewise.
16012 * sunrpc/xdr_stdio.c: Likewise.
16013
9da4bb31
UD
16014 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
16015 handling.
16016
bdaa77bc
AS
160172010-08-19 Andreas Schwab <schwab@redhat.com>
16018
16019 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
16020
fe2f79db
LM
160212010-08-19 Luis Machado <luisgpm@br.ibm.com>
16022
16023 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
16024 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
16025 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
16026 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
16027 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
16028 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
16029 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
16030 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
16031 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
16032 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
16033 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
16034 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
16035 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
16036 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
16037
b9b42ee0
AB
160382010-07-26 Anton Blanchard <anton@samba.org>
16039
16040 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
16041 * malloc/arena.c (heap_trim): Likewise.
16042
1c06ba31
UD
160432010-08-16 Ulrich Drepper <drepper@redhat.com>
16044
16045 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
16046 here. Not...
16047 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
16048 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
16049
f8392f40
L
160502010-08-12 H.J. Lu <hongjiu.lu@intel.com>
16051
16052 * sysdeps/i386/elf/Makefile: New file.
16053
3162f12e
AS
160542010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16055
16056 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
16057 from fanotify_init.
16058 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
16059 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16060
28c90b2c
UD
160612010-08-15 Ulrich Drepper <drepper@redhat.com>
16062
16063 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
16064 of strncasecmp_l.
1feccb6c 16065 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 16066
ca6bb004
UD
160672010-08-14 Ulrich Drepper <drepper@redhat.com>
16068
e9f82e0d
UD
16069 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16070 strncase_l-nonascii.
16071 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16072 Add strncase_l-ssse3.
16073 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
16074 * sysdeps/x86_64/strcmp.S: Likewise.
16075 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
16076 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
16077 * sysdeps/x86_64/strncase.S: New file.
16078 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
16079 * sysdeps/x86_64/strncase_l.S: New file.
16080 * string/Makefile (strop-tests): Add strncasecmp.
16081 * string/test-strncasecmp.c: New file.
16082
16083 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
16084 warning.
16085
ca6bb004
UD
16086 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
16087 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
16088
052fa7b3
AS
160892010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16090
16091 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
16092
962dba78
UD
160932010-08-12 Ulrich Drepper <drepper@redhat.com>
16094
16095 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
16096 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
16097 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
16098
bebff237
AM
160992010-05-01 Alan Modra <amodra@gmail.com>
16100
16101 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
16102 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
16103 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
16104 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
16105 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
16106 tidying. Don't tail-call __sigjmp_save for static lib.
16107 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
16108 save location.
16109 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
16110 (CALL_MCOUNT): Add eh info, and nop after bl.
16111 (TAIL_CALL_SYSCALL_ERROR): New macro.
16112 (PSEUDO_RET): Use it.
16113 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16114 Correct save location of integer regs and cr.
16115 (_dl_profile_resolve): Correct cr save location. Delete nops
16116 after bl when SHARED. Reduce cfi size a little by better
16117 placement of cfi directives.
16118 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
16119 make a stack frame. Instead use parm save area as a temp.
16120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
16121 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
16122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16123 Don't make a stack frame for parent, use parm save area.
16124 Increase child stack frame to 112 bytes. Don't save unused reg,
16125 and adjust reg usage. Set up cfi on error recovery and
16126 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
16127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16128 (__makecontext): Add dummy nop after jump to exit.
16129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
16130 Use correct parm save area and cr save, reduce stack frame.
16131 Correct cfi for possible PSEUDO_RET frame setup.
16132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
16133 Branch to local label emitted by PSEUDO_RET rather than
16134 __syscall_error.
16135
02637374
AS
161362010-08-12 Andreas Schwab <schwab@redhat.com>
16137
16138 [BZ #11904]
16139 * locale/programs/locale.c (print_assignment): New function.
16140 (show_locale_vars): Use it.
16141
c3e2f19b
UD
161422010-08-11 Ulrich Drepper <drepper@redhat.com>
16143
3cdaa6ad
UD
16144 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
16145 field.
16146 (struct statfs64): Likewise.
16147 (_STATFS_F_FLAGS): Define.
16148 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
16149 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16150 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
16151 (ST_VALID): Define locally.
16152 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
16153 __statvfs_getflags, use the provided value.
16154 * sysdeps/unix/sysv/linux/kernel-features.h: Define
16155 __ASSUME_STATFS_F_FLAGS.
16156
754f7da3
UD
16157 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
16158
10b3bedc
UD
16159 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
16160 Add sys/fanotify.h.
16161 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16162 fanotify_mask for GLIBC_2.13.
16163 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16164 fanotify_init and fanotify_mark.
16165 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16166 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16167
c08fb0d7
UD
16168 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16169 Add prlimit.
16170 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16171 prlimit64 for GLIBC_2.13.
16172 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16173 prlimit64.
16174 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16175 syscall.
16176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16177 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16178 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16179 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16180 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
16181 add prlimit alias.
16182 * sysdeps/unix/sysv/linux/prlimit.c: New file.
16183
15bac72b
UD
16184 [BZ #11903]
16185 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16186 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16187
c3e2f19b
UD
16188 * nss/Makefile: Add rules to build and run tst-nss-test1.
16189 * shlib-versions: Add entry for libnss_test1.
16190 * nss/nss_test1.c: New file.
16191 * nss/tst-nss-test1.c: New file.
16192
16193 * nss/nsswitch.c (__nss_database_custom): Define new variable.
16194 (__nss_configure_lookup): Set appropriate entry in
16195 __nss_configure_lookup to true.
16196 * nss/nsswitch.h: Define enum with indeces of databases in
16197 databases and __nss_database_custom arrays. Declare
16198 __nss_database_custom.
16199 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16200 to avoid using nscd when custom rules are installed.
16201 * nss/getXXbyYY_r.c: Likewise.
16202 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16203
16204 * nss/nss_files/files-parse.c: Whitespace fixes.
16205
f15ce4d8
UD
162062010-08-09 Ulrich Drepper <drepper@redhat.com>
16207
16208 [BZ #11883]
16209 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16210 * posix/fnmatch_loop.c: Likewise.
16211
d22e4cc9
AK
162122010-07-17 Andi Kleen <ak@linux.intel.com>
16213
16214 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16215 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16216 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16217 * Versions.def [GLIBC_2.13]: Add.
16218
805bc17d
UD
162192010-08-06 Ulrich Drepper <drepper@redhat.com>
16220
16221 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16222 Also fail if tpwd after pwuid call is NULL.
16223
5a42321d
ST
162242010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16225
16226 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16227 when converting to ms.
16228
fd3ebeda
ST
162292010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16230
16231 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16232 EOPNOTSUPP errors with ENOTTY.
16233 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16234 EOPNOTSUPP errors with ENOTTY.
16235
73507d3a
UD
162362010-07-31 Ulrich Drepper <drepper@redhat.com>
16237
16238 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16239 Add strcasecmp_l-ssse3.
16240 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16241 strcasecmp.
16242 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16243 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16244 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16245
fe36dd02
UD
162462010-07-30 Ulrich Drepper <drepper@redhat.com>
16247
66f6765a
UD
16248 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16249
42e08a54
UD
16250 * string/Makefile (strop-tests): Add strcasecmp.
16251 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16252 strcasecmp_l-nonascii.
16253 (gen-as-const-headers): Add locale-defines.sym.
16254 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16255 * sysdeps/x86_64/strcasecmp.S: New file.
16256 * sysdeps/x86_64/strcasecmp_l.S: New file.
16257 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16258 * sysdeps/x86_64/locale-defines.sym: New file.
16259 * string/test-strcasecmp.c: New file.
16260
fe36dd02
UD
16261 * string/test-strcasestr.c: Test both ends of the range of characters.
16262 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16263
48cbc0d6
RM
162642010-07-29 Roland McGrath <roland@redhat.com>
16265
76e6d6bc 16266 [BZ #11856]
48cbc0d6
RM
16267 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16268
880113d9
UD
162692010-07-27 Ulrich Drepper <drepper@redhat.com>
16270
16271 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16272 for ld.so.
16273
deb9cabb
AS
162742010-07-27 Andreas Schwab <schwab@redhat.com>
16275
16276 * manual/memory.texi (Malloc Tunable Parameters): Document
16277 M_PERTURB.
16278
1c7570ff
RM
162792010-07-26 Roland McGrath <roland@redhat.com>
16280
16281 [BZ #11840]
16282 * configure.in (-fgnu89-inline check): Set and substitute
16283 gnu89_inline, not libc_cv_gnu89_inline.
16284 * configure: Regenerated.
16285 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16286
24fb0f88
UD
162872010-07-26 Ulrich Drepper <drepper@redhat.com>
16288
16289 * string/test-strnlen.c: New file.
16290 * string/Makefile (strop-tests): Add strnlen.
16291 * string/tester.c (test_strnlen): Add a few more test cases.
16292 * string/tst-strlen.c: Better error reporting.
16293
16294 * sysdeps/x86_64/strnlen.S: New file.
16295
8e96b93a
UD
162962010-07-24 Ulrich Drepper <drepper@redhat.com>
16297
16298 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16299 lower-latency instructions.
16300
dbc676d4
UD
163012010-07-23 Ulrich Drepper <drepper@redhat.com>
16302
16303 * string/test-strcasestr.c: New file.
16304 * string/test-strstr.c: New file.
16305 * string/Makefile (strop-tests): Add strstr and strcasestr.
16306 * string/str-two-way.h: Don't undefine MAX.
16307 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16308
f6a31e0e
AS
163092010-07-21 Andreas Schwab <schwab@redhat.com>
16310
16311 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16312 strcasestr-nonascii.
16313 (CFLAGS-strcasestr-nonascii.c): Define.
16314 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16315 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16316 Remove unused attribute.
16317
5dbc3b6c
RM
163182010-07-20 Roland McGrath <roland@redhat.com>
16319
16320 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16321 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16322 ld.so.cache was broken. With it, there is no way to disable dsocaps
16323 like LD_HWCAP_MASK can disable hwcaps.
16324
23d101d8
EPM
163252010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16326
16327 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16328
cc9f2e47
UD
163292010-07-16 Ulrich Drepper <drepper@redhat.com>
16330
16331 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16332 call in strcasestr.
16333 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16334 __strcasestr_sse42_nonascii.
16335 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16336 strcasestr-nonascii.c.
16337 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16338
77c1b069
LM
163392010-06-15 Luis Machado <luisgpm@br.ibm.com>
16340
16341 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16342 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16343 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16344 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16345
440566c3
UD
163462010-07-09 Ulrich Drepper <drepper@redhat.com>
16347
16348 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16349 fcntl.
16350
5be9d05d
AS
163512010-07-06 Andreas Schwab <schwab@redhat.com>
16352
c30b7ee2 16353 [BZ #11577]
5be9d05d
AS
16354 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16355 dl_signal_cerror.
16356
8a492a67
UD
163572010-07-06 Ulrich Drepper <drepper@redhat.com>
16358
16359 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16360 _PC_PIPE_BUF using F_GETPIPE_SZ.
16361
713df3d5
RM
163622010-07-05 Roland McGrath <roland@redhat.com>
16363
16364 * manual/arith.texi (Rounding Functions): Fix rint description
16365 implicit in round description.
16366
702e8f14
UD
163672010-07-02 Ulrich Drepper <drepper@redhat.com>
16368
16369 * elf/Makefile: Fix linking for a few tests to make recent linker
16370 happy.
16371
52ed8be9
AS
163722010-06-30 Andreas Schwab <schwab@redhat.com>
16373
16374 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16375 $(common-objpfx)libc_nonshared.a.
16376
f47c9a11
LM
163772010-06-21 Luis Machado <luisgpm@br.ibm.com>
16378
16379 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16380 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16381 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16382 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16383 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16384 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16385 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16386 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16401 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16402 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16403 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16404 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16405 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16406 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16407 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16408 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16409 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16410 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16411 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16412 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16427
6fb8cbcb
L
164282010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16429
16430 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16431 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16432 * string/memmove.c (memmove): Renamed to ...
16433 (MEMMOVE): ...this. Default to memmove.
16434 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16435 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16436 (END_CHK): Define.
16437 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16438 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16439 mempcpy-ssse3-back memmove-ssse3-back.
16440 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16441 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16442 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16443 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16444 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16445 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16446 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16447 * sysdeps/x86_64/multiarch/memmove.c: New file.
16448 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16449 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16450 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16451 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16452 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16453 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16454 Define.
16455 (index_Fast_Copy_Backward): Define.
16456 (HAS_ARCH_FEATURE): Define.
16457 (HAS_FAST_REP_STRING): Define.
16458 (HAS_FAST_COPY_BACKWARD): Define.
16459
4e733bac 164602010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
16461
16462 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16463 Restore proper fallback handling.
16464
63c4ed22
UD
164652010-06-19 Ulrich Drepper <drepper@redhat.com>
16466
ac2b484c
UD
16467 [BZ #11701]
16468 * posix/group_member.c (__group_member): Correct checking loop.
16469
63c4ed22
UD
16470 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16471 OOM in getpwuid_r correctly. Return error number when the caller
16472 should return, otherwise -1.
16473 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16474 call returning > 0 value.
16475 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16476
765ade4b
AS
164772010-06-07 Andreas Schwab <schwab@redhat.com>
16478
16479 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16480 libc_nonshared.a from targets in modules-names.
16481
80da2e09
KS
164822010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16483
16484 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16485 requires it.
16486
158db122
LM
164872010-06-10 Luis Machado <luisgpm@br.ibm.com>
16488
16489 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16490 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16491 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16492 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16493
caa78cf8
AS
164942010-06-02 Andreas Schwab <schwab@redhat.com>
16495
16496 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16497
b2ef2c01
UD
164982010-06-14 Ulrich Drepper <drepper@redhat.com>
16499
16500 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16501 and F_GETPIPE_SZ.
16502 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16503 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16504 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16505 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16506 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16507 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16508
fbd643b6
RM
165092010-06-14 Roland McGrath <roland@redhat.com>
16510
16511 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16512
f32f2869
JJ
165132010-06-07 Jakub Jelinek <jakub@redhat.com>
16514
16515 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16516 __REDIRECT followed by __THROW.
16517 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16518 * posix/getopt.h (getopt): Likewise.
16519
2a50c078
EPM
165202010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16521
16522 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16523 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16524 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16525 in AT_FLAGS.
16526 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16527 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16528
eb5ad2eb
LM
165292010-05-28 Luis Machado <luisgpm@br.ibm.com>
16530
16531 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16532
3c88fe1e
L
165332010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16534
16535 [BZ #11640]
16536 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16537 Properly check family and model.
16538
d2f73151
TY
165392010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16540
16541 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16542
ebd2e13d
LM
165432010-05-24 Luis Machado <luisgpm@br.ibm.com>
16544
16545 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16546
b32b8b45
UD
165472010-05-21 Ulrich Drepper <drepper@redhat.com>
16548
16549 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16550 symbol reference.
16551
9acbe24d
AS
165522010-05-19 Andreas Schwab <schwab@redhat.com>
16553
16554 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16555 symbol reference.
16556
f0ccf6ea
AS
165572010-05-21 Andreas Schwab <schwab@redhat.com>
16558
3d04ff3a
AS
16559 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16560 and internal_recvmmsg.
16561 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16562 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16563 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16564 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16565
f0ccf6ea
AS
16566 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16567 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16568 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16569
5b08ac57
AS
165702010-05-20 Andreas Schwab <schwab@redhat.com>
16571
16572 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16573
4828935d
LM
165742010-05-17 Luis Machado <luisgpm@br.ibm.com>
16575
16576 POWER7 optimizations.
16577 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16578 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16579
373d545e
UD
165802010-05-19 Ulrich Drepper <drepper@redhat.com>
16581
16582 * version.h: Update for 2.13 development version.
16583
21a2b1ae
AS
165842010-05-12 Andrew Stubbs <ams@codesourcery.com>
16585
16586 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16587 exceptions. Return 0.
16588
3f7dcb2b
RM
165892010-05-07 Roland McGrath <roland@redhat.com>
16590
16591 * elf/ldconfig.c (main): Add a const.
16592
5f24d53a 165932010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 16594
a160f8d8
UD
16595 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16596 (args_options): Add no-idn option.
16597 (ahosts_keys_int): Add idn_flags to ai_flags.
16598 (parse_option): Handle 'i' option to clear idn_flags.
16599
5f24d53a
UD
16600 * malloc/malloc.c (_int_free): Possible race in the most recently
16601 added check. Only act on the data if no current modification
16602 happened.
265bb1ce
UD
16603
16604See ChangeLog.17 for earlier changes.