]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Update news for fixed alpha bz
[thirdparty/glibc.git] / ChangeLog
CommitLineData
ed1825f8
L
12012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2
25f1282a
L
3 [BZ #14117]
4 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
5 * sysdeps/x86/fpu/bits/mathinline.h: This.
6 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
7
ed1825f8
L
8 [BZ #14050]
9 [BZ #14117]
10 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11 functions if __x86_64__ is defined.
12
36d54b74
CLT
132012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
14
15 * string/endian.h: Add !__ASSEMBLER__ condition for including
16 conversion interfaces.
17
10285c21
JM
182012-06-15 Joseph Myers <joseph@codesourcery.com>
19
20 [BZ #14241]
21 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22 of ABS(x) in calculating zero to negative powers other than odd
23 integers.
24 * math/libm-test.inc (pow_test): Add more tests.
25
06c5abbd
AJ
262012-06-15 Andreas Jaeger <aj@suse.de>
27
28 * manual/contrib.texi (Contributors): Update entry of Liubov
29 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30 Machado Filho.
31
a3aeac40
CH
322012-06-15 Cyril Hrubis <metan@ucw.cz>
33
34 * string/string.h: Add __wur to GNU version of strerror_r.
35
49bdf4c1
L
362012-06-14 H.J. Lu <hongjiu.lu@intel.com>
37
38 [BZ #14229]
39 * string/Makefile (tests): Add tst-strtok_r.
40 * string/tst-strtok_r.c: New file.
41 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
42 RAX_LP/RDX_LP on SAVE_PTR.
43
834f9b8d
RM
442012-06-14 Roland McGrath <roland@hack.frob.com>
45
46 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
47
75fa1921
JM
482012-06-14 Joseph Myers <joseph@codesourcery.com>
49
50 * libm_test.inc (csqrt_test): Allow more spurious underflow
51 exceptions.
52 (j0_test): Likewise.
53 (j1_test): Likewise.
54 (y0_test): Likewise.
55 (y1_test): Likewise.
56
771766df
CD
572012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
58
59 * po/Makefile (libc.pot): Use UTF-8 charset.
60
ceb9e56b
PP
612012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
62
63 [BZ #14210]
64 Suppress sign-conversion warning from FD_SET.
65 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
66 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
67 not unsigned long int.
68 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
69
ddb28975
L
702012-06-12 H.J. Lu <hongjiu.lu@intel.com>
71
72 [BZ #14050]
73 [BZ #14117]
74 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
75 __extern_always_inline instead of __extern_inline.
76 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
77 (__signbit): Likewise.
78 (__signbitl): Support C++ namespace.
79 (lrintf): New inline function.
80 (lrint): Likewise.
81 (llrintf): Likewise.
82 (llrint): Likewise.
83 (fmaxf): Likewise.
84 (fmax): Likewise.
85 (fminf): Likewise.
86 (fmin): Likewise.
87 (rint): Likewise.
88 (rintf): Likewise.
89 (ceil): Likewise.
90 (ceilf): Likewise.
91 (floor): Likewise.
92 (floorf): Likewise.
93 (nearbyint): Likewise.
94 (nearbyintf): Likewise.
95
d7b4fb26
TS
962012-06-12 Thomas Schwinge <thomas@codesourcery.com>
97
98 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
99 non-default versions.
100
eb55f5c2
RM
1012012-06-11 Roland McGrath <roland@hack.frob.com>
102
103 [BZ #14218]
104 * manual/argp.texi (Argp): Reword argp_parse description slightly.
105
366af02c
TS
1062012-06-09 Thomas Schwinge <thomas@codesourcery.com>
107
99ff6e5c
TS
108 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
109 (FE_UPWARD, FE_DOWNWARD): Don't define.
110 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
111 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
112
366af02c
TS
113 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
114 reading it.
115 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
116 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
117
793ea851
KK
1182012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
119
120 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
121 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
122 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
123 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
124
a728a38f
L
1252012-06-06 H.J. Lu <hongjiu.lu@intel.com>
126
127 [BZ #14117]
c08010c7
L
128 * sysdeps/i386/fpu/bits/fenv.h: Removed.
129 * sysdeps/i386/fpu/Implies: New file.
130 * sysdeps/x86_64/fpu/Implies: Likewise.
131 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
132 * sysdeps/x86/fpu/bits/fenv.h: This.
133
a728a38f
L
134 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
135 __SSE_MATH__.
136
6e230d11
SP
1372012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
138
139 [BZ #14134]
140 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
141 character 0xffff that matches the last element of the
142 conversion table.
143
1b671feb
AZ
1442012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
145
146 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
147 fmodl commit.
148
6043738b
AZ
1492012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
150
151 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
152 values higher than 25.6283.
153
34ae0b32
AZ
1542012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
155
156 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
157 subnormal exponent extraction and add some __builtin_expect.
158 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
159 Fix for subnormal mantissa calculation.
160
1214ec8f
MF
1612012-06-04 Mike Frysinger <vapier@gentoo.org>
162
163 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
164 cpu2 is -1 and errno is not ENOSYS.
165
f3d1f93c
L
1662012-06-04 H.J. Lu <hongjiu.lu@intel.com>
167
168 [BZ #14117]
0e4a3cd7
L
169 * sysdeps/i386/i486/bits/string.h: Renamed to ...
170 * sysdeps/x86/bits/string.h: This.
171 * sysdeps/x86_64/bits/string.h: Removed.
172
6704c645
L
173 * sysdeps/i386/i486/bits/string.h: Define inline functions only
174 if not compiling for x86-64, but compiling for >= i486.
175
48495318
L
176 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
177 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
178
14adcbfc
L
179 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
180 New macro from Linux kernel 3.4.0.
181 (FP_XSTATE_MAGIC2): Likewise.
182 (FP_XSTATE_MAGIC2_SIZE): Likewise.
183 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
184 (struct _fpx_sw_bytes): New struct.
185 (struct _xsave_hdr): Likewise.
186 (struct _ymmh_state): Likewise.
187 (struct _xstate): Likewise.
188
68e408ab
L
189 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
190 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
191 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
192 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
193 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
194 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
195
f3d1f93c
L
196 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
197 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
198 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
199 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
200 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
201 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
202
d9dc34cd
TMQMF
2032012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
204
205 [BZ #13743]
206 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
207 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
208 (sysdep_headers): Include sys/platform/ppc.h.
209 * sysdeps/powerpc/test-gettimebase.c: Test for
210 __ppc_get_timebase() to catch future ISA opcode/insn changes.
211 * manual/Makefile (appendices): Include platform.texi.
212 * manual/contrib.texi (Contributors): Update @node pointers.
213 * manual/maint.texi (Maintenance): Likewise.
214 (Platform): New node.
215 * manual/platform.texi: New file. Document the new features.
216
4af3879c
SP
2172012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
218 Jakub Jelinek <jakub@redhat.com>
219
220 [BZ #14188]
221 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
222 where __builtin_expect is unavailable.
223
2fd6ff13
DM
2242012-06-03 David S. Miller <davem@davemloft.net>
225
226 * stdlib/longlong.h: Updated from GCC.
227
173f7220
AS
2282012-06-02 Andreas Schwab <schwab@linux-m68k.org>
229
230 [BZ #14042]
231 * sysdeps/powerpc/powerpc32/mcount.c: New file.
232 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
233 __mcount_internal.
234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
235 (GLIBC_2.16): Likewise.
236
f34a1c6f
L
2372012-06-01 H.J. Lu <hongjiu.lu@intel.com>
238
239 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
240
88a4576f
JM
2412012-06-01 Joseph Myers <joseph@codesourcery.com>
242
ea32bcdd
JM
243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
244 (default-abi): New variable.
245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
246 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
247 variable.
248 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
249 Likewise.
250 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
251 Likewise.
252 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
253 Likewise.
254
88a4576f
JM
255 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
256 definition. Document in comment.
257
402fe938
DM
2582012-06-01 David S. Miller <davem@davemloft.net>
259
260 * stdlib/longlong.h: Updated from GCC.
261
3553723f
L
2622012-06-01 H.J. Lu <hongjiu.lu@intel.com>
263
264 [BZ #14117]
3bd872c4
L
265 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
266 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
267 sys/debugreg.h sys/io.h here.
268 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
269 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
270 sys/io.h.
271 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
272 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
273 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
274 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
275 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
276 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
277
3553723f
L
278 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
279 Define only if __x86_64__ is defined.
280
4842e4fe
JM
2812012-06-01 Joseph Myers <joseph@codesourcery.com>
282
c5bfe3d5
JM
283 [BZ #14048]
284 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
285 Use int64_t for variable i.
286 * math/libm-test.inc (fmod_test): Add more tests.
287
4842e4fe
JM
288 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
289 z computation is not scheduled after fetestexcept.
290 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
291 Use math_force_eval instead of asm to ensure calculation scheduled
292 before exception test.
293 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
294 Ensure a1 + u.d computation is not scheduled after fetestexcept.
295
efb73488
AJ
2962012-06-01 Aurelien Jarno <aurelien@aurel32.net>
297
298 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
299 computation is not scheduled after fetestexcept.
300
29bcce7c
L
3012012-06-01 H.J. Lu <hongjiu.lu@intel.com>
302
303 [BZ #14117]
304 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
305 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
306
73a68f94
AZ
3072012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
308
309 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
310 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
311
67b6df78
L
3122012-05-31 H.J. Lu <hongjiu.lu@intel.com>
313
edf2933a 314 [BZ #14117]
ebc64a18
L
315 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
316 <bits/wordsize.h>.
317 (__WCHAR_MIN): Support __WORDSIZE == 64.
318 (__WCHAR_MAX): Likewise.
319
edf2933a
L
320 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
321 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
322
57c6cf40
L
323 [BZ #14183]
324 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
325 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
326
67b6df78 327 [BZ #14117]
8eb6281e
L
328 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
329 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
330
aac639f4
L
331 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
332 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
333
67b6df78
L
334 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
335 Defined to 1 if __x86_64__ isn't defined.
336 (_STAT_VER_LINUX_OLD): New.
337 (st_atime): Remove duplicate.
338 (st_mtime): Likewise.
339 (st_ctime): Likewise.
340
1c2cfe81
DM
3412012-05-31 David S. Miller <davem@davemloft.net>
342
343 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
344 entries.
345
5be8418c
AS
3462012-06-01 Andreas Schwab <schwab@linux-m68k.org>
347
e7725326
AS
348 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
349 gen-libm-test.pl.
350
5be8418c
AS
351 [BZ #14132]
352 * elf/dl-reloc.c: Include <_itoa.h>.
353 (_dl_reloc_bad_type): Remove use of INTUSE.
354 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
355 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
356 * stdio-common/psiginfo.c (psiginfo): Likewise.
357 * stdio-common/psignal.c (psignal): Likewise.
358 * string/strsignal.c (strsignal): Likewise.
359 * include/signal.h (_sys_siglist): Declare hidden proto.
360 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
361 INTVARDEF with libc_hidden_data_def.
362 * stdio-common/itoa-udigits.c: Likewise.
363 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
364 (_itoa_lower_digits_internal): Remove declaration.
365 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
366 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
367 (_sys_sigabbrev_internal): Remove aliases.
368 (_sys_siglist): Define hidden alias.
369
507352f1
MT
3702012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
371
372 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
373 bits/sysctl.h.
374
42bbb1c3
L
3752012-05-31 H.J. Lu <hongjiu.lu@intel.com>
376
377 [BZ #14117]
6bd784b6
L
378 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
379 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
380
8bca20f0
L
381 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
382 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
383 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
384 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
385 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
386 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
387
f9e890a9
L
388 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
389 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
390 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
391
471101a1
L
392 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
393 with __addr.
394 (insw): Likewise.
395 (insl): Likewise.
396 (outsb): Likewise.
397 (outsw): Likewise.
398 (outsl): Likewise.
399
6451c862
L
400 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
401 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
402 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
403
a254b8c9
L
404 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
405 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
406 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
407 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
408 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
409 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
410
b8dfdd92
L
411 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
412 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
413
578cd270
L
414 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
415 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
416
de662f5f
L
417 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
418 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
419 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
420
25653439
L
421 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
422 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
423 to ...
424 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
425
6bad24a0
L
426 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
427 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
428 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
429
42bbb1c3
L
430 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
431 for x86-64.
432 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
433
2d10d547
JM
4342012-05-31 Joseph Myers <joseph@codesourcery.com>
435
436 * math/math.h (M_El): Use two more decimal places.
437 (M_LOG2El): Likewise.
438 (M_LOG10El): Likewise.
439 (M_LN2l): Likewise.
440 (M_LN10l): Likewise.
441 (M_PIl): Likewise.
442 (M_PI_2l): Likewise.
443 (M_PI_4l): Likewise.
444 (M_1_PIl): Likewise.
445 (M_2_PIl): Likewise.
446 (M_2_SQRTPIl): Likewise.
447 (M_SQRT2l): Likewise.
448 (M_SQRT1_2l): Likewise.
449
f230c29b
DM
4502012-05-31 David S. Miller <davem@davemloft.net>
451
452 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
453 values between float registers.
454 * sysdeps/sparc/sparc64/memset.S: Likewise.
455 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
456
fed806c3
MF
4572012-05-31 Mike Frysinger <vapier@gentoo.org>
458
459 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
460 -D_FORTIFY_SOURCE=1.
461 (CPPFLAGS-tst-longjmp_chk.c): Define.
462 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
463 (CPPFLAGS-tst-longjmp_chk2.c): Define.
464 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
465 CFLAGS-tst-wchar-h.c.
466
30917259
MP
4672012-05-31 Marek Polacek <polacek@redhat.com>
468
469 [BZ #14132]
470 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
471 __endmntent_internal): Remove declaration.
472 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
473 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
474 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
475
1c58d5dc
DM
4762012-05-30 David S. Miller <davem@davemloft.net>
477
478 * sysdeps/sparc/sparc32/soft-fp/q_util.c
479 (___Q_simulate_exceptions): Use real FP ops rather than writing
480 into the %fsr.
481 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
482 Likewise.
483
7dc00e0d
L
4842012-05-30 H.J. Lu <hongjiu.lu@intel.com>
485
486 [BZ #14117]
0bd53985
L
487 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
488 * sysdeps/x86/bits/xtitypes.h: This.
489
3a257e66
L
490 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
491 * sysdeps/x86/bits/wordsize.h: This.
492
62f62904
L
493 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
494 * sysdeps/x86/bits/huge_vall.h: This.
495
404fe9d9
L
496 * sysdeps/i386/bits/select.h: Removed.
497 * sysdeps/x86_64/bits/select.h: Renamed to ...
498 * sysdeps/x86/bits/select.h: This.
499
d48d0446
L
500 * sysdeps/i386/bits/setjmp.h: Removed.
501 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
502 * sysdeps/x86/bits/setjmp.h: This.
503
7dc00e0d
L
504 * sysdeps/i386/bits/mathdef.h: Removed.
505 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
506 * sysdeps/x86/bits/mathdef.h: This.
507
03277f8f
AS
5082012-05-30 Andreas Schwab <schwab@linux-m68k.org>
509
510 [BZ #14132]
511 * include/sys/socket.h (__connect_internal)
512 (__libc_sa_len_internal): Remove declaration.
513 (__connect, __libc_sa_len): Declare hidden_proto.
514 (SA_LEN): Remove use of INTUSE.
515 * socket/connect.c: Add libc_hidden_def.
516 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
517 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
518 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
519 alias.
520 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
521 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
522 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
523 of adding _internal alias.
524
13764867
L
5252012-05-30 H.J. Lu <hongjiu.lu@intel.com>
526
527 [BZ #14117]
6bd97696
L
528 * sysdeps/i386/bits/link.h: Removed.
529 * sysdeps/i386/bits/linkmap.h: Likewise.
530 * sysdeps/x86_64/bits/link.h: Renamed to ...
531 * sysdeps/x86/bits/link.h: This.
532 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
533 * sysdeps/x86/bits/linkmap.h: This.
534
f726f0bb
L
535 * sysdeps/i386/bits/endian.h: Removed.
536 * sysdeps/x86_64/bits/endian.h: Renamed to ...
537 * sysdeps/x86/bits/endian.h: This.
538
13764867
L
539 * sysdeps/i386/bits/byteswap.h: Removed.
540 * sysdeps/i386/bits/byteswap-16.h: Likewise.
541 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
542 * sysdeps/x86/bits/byteswap.h: This.
543 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
544 * sysdeps/x86/bits/byteswap-16.h: This.
545 * sysdeps/i386/Implies: Add x86.
546 * sysdeps/x86_64/Implies: Likewise.
547
ae251b0b
DM
5482012-05-30 David S. Miller <davem@davemloft.net>
549
550 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
551 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
552 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
553 (FP_TRAPPING_EXCEPTIONS): Define.
554 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
555 (FP_TRAPPING_EXCEPTIONS): Define.
556 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
557 subnormals only when inexact has been signalled or underflow
558 exceptions are enabled.
559 (_FP_PACK_CANONICAL): Likewise.
560
d5c90867
L
5612012-05-30 H.J. Lu <hongjiu.lu@intel.com>
562
563 [BZ #14183]
564 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
565 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
566
63f1549e
RH
5672012-05-30 Richard Henderson <rth@twiddle.net>
568
8d8f2279
RH
569 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
570 with #ifndef NOT_IN_libc.
571
63f1549e
RH
572 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
573 marked to avoid plt entry.
574
0ab0291b
L
5752012-05-30 H.J. Lu <hongjiu.lu@intel.com>
576
577 [BZ #14112]
578 * Makeconfig (default-abi): New macro.
579 (abi-includes): Likewise.
580 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
581 $(abi-$(default-abi)-lib-soname) for soname if defined.
582 ($(common-objpfx)gnu/lib-names.stmp): Generate from
583 abi-variants.
584 * Makefile (installed-stubs): Likewise.
585 * include/stubs-biarch.h: Removed.
586 * scripts/lib-names.awk: Only handle one library at a time.
587 * scripts/soversions.awk: Remove WORDSIZE support.
588 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
589 entries.
590 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
591 Removed.
592 (syscall-list-default-condition): Likewise.
593 (syscall-list-default-condition): Likewise.
594 (syscall-list-includes): Likewise.
595 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
596 syscall-list-* with abi-*. Handle undefined abi-variants.
597 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
598 * sysdeps/unix/sysv/linux/i386/Implies: New file.
599 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
600 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
601 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
602 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
603 Removed.
604 (syscall-list-32-options): Likewise.
605 (syscall-list-32-condition): Likewise.
606 (syscall-list-64-options): Likewise.
607 (syscall-list-64-condition): Likewise.
608 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
609 macro.
610 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
611 Renamed to ...
612 (abi-*): This.
613 (abi-64-ld-soname): New macro.
614 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
615 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
616 Renamed to ...
617 (abi-*): This.
618 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
619 * sysdeps/x86_64/x32/shlib-versions: Likewise.
620
4da0431d
JM
6212012-05-30 Joseph Myers <joseph@codesourcery.com>
622
3a85279c
JM
623 * sysdeps/unix/sysv/linux/kernel-features.h
624 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
625 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
626 include <kernel-features.h>.
627 [!__NR_ftruncate64]: Remove conditional code.
628 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
629 [__NR_ftruncate64]: Make code unconditional.
630 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
631 * sysdeps/unix/sysv/linux/truncate64.c: Do not
632 include <kernel-features.h>.
633 [!__NR_ftruncate64]: Remove conditional code.
634 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
635 [__NR_ftruncate64]: Make code unconditional.
636 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
638 include <kernel-features.h>.
639 [!__NR_ftruncate64]: Remove conditional code.
640 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
641 [__NR_ftruncate64]: Make code unconditional.
642 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
644 include <kernel-features.h>.
645 [!__NR_ftruncate64]: Remove conditional code.
646 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
647 [__NR_ftruncate64]: Make code unconditional.
648 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
649
4da0431d
JM
650 * configure.in (libc_cv_fpie): Weaken to a compile test using
651 LIBC_TRY_CC_OPTION.
652 * configure: Regenerated.
653
11ef492c
AK
6542012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
655
656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
660 Refreshed.
661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
663 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
665 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
667 Refreshed.
668
d66ef399
DM
6692012-05-27 David S. Miller <davem@davemloft.net>
670
671 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
672 (___Q_zero): New.
673 (__Q_simulate_exceptions): Return void. Change to simulate
674 exceptions by writing into the %fsr.
675 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
676 (__Qp_handle_exceptions): Likewise.
677 (numbers): Delete.
678 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
679 __Qp_handle_exceptions.
680 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
681 __Qp_handle_exceptions.
682 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
683 as unused and give dummy FP_RND_NEAREST initializer.
684 (FP_INHIBIT_RESULTS): Define.
685 (___Q_simulate_exceptions): Update declaration.
686 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
687 formatting.
688 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
689 as unused and give dummy FP_RND_NEAREST initializer.
690 (__Qp_handle_exceptions): Update declaration.
691 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
692 formatting.
693
04fb54b5
TS
6942012-05-27 Thomas Schwinge <thomas@codesourcery.com>
695
696 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
697 the temporary FPU control word.
698 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
699 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
700 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
701 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
702 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
703 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
704 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
705 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
706 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
707 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
708 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
709
3f99608f
KK
7102012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
711
712 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
713 fields.
714
65a4de4e
CLT
7152012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
716
717 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
718 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
719 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
720 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
721 Likewise.
722 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
723 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
724 Likewise.
725
15749d40
UD
7262012-05-27 Ulrich Drepper <drepper@gmail.com>
727
728 * po/h.po: Update from translation team.
729
25dbcb27
AS
7302012-05-26 Andreas Schwab <schwab@linux-m68k.org>
731
3d3f8e55
AS
732 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
733
25dbcb27
AS
734 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
735 handling of denormals.
736 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
737 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
738 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
739 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
740 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
741 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
742 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
743 Likewise.
744
7ad47a80 7452012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
746
747 [BZ #14152]
748 * math/libm-test.inc (fma_test): Don't always expect underflow
749 exception.
750
9c6ea9fa
SP
7512012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
752
753 [BZ #12416]
754 * elf/tst-execstack.c: Include stackinfo.h.
755 (do_test): Adjust test case to ensure that pthread_getattr_np
756 behaviour remains the same after marking stack executable.
757
a8239222
JM
7582012-05-25 Joseph Myers <joseph@codesourcery.com>
759
760 * sysdeps/unix/sysv/linux/kernel-features.h
761 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
762 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
763 kernel-features.h.
764 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
765 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
766 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
767 kernel-features.h.
768 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
769 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
770
918b5606
L
7712012-05-25 H.J. Lu <hongjiu.lu@intel.com>
772
773 * configure.in: Define the default includes to being none.
774 * configure: Regenerated.
775
3a097cc7
RM
7762012-05-25 Roland McGrath <roland@hack.frob.com>
777
8422c9a5
RM
778 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
779 * sysdeps/x86_64/setjmp.S: Likewise.
780 * sysdeps/i386/bsd-setjmp.S: Likewise.
781 * sysdeps/i386/bsd-_setjmp.S: Likewise.
782 * sysdeps/i386/setjmp.S: Likewise.
783 * sysdeps/i386/__longjmp.S: Likewise.
784 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
785 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
786
3a097cc7
RM
787 * include/stap-probe.h: New file.
788 * configure.in: Handle --enable-systemtap.
789 * configure: Regenerated.
790 * config.h.in (USE_STAP_PROBE): New #undef.
791 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
792 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
793 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
794
21708942
JM
7952012-05-25 Joseph Myers <joseph@codesourcery.com>
796
797 [BZ #13717]
798 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
799 to 2.4.0 where earlier.
800 * sysdeps/unix/sysv/linux/configure: Regenerated.
801 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
802 <kernel-features.h>.
803 [__ASSUME_32BITUIDS]: Make code unconditional.
804 [!__ASSUME_32BITUIDS]: Remove conditional code.
805 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
806 <kernel-features.h>.
807 [__ASSUME_32BITUIDS]: Make code unconditional.
808 [!__ASSUME_32BITUIDS]: Remove conditional code.
809 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
810 [__ASSUME_32BITUIDS]: Make code unconditional.
811 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
812 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
813 <kernel-features.h>.
814 [__ASSUME_32BITUIDS]: Make code unconditional.
815 [!__ASSUME_32BITUIDS]: Remove conditional code.
816 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
817 <kernel-features.h>.
818 [__ASSUME_32BITUIDS]: Make code unconditional.
819 [!__ASSUME_32BITUIDS]: Remove conditional code.
820 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
821 <kernel-features.h>.
822 [__ASSUME_32BITUIDS]: Make code unconditional.
823 [!__ASSUME_32BITUIDS]: Remove conditional code.
824 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
825 <kernel-features.h>.
826 [__ASSUME_32BITUIDS]: Make code unconditional.
827 [!__ASSUME_32BITUIDS]: Remove conditional code.
828 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
829 <kernel-features.h>.
830 [__ASSUME_32BITUIDS]: Make code unconditional.
831 [!__ASSUME_32BITUIDS]: Remove conditional code.
832 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
833 <kernel-features.h>.
834 [__ASSUME_32BITUIDS]: Make code unconditional.
835 [!__ASSUME_32BITUIDS]: Remove conditional code.
836 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
837 <kernel-features.h>.
838 [__ASSUME_32BITUIDS]: Make code unconditional.
839 [!__ASSUME_32BITUIDS]: Remove conditional code.
840 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
841 <kernel-features.h>.
842 [__ASSUME_32BITUIDS]: Make code unconditional.
843 [!__ASSUME_32BITUIDS]: Remove conditional code.
844 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
845 <kernel-features.h>.
846 [__ASSUME_32BITUIDS]: Make code unconditional.
847 [!__ASSUME_32BITUIDS]: Remove conditional code.
848 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
849 <kernel-features.h>.
850 [__ASSUME_32BITUIDS]: Make code unconditional.
851 [!__ASSUME_32BITUIDS]: Remove conditional code.
852 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
853 <kernel-features.h>.
854 [__NR_setresgid] (__setresgid): Do not declare.
855 [__ASSUME_32BITUIDS]: Make code unconditional.
856 [!__ASSUME_32BITUIDS]: Remove conditional code.
857 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
858 <kernel-features.h>.
859 [__NR_setresuid] (__setresuid): Do not declare.
860 [__ASSUME_32BITUIDS]: Make code unconditional.
861 [!__ASSUME_32BITUIDS]: Remove conditional code.
862 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
863 <kernel-features.h>.
864 [__ASSUME_32BITUIDS]: Make code unconditional.
865 [!__ASSUME_32BITUIDS]: Remove conditional code.
866 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
867 <kernel-features.h>.
868 [__ASSUME_32BITUIDS]: Make code unconditional.
869 [!__ASSUME_32BITUIDS]: Remove conditional code.
870 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
871 <kernel-features.h>.
872 [__ASSUME_32BITUIDS]: Make code unconditional.
873 [!__ASSUME_32BITUIDS]: Remove conditional code.
874 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
875 <kernel-features.h>.
876 [__ASSUME_32BITUIDS]: Make code unconditional.
877 [!__ASSUME_32BITUIDS]: Remove conditional code.
878 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
879 <kernel-features.h>.
880 [__ASSUME_32BITUIDS]: Make code unconditional.
881 [!__ASSUME_32BITUIDS]: Remove conditional code.
882 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
883 <kernel-features.h>.
884 [__ASSUME_32BITUIDS]: Make code unconditional.
885 [!__ASSUME_32BITUIDS]: Remove conditional code.
886 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
887 <kernel-features.h>.
888 [__ASSUME_32BITUIDS]: Make code unconditional.
889 [!__ASSUME_32BITUIDS]: Remove conditional code.
890 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
891 <kernel-features.h>.
892 [__ASSUME_32BITUIDS]: Make code unconditional.
893 [!__ASSUME_32BITUIDS]: Remove conditional code.
894 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
895 <kernel-features.h>.
896 [__ASSUME_32BITUIDS]: Make code unconditional.
897 [!__ASSUME_32BITUIDS]: Remove conditional code.
898 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
899 <kernel-features.h>.
900 [__ASSUME_32BITUIDS]: Make code unconditional.
901 [!__ASSUME_32BITUIDS]: Remove conditional code.
902 * sysdeps/unix/sysv/linux/kernel-features.h
903 (__ASSUME_SETRESUID_SYSCALL): Remove.
904 (__ASSUME_SETRESGID_SYSCALL): Likewise.
905 (__ASSUME_32BITUIDS): Likewise.
906 (__ASSUME_LDT_WORKS): Likewise.
907 (__ASSUME_O_DIRECTORY): Likewise.
908 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
909 architecture but not kernel version.
910 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
911 (__ASSUME_MMAP2_SYSCALL): Likewise.
912 (__ASSUME_STAT64_SYSCALL): Likewise.
913 (__ASSUME_IPC64): Likewise.
914 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
915 <kernel-features.h>.
916 [__ASSUME_32BITUIDS]: Make code unconditional.
917 [!__ASSUME_32BITUIDS]: Remove conditional code.
918 * sysdeps/unix/sysv/linux/opendir.c: Do not include
919 <kernel-features.h>.
920 [__ASSUME_O_DIRECTORY]: Make code unconditional.
921 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
922 132096]: Remove conditional code.
923 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
924 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
925 <kernel-features.h>.
926 [__ASSUME_32BITUIDS]: Make code unconditional.
927 [!__ASSUME_32BITUIDS]: Remove conditional code.
928 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
929 <kernel-features.h>.
930 [__ASSUME_32BITUIDS]: Make code unconditional.
931 [!__ASSUME_32BITUIDS]: Remove conditional code.
932 * sysdeps/unix/sysv/linux/setegid.c: Do not include
933 <kernel-features.h>.
934 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
935 unconditional.
936 (__setresgid): Do not declare.
937 [__ASSUME_32BITUIDS]: Make code unconditional.
938 [!__ASSUME_32BITUIDS]: Remove conditional code.
939 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
940 <kernel-features.h>.
941 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
942 unconditional.
943 (__setresuid): Do not declare.
944 [__ASSUME_32BITUIDS]: Make code unconditional.
945 [!__ASSUME_32BITUIDS]: Remove conditional code.
946 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
951 <kernel-features.h>.
952 [__ASSUME_32BITUIDS]: Make code unconditional.
953 [!__ASSUME_32BITUIDS]: Remove conditional code.
954
a386f1cc
RH
9552012-05-25 Richard Henderson <rth@twiddle.net>
956
957 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
958 dl_hwcap to ifunc resolver.
959 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
960 elf_ifunc_invoke.
961 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
962 dl_hwcap to ifunc resolver.
963 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
964
b6550497
JM
9652012-05-24 Joseph Myers <joseph@codesourcery.com>
966
967 [BZ #14153]
968 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
969 for |x| <= 2**-26, not 2**-57.
970 * math/libm-test.inc (acos_test): Do not allow spurious underflow
971 exception.
972
b0bc23a1
JL
9732012-05-24 Jeff Law <law@redhat.com>
974
975 * stdio-common/Makefile (tests): Add bug25.
976 * stdio-common/bug25.c: New test.
977
347c92e9
L
9782012-05-24 H.J. Lu <hongjiu.lu@intel.com>
979
980 [BZ #13576]
981 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
982 multiple of MALLOC_ALIGNMENT in size.
983 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
984
6bcc8b3f
JM
9852012-05-24 Joseph Myers <joseph@codesourcery.com>
986
987 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
988 Require >= 256.
989 (FILENAME_MAX): Use macro-int-constant.
990 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
991 (_IOFBF): Use macro-int-constant.
992 (_IOLBF): Likewise.
993 (_IONBF): Likewise.
994 (SEEK_CUR): Likewise.
995 (SEEK_END): Likewise.
996 (SEEK_SET): Likewise.
997 (TMP_MAX): Likewise.
998 (EOF): Use macro-int-constant. Require < 0.
999 (NULL): Use macro-constant. Require == 0.
1000 (stdin): Require type to be FILE *.
1001 (stdout): Likewise.
1002 (stderr): Likewise.
1003 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
1004 macro-int-constant.
1005 (EXIT_SUCCESS): Likewise.
1006 (NULL): Use macro-constant. Require == 0.
1007 (RAND_MAX): Use macro-int-constant.
1008 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
1009 [C99-based standards] (strtof): Require function.
1010 [C99-based standards] (strtold): Likewise.
1011 [C99-based standards] (strtoll): Likewise.
1012 [C99-based standards] (strtoull): Likewise.
1013 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1014 [ISO || ISO99 || ISO11] (limits.h): Likewise.
1015 [ISO || ISO99 || ISO11] (math.h): Likewise.
1016 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
1017 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1018 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1019
d18ea0c5
AS
10202012-05-24 Andreas Schwab <schwab@linux-m68k.org>
1021
1022 [BZ #14132]
56d25bb8
AS
1023 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
1024 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
1025 * intl/dgettext.c (DCGETTEXT): Likewise.
1026 * intl/gettext.c (DCGETTEXT): Likewise.
1027 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
1028 * posix/regex_internal.h (gettext): Likewise.
1029 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
1030 Remove declaration.
1031 * include/argz.h (__argz_count_internal)
1032 (__argz_stringify_internal): Remove declaration.
1033 (__argz_count, __argz_stringify): Declare hidden proto.
1034 * intl/dcgettext.c: Remove use of INTDEF.
1035 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
1036 * string/argz-stringify.c: Likewise.
1037 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1038 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1039 Declare hidden proto.
d18ea0c5
AS
1040 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1041 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1042 Declare hidden proto.
1043 * include/stdio.h (__asprintf_internal): Don't declare.
1044 (__asprintf): Don't define as macro. Declare hidden proto.
1045 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
1046 (__fsetlocking): Declare hidden proto.
1047 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
1048 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
1049 hidden proto.
1050 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
1051 (_IO_setlinebuf): Remove use of INTUSE.
1052 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
1053 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
1054 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
1055 Remove declaration.
1056 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
1057 (_IO_do_flush): Remove use of INTUSE.
1058 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
1059 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
1060 (_IO_adjust_column, _IO_least_wmarker)
1061 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
1062 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
1063 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
1064 (_IO_default_doallocate, _IO_wdefault_doallocate)
1065 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
1066 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
1067 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
1068 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
1069 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
1070 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
1071 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
1072 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
1073 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
1074 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
1075 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
1076 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
1077 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
1078 proto.
1079 (_IO_flush_all_internal, _IO_adjust_column_internal)
1080 (_IO_default_uflow_internal, _IO_default_finish_internal)
1081 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
1082 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
1083 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
1084 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
1085 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
1086 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
1087 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
1088 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
1089 (_IO_file_close_internal, _IO_file_close_it_internal)
1090 (_IO_file_underflow_internal, _IO_file_overflow_internal)
1091 (_IO_file_init_internal, _IO_file_attach_internal)
1092 (_IO_file_fopen_internal, _IO_file_read_internal)
1093 (_IO_file_sync_internal, _IO_file_seek_internal)
1094 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
1095 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
1096 (_IO_str_underflow_internal, _IO_str_overflow_internal)
1097 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
1098 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
1099 (_IO_list_all_internal, _IO_link_in_internal)
1100 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
1101 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
1102 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
1103 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
1104 (_IO_do_write_internal, _IO_padn_internal)
1105 (_IO_getline_info_internal, _IO_getline_internal)
1106 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
1107 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
1108 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
1109 (_IO_vfscanf_internal, _IO_vfprintf_internal)
1110 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1111 (_IO_init_internal, _IO_un_link_internal): Don't declare.
1112 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1113 with libc_hidden_ver, remove use of INTUSE.
1114 * libio/genops.c: Likewise.
1115 * libio/freopen.c: Likewise.
1116 * libio/freopen64.c: Likewise.
1117 * libio/iofclose.c: Likewise.
1118 * libio/iofdopen.c: Likewise.
1119 * libio/iofflush.c: Likewise.
1120 * libio/iofflush_u.c: Likewise.
1121 * libio/iofgets.c: Likewise.
1122 * libio/iofgets_u.c: Likewise.
1123 * libio/iofopen.c: Likewise.
1124 * libio/iofopncook.c: Likewise.
1125 * libio/iofread.c: Likewise.
1126 * libio/iofread_u.c: Likewise.
1127 * libio/ioftell.c: Likewise.
1128 * libio/iofwrite.c: Likewise.
1129 * libio/iogetline.c: Likewise.
1130 * libio/iogets.c: Likewise.
1131 * libio/iogetwline.c: Likewise.
1132 * libio/iopadn.c: Likewise.
1133 * libio/iopopen.c: Likewise.
1134 * libio/ioseekoff.c: Likewise.
1135 * libio/ioseekpos.c: Likewise.
1136 * libio/iosetbuffer.c: Likewise.
1137 * libio/iosetvbuf.c: Likewise.
1138 * libio/ioungetc.c: Likewise.
1139 * libio/ioungetwc.c: Likewise.
1140 * libio/iovdprintf.c: Likewise.
1141 * libio/iovsprintf.c: Likewise.
1142 * libio/iovsscanf.c: Likewise.
1143 * libio/memstream.c: Likewise.
1144 * libio/obprintf.c: Likewise.
1145 * libio/oldfileops.c: Likewise.
1146 * libio/oldiofclose.c: Likewise.
1147 * libio/oldiofdopen.c: Likewise.
1148 * libio/oldiofopen.c: Likewise.
1149 * libio/oldiopopen.c: Likewise.
1150 * libio/oldstdfiles.c: Likewise.
1151 * libio/putc.c: Likewise.
1152 * libio/setbuf.c: Likewise.
1153 * libio/setlinebuf.c: Likewise.
1154 * libio/stdfiles.c: Likewise.
1155 * libio/strops.c: Likewise.
1156 * libio/vasprintf.c: Likewise.
1157 * libio/vscanf.c: Likewise.
1158 * libio/vsnprintf.c: Likewise.
1159 * libio/vswprintf.c: Likewise.
1160 * libio/wfiledoalloc.c: Likewise.
1161 * libio/wfileops.c: Likewise.
1162 * libio/wgenops.c: Likewise.
1163 * libio/wmemstream.c: Likewise.
1164 * libio/wstrops.c: Likewise.
1165 * libio/__fpurge.c: Likewise.
1166 * libio/__fsetlocking.c: Likewise.
1167 * assert/assert.c: Likewise.
1168 * debug/fgets_chk.c: Likewise.
1169 * debug/fgets_u_chk.c: Likewise.
1170 * debug/fread_chk.c: Likewise.
1171 * debug/fread_u_chk.c: Likewise.
1172 * debug/gets_chk.c: Likewise.
1173 * debug/obprintf_chk.c: Likewise.
1174 * debug/vasprintf_chk.c: Likewise.
1175 * debug/vdprintf_chk.c: Likewise.
1176 * debug/vsnprintf_chk.c: Likewise.
1177 * debug/vsprintf_chk.c: Likewise.
1178 * malloc/mtrace.c: Likewise.
1179 * misc/error.c: Likewise.
1180 * misc/syslog.c: Likewise.
1181 * stdio-common/asprintf.c: Likewise.
1182 * stdio-common/fxprintf.c: Likewise.
1183 * stdio-common/getw.c: Likewise.
1184 * stdio-common/isoc99_fscanf.c: Likewise.
1185 * stdio-common/isoc99_scanf.c: Likewise.
1186 * stdio-common/isoc99_vfscanf.c: Likewise.
1187 * stdio-common/isoc99_vscanf.c: Likewise.
1188 * stdio-common/isoc99_vsscanf.c: Likewise.
1189 * stdio-common/printf-prs.c: Likewise.
1190 * stdio-common/printf_fp.c: Likewise.
1191 * stdio-common/printf_fphex.c: Likewise.
1192 * stdio-common/printf_size.c: Likewise.
1193 * stdio-common/putw.c: Likewise.
1194 * stdio-common/scanf.c: Likewise.
1195 * stdio-common/sprintf.c: Likewise.
1196 * stdio-common/tmpfile.c: Likewise.
1197 * stdio-common/vfprintf.c: Likewise.
1198 * stdio-common/vfscanf.c: Likewise.
1199 * stdlib/strfmon_l.c: Likewise.
1200 * sunrpc/openchild.c: Likewise.
1201 * sunrpc/xdr_stdio.c: Likewise.
1202 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1203 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1204
d6c33fda
RM
12052012-05-24 Roland McGrath <roland@hack.frob.com>
1206
c1487492
RM
1207 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1208
1209 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1210 in the third column, to generate for the shared library an IFUNC
1211 that uses _dl_vdso_vsym.
1212 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1213 * Makeconfig (object-suffixes-noshared): New variable.
1214
1215 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1216 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1217 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1218 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1219
d6c33fda
RM
1220 [BZ #14132]
1221 * include/sys/time.h (__gettimeofday): Remove macro.
1222 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1223 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1224 Remove INTDEF.
1225 (__gettimeofday): Add libc_hidden_def.
1226 (gettimeofday): Add libc_hidden_weak.
1227 * sysdeps/mach/gettimeofday.c: Likewise.
1228 * sysdeps/posix/gettimeofday.c: Likewise.
1229 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1230 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1231 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1232 (__gettimeofday_internal): Remove strong_alias.
1233 (__gettimeofday): Add libc_hidden_def.
1234 (gettimeofday): Add libc_hidden_weak.
1235 * sysdeps/unix/syscalls.list (gettimeofday):
1236 Remove __gettimeofday_internal alias.
1237
b5a2bbe6
L
12382012-05-24 Daniel Jacobowitz <drow@false.org>
1239 H.J. Lu <hongjiu.lu@intel.com>
1240
1241 [BZ #12495]
1242 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1243 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1244 (largebin_index_32_big): New.
1245 (largebin_index): Use it for 16-byte alignment.
1246 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1247 correction with front_misalign.
1248
cfba4fda
L
12492012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1250
7f907421
L
1251 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1252 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1253 Likewise.
1254 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1255 Likewise.
1256 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1257 Likewise.
1258 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1259 Likewise.
1260 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1261 Likewise.
1262 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1263 Likewise.
1264 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1265 Likewise.
1266 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1267 Likewise.
1268 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1269 Likewise.
1270 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1271 Likewise.
1272 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1273 Likewise.
1274 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1275 Likewise.
1276
cfba4fda
L
1277 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1278 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1279
80bad0cc
JM
12802012-05-24 Joseph Myers <joseph@codesourcery.com>
1281
7a25eb06
JM
1282 [BZ #10846]
1283 [BZ #14036]
1284 * math/libm-test.inc (exp_test): Add test from bug 14036.
1285 (pow_test): Add test from bug 10846.
1286
795405f9
JM
1287 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1288 and other flags.
1289 (special_function): Do not include flags in test name.
1290 (parse_args): Likewise.
1291 * sysdeps/i386/fpu/libm-test-ulps: Update.
1292 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1293 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1294 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1296
80bad0cc
JM
1297 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1298 exceptions.
1299 * math/libm-test.inc ("Philosophy"): Update comment about
1300 exception testing.
1301 (UNDERFLOW_EXCEPTION): New macro.
1302 (UNDERFLOW_EXCEPTION_OK): Likewise.
1303 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1304 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1305 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1306 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1307 (INVALID_EXCEPTION_OK): Update value.
1308 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1309 (OVERFLOW_EXCEPTION_OK): Likewise.
1310 (IGNORE_ZERO_INF_SIGN): Likewise.
1311 (test_exceptions): Handle underflow exceptions.
1312 (acos_test): Update for underflow exception expectations.
1313 (cexp_test): Likewise.
1314 (clog_test): Likewise.
1315 (clog10_test): Likewise.
1316 (csqrt_test): Likewise.
1317 (ctan_test): Likewise.
1318 (ctanh_test): Likewise.
1319 (exp_test): Likewise.
1320 (exp10_test): Likewise.
1321 (exp2_test): Likewise.
1322 (expm1_test): Likewise.
1323 (fma_test): Likewise.
1324 (j0_test): Likewise.
1325 (jn_test): Likewise.
1326 (nexttoward_test): Likewise.
1327 (pow_test): Likewise.
1328 (scalbn_test): Likewise.
1329 (scalbln_test): Likewise.
1330 (tan_test): Likewise.
1331 (y1_test): Likewise.
1332 * sysdeps/i386/fpu/libm-test-ulps: Update.
1333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1334
9e0e3d0b
DM
13352012-05-23 David S. Miller <davem@davemloft.net>
1336
1337 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1338 (__libc_sigaction): Remove unused local variables.
1339
ccd0a08f
L
13402012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1341
1342 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1343
62bdf9a6
PE
13442012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1345
f8591f80
PE
1346 mktime: avoid signed integer overflow
1347 * time/mktime.c (__mktime_internal): Do not mishandle the case
1348 where diff == INT_MIN.
1349
94c7d826
PE
1350 mktime: simplify computation of average
1351 * time/mktime.c (ranged_convert): Use new time_t_avg function
1352 instead of rolling our own (probably-slower) code.
1353
ce73d683
PE
1354 mktime: do not assume signed right shift propagates sign bit
1355 * time/mktime.c (isdst_differ): New static function.
1356 (__mktime_internal): No need to normalize tm_isdst now.
1357 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1358 tm_isdst values.
1359
72a22e59
PE
1360 mktime: merge another wrapv change from gnulib
1361 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1362 from some compilers.
1363
68605433
PE
1364 mktime: remove incorrect attempt at unusual arithmetics
1365 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1366 The code didn't really work on such machines anyway.
1367 (TYPE_MINIMUM): Assume two's complement.
1368 (twos_complement_arithmetic): Verify that long_int and time_t
1369 are two's complement (or unsigned, in the latter case).
1370
03cf7fe3
PE
1371 mktime: check signed shifts on long_int and time_t, too
1372 * time/mktime.c (SHR): Check that shifts work as desired
1373 on the types long_int and time_t too, as SHR is used on
1374 such types.
1375
f04dfbc2
PE
1376 mktime: do not assume 'long' is wide enough
1377 * time/mktime.c (verify): Move decl up.
1378 (long_int): New type.
1379 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1380 to remove assumption in the code that 'long' is wide enough to
1381 store year values. This assumption is not true on x32 and on
1382 some non-glibc platforms.
1383
62bdf9a6
PE
1384 mktime: merge wrapv change from gnulib
1385 * time/mktime.c (WRAPV): New macro.
1386 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1387 (guess_time_tm, __mktime_internal): Do not assume that signed
1388 integer overflow wraps around; modern compilers generate code
1389 where this assumption is no longer valid.
1390
5e292e4f
L
13912012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1392
1393 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1394 Replace "jmp L(pseudo_end)" with "ret".
1395 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1396 Likewise.
1397
8caf8c87
AJ
13982012-05-23 Andreas Jaeger <aj@suse.de>
1399
1400 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1401 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1402
1a09dc56
AJ
14032012-05-23 Andreas Jaeger <aj@suse.de>
1404 Maximilian Attems <max@stro.at>
1405
1406 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1407 New macros.
1408
1c87aba0
L
14092012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1410
1411 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1412 code so that pseudo_end is just ret and the stack pointer is
1413 correct also for static library in error case.
1414
40e45bd5
JM
14152012-05-23 Joseph Myers <joseph@codesourcery.com>
1416
c2670533
JM
1417 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1418 move to syscalls.list.
1419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1423
40e45bd5
JM
1424 * manual/install.texi (Running make install): Do not mention Linux
1425 kernel version for which pt_chown is not needed.
1426 (Linux): Do not mention problems with nscd with 2.0 kernels.
1427 * INSTALL: Regenerated.
1428
be08eda5
AJ
14292012-05-23 Andreas Jaeger <aj@suse.de>
1430
1431 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1432 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1433 macro.
1434 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1435 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1436 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1437 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1438 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1439 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1440 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1441 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1442 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1443 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1444 * sysdeps/unix/sysv/linux/bits/in.h
1445 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1446
a6a056bb
RM
14472012-05-22 Roland McGrath <roland@hack.frob.com>
1448
1449 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1450 (PREPARE_VERSION): Just use assert instead, it will be elided
1451 under [NDEBUG] anyway.
1452
c9009328
L
14532012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1454
1455 * sysdeps/unix/sysv/linux/Makefile: Include
1456 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 1457 (sysdep_routines): Remove sysctl.
c9009328
L
1458 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1459 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1460 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1461 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1462 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1463
73338355
AJ
14642012-05-22 Andreas Jaeger <aj@suse.de>
1465
1466 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1467 that pseudo_end is just ret and the stack pointer is correct also
1468 for static library in error case.
1469
d44638b0
PP
14702012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1471
1472 [BZ #14122]
1473 * nss/nsswitch.c (defconfig_entries): New variable.
1474 (__nss_database_lookup): Don't leak defconfig entries.
1475 (nss_parse_service_list): Don't leak on error paths.
1476 (free_database_entries): New function.
1477 (free_defconfig): New function.
1478 (free_mem): Move common code to free_database_entries.
1479
31a39bd8
L
14802012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1481
da0331a8
L
1482 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1483 Add arch_prctl.
1484 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1485
31a39bd8
L
1486 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1487 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1488 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1489 New macro.
1490 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1491 (INTERNAL_SYSCALL_TYPES): Likewise.
1492 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1493 (LOAD_REGS_TYPES_[1-6]): Likewise.
1494 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1495 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1496
45470df3
AZ
14972012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1498
1499 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1500 copysignl for GLIBC_2_0.
1501 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1502 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1503 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1504 logbl for GLIBC_2_0.
1505 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1506 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1507
98a61bcb
L
15082012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1509
a4f6e481
L
1510 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1511 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1512
f63d5db6
L
1513 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1514 Use "neg %eax".
1515
98a61bcb
L
1516 * time/mktime.c: Update copyright years.
1517
95770f14
PE
15182012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1519
6226efbd
PE
1520 mktime: merge comment-quoting-style change from gnulib
1521 * time/mktime.c: Quote 'like this' in comments.
1522 The GNU coding standards suggest that we no longer quote `like this',
1523 as "`" and "'" are typically rendered asymmetrically nowadays.
1524 The typical gnulib style is to quote 'like this' when quoting
1525 code, and "like this" when quoting English.
1526
b99e4f78
PE
1527 * time/mktime.c (compile-command): Add "-I.".
1528
643e01e6
PE
1529 mktime: merge mktime-internal.h change from gnulib
1530 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1531
2554247d
PE
1532 mktime: merge time_r change from gnulib
1533 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1534
826dd0ab
PE
1535 mktime: merge DEBUG change from gnulib
1536 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1537 case system <time.h> has a #define.
1538
bd83aabe
PE
1539 mktime: merge <sys/types.h> change from gnulib
1540 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1541 since <time.t> is now guaranteed to define time_t.
1542
95770f14
PE
1543 mktime: merge HAVE_CONFIG_H change from gnulib
1544 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1545
5e1a27a9
L
15462012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1547
0e44a77e
L
1548 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1549 Use "neg %eax".
1550
5e1a27a9
L
1551 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1552 __rlim_t cast.
1553 (struct rusage): Use anonymous union to pad each field to
1554 __syscall_slong_t.
1555
46259bec
DM
15562012-05-21 David S. Miller <davem@davemloft.net>
1557
1558 * Makefules (o-iterator): Remove .s cases.
1559 (compile-command.s): Delete.
1560 (COMPILE.s): Delete.
1561 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1562
59f0c22e
JM
15632012-05-21 Joseph Myers <joseph@codesourcery.com>
1564
1565 * configure.in (libc_cv_predef_stack_protector): Only consider
1566 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1567 * configure: Regenerated.
1568
20c07380
L
15692012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1570
bbb3154b
L
1571 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1572 New macro. Use R*LP on int and pointer.
1573 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
1574 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1575 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
1576 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1577
20c07380
L
1578 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1579 [__WORDSIZE_TIME64_COMPAT32] instead of
1580 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1581 (struct utmp): Likewise.
1582 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1583 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1584 Renamed to ...
1585 (__WORDSIZE_TIME64_COMPAT32): This.
1586 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1587 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1588 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1589 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1590 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1591 (__WORDSIZE_TIME64_COMPAT32): New macro.
1592
d8d1017e
AJ
15932012-05-21 Andreas Jaeger <aj@suse.de>
1594
1595 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1596 only if [SHARED]. Add prototype for __wcschr_ia32.
1597
6c7fb145
RM
15982012-05-21 Roland McGrath <roland@hack.frob.com>
1599
1600 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1601 of %rbp unmolested in the jmp_buf while mangling the low bits.
1602 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1603 unmolested high bits of %rbp while demangling the low bits.
1604 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1605
66274218
AJ
16062012-05-21 Andreas Jaeger <aj@suse.de>
1607
07c58f8f
AJ
1608 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1609 * sunrpc/svc_simple.c: Use it for registerrpc.
1610 * sunrpc/xcrypt.c: Use it for passwd2des.
1611
66274218
AJ
1612 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1613
61f65140
L
16142012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1615
1616 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1617 Don't define if [__SYSCALL_WORDSIZE != 32].
1618 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1619 New macro.
1620
5fefb436
AJ
16212012-05-21 Bruno Haible <bruno@clisp.org>
1622 Andreas Jaeger <aj@suse.de>
1623
1624 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1625 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1626 inptr and inend for must_buffer_ch.
1627 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1628 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1629 * stdio-common/Makefile (tests): Remove bug15.
1630 (bug15-ENV): Remove macro.
1631 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1632 anymore.
1633
d8e272ab
AJ
16342012-05-19 Andreas Jaeger <aj@suse.de>
1635 Roland McGrath <roland@hack.frob.com>
1636
1637 * manual/contrib.texi: Completely rewritten. It contains now an
1638 alphabetical list of contributors and their contributions.
1639
4a56a162
RH
16402012-05-21 Richard Henderson <rth@twiddle.net>
1641
1642 * misc/getauxval.c (__getauxval): Use unsigned long int.
1643 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1644 (getauxval): Use unsigned long int.
1645
d024d23c
L
16462012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1647
1648 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1649
cbc00a03
RM
16502012-05-21 Roland McGrath <roland@hack.frob.com>
1651
1652 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1653 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1654 __alignof__ (long double).
1655
478143fa
AZ
16562012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1657
1658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1659
c7683a6d
RH
16602012-05-20 Richard Henderson <rth@twiddle.net>
1661
1662 * misc/getauxval.c: New file.
1663 * misc/sys/auxv.h: New file.
1664 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1665 (routines): Add getauxval.
1666 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1667 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1668 * elf/dl-sysdep.c (_dl_auxv): Remove.
1669 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1670 * elf/dl-support.c (_dl_auxv): New variable.
1671 (_dl_aux_init): Initialize it.
1672 * manual/startup.texi (Auxiliary Vector): New node.
1673 * sysdeps/generic/bits/hwcap.h: New file.
1674 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1675 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1676 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1677 * sysdeps/sparc/sysdep.h: ... here. Include it.
1678 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1679 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
1680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1681 Update.
c7683a6d
RH
1682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1685 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1686 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1687 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1688 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1690
a6f1845d
AZ
16912012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1692
1693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1694
cbcbe830
DM
16952012-05-19 David S. Miller <davem@davemloft.net>
1696
1697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1698
e0b16cc2
JM
16992012-05-19 Joseph Myers <joseph@codesourcery.com>
1700
1701 [BZ #14123]
1702 * math/s_ccosh.c: Include <float.h>
1703 (__ccosh): Avoid internal overflow calculating sinh and cosh
1704 values before multiplying by sin and cos values.
1705 * math/s_ccoshf.c: Likewise.
1706 * math/s_ccoshl.c: Likewise.
1707 * math/s_csin.c: Likewise.
1708 * math/s_csinf.c: Likewise.
1709 * math/s_csinl.c: Likewise.
1710 * math/s_csinh.c: Likewise.
1711 * math/s_csinhf.c: Likewise.
1712 * math/s_csinhl.c: Likewise.
1713 * math/libm-test.inc (ccos_test): Add more tests.
1714 (ccosh_test): Likewise.
1715 (csin_test): Likewise.
1716 (csinh_test): Likewise.
1717 * sysdeps/i386/fpu/libm-test-ulps: Update.
1718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1719
6ad13e08
L
17202012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1721
f66f0ce8
L
1722 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1723 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1724
6ad13e08
L
1725 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1726
b1d072a7
JM
17272012-05-19 Joseph Myers <joseph@codesourcery.com>
1728
1729 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1730 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1731 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1732 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1733 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1734 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1735 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1736 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1737 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1738 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1739 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1740 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1741 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1742 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1743 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1744 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1745 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1746 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1747 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1748 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1749 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1750 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1751 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1752 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1753 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1754 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1755 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1756 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1757 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1758 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1759 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1760
9eae47cb
AJ
17612012-05-18 Andreas Jaeger <aj@suse.de>
1762
1763 * csu/.gitignore: Delete.
1764
bb07f69f
L
17652012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1766
1767 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1768 (timex): Use __syscall_slong_t.
1769
e6bdb741
AJ
17702012-05-18 Andreas Jaeger <aj@suse.de>
1771 Carlos O'Donell <carlos_odonell@mentor.com>
1772
1773 * manual/install.texi (Configuring and compiling): Update
1774 description about files modified in the source directory.
d6c33fda 1775 * INSTALL: Regenerated.
e6bdb741 1776
1b74487e
L
17772012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1778
1779 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1780 value. Use "or" to set return value to -1.
1781 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1782 negate return value.
1783
a88b64b9
TMQMF
17842012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1785
1786 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1787 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1788 failure if the compiler has Graphite support disabled.
1789 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1790 Likewise.
1791 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1792 CFLAGS-memmove.c): Likewise.
1793 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1794 Likewise.
1795
3707636e
L
17962012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1797
610b8622
L
1798 * sysdeps/x86_64/x32/_itoa.h: New file.
1799
7cd195df
L
1800 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1801 getdents system call only if kernel and user dirents have the
1802 same d_ino and d_off.
1803
94b07d20
L
1804 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1805 LLONG_MAX != LONG_MAX.
1806 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1807 (_fitoa_word): Likewise.
1808
18298070
L
1809 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1810 years.
1811 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1812 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1813 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1814
553c7ea4
L
1815 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1816 include <bits/wordsize.h>. Check __x86_64__ instead of
1817 __WORDSIZE.
1818 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1819 if __x86_64__ is defined. Use anonymous union on fpstate.
1820
3707636e
L
1821 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1822 anonymous union.
1823
b53ef01a
AS
18242012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1825
37fb1dc0
AS
1826 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1827 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1828 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1829 Refer to _rtld_local_ro instead of _rtld_global_ro.
1830 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1831 Likewise.
1832 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1833 Likewise.
1834 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1835 Likewise.
1836 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1837 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1838 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1839
b53ef01a
AS
1840 * sysdeps/powerpc/powerpc32/dl-machine.c
1841 (__elf_machine_runtime_setup) [PROF]: Don't reference
1842 _dl_prof_resolve.
1843
7a185db2
AJ
18442012-05-18 Andreas Jaeger <aj@suse.de>
1845
1846 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1847 function only available for GCCs before 3.4 since GCC 3.4
1848 introduced a builtin.
1849 (lrint): Likewise.
1850 (llrintf): Likewise.
1851 (llrint): Likewise.
1852 (fmaxf): Likewise.
1853 (fmax): Likewise.
1854 (fminf): Likewise.
1855 (fmin): Likewise.
1856 (rint): Likewise.
1857 (rintf): Likewise.
1858 (nearbyint): Likewise.
1859 (nearbyintf): Likewise.
1860 (ceil): Likewise.
1861 (ceilf): Likewise.
1862 (floor): Likewise.
1863 (floorf): Likewise.
1864
3e5aef87
L
18652012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1866
428bd707
L
1867 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1868 on both fields and cast pointer to __syscall_ulong_t.
1869
3e5aef87
L
1870 * bits/types.h (__fsword_t): New type.
1871 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1872 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1873 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1874 (__FSWORD_T_TYPE): Likewise.
1875 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1876 (__FSWORD_T_TYPE): Likewise.
1877 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1878 (__FSWORD_T_TYPE): Likewise.
1879 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1880 (__FSWORD_T_TYPE): Likewise.
1881 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1882 __SWORD_TYPE with __fsword_t.
1883 (statfs64): Likewise.
1884
1ba7c3dc
DM
18852012-05-17 David S. Miller <davem@davemloft.net>
1886
1887 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1888
59910343
AJ
18892012-05-17 Andreas Jaeger <aj@suse.de>
1890
1891 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1892 warning.
1893
2e4c1e9e
L
18942012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1895
1896 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1897
de7f5ce7
AJ
18982012-05-17 Andreas Jaeger <aj@suse.de>
1899
1900 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1901 when it is used.
1902
286abc3d
CM
19032012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1904
1905 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1906
477cc68e
L
19072012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1908
1909 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1910 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1911
1a0994f5
CD
19122012-05-17 Andreas Jaeger <aj@suse.de>
1913 Carlos O'Donell <carlos_odonell@mentor.com>
1914
1915 [BZ #14059]
1916 * sysdeps/x86_64/multiarch/init-arch.h
1917 (bit_YMM_Usable): Rename to...
1918 (bit_AVX_Usable): ... this.
1919 (bit_FMA4_Usable): New macro.
1920 (bit_XMM_state): New macro.
1921 (bit_YMM_state): New macro.
1922 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1923 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1924 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1925 (CPUID_OSXSAVE): New macro.
1926 (CPUID_AVX): New macro.
1927 (CPUID_FMA4): New macro.
1928 (index_YMM_Usable): Rename to...
1929 (index_AVX_Usable): ... this.
1930 (HAS_AVX): Use HAS_ARCH_FEATURE.
1931 (HAS_FMA4): Likewise.
1932 (HAS_YMM_USABLE): Remove.
1933 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1934 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1935 are present.
1936 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1937 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1938 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1939 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1940 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1941
0af797de
CM
19422012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1943
1944 * math/libm-test.c: Support platforms without multiple rounding modes.
1945 * math/bug-nextafter.c: Support platforms without FP exceptions.
1946 * math/bug-nexttoward.c: Likewise.
1947 * math/test-fenv.c: Likewise.
1948 * math/test-misc.c: Likewise.
1949 * stdlib/bug-getcontext.c: Likewise.
1950
e39745ff
AJ
19512012-05-17 Andreas Jaeger <aj@suse.de>
1952
1953 * manual/examples/search.c (critter_cmp): Change signature to
1954 avoid warnings.
1955 * manual/string.texi (Collation Functions): Likewise.
1956
48970aba
L
19572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1958
1959 * bits/types.h: Fold copyright years.
1960 * bits/typesizes.h: Likewise.
1961 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1962 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1963 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1964 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1965 * time/time.h: Likewise.
1966
bedee953
PP
19672012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1968
1969 [BZ #208]
1970 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1971 in instead of returning them. Return void.
1972 (__libc_mallinfo): Accumulate over all arenas.
1973 (__malloc_stats): Adjust for change in int_mallinfo interface.
1974
61653dfb
RM
19752012-05-16 Roland McGrath <roland@hack.frob.com>
1976
30b99d79
RM
1977 [BZ #10375]
1978 * configure.in (NM): Add AC_CHECK_TOOL for it.
1979 (libc_extra_cflags): New substituted variable.
1980 Check for -fstack-protector being used implicitly.
1981 * configure: Regenerated.
1982 * config.make.in (config-extra-cflags): New variable,
1983 gets @libc_extra_cflags@.
1984 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1985
61653dfb
RM
1986 [BZ #10375]
1987 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1988 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1989 * configure: Regenerated.
1990 * config.make.in (CPPUNDEFS): New substituted variable.
1991 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1992 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1993 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1994
661768bb
L
19952012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1996
1997 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1998 (mq_attr): Use __syscall_slong_t.
1999
d4261567
L
20002012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2001
2002 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
2003 Check __x86_64__ instead of __WORDSIZE.
2004 (_STAT_VER_LINUX): Likewise.
2005 (stat): Check __x86_64__ instead of __WORDSIZE. Use
2006 __syscall_ulong_t and __syscall_slong_t.
2007 (stat64): Likewise.
2008
cf3ff365
L
20092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2010
2011 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
2012
76cf3e4d
L
20132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2014
2015 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
2016
a637753a
L
20172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2018
2019 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
2020 __syscall_ulong_t.
2021
d5e05119
L
2022 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
2023 include <bits/wordsize.h>. Check __x86_64__ instead of
2024 __WORDSIZE.
2025 (greg_t): Use "__extension__ long long int" if __x86_64__ is
2026 defined.
2027 (mcontext_t): Replace "unsigned long" with "unsigned long long".
2028
f62ee380
L
2029 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
2030 include <bits/wordsize.h>. Check __x86_64__ instead of
2031 __WORDSIZE.
2032 (user_regs_struct): Use "__extension__ unsigned long long"
2033 instead of "unsigned long" if __x86_64__ is defined.
2034 (user): Likewise. Pad after pointer field if __ILP32__ is
2035 defined.
2036
4e124ced
JM
20372012-05-16 Joseph Myers <joseph@codesourcery.com>
2038
6a3951a0
JM
2039 * configure.in (makeinfo): Require version 4.5 or later. Allow
2040 versions 5 to 9.
2041 * configure: Regenerated.
2042 * manual/install.texi (texinfo): Increase version requirement to
2043 4.5 or later.
2044 * INSTALL: Regenerated.
2045
4e124ced
JM
2046 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
2047
953ca31a
L
20482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2049
2050 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
2051
617aca05
L
2052 * sysdeps/x86_64/x32/ffs.c: New file.
2053
5762f7ae
L
2054 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
2055 __syscall_ulong_t.
2056 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
2057 defined. Use __syscall_ulong_t.
2058 (shminfo): Use __syscall_ulong_t.
2059 (shm_info): Likewise.
2060
a26b6856
L
2061 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
2062 __syscall_ulong_t.
2063
cb2b9ef7
L
2064 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
2065 <bits/wordsize.h>.
2066 (msgqnum_t): Use __syscall_ulong_t.
2067 (msglen_t): Likewise.
2068 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
2069 __syscall_ulong_t.
2070
34683bb0
L
2071 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
2072 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2073
84a68786
L
2074 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
2075
48baa5f1
L
2076 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
2077 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
2078
180be88b
L
2079 * sysvipc/sys/msg.h (msgbuf): Replace long int with
2080 __syscall_slong_t.
2081
5e90c8ad
L
2082 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
2083 include <bits/wordsize.h>. Check __x86_64__ instead of
2084 __WORDSIZE.
2085
23dfb58b
L
2086 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
2087 "unsigned long long int" if __x86_64__ is defined.
2088 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
2089
ce5d54b0
L
2090 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
2091 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2092 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
2093
13dc9eac
L
2094 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
2095 <stdint.h>.
2096 (GET_PC): Cast to uintptr_t first.
2097 (GET_FRAME): Likewise.
2098 (GET_STACK): Likewise.
2099
a7895d15
L
2100 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
2101 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
2102 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
2103 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
2104 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
2105 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
2106 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
2107 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
2108 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2109 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2110 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2111 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2112 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2113 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2114 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2115 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2116 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2117 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2118 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2119 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2120 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2121 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2122 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2123 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2124 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2125 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2126 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2127 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2128 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2129
656416c9
AS
21302012-05-16 Andreas Schwab <schwab@linux-m68k.org>
2131
5bd66283
AS
2132 * Makerules (+depfiles): Also collect depfiles from .oS in
2133 $(extra-objs).
2134 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2135 .oS, $(libnldbl-routines)).
2136
656416c9
AS
2137 * Makerules (native-compile-mkdep-flags): Define.
2138 * sunrpc/Makefile (extra-objs): Add $(addprefix
2139 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2140 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2141 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
2142 calling $(make-target-directory).
2143
a46f2169
L
21442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2145
2146 * bits/types.h (__snseconds_t): Removed.
2147 * time/time.h (struct timespec): Replace __snseconds_t with
2148 __syscall_slong_t.
2149 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2150 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2151 Likewise.
2152 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2153 (__SNSECONDS_T_TYPE): Likewise.
2154 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2155 (__SNSECONDS_T_TYPE): Likewise.
2156 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2157 (__SNSECONDS_T_TYPE): Likewise.
2158
6af6528b
L
21592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2160
2161 * sysdeps/mach/hurd/bits/typesizes.h
2162 (__SYSCALL_SLONG_TYPE): New macro.
2163 (__SYSCALL_ULONG_TYPE): Likewise.
2164
de986b56
L
21652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2166
2167 * bits/types.h (__syscall_slong_t): New type.
2168 (__syscall_ulong_t): Likewise.
2169
2170 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2171 (__SYSCALL_ULONG_TYPE): Likewise.
2172 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2173 (__SYSCALL_SLONG_TYPE): Likewise.
2174 (__SYSCALL_ULONG_TYPE): Likewise.
2175 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2176 (__SYSCALL_SLONG_TYPE): Likewise.
2177 (__SYSCALL_ULONG_TYPE): Likewise.
2178 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2179 (__SYSCALL_SLONG_TYPE): Likewise.
2180 (__SYSCALL_ULONG_TYPE): Likewise.
2181
85736dc7
L
21822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2183
2184 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2185 Add sigaltstack-offsets.sym.
2186 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2187 <sigaltstack-offsets.h>.
2188 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2189 longjmp_msg pointer.
2190 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2191 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2192 signal stack.
2193 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2194
cc03b296
JM
21952012-05-15 Joseph Myers <joseph@codesourcery.com>
2196
a9538892
JM
2197 * elf/stackguard-macros.h: Remove file.
2198 * sysdeps/generic/stackguard-macros.h: New file.
2199 * sysdeps/i386/stackguard-macros.h: Likewise.
2200 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2201 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2202 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2203 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2204 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2205 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2206 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2207 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2208 <elf/stackguard-macros.h>.
2209
cc03b296
JM
2210 [BZ #14109]
2211 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2212 __aligned__ in attribute.
2213 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2214 (gregset_t): Likewise.
2215
93171016
L
22162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2217
2218 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2219 * sysdeps/x86_64/64/Implies-after: Here. New file.
2220 * sysdeps/x86_64/x32/Implies-after: New file.
2221
d86813a0
L
22222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2223
2224 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2225 and access return value for _dl_profile_fixup. Use R10_LP to
2226 load frame size.
2227
2953ec75
L
22282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2229
2230 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2231
3b550e9e
L
22322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2233
2234 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2235 * sysdeps/x86_64/x32/sysdep.h: New file.
2236
eda41706
L
22372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2238
2239 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2240 * sysdeps/x86_64/setjmp.S: Likewise.
2241
9ea01d93
AZ
22422012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2243
2244 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2245 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2246 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2247 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2248 remove unused global constant.
2249
02a91938
CM
22502012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2251
2252 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2253 include of <not-cancel.h>.
2254
6540185f
RM
22552012-05-15 Roland McGrath <roland@hack.frob.com>
2256
2257 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2258
509072a0
AJ
22592012-05-15 Jeff Law <law@redhat.com>
2260 Andreas Jaeger <aj@suse.de>
2261
2262 [BZ #13594]
2263 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2264 out from...
2265 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2266 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2267 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2268 code changing __hst_map_handle.map.
2269
ba75122d
RM
22702012-05-15 Roland McGrath <roland@hack.frob.com>
2271
2272 * configure.in (sysnames): Look for Implies-before and Implies-after
2273 files.
2274 * configure: Regenerated.
2275
890d8bd8
L
22762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2277
2278 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2279 8-byte data alignment with LP_SIZE alignment.
2280
f6ee6623
L
22812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2282
2283 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2284 into R10_LP.
2285
ea2626f6
L
22862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2287
2288 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2289
085f715e
L
22902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2291
2292 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2293 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2294 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2295 Likewise.
2296 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2297
be8498fc
L
22982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2299
2300 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2301 (stackinfo_sub_sp): Likewise.
2302
70bc83b9
L
23032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2304
2305 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2306 RAX_LP.
2307
9bc0b730
L
23082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2309
2310 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2311 into R*_LP.
2312
6d2850e7
L
23132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2314
2315 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2316 sizes into R*_LP.
2317
3cb84561
L
23182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2319
2320 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2321
54e2ed81
L
23222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2323
2324 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2325 into R11_LP and load __x86_64_shared_cache_size_half into
2326 R8_LP.
2327
8a17f349
L
23282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2329
2330 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2331 R8_LP.
2332
777b1eea
AZ
23332012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2334
2335 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2336 logb for POWER7.
2337 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2338 logbf for POWER7.
2339 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2340 logbl for POWER7.
2341 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2342 powerpc32/power7/fpu/s_logb.c via #include.
2343 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2344 powerpc32/power7/fpu/s_logbf.c via #include.
2345 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2346 powerpc32/power7/fpu/s_logbl.c via #include.
2347
d20d4ac2
JM
23482012-05-15 Joseph Myers <joseph@codesourcery.com>
2349
2350 * README.libm: Remove file.
2351
6cdef1ab
L
23522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2353
2354 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2355 count for x32. Use R*_LP and omit operand-size suffix.
2356
0b254d8f
L
23572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2358
2359 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2360 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2361 * sysdeps/x86_64/x32/shlib-versions: New file.
2362
ceb809dc
RM
23632012-05-14 Roland McGrath <roland@hack.frob.com>
2364
2365 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2366 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2367 Use _dl_fatal_printf instead.
2368
37f1abd4
JM
23692012-05-14 Joseph Myers <joseph@codesourcery.com>
2370
2371 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2372 set if not set by the user. Do not allow for being unset.
2373 * sysdeps/unix/sysv/linux/configure: Regenerated.
2374
11de3a33
L
23752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2376
2377 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2378 the `q' suffix from lea and replace .quad with ASM_ADDR.
2379
e02f153a
L
23802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2381
2382 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2383 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2384 instead of $17.
2385 (PTR_DEMANGLE): Likewise.
2386
520ae0fd
L
23872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2388
2389 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2390 (LP_OP): Likewise.
2391 (ASM_ADDR): Likewise.
2392 (RAX_LP): Likewise.
2393 (RBP_LP): Likewise.
2394 (RBX_LP): Likewise.
2395 (RCX_LP): Likewise.
2396 (RDI_LP): Likewise.
2397 (RSI_LP): Likewise.
2398 (RSP_LP): Likewise.
2399 (R8_LP): Likewise.
2400 (R9_LP): Likewise.
2401 (R10_LP): Likewise.
2402 (R10_LP): Likewise.
2403 (R11_LP): Likewise.
2404 (R12_LP): Likewise.
2405 (R13_LP): Likewise.
2406 (R14_LP): Likewise.
2407 (R15_LP): Likewise.
2408
b985be81
L
24092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2410
2411 * sysdeps/x86_64/x32/dl-machine.h: New file.
2412
6a4888ff
AJ
24132012-05-14 Andreas Jaeger <aj@suse.de>
2414
2415 * manual/Makefile (subdir): Remove export of subdir.
2416 (all): Remove target.
2417 (.PHONY): Remove all from list.
2418 (mkinstalldirs): Remove.
2419 (.PHONY): Remove installdirs from list.
2420 ($(inst_infodir)/libc.info): Use make-target-directory.
2421 (installdirs): Remove.
2422 (subdir_%): Remove.
2423 (glibc-targets): Remove.
2424 (lib): Remove.
2425 (stubs): Remove.
2426 ($(objpfx)stubs ../po/manual.pot): Remove.
2427 ($(objpfx)stamp%): Remove.
2428 (make-target-directory): Remove.
2429 (subdir_install): Remove.
2430 (routines): Remove.
2431 (aux): Remove.
2432 (sources): Remove.
2433 (objects): Remove.
2434 (headers): Remove.
2435
2436 [BZ #13750]
2437 * manual/.gitignore: Remove, it's not needed anymore.
2438 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2439 all files in it.
2440 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2441 directory.
2442 (texis): Renamed to $(objpfx)texis.
2443 (texis-path): New, contains path to generated files.
2444 (chapters.%): Use texis-path for complete path, add extra argument
2445 libc-texinfo.sh.
2446 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2447 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2448 (summary,texi, stamp-summary): Use complete path of
2449 files. Generate files in build dir.
2450 (dir-add.texi): Build in build dir.
2451 (libm-err.texi,stamp-libm-err): Likewise.
2452 (version.texi, stamp-version): Likewise.
2453 (.%c.texi): Likewise.
2454 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2455 (mostlyclean): Remove target.
2456 (realclean): Remove target.
2457 (generated): Add new variable with contents from mostlyclean and
2458 realclean, remove entries duplicated in common-mostlyclean, add
2459 stamp-libm-err and stamp-version.
2460 (generated-dirs): Add libc directory.
2461 ($(inst_infodir)/libc.info): Install files from build dir.
2462
2463 * manual/install.texi (Configuring and compiling): Adjust since
2464 the info files are not part of the tar ball anymore.
2465
7ac77294
AJ
24662012-05-14 Andreas Jaeger <aj@suse.de>
2467
2468 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2469 variable.
2470
ffb7875d
JM
24712012-05-14 Joseph Myers <joseph@codesourcery.com>
2472
2473 [BZ #13717]
2474 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2475 to 2.2.0 where earlier.
2476 * sysdeps/unix/sysv/linux/configure: Regenerated.
2477 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2478 Remove conditional code.
2479 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2480 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2481 Remove conditional code.
2482 [!__NR_lchown]: Likewise.
2483 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2484 [__NR_lchown]: Likewise.
2485 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2486 comment referencing __ASSUME_LCHOWN_SYSCALL.
2487 * sysdeps/unix/sysv/linux/i386/sigaction.c
2488 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2489 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2490 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2491 Remove conditional code.
2492 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2493 (__protocol_available): Remove #if 0 code.
2494 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2495 conditional code.
2496 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2497 * sysdeps/unix/sysv/linux/kernel-features.h
2498 (__ASSUME_GETCWD_SYSCALL): Don't define.
2499 (__ASSUME_REALTIME_SIGNALS): Likewise.
2500 (__ASSUME_PREAD_SYSCALL): Likewise.
2501 (__ASSUME_PWRITE_SYSCALL): Likewise.
2502 (__ASSUME_POLL_SYSCALL): Likewise.
2503 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2504 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2505 non-SPARC.
2506 (__ASSUME_SIOCGIFNAME): Don't define.
2507 (__ASSUME_MSG_NOSIGNAL): Likewise.
2508 (__ASSUME_SENDFILE): Define unconditionally.
2509 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2510 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2511 conditional code.
2512 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2513 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2514 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2515 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2516 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2517 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2518 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2520 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2521 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2523 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2524 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2526 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2527 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2529 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2530 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2532 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2533 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2535 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2536 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2538 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2539 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2541 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2542 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2543 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2544 Remove conditional code.
2545 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2546 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2547 Remove conditional code.
2548 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2549 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2550 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2551 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2552 Remove conditional code.
2553 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2554 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2555 Remove conditional code.
2556 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2557 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2558 Remove conditional code.
2559 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2560 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2561 Remove conditional code.
2562 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2563 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2564 Remove conditional code.
2565 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2566 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2567 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2568 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2569 * sysdeps/unix/sysv/linux/sigaction.c
2570 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2571 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2572 * sysdeps/unix/sysv/linux/sigpending.c
2573 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2574 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2575 * sysdeps/unix/sysv/linux/sigprocmask.c
2576 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2577 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2578 * sysdeps/unix/sysv/linux/sigsuspend.c
2579 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2580 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2581 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2582 (__libc_missing_rt_sigs): Remove.
2583 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2584 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2585 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2586 Remove conditional code.
2587 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2588 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2589 return 1.
2590 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2591 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2592 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2593 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2594
1bfb7291
AJ
25952012-05-14 Andreas Jaeger <aj@suse.de>
2596
caae5a81
AJ
2597 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2598 it's not used in glibc.
2599 (__coshm1): Likewise.
2600 (__acosh1p): Likewise.
2601 (__sgn): Likewise.
2602
1bfb7291
AJ
2603 * manual/string.texi (Copying and Concatenation): Add missing
2604 variable in concat example.
2605 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2606
c044d724
L
26072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2608
144c5467 2609 [BZ #14103]
c044d724
L
2610 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2611 __builtin_clzl with __builtin_clzll.
2612
2523c62b
L
26132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2614
2615 [BZ #14104]
2616 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2617 libc_freeres_ptr.
2618
d7bb4c42
LD
26192012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2620
2621 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2622 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2623 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2624 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2625
9dc4e1fb
MF
26262012-05-14 Mike Frysinger <vapier@gentoo.org>
2627
2628 * NEWS: Update ia64 info.
2629
c7df0112
AS
26302012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2631
2632 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2633 used as bcopy.
2634
dc70356c
TS
26352012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2636
2637 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2638 * sysdeps/unix/syscalls.list (dup3): Likewise.
2639 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2640 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2641
9fb1a21f
L
26422012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2643
2644 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2645 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2646
4822a2a5
L
26472012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2648
2649 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2650 thread pointer.
2651 (TLS_IE): Use mov/add instead of movq/addq to load thread
2652 pointer.
2653 (TLS_GD_PREFIX): New.
2654 (TLS_GD): Use it.
2655
842b81d6
DM
26562012-05-11 David S. Miller <davem@davemloft.net>
2657
2658 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2659 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2660 (_FPU_SETCW): Likewise.
2661
1cf463cd
L
26622012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2663
2664 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2665 is 32-byte aligned.
2666
60cc4a18
AS
26672012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2668
2669 [BZ #11837]
2670 * iconvdata/gb18030.c: Update tables.
2671 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2672 characters specially.
2673 (BODY for TO_LOOP): Add encoding of missing ranges.
2674
febb44a4
TS
26752012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2676
2677 [BZ #13673]
2678 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2679 * sysdeps/mach/hurd/dup3.c: Likewise.
2680 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2681 * sysdeps/powerpc/memmove.c:: Likewise.
2682
0a10fb9e
L
26832012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2684
2685 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2686 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2687
df8a552f
L
26882012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2689
2690 * elf/elf.h (R_X86_64_RELATIVE64): New.
2691 (R_X86_64_NUM): Updated.
2692 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2693 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2694 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2695 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2696 tst-quad1pie tst-quad2pie
2697 (modules-names): Add tst-quadmod1 tst-quadmod2.
2698 ($(objpfx)tst-quad1): New dependency.
2699 ($(objpfx)tst-quad2): Likewise.
2700 ($(objpfx)tst-quad1pie): Likewise.
2701 ($(objpfx)tst-quad2pie): Likewise.
2702 * sysdeps/x86_64/tst-quad1.c: New file.
2703 * sysdeps/x86_64/tst-quad1pie.c: New file.
2704 * sysdeps/x86_64/tst-quad2.c: Likewise.
2705 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2706 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2707 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2708 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2709 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2710
f34d6f84
ST
27112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2712
f42d41d1
ST
2713 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2714 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2715 * streams/stropts.h (t_scalar_t): Define type.
2716
3c3571fc
ST
2717 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2718 (_PATH_PRESERVE): Set to "/var/lib".
2719 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2720
61f06bd3
ST
2721 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2722 instead of int.
2723
918d4d71
ST
2724 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2725 if __dir_mkfile succeeded.
2726
f34d6f84
ST
2727 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2728 checking for _hurd_dtablesize. Unlock it right after having
2729 finished _hurd_dtable allocation.
2730
10589b4a
TS
27312012-05-10 Thomas Schwinge <thomas@schwinge.name>
2732
674cdbc7
TS
2733 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2734 * sysdeps/mach/hurd/configure: Regenerated.
2735 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2736 special-casing to...
2737 * sysdeps/gnu/configure.in: ... this new file.
2738 * sysdeps/unix/sysv/linux/configure: Regenerated.
2739 * sysdeps/gnu/configure: New generated file.
2740
8e41b99f
TS
2741 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2742 for Linux: use nsec instead of usec, as well as:
2743 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2744 members of type struct timespec.
2745 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2746 New macros.
2747 (struct stat64): Likewise.
2748 (_STATBUF_ST_NSEC): New macro.
2749 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2750
10589b4a
TS
2751 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2752 __strtoul_internal rather than strtoul.
2753
63643c85
PT
27542012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2755
2756 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2757 and reject them.
2758
3faebe6a
ST
27592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2760
2761 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2762 which preserves existing values.
2763 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2764
c6474b07
PT
27652012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2766
2767 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2768 TIMEOUT values. Return EINVAL for NFDS values either negative or
2769 greater than FD_SETSIZE.
2770
1043890b
ST
27712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2772
2773 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2774 allocated, call __vm_protect to finish enabling the existing space, and
2775 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2776 allocate the remainder.
2777
37ed8b9b
PT
27782012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2779
2780 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2781 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2782
db653660
ST
27832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2784
37ed8b9b
PT
2785 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2786 sysdeps/mach/hurd/readlink.c.
b29d4053 2787
db653660
ST
2788 * posix/tst-sysconf.c (posix_options): Only use
2789 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2790 _POSIX_SYNCHRONIZED_IO when they are defined
2791 * sysdeps/mach/hurd/bits/posix_opt.h:
2792 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2793 (_XOPEN_REALTIME): Undefine macro.
2794 (_XOPEN_REALTIME_THREADS): Undefine macro.
2795 (_XOPEN_SHM): Undefine macro.
2796 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2797 macro to -1.
2798 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2799 macro to -1.
2800 (_POSIX_ASYNC_IO): Undefine macro.
2801 (_POSIX_PRIORITIZED_IO): Undefine macro.
2802 (_POSIX_SPIN_LOCKS): Define macro to -1.
2803
ee16e894
ST
2804 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2805 SA_NODEFER, SA_RESETHAND.
2806 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2807 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2808 F_DUPFD_CLOEXEC.
2809
6103ae3b
TS
28102012-05-10 Thomas Schwinge <thomas@schwinge.name>
2811
2812 * elf/Makefile (pldd-modules): Define unconditionally.
2813
80b4e5f3
TS
28142012-05-10 Thomas Schwinge <thomas@schwinge.name>
2815
2816 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2817
edadcbd6
ST
28182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2819
2820 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2821 Return ENOENT when name is empty.
2822 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2823
80694780
TS
28242012-05-10 Thomas Schwinge <thomas@schwinge.name>
2825
1792c087
TS
2826 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2827
80694780
TS
2828 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2829
6b645f0d
ST
28302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2831
80694780
TS
2832 Fix mlock in all cases except non-readable pages.
2833 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2834 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 2835
6b645f0d
ST
2836 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2837 (__mkdir): When path is `/', just fail with EEXIST.
2838 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2839
e468f8a3
TS
28402012-05-10 Thomas Schwinge <thomas@schwinge.name>
2841
2842 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2843 <sys/uio.h> (for writev).
2844 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2845 and <sys/param.h> (for MIN).
2846
a4186cff
PT
28472012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2848
2849 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2850 REQUESTED_TIME. Properly set the remaining time and return EINTR
2851 if interrupted.
2852
510bbf14
TS
28532012-05-10 Thomas Schwinge <thomas@schwinge.name>
2854
2855 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2856 Depend on against $(link-rpcuserlibs).
2857
5d5722e8
ST
28582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2859
a4186cff
PT
2860 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2861 (__libc_stack_end): Do not use attribute_relro.
2862 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2863 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 2864 to libthread-provided value.
a4186cff
PT
2865 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2866 attribute_relro.
5d5722e8 2867
37233df9
TS
28682012-05-10 Thomas Schwinge <thomas@schwinge.name>
2869
be971a2b
TS
2870 [BZ #3748]
2871 * bits/libc-lock.h (__libc_once_get): New macro.
2872 * sysdeps/mach/bits/libc-lock.h: Likewise.
2873 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2874 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2875 instead of using implementation details.
2876
37233df9
TS
2877 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2878 * libio/freopen.c: Likewise.
2879 * libio/freopen64.c: Likewise.
2880 * misc/syslog.c: Likewise.
2881 * nscd/connections.c: Likewise.
2882 * nscd/netgroupcache.c: Likewise.
2883 * sysdeps/posix/getcwd.c: Likewise.
2884
38de94a5
RM
28852012-05-10 Roland McGrath <roland@hack.frob.com>
2886
2887 * math/w_ilogbf.c: Add #include <limits.h>.
2888
67530489
ST
28892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2890
a4186cff 2891 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
2892 path instead of returning without unlocking.
2893
67530489
ST
2894 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2895 immediate-write ioctls.
2896 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2897
5aa3a74a
TS
28982012-05-10 Thomas Schwinge <thomas@schwinge.name>
2899
18bad2ae
TS
2900 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2901 __builtin_frame_address instead of making assumptions about the
2902 location of the return address relative to DATA. Force early load of
2903 the return address.
2904 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2905 __builtin_frame_address.
2906
5aa3a74a
TS
2907 dup3 for GNU Hurd.
2908 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2909 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2910 implement dup3 and do some further code clean-ups.
2911 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2912 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2913
ecd0de9a
ST
29142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2915
cd9fa985
ST
2916 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2917
a4186cff
PT
2918 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2919 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2920 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2921 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2922 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2923 d->port.lock.
802ca5a5 2924
a4186cff
PT
2925 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2926 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2927 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 2928
bcf55240
TS
29292012-05-10 Thomas Schwinge <thomas@schwinge.name>
2930
6960eb42
TS
2931 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2932 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2933 definitions.
2934
eb43375f
TS
2935 accept4 for GNU Hurd.
2936 * include/sys/socket.h (__libc_accept4): New prototype.
2937 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2938 to implement __libc_accept4.
2939 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2940 __libc_accept4.
2941 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2942
bcf55240
TS
2943 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2944 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2945 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2946 signal-defines.sym.
2947
6178c55b
ST
29482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2949
a4186cff 2950 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 2951
6f080c2f
TS
29522012-05-10 Thomas Schwinge <thomas@schwinge.name>
2953
2954 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2955 assertion on O_CLOEXEC flag.
2956 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2957 * hurd/intern-fd.c: Likewise.
2958 * hurd/port2fd.c: Likewise.
2959
bcfe3a54
ST
29602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2961
2962 [BZ #3906]
2963 * bits/in.h (IPV6_PKTINFO): Define new macro.
2964 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2965
89c9aa49
AZ
29662012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2967
2968 [BZ #13954]
2969 [BZ #13955]
2970 [BZ #13956]
2971 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2972 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2973 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2974 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2975 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2976 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2977 * math/libm-test.inc (logb_test) : Additional logb tests.
2978
021db4be
AJ
29792012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2980 Andreas Jaeger <aj@suse.de>
2981
2982 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2983 * configure: Regenerated.
2984 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2985 * config.make.in (link-obsolete-rpc): New substituted variable.
2986 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2987 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2988 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2989 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2990 so that libc.a contains the symbols.
2991 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2992 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2993 * sunrpc/auth_none.c: Likewise.
2994 * sunrpc/auth_unix.c: Likewise.
2995 * sunrpc/authdes_prot.c: Likewise.
2996 * sunrpc/authuxprot.c: Likewise.
2997 * sunrpc/clnt_gen.c: Likewise.
2998 * sunrpc/clnt_perr.c: Likewise.
2999 * sunrpc/clnt_raw.c: Likewise.
3000 * sunrpc/clnt_simp.c: Likewise.
3001 * sunrpc/clnt_tcp.c: Likewise.
3002 * sunrpc/clnt_udp.c: Likewise.
3003 * sunrpc/clnt_unix.c: Likewise.
3004 * sunrpc/des_crypt.c: Likewise.
3005 * sunrpc/des_soft.c: Likewise.
3006 * sunrpc/get_myaddr.c: Likewise.
3007 * sunrpc/key_call.c: Likewise.
3008 * sunrpc/key_prot.c: Likewise.
3009 * sunrpc/netname.c: Likewise.
3010 * sunrpc/pm_getmaps.c: Likewise.
3011 * sunrpc/pm_getport.c: Likewise.
3012 * sunrpc/pmap_clnt.c: Likewise.
3013 * sunrpc/pmap_prot.c: Likewise.
3014 * sunrpc/pmap_prot2.c: Likewise.
3015 * sunrpc/pmap_rmt.c: Likewise.
3016 * sunrpc/publickey.c: Likewise.
3017 * sunrpc/rpc_cmsg.c: Likewise.
3018 * sunrpc/rpc_common.c: Likewise.
3019 * sunrpc/rpc_dtable.c: Likewise.
3020 * sunrpc/rpc_prot.c: Likewise.
3021 * sunrpc/rpc_thread.c: Likewise.
3022 * sunrpc/rtime.c: Likewise.
3023 * sunrpc/svc.c: Likewise.
3024 * sunrpc/svc_auth.c: Likewise.
3025 * sunrpc/svc_raw.c: Likewise.
3026 * sunrpc/svc_run.c: Likewise.
3027 * sunrpc/svc_tcp.c: Likewise.
3028 * sunrpc/svc_udp.c: Likewise.
3029 * sunrpc/svc_unix.c: Likewise.
3030 * sunrpc/svcauth_des.c: Likewise.
3031 * sunrpc/xcrypt.c: Likewise.
3032 * sunrpc/xdr.c: Likewise.
3033 * sunrpc/xdr_array.c: Likewise.
3034 * sunrpc/xdr_float.c: Likewise.
3035 * sunrpc/xdr_intXX_t.c: Likewise.
3036 * sunrpc/xdr_mem.c: Likewise.
3037 * sunrpc/xdr_rec.c: Likewise.
3038 * sunrpc/xdr_ref.c: Likewise.
3039 * sunrpc/xdr_sizeof.c: Likewise.
3040 * sunrpc/xdr_stdio.c: Likewise.
3041
b5c086a2
RM
30422012-05-10 Roland McGrath <roland@hack.frob.com>
3043
3044 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
3045 change. Update copyright years.
3046
6d74dd09
JM
30472012-05-10 Joseph Myers <joseph@codesourcery.com>
3048
3049 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
3050
28e72501
MK
30512012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
3052 Joseph Myers <joseph@codesourcery.com>
3053 Paul Pluzhnikov <ppluzhnikov@google.com>
3054
3055 [BZ #14012]
3056 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
3057 requiring rpcgen.
3058 [cross-compiling] (extra-libs): Likewise.
3059 [cross-compiling] (extra-libs-others): Likewise.
3060 [cross-compiling] (librpcsvc-routines): Likewise.
3061 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
3062 [cross-compiling] (omit-deps): Likewise.
3063 (sunrpc-CPPFLAGS): New variable.
3064 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
3065 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
3066 (cross-rpcgen-objs): New variable.
3067 (extra-objs): Append $(cross-rpcgen-objs).
3068 ($(cross-rpcgen-objs)): New rule.
3069 ($(objpfx)cross-rpcgen): Likewise.
3070 (rpcgen-cmd): Define to use $(built-program-file). Expand
3071 comment.
3072 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
3073 ($(objpfx)x%.stmp): Likewise.
3074 * sunrpc/proto.h [IS_IN_build] (_): Define.
3075 [IS_IN_build] (_libc_intl_domainname): Likewise.
3076
c8c59454
L
30772012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3078
3079 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
3080 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
3081 and R_X86_64_TPOFF64.
3082
6f27cd16
JM
30832012-05-10 Joseph Myers <joseph@codesourcery.com>
3084
3085 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
3086 sysdeps/unix/sysv/syscalls.list.
3087 (stime): Likewise.
3088 (utime): Likewise.
3089 * sysdeps/unix/sysv/syscalls.list: Remove file.
3090
02467e1c
PE
30912012-05-10 Paul Eggert <eggert@cs.ucla.edu>
3092
3093 [BZ #3440]
3094 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
3095 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
3096 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
3097 (__LC_IDENTIFICATION): Make these macros useful in #if
3098 expressions, as required by C99.
3099
da392631
AS
31002012-05-10 Andreas Schwab <schwab@linux-m68k.org>
3101
3102 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
3103 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
3104 after this.
3105
8115f29b
L
31062012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3107
3108 * stdlib/longlong.h: Updated from GCC.
3109
bdd74070
AJ
31102012-05-09 Andreas Jaeger <aj@suse.de>
3111
edfe0dbe
AJ
3112 * nscd/nscd.c (run_modes): Make named enum, reorder so that
3113 default is first entry.
3114 (run_mode): Set type.
3115 (main): Remove informal message about syslog.
3116 (options): Fix typo.
3117
bcfe3a54
ST
3118 [BZ #14053]
3119 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 3120 to asm.
bcfe3a54
ST
3121 (lrint): Likewise.
3122 (llrintf): Likewise.
3123 (llrint): Likewise.
3124 (rint): Likewise.
3125 (rintf): Likewise.
3126 (nearbyint): Likewise.
3127 (nearbyintf): Likewise.
bdd74070 3128
91d8d69e
AJ
31292012-05-09 Andreas Jaeger <aj@suse.de>
3130 Pedro Alves <palves@redhat.com>
3131
3132 * nscd/nscd.c (run_mode): Use enum.
3133 (main): Cleanup coding style issue.
3134
bb90b80b
AJ
31352012-05-09 Alexandre Oliva <aoliva@redhat.com>
3136 Andreas Jaeger <aj@suse.de>
3137
bcfe3a54
ST
3138 * nscd/nscd.c (go_background): Replaced with...
3139 (run_mode): ... this.
bb90b80b 3140 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
3141 (options): Add -F --foreground.
3142 (main): Implement it.
3143 (parse_opt): Parse it.
bb90b80b 3144
1a4b75a1
AJ
31452012-05-09 Andreas Jaeger <aj@suse.de>
3146
3147 [BZ #14083]
3148 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3149 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3150 -Wconversion warning.
3151 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3152 Likewise.
3153
b1cc2472
JM
31542012-05-09 Joseph Myers <joseph@codesourcery.com>
3155
3156 * conform/data/locale.h-data (NULL): Use macro-constant. Require
3157 == 0.
3158 (LC_ALL): Use macro-int-constant.
3159 (LC_COLLATE): Likewise.
3160 (LC_CTYPE): Likewise.
3161 (LC_MESSAGES): Likewise.
3162 (LC_MONETARY): Likewise.
3163 (LC_NUMERIC): Likewise.
3164 (LC_TIME): Likewise.
3165 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3166 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3167 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3168 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3169 Specify type.
3170 [C99-based standards] (float_t): Expect type.
3171 [C99-based standards] (double_t): Expect type.
3172 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3173 type.
3174 [C99-based standards] (HUGE_VALL): Likewise.
3175 [C99-based standards] (INFINITY): Likewise.
3176 [C99-based standards] (NAN): Likewise.
3177 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3178 [C99-based standards] (FP_NAN): Likewise.
3179 [C99-based standards] (FP_NORMAL): Likewise.
3180 [C99-based standards] (FP_SUBNORMAL): Likewise.
3181 [C99-based standards] (FP_ZERO): Likewise.
3182 [C99-based standards] (FP_FAST_FMA): Use
3183 optional-macro-int-constant. Specify type. Require == 1.
3184 [C99-based standards] (FP_FAST_FMAF): Likewise.
3185 [C99-based standards] (FP_FAST_FMAL): Likewise.
3186 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3187 [C99-based standards] (FP_ILOGBNAN): Likewise.
3188 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3189 Specify type.
3190 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3191 [C99-based standards] (math_errhandling): Specify type.
3192 [ISO99 || ISO11] (signgam): Do not allow.
3193 [non-C99-based standards] (copysignf): Do not allow.
3194 [non-C99-based standards] (exp2f): Likewise.
3195 [non-C99-based standards] (log2f): Likewise.
3196 [non-C99-based standards] (modff): Allow.
3197 [non-C99-based standards] (erff): Do not allow.
3198 [non-C99-based standards] (erfcf): Likewise.
3199 [non-C99-based standards] (gammaf): Likewise.
3200 [non-C99-based standards] (hypotf): Likewise.
3201 [non-C99-based standards] (j0f): Likewise.
3202 [non-C99-based standards] (j1f): Likewise.
3203 [non-C99-based standards] (jnf): Likewise.
3204 [non-C99-based standards] (lgammaf): Likewise.
3205 [non-C99-based standards] (tgammaf): Likewise.
3206 [non-C99-based standards] (y0f): Likewise.
3207 [non-C99-based standards] (y1f): Likewise.
3208 [non-C99-based standards] (ynf): Likewise.
3209 [non-C99-based standards] (isnanf): Likewise.
3210 [non-C99-based standards] (acoshf): Likewise.
3211 [non-C99-based standards] (asinhf): Likewise.
3212 [non-C99-based standards] (atanhf): Likewise.
3213 [non-C99-based standards] (cbrtf): Likewise.
3214 [non-C99-based standards] (expm1f): Likewise.
3215 [non-C99-based standards] (ilogbf): Likewise.
3216 [non-C99-based standards] (log1pf): Likewise.
3217 [non-C99-based standards] (logbf): Likewise.
3218 [non-C99-based standards] (nextafterf): Likewise.
3219 [non-C99-based standards] (remainderf): Likewise.
3220 [non-C99-based standards] (rintf): Likewise.
3221 [non-C99-based standards] (scalbf): Likewise.
3222 [non-C99-based standards] (copysignl): Likewise.
3223 [non-C99-based standards] (exp2l): Likewise.
3224 [non-C99-based standards] (log2l): Likewise.
3225 [non-C99-based standards] (modfl): Allow.
3226 [non-C99-based standards] (erfl): Do not allow.
3227 [non-C99-based standards] (erfcl): Likewise.
3228 [non-C99-based standards] (gammal): Likewise.
3229 [non-C99-based standards] (hypotl): Likewise.
3230 [non-C99-based standards] (j0l): Likewise.
3231 [non-C99-based standards] (j1l): Likewise.
3232 [non-C99-based standards] (jnl): Likewise.
3233 [non-C99-based standards] (lgammal): Likewise.
3234 [non-C99-based standards] (tgammal): Likewise.
3235 [non-C99-based standards] (y0l): Likewise.
3236 [non-C99-based standards] (y1l): Likewise.
3237 [non-C99-based standards] (ynl): Likewise.
3238 [non-C99-based standards] (isnanl): Likewise.
3239 [non-C99-based standards] (acoshl): Likewise.
3240 [non-C99-based standards] (asinhl): Likewise.
3241 [non-C99-based standards] (atanhl): Likewise.
3242 [non-C99-based standards] (cbrtl): Likewise.
3243 [non-C99-based standards] (expm1l): Likewise.
3244 [non-C99-based standards] (ilogbl): Likewise.
3245 [non-C99-based standards] (log1pl): Likewise.
3246 [non-C99-based standards] (logbl): Likewise.
3247 [non-C99-based standards] (nextafterl): Likewise.
3248 [non-C99-based standards] (remainderl): Likewise.
3249 [non-C99-based standards] (rintl): Likewise.
3250 [non-C99-based standards] (scalbl): Likewise.
3251 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3252 [non-C99-based standards] (FP_*): Do not allow.
3253 [C99-based standards] (FP_*): Change to
3254 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3255 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3256 allow.
3257 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3258 (SIG_ERR): Likewise.
3259 [X/Open-based standards] (SIG_HOLD): Likewise.
3260 (SIG_IGN): Likewise.
3261 (SIGABRT): Use macro-int-constant. Specify type. Require
3262 positive value.
3263 (SIGFPE): Likewise.
3264 (SIGILL): Likewise.
3265 (SIGINT): Likewise.
3266 (SIGSEGV): Likewise.
3267 (SIGTER): Likewise.
3268 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3269 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3270 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3271 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3272 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3273 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3274 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3275 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3276 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3277 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3278 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3279 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3280 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3281 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3282 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3283 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3284 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3285 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3286 [X/Open-based standards] (SIGTRAP): Likewise.
3287 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3288 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3289 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3290 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3291 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3292 allow.
3293
b9f1922d
IW
32942012-05-08 Ian Wienand <ianw@vmware.com>
3295
3296 [BZ #14080]
3297 * time/tzset.c (__tzset_parse_tz): Update default rules for
3298 daylight time changes in the Energy Policy Act of 2005.
3299
1db86e88
AJ
33002012-05-09 Andreas Jaeger <aj@suse.de>
3301
3302 [BZ #13983]
3303 * elf/ldconfig.c (parse_conf): Change string to make clear that
3304 ldconfig only issued a warning if ld.so.conf does not exist.
3305
dee4a4e3
DM
33062012-05-08 David S. Miller <davem@davemloft.net>
3307
ee0db190
DM
3308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3309 movxtod instead of popping the value on the stack.
3310
dee4a4e3
DM
3311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3312
6a43ec98
CD
33132012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3314
3315 * config.h.in: Add HAVE_ARM_PCS_VFP.
3316
05c2c961
RMG
33172012-05-08 Roland Mc Grath <roland@hack.frob.com>
3318
bcfe3a54
ST
3319 [BZ #13979]
3320 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3321 checking but the checks are disabled for any reason.
05c2c961 3322
4b30f61a
L
33232012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3324
3325 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3326 and ELF64_R_TYPE with ELFW(R_TYPE).
3327
eee2bc67
JM
33282012-05-08 Joseph Myers <joseph@codesourcery.com>
3329
7ea5391a
JM
3330 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3331 (ulimit): Likewise.
3332
eee2bc67
JM
3333 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3334 (settimeofday): Likewise.
3335
abb66a67
MF
33362012-05-08 Mike Frysinger <vapier@gentoo.org>
3337
3338 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3339 a struct th_u2 inside the union, and move tu_block/tu_code into
3340 a new th_u3 union of tu_block/tu_code inside of that. Move
3341 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3342 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3343 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3344 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3345 (th_stuff): Change to th_u1.tu_stuff.
3346 (th_data): Define.
3347 (th_msg): Change to th_u1.th_u2.tu_data.
3348
7f18b530
DM
33492012-05-07 David S. Miller <davem@davemloft.net>
3350
05760585
DM
3351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3352
7f18b530
DM
3353 [BZ #14074]
3354 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3355 (SETUP_PIC_REG): Use it.
3356 (SETUP_PIC_REG_LEAF): Use it.
3357
495fd99f
JM
33582012-05-07 Joseph Myers <joseph@codesourcery.com>
3359
3360 [BZ #13885]
3361 [BZ #13923]
3362 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3363 USE_AS_EXPM1L.
3364 (EXPL_FINITE): Likewise.
3365 (FLDLOG): Likewise.
3366 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3367 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3368 e_expl.S.
3369 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3370 USE_AS_EXPM1L.
3371 (EXPL_FINITE): Likewise.
3372 (FLDLOG): Likewise.
3373 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3374 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3375 e_expl.S.
3376 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3377 test of -max_value argument for long double.
3378 * sysdeps/i386/fpu/libm-test-ulps: Update.
3379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3380
6693d694
DM
33812012-05-06 David S. Miller <davem@davemloft.net>
3382
3383 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3384 quad soft-float symbols whose references which are compiler
3385 generated.
3386 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3387
6c23e11c
JM
33882012-05-06 Joseph Myers <joseph@codesourcery.com>
3389
d8b82cad
JM
3390 [BZ #13884]
3391 [BZ #13914]
3392 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3393 USE_AS_EXP10L.
3394 (EXPL_FINITE): Likewise.
3395 (FLDLOG): Likewise.
3396 (c0): Likewise.
3397 (c1): Likewise.
3398 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3399 Adjust comments for base varying.
3400 (__expl_finite): Change alias to EXPL_FINITE.
3401 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3402 e_expl.S.
3403 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3404 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3405 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3406 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3407 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3408 USE_AS_EXP10L.
3409 (EXPL_FINITE): Likewise.
3410 (FLDLOG): Likewise.
3411 (c0): Likewise.
3412 (c1): Likewise.
3413 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3414 Adjust comments for base varying.
3415 (__expl_finite): Change alias to EXPL_FINITE.
3416 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3417 tests for bugs.
3418 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3419
6c23e11c
JM
3420 [BZ #14064]
3421 * math/libm-test.inc (check_float_internal): Correct ulp
3422 calculation for subnormal expected results.
3423
29ba805c
AJ
34242012-05-06 Andreas Jaeger <aj@suse.de>
3425
3426 * Makeconfig (+math-flags): New, set to -frounding-math.
3427 (+cflags): Add +math-flags so that all of glibc gets compiled with
3428 it.
3429
3430 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3431
7b17aeda
JM
34322012-05-05 Joseph Myers <joseph@codesourcery.com>
3433
5779f134
JM
3434 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3435 Disable one test.
3436
41498f4d
JM
3437 [BZ #13787]
3438 [BZ #13922]
3439 [BZ #14036]
3440 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3441 (__ieee754_expl): Allow for and saturate large arguments.
3442 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3443 (u_threshold): Likewise.
3444 (__exp): Call __ieee754_exp before checking for overflow and
3445 underflow.
3446 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3447 (u_threshold): Likewise.
3448 (__expf): Call __ieee754_expf before checking for overflow and
3449 underflow.
3450 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3451 (u_threshold): Likewise.
3452 (__expl): Call __ieee754_expl before checking for overflow and
3453 underflow.
3454 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3455 (__ieee754_expl): Allow for and saturate large arguments.
3456 * math/libm-test.inc (exp_test): Add another test. Do not allow
3457 missing overflow exception on overflow.
3458 (expm1_test): Do not allow missing overflow exception on overflow.
3459
6698b8bf
JM
3460 * sysdeps/i386/fpu/e_expl.c: Move to ...
3461 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3462 rather than using inline asm.
3463 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3464 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3465 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3466
7b17aeda
JM
3467 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3468 (nice): Likewise.
3469 (poll): Likewise.
3470 (signal): Likewise.
3471 (time): Likewise.
3472 (times): Likewise.
3473
f7c85819
JM
34742012-05-04 Joseph Myers <joseph@codesourcery.com>
3475
3476 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3477 sysdeps/unix/common/syscalls.list.
3478 (fchmod): Likewise.
3479 (fchown): Likewise.
3480 (ftruncate): Likewise.
3481 (getrusage): Likewise.
3482 (gettimeofday): Likewise.
3483 (setpgid): Likewise.
3484 (setregid): Likewise.
3485 (setreuid): Likewise.
3486 (sigaction): Likewise.
3487 (truncate): Likewise.
3488 (vhangup): Likewise.
3489 * sysdeps/unix/common/syscalls.list: Remove file.
3490 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3491 * sysdeps/unix/sysv/linux/Implies: Likewise.
3492
336270d0
L
34932012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3494
3495 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3496 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3497 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3498 Moved to ...
3499 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3500 Here.
3501 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3502 to ...
3503 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3504 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3505 to ...
3506 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3507 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3508 to ...
3509 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3510 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3511 to ...
3512 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3513 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3514 to ...
3515 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3516 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3517 to ...
3518 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3519 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3520 to ...
3521 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3522 Here.
3523 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3524 to ...
3525 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3526 Here.
3527 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3528 to ...
3529 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3530 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3531 Moved to ...
3532 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3533 Here.
3534 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3535 to ...
3536 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3537
d128e450
JM
35382012-05-04 Joseph Myers <joseph@codesourcery.com>
3539
fa8ee516
JM
3540 * sysdeps/unix/common/bits/dirent.h: Remove file.
3541 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3542
d128e450
JM
3543 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3544 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3545 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3546 * sysdeps/unix/bsd/isatty.c: Likewise.
3547 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3548 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3549 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3550
ff8faaf0 35512012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 3552
62881be4 3553 [BZ #13563]
31dc8730
AZ
3554 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3555 long double comparison inaccuracies.
3556 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3558
6fef930c
AS
35592012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3560
3561 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3562 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3563
8f203e6c
JM
35642012-05-04 Joseph Myers <joseph@codesourcery.com>
3565
3566 [BZ #14049]
3567 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3568 nonzero digits before rounding a hex value.
3569 * stdlib/tst-strtod.c (tests): Add another test.
3570
5197d9c2
AK
35712012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3572
3573 * sysdeps/s390/fpu/libm-test-ulps: Update.
3574
f0c1dedf
AJ
35752012-05-03 Andreas Jaeger <aj@suse.de>
3576
3577 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3578 does not get optimized out.
3579 (malloc_opt_barrier): New.
3580
a65ef2ae 35812012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 3582 Roland McGrath <roland@hack.frob.com>
a65ef2ae 3583
2b942cb7 3584 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 3585 intermediate file deletion.
2b942cb7 3586 (generated): Add .symlist files.
a65ef2ae 3587
54b71e02
JM
35882012-05-03 Joseph Myers <joseph@codesourcery.com>
3589
3590 [BZ #13775]
3591 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3592 Redirect under this condition.
3593 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3594 [__USE_GNU] (__dprintf_chk): Not under this condition.
3595 [__USE_GNU] (__vdprintf_chk): Likewise.
3596 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3597 under this condition.
3598 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3599 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3600 [__USE_XOPEN2K8] (vdprintf): Likewise.
3601 [__USE_GNU] (__dprintf_chk): Not under this condition.
3602 [__USE_GNU] (__vdprintf_chk): Likewise.
3603 [__USE_GNU] (dprintf): Likewise.
3604 [__USE_GNU] (vdprintf): Likewise.
3605
d3dfcc41
RM
36062012-05-03 Roland McGrath <roland@hack.frob.com>
3607
3608 * elf/Makefile (common-generated): Set this instead of generated for
3609 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3610 $(all-built-dso)-derived lists.
3611
7ac30cc5
AJ
36122012-05-03 Andreas Jaeger <aj@suse.de>
3613
0c51e550
AJ
3614 * sysdeps/i386/fpu/libm-test-ulps: Update.
3615
7ac30cc5
AJ
3616 * FAQ: Removed.
3617 * FAQ.in: Likewise.
3618 * scripts/gen-FAQ.pl: Likewise.
3619 * manual/install.texi (Installation): Point to online location of
3620 FAQ.
3621 * Makefile (files-for-dist): Remove FAQ.
3622 (FAQ): Remove.
3623
d4c2917f
AM
36242012-05-02 Allan McRae <allan@archlinux.org>
3625
3626 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3627 (LDFLAGS-reldepmod5.so): Likewise.
3628 (LDFLAGS-reldep6mod1.so): Likewise.
3629 (LDFLAGS-reldep6mod4.so): Likewise.
3630 (LDFLAGS-reldep8mod3.so): Likewise.
3631 (LDFLAGS-unload4mod1.so): Likewise.
3632 (LDFLAGS-unload4mod2.so): Likewise.
3633 (LDFLAGS-tst-initorder): Likewise.
3634 (LDFLAGS-tst-initordera2.so): Likewise.
3635 (LDFLAGS-tst-initordera3.so): Likewise.
3636 (LDFLAGS-tst-initordera4.so): Likewise.
3637 (LDFLAGS-tst-initorderb2.so): Likewise.
3638 (LDFLAGS-noload): Likewise.
3639 (LDFLAGS-next): Likewise.
3640 (LDFLAGS-order2mod1.so): Likewise.
3641 (LDFLAGS-order2mod2.so): Likewise.
3642 (LDFLAGS-tst-initorder2): Likewise.
3643 (LDFLAGS-tst-initorder2a.so): Likewise.
3644 (LDFLAGS-tst-initorder2b.so): Likewise.
3645 (LDFLAGS-tst-initorder2c.so): Likewise.
3646 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3647
d77f993f
DM
36482012-05-02 David S. Miller <davem@davemloft.net>
3649
3650 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3651
171a70b4
PP
36522012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3653
3654 [BZ #14055]
3655 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3656
0be196ad
AJ
36572012-05-02 Andreas Jaeger <aj@suse.de>
3658
3659 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3660 since we manipulate rounding mode.
3661 (CPPFLAGS-test-idouble.c): Likewise.
3662 (CPPFLAGS-test-ifloat.c): Likewise.
3663 (CFLAGS-test-ldouble.c): Likewise.
3664 (CFLAGS-test-double.c): Likewise.
3665 (CFLAGS-test-float.c): Likewise.
3666 (CFLAGS-test-misc.c): Likewise.
3667 (CFLAGS-test-test-fenv.c): Likewise.
3668
4f9d04aa
AZ
36692012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3670
2b942cb7
RM
3671 [BZ #2550]
3672 [BZ #2570]
3673 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3674 comparisons to determine direction to adjust input.
4f9d04aa 3675
82a79e7d
RM
36762012-05-01 Roland McGrath <roland@hack.frob.com>
3677
f5a01ca9
RM
3678 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3679 output to the target.
3680
90fe4186
RM
3681 * scripts/localplt.awk: New file.
3682 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3683 (check-localplt-CFLAGS): Variable removed.
3684 ($(all-built-dso:=.jmprel)): New static pattern rule.
3685 (generated): Add those targets.
3686 (localplt-built-dso): New variable.
3687 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3688
3689 * elf/check-localplt.c: File removed.
3690
82397ed6
RM
3691 * scripts/check-execstack.awk: New file.
3692 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3693 (check-execstack-CFLAGS): Variable removed.
3694 ($(objpfx)check-execstack.h): Target removed.
3695 ($(objpfx)execstack-default): New target.
3696 (generated): Add that instead of check-execstack.h.
3697 ($(all-built-dso:=.phdr)): New static pattern rule.
3698 (generated): Add those targets.
3699 * elf/check-execstack.c: File removed.
3700
82a79e7d
RM
3701 * scripts/check-textrel.awk: New file.
3702 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3703 (check-textrel-CFLAGS): Variable removed.
3704 (all-built-dso): Use := to define.o
3705 ($(all-built-dso:=.dyn)): New static pattern rule.
3706 (generated): Add those targets.
3707 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3708 * config.make.in (READELF): New substituted variable.
3709 * elf/check-textrel.c: File removed.
3710
62fde54f 37112012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 3712
615605c9
JM
3713 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3714 allow.
3715 * conform/data/ctype.h-data [C99-based standards] (isblank):
3716 Expect function.
3717 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3718 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3719 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3720 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3721 Specify type. Require positive value.
3722 (EILSEQ): Likewise.
3723 (ERANGE): Likewise.
3724 [ISO || POSIX] (EILSEQ): Do not expect.
3725 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3726 Specify type. Require positive value.
3727 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3728 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3729 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3730 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3731 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3732 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3733 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3734 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3735 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3736 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3737 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3738 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3739 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3740 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3741 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3742 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3743 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3744 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3745 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3746 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3747 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3748 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3749 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3750 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3751 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3752 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3753 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3754 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3755 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3756 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3757 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3758 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3759 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3760 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3761 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3762 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3763 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3764 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3765 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3766 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3767 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3768 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3769 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3770 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3771 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3772 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3773 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3774 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3775 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3776 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3777 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3778 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3779 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3780 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3781 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3782 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3783 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3784 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3785 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3786 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3787 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3788 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3789 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3790 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3791 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3792 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3793 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3794 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3795 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3796 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3797 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3798 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3799 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3800 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3801 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3802 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3803 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3804 Require >= 2.
3805 (FLT_ROUNDS): Expect as macro, not constant.
3806 (FLT_MANT_DIG): Use macro-int-constant.
3807 (DBL_MANT_DIG): Likewise.
3808 (LDBL_MANT_DIG): Likewise.
3809 (FLT_DIG): Likewise.
3810 (DBL_DIG): Likewise.
3811 (LDBL_DIG): Likewise.
3812 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3813 (DBL_MIN_EXP): Likewise.
3814 (LDBL_MIN_EXP): Likewise.
3815 (FLT_MAX_EXP): Use macro-int-constant.
3816 (DBL_MAX_EXP): Likewise.
3817 (LDBL_MAX_EXP): Likewise.
3818 (FLT_MAX_10_EXP): Likewise.
3819 (DBL_MAX_10_EXP): Likewise.
3820 (LDBL_MAX_10_EXP): Likewise.
3821 (FLT_MAX): Use macro-constant.
3822 (DBL_MAX): Likewise.
3823 (LDBL_MAX): Likewise.
3824 (FLT_EPSILON): Use macro-constant. Give upper bound.
3825 (DBL_EPSILON): Likewise.
3826 (LDBL_EPSILON): Likewise.
3827 (FLT_MIN): Likewise.
3828 (DBL_MIN): Likewise.
3829 (LDBL_MIN): Likewise.
3830 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3831 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3832 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3833 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3834 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3835 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3836 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3837 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3838 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3839 [ISO11] (FLT_TRUE_MIN): Likewise.
3840 [ISO11] (LDBL_TRUE_MIN): Likewise.
3841 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3842 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3843 (SCHAR_MIN): Use macro-int-constant. Specify type.
3844 (SCHAR_MAX): Likewise.
3845 (UCHAR_MAX): Likewise.
3846 (CHAR_MIN): Likewise.
3847 (CHAR_MAX): Likewise.
3848 (MB_LEN_MAX): Use macro-int-constant.
3849 (SHRT_MIN): Use macro-int-constant. Specify type.
3850 (SHRT_MAX): Likewise.
3851 (USHRT_MAX): Likewise.
3852 (INT_MAX): Likewise.
3853 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3854 bound negative.
3855 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3856 bound with "U".
3857 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3858 bound with "L".
3859 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3860 bound negative. Suffix upper bound with "L".
3861 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3862 bound with "UL".
3863 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3864 Specify type.
3865 [C99-based standards] (LLONG_MAX): Likewise.
3866 [C99-based standards] (ULLONG_MAX): Likewise.
3867 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3868 == 0.
3869 [ISO11] (max_align_t): Require type.
3870 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3871
c9140a62
JM
3872 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3873 from $CFLAGS, without defining away __attribute__ calls.
3874 (checknamespace): Use $CFLAGS_namespace.
3875
9af0bf29
JM
3876 * conform/conformtest.pl (@keywords): Only include C99 keywords
3877 for standards based on C99 or C11.
3878
343222a2
JM
3879 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3880 Disable tests.
3881 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3882 UNIX98]: Likewise.
3883
661f8cf0
JM
3884 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3885 usability of symbols in #if.
3886
ee74b9cb
JM
3887 * conform/conformtest.pl: If macro or constant types start
3888 "promoted:", expect the symbol to be of the following type
3889 promoted by the integer promotions.
62fde54f 3890
aafc49b3
JM
3891 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3892 in one place. Also handle "macro-constant".
3893
fefdf574
JM
3894 * conform/conformtest.pl: Only accept expected macro values with
3895 "==". Parse all "macro" lines in one place.
3896 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3897
f2d922fe
JM
3898 * conform/conformtest.pl: Handle braced types on "constant" lines
3899 instead of handling "typed-constant".
3900 * conform/data/signal.h-data: Use "constant" instead of
3901 "typed-constant".
3902
d22956c9
JM
3903 * conform/conformtest.pl: Handle "optional-" at start of lines in
3904 one place rather than duplicating several cases. Handle each
3905 format of "macro" line with initial "optional-".
3906
028e2e38
JM
3907 * conform/conformtest.pl: Only accept expected constant or
3908 optional-constant values with "==". Parse all "constant" lines in
3909 one place. Parse all "optional-constant" lines in one place.
3910 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3911 * conform/data/fmtmsg.h-data: Likewise.
3912 * conform/data/netinet/in.h-data: Likewise.
3913 * conform/data/tar.h-data: Likewise.
3914 * conform/data/limits.h-data: Use "==" form on "constant" and
3915 "optional-constant" lines.
3916
1b8f2850
JM
3917 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3918 Use -std=c99 for XOPEN2K.
3919 (@knownproblems): Remove.
3920 (newtoken): Don't check %isknown.
3921
a05a144b
JM
3922 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3923 Do not expect macro.
3924 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3925 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3926 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3927 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3928 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3929 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3930 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3931 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3932 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3933 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3934 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3935 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3936 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3937 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3938 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3939 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3940 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3941 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3942 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3943 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3944 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3945 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3946 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3947 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3948 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3949 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3950 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3951 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3952 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3953 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3954 [XPG3] (acosh): Likewise.
3955 [XPG3] (asinh): Likewise.
3956 [XPG3] (atanh): Likewise.
3957 [XPG3] (cbrt): Likewise.
3958 [XPG3] (expm1): Likewise.
3959 [XPG3] (ilogb): Likewise.
3960 [XPG3] (log1p): Likewise.
3961 [XPG3] (logb): Likewise.
3962 [XPG3] (nextafter): Likewise.
3963 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3964 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3965 [XPG3] (remainder): Likewise.
3966 [XPG3] (rint): Likewise.
3967 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3968 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3969 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3970 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3971 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3972 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3973 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3974 [UNIX98 || XOPEN2K] (scalb): Expect.
3975 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3976 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3977 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3978 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3979 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3980 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3981 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3982 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3983 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3984 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3985 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3986 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3987 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3988 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3989 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3990 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3991 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3992 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3993 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3994 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3995 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3996 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3997 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3998 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3999 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
4000 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
4001 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
4002 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
4003 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
4004 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
4005 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
4006 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
4007 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
4008 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
4009 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
4010 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
4011 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
4012 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
4013 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
4014 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
4015 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
4016 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
4017 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
4018 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
4019 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
4020 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
4021 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
4022 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
4023 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
4024 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
4025 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
4026 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
4027 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
4028 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
4029 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
4030 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
4031 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
4032 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
4033 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
4034 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
4035 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
4036 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
4037 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
4038 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
4039 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
4040 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
4041 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
4042 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
4043 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
4044 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
4045 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
4046 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
4047 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
4048 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
4049 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
4050 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
4051 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
4052 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
4053 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
4054 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
4055 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
4056 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
4057 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
4058 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
4059 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
4060 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
4061 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
4062 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
4063 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
4064 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
4065 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
4066 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
4067 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
4068 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
4069 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
4070 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
4071 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
4072 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
4073 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
4074 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
4075 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
4076 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
4077 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
4078 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
4079 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
4080 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
4081 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
4082 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
4083 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
4084 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
4085 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
4086 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
4087 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
4088 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
4089 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
4090 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
4091 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
4092 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
4093 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
4094 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
4095 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
4096 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
4097 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
4098 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
4099 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
4100 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
4101 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
4102 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
4103 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
4104 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
4105 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
4106 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
4107 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
4108 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
4109 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4110 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4111 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4112
73c5ebe3
JM
4113 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4114 _XOPEN_SOURCE_EXTENDED for XPG4.
4115
39c33b6c
JM
4116 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4117
62fde54f
JM
4118 * Makeconfig (localtime): Remove variable.
4119 (inst_localtime-file): Likewise.
4120
0741d64c
AS
41212012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4122
4123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4124 Update.
4125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4126 Update.
4127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4128 Update.
4129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4130 Update.
4131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4132 Update.
4133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4134 Update.
4135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4136 Update.
4137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4138 Update.
4139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4140 Update.
4141
7cb029ee
JM
41422012-05-01 Joseph Myers <joseph@codesourcery.com>
4143
4144 [BZ #2550]
4145 [BZ #2570]
4146 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4147 comparisons to determine direction to adjust input.
4148 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4149 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4150 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4151 Likewise.
4152 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4153 Likewise.
4154 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4155 Likewise.
4156 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4157 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4158 Likewise.
4159 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4160 Likewise.
4161 * math/libm-test.inc (nexttoward_test): Add more tests.
4162
412bd966
AS
41632012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4164
4165 [BZ #14040]
4166 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4167 in version GLIBC_2.1, not GLIBC_2.0.
4168 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4169 Likewise.
4170
9568c0c2
JM
41712012-04-30 Joseph Myers <joseph@codesourcery.com>
4172
adfbc8ac
JM
4173 [BZ #13942]
4174 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4175 (1 - x) * (1 + x).
4176 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4177 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4178 * math/libm-test.inc (acos_test): Add more tests.
4179 (asin_test): Likewise.
4180 * sysdeps/i386/fpu/libm-test-ulps: Update.
4181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4182
5ba3cc69
JM
4183 [BZ #14034]
4184 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4185 of square root.
4186 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4187 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4188 * math/libm-test.inc (acos_test_tonearest): New function.
4189 (acos_test_towardzero): Likewise.
4190 (acos_test_downward): Likewise.
4191 (acos_test_upward): Likewise.
4192 (asin_test_tonearest): Likewise.
4193 (asin_test_towardzero): Likewise.
4194 (asin_test_downward): Likewise.
4195 (asin_test_upward): Likewise.
4196 (main): Call the new functions.
4197 * sysdeps/i386/fpu/libm-test-ulps: Update.
4198 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4199
9568c0c2
JM
4200 [BZ #13884]
4201 [BZ #13924]
4202 * math/e_exp10.c: Include <float.h>.
4203 (__ieee754_exp10): Handle underflow here rather than multiplying
4204 large negative argument by M_LN10.
4205 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4206 of __ieee754_expf.
4207 * math/e_exp10l.c: Include <float.h>.
4208 (__ieee754_exp10l): Handle underflow here rather than multiplying
4209 large negative argument by M_LN10l.
4210 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4211 spurious overflow exception on underflow.
4212
5ac3ea17
MP
42132012-04-29 Marek Polacek <polacek@redhat.com>
4214
4215 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4216 (__fortify_function): New macro.
4217 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4218 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4219 __extern_always_inline.
4220 * libio/bits/stdio2.h: Likewise.
4221 * libio/bits/stdio.h: Likewise.
4222 * string/string.h: Likewise.
4223 * string/bits/string3.h: Likewise.
4224 * include/stdio.h: Likewise.
4225 * stdlib/bits/stdlib.h: Likewise.
4226 * stdlib/stdlib.h: Likewise.
4227 * rt/bits/mqueue2.h: Likewise.
4228 * rt/mqueue.h: Likewise.
4229 * posix/bits/unistd.h: Likewise.
4230 * posix/unistd.h: Likewise.
4231 * io/bits/poll2.h: Likewise.
4232 * io/bits/fcntl2.h: Likewise.
4233 * io/fcntl.h: Likewise.
4234 * io/sys/poll.h: Likewise.
4235 * misc/bits/syslog.h: Likewise.
4236 * misc/bits/syslog-ldbl.h: Likewise.
4237 * misc/sys/syslog.h: Likewise.
4238 * socket/bits/socket2.h: Likewise.
4239 * socket/sys/socket.h: Likewise.
4240 * debug/tst-chk1.c: Likewise.
4241 * wcsmbs/bits/wchar2.h: Likewise.
4242 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4243 * wcsmbs/wchar.h: Likewise.
4244
ecf0ebfb
AJ
42452012-04-29 Andreas Jaeger <aj@suse.de>
4246
4247 * Makerules (tests): Remove enable-check-abi protection.
4248 (check-abi-warn): Remove.
4249 (check-abi-%): Remove check-abi-warn usage.
4250
4251 * configure.in: Remove check-abi configure option.
4252 * configure: Regenerated.
4253 * config.make.in (enable-check-abi): Remove.
4254
6d5c57fa
AS
42552012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4256
24c5d07e 4257 [BZ #14033]
ded5180a
AS
4258 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4259 double functions to double *_finite functions.
4260
7e0d315d
AS
4261 [BZ #13941]
4262 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4263 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4264 LDBL_MIN_EXP.
4265 * stdio-common/Makefile (tests): Add tst-sprintf3.
4266 * stdio-common/tst-sprintf3.c: New file.
4267
6d5c57fa
AS
4268 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4269 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4270
0749ff8b
JM
42712012-04-28 Joseph Myers <joseph@codesourcery.com>
4272
4273 * conform/conformtest.pl: Remove duplicate typed-constant
4274 handling.
4275
8dbd5d7b
DM
42762012-04-28 David S. Miller <davem@davemloft.net>
4277
4278 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4279 (check-abi-%): Remove AWK script prerequisite and explicit
4280 abilist directory.
4281 (check-abi): Rewrite to just diff the symlist with the abilist.
4282 (config-tls, config-abi-config): Delete, no longer used.
4283 (update-abi-%): Remove AWK script and explicit abilist directory.
4284 (update-abi): Rewrite to simply compare and conditionally copy the
4285 symlist and the sysdep abilist file. Remove update-abi-config
4286 checks.
4287 * abilist/ld.abilist: Remove.
4288 * abilist/libBrokenLocale.abilist: Remove.
4289 * abilist/libanl.abilist: Remove.
4290 * abilist/libcrypt.abilist: Remove.
4291 * abilist/libdl.abilist: Remove.
4292 * abilist/librt.abilist: Remove.
4293 * abilist/libthread_db.abilist: Remove.
4294 * abilist/libutil.abilist: Remove.
4295 * scripts/extract-abilist.awk: Remove.
4296 * scripts/merge-abilist.awk: Remove.
4297 * sysdeps/generic/libcidn.abilist: New file.
4298 * sysdeps/generic/libnss_compat.abilist: New file.
4299 * sysdeps/generic/libnss_db.abilist: New file.
4300 * sysdeps/generic/libnss_dns.abilist: New file.
4301 * sysdeps/generic/libnss_files.abilist: New file.
4302 * sysdeps/generic/libnss_hesiod.abilist: New file.
4303 * sysdeps/generic/libnss_nis.abilist: New file.
4304 * sysdeps/generic/libnss_nisplus.abilist: New file.
4305 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4306 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4307 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4308 file.
4309 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4310 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4311 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4312 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4313 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4314 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4315 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4316 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4317 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4318 file.
4319 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4320 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4321 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4322 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4323 file.
4324 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4325 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4326 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4327 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4328 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4329 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4330 file.
4331 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4332 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4333 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4334 file.
4335 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4336 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4337 New file.
4338 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4339 New file.
4340 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4341 New file.
4342 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4343 New file.
4344 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4345 New file.
4346 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4347 New file.
4348 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4349 New file.
4350 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4351 New file.
4352 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4353 New file.
4354 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4355 New file.
4356 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4357 New file.
4358 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4359 New file.
4360 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4361 New file.
4362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4363 file.
4364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4365 New file.
4366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4367 New file.
4368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4369 file.
4370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4371 New file.
4372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4373 New file.
4374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4375 file.
4376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4377 New file.
4378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4379 New file.
4380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4381 New file.
4382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4383 New file.
4384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4385 New file.
4386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4387 New file.
4388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4390 file.
4391 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4392 New file.
4393 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4394 file.
4395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4396 file.
4397 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4398 file.
4399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4400 file.
4401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4402 file.
4403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4404 New file.
4405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4406 file.
4407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4408 file.
4409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4410 New file.
4411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4412 file.
4413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4414 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4415 file.
4416 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4417 New file.
4418 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4419 file.
4420 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4421 file.
4422 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4423 file.
4424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4425 file.
4426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4427 file.
4428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4429 New file.
4430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4431 file.
4432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4433 file.
4434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4435 New file.
4436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4437 file.
4438 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4439 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4440 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4441 file.
4442 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4443 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4444 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4445 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4446 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4447 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4448 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4449 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4450 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4451 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4453 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4454 file.
4455 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4456 New file.
4457 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4458 file.
4459 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4460 file.
4461 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4462 file.
4463 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4464 file.
4465 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4466 file.
4467 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4468 New file.
4469 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4470 New file.
4471 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4472 file.
4473 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4474 New file.
4475 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4476 file.
4477 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4478 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4479 file.
4480 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4481 New file.
4482 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4483 file.
4484 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4485 file.
4486 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4487 file.
4488 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4489 file.
4490 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4491 file.
4492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4493 New file.
4494 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4495 New file.
4496 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4497 file.
4498 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4499 New file.
4500 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4501 file.
4502
41d73a1b
JM
45032012-04-28 Joseph Myers <joseph@codesourcery.com>
4504
4505 * conform/conformtest.pl: Fix typo in handling typed-constant from
4506 allow-header.
4507
28aeeda4
JM
45082012-04-27 Joseph Myers <joseph@codesourcery.com>
4509
adae8f5e
JM
4510 * README: Cut down references to pre-2.6 Linux kernels and
4511 Linuxthreads. Update lists of configurations in libc and ports
4512 and sort alphabetically. Say "or newer" with Linux kernel version
4513 requirements.
4514
28aeeda4
JM
4515 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4516
a462cb63
RA
45172012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4518
4519 [BZ #887]
4520 * math/libm-test.inc (logb_test_downward): New test to expose
4521 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4522 rounding mode.
4523
6ad3493e
JM
45242012-04-27 Joseph Myers <joseph@codesourcery.com>
4525
4526 [BZ #14027]
4527 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4528 to be done.
4529 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4530 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4531
2ce4f015
JM
45322012-04-26 Joseph Myers <joseph@codesourcery.com>
4533
5aeb141a
JM
4534 * sysdeps/unix/i386/brk.S: Remove file.
4535 * sysdeps/unix/i386/dl-brk.S: Likewise.
4536 * sysdeps/unix/i386/pipe.S: Likewise.
4537 * sysdeps/unix/i386/sigreturn.S: Likewise.
4538 * sysdeps/unix/i386/syscall.S: Likewise.
4539 * sysdeps/unix/i386/vfork.S: Likewise.
4540 * sysdeps/unix/i386/wait.S: Likewise.
4541
7143acae
JM
4542 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4543 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4544
2ce4f015
JM
4545 * configure.in (arm*-none*): Do not allow without
4546 --enable-hacker-mode.
4547 (netbsd*): Remove case setting base_os.
4548 (386bsd*): Likewise.
4549 (freebsd*): Likewise.
4550 (bsdi*): Likewise.
4551 (osf*): Likewise.
4552 (sunos*): Likewise.
4553 (ultrix*): Likewise.
4554 (newsos*): Likewise.
4555 (dynix*): Likewise.
4556 (*bsd*): Likewise.
4557 (sysv*): Likewise.
4558 (isc*): Likewise.
4559 (esix*): Likewise.
4560 (sco*): Likewise.
4561 (minix*): Likewise.
4562 (irix4*): Likewise.
4563 (irix6*): Likewise.
4564 (solaris[2-9]*): Likewise.
4565 (none): Likewise.
4566 * configure: Regenerated.
4567
0ac229c8
AZ
45682012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4569
4570 [BZ #11521]
4571 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4572 overflow or cancellation in calculating denominator.
4573 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4574 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4575 down expression to avoid unexpected rounding in newer GCCs.
4576 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4577
33f244f4
DM
45782012-04-26 David S. Miller <davem@davemloft.net>
4579
4580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4581 long-double compat symbols.
4582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4595
cfa1f3e8
DM
45962012-04-25 David S. Miller <davem@davemloft.net>
4597
4598 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4599 HWCAP_* values only after the memory barriers have been defined.
4600 (atomic_full_barrier): Define.
4601 (atomic_read_barrier): Define.
4602 (atomic_write_barrier): Define.
4603
6e236b92
SP
46042012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4605
4606 * shlib-versions: Add libgcc_s version information.
4607 * sysdeps/generic/libgcc_s.h: Remove.
4608 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4609 libgcc_s.h.
4610 * sysdeps/gnu/unwind-resume.c: Likewise.
4611 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4612
aab39a09
DM
46132012-04-25 David S. Miller <davem@davemloft.net>
4614
4615 * sysdeps/unix/sparc/brk.S: Delete.
4616 * sysdeps/unix/sparc/dl-brk.S: Delete.
4617 * sysdeps/unix/sparc/pipe.S: Delete.
4618 * sysdeps/unix/sparc/sysdep.S: Delete.
4619 * sysdeps/unix/sparc/sysdep.h: Delete.
4620 * sysdeps/unix/sparc/vfork.S: Delete.
4621 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4622 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4623 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4624 ret_ERRVAL, r0, r1, MOVE): Define.
4625 (JUMPTARGET): Remove.
4626 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4627 sysdeps/unix/sparc/sysdep.h
4628 (ENTRY, END): Remove.
4629 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4630
a3cc4f48
JM
46312012-04-25 Joseph Myers <joseph@codesourcery.com>
4632
2ed8cda2
JM
4633 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4634 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4635 -DIS_IN_build.
4636
35d76d59
JM
4637 * timezone/README: Update upstream location and email address for
4638 tzcode and tzdata.
4639 * timezone/zdump.c: Update from tzcode 2012b.
4640 * timezone/zic.c: Likewise.
4641
a3cc4f48
JM
4642 * configure.in (libc_cv_as_needed): Remove test.
4643 * configure: Regenerated.
4644 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4645 conditional definition.
4646 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4647 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4648 * config.make.in (have-as-needed): Remove variable.
4649
ceab42c3
SP
46502012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4651 Paul Pluzhnikov <ppluzhnikov@google.com>
4652
4653 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4654 strings correctly.
4655
3ce2865f
CLT
46562012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4657
4658 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4659 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4660 * sysdeps/sh/strlen.S: Likewise.
4661
f37e0d68
JM
46622012-04-24 Joseph Myers <joseph@codesourcery.com>
4663
ae186e9a
JM
4664 * sysdeps/unix/fork.S: Remove file.
4665 * sysdeps/unix/i386/fork.S: Likewise.
4666 * sysdeps/unix/sparc/fork.S: Likewise.
4667
b96914af
JM
4668 * sysdeps/unix/system.c: Remove file.
4669 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4670
f37e0d68
JM
4671 * sysdeps/unix/getegid.S: Remove file.
4672 * sysdeps/unix/geteuid.S: Likewise.
4673
87ef29ca
RM
46742012-04-24 Roland McGrath <roland@hack.frob.com>
4675
83bcd236
RM
4676 * scripts/check-localplt.awk: New file.
4677 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4678 of diff.
4679 * scripts/data/localplt-generic.data: Add a comment.
4680
87ef29ca
RM
4681 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4682 NODE when __dir_mkfile failed.
4683 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4684 Reported by Ludovic Courtès <ludo@gnu.org>.
4685
e5a6e567
AJ
46862012-04-24 Andreas Jaeger <aj@suse.de>
4687
4688 * Makerules (common-clean): Also remove gen-as-const-headers
4689 files.
4690
c1820385
JM
46912012-04-24 Joseph Myers <joseph@codesourcery.com>
4692
4693 * Makerules (native-compile): Do not change working directory for
4694 build. Use $(OUTPUT_OPTION) in command.
4695 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4696
94e02fc4
AZ
46972012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4698
4699 [BZ #13886]
4700 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4701 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4702 * math/libm-test.inc (floor_test): Add more tests.
4703 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4704
3a533ca3
JM
47052012-04-24 Joseph Myers <joseph@codesourcery.com>
4706
940ab4b3
JM
4707 * sysdeps/unix/getdents.c: Remove file.
4708 * sysdeps/unix/sysv/getdents.c: Likewise.
4709 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4710
90e037bd
JM
4711 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4712 sysdeps/unix/mman/syscalls.list.
4713 (mmap): Likewise.
4714 (mprotect): Likewise.
4715 (msync): Likewise.
4716 (munmap): Likewise.
4717 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4718 * sysdeps/unix/mman/syscalls.list: Remove.
4719 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4720
3a533ca3
JM
4721 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4722 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4723 * configure: Regenerated.
4724 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4725 $(libgcc_s_suffix).
4726 * config.make.in (libgcc_s_suffix): Remove variable.
4727
1ad743de
JM
47282012-04-23 Joseph Myers <joseph@codesourcery.com>
4729
4ad451e2
JM
4730 * sysdeps/unix/sysv/gethostname.c: Move to ...
4731 * sysdeps/posix/gethostname.c: ... here.
4732
5e37ce39
JM
4733 * sysdeps/unix/execve.S: Remove file.
4734
1ad743de
JM
4735 * sysdeps/unix/_exit.S: Remove file.
4736
4e681b5b
AJ
47372012-04-23 Andreas Jaeger <aj@suse.de>
4738
4739 [BZ #13739]
4740 * manual/Makefile: Remove make dist support, there's no
4741 need for a stand-alone documentation tar ball.
4742 (TEXI2DVI): Define always, it's not in Makeconfig.
4743 (dist): Removed.
4744 (tar-it): Removed.
4745 (edition): Removed.
4746 (glibc-doc-$(edition).tar): Removed
4747 (%.Z): Removed.
4748 (%.gz): Removed.
4749 (%.uu): Removed.
4750 (ETAGS): Remove, it's in Makeconfig.
4751 (move-if-change): Remove, it's in Makeconfig.
4752
c0baea34
PE
47532013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4754
4755 [BZ #13970]
4756 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4757 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4758 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4759 (strtod_l, strtof_l, strtold_l): Remove __wur.
4760 It is not necessarily an error to ignore strtol's return value.
4761 One can reliably look at the stored endptr to decide whether
4762 the number had valid syntax.
4763
7c0616fa
AJ
47642012-04-21 Andreas Jaeger <aj@suse.de>
4765
803cb6b7 4766 [BZ #13739]
7c0616fa
AJ
4767 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4768
b0fe253f
JM
47692012-04-21 Joseph Myers <joseph@codesourcery.com>
4770
4771 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4772 * sysdeps/unix/sysv/Versions: Remove file.
4773
8280f22d
MT
47742012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4775
4776 [BZ #13927]
4777 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4778
75ce411f 47792012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
4780
4781 [BZ #7064]
4782 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4783 version from __vm86.
4784
097d59fa
JM
47852012-04-20 Joseph Myers <joseph@codesourcery.com>
4786
a90f3bcb
JM
4787 * sysdeps/unix/common/lxstat.c: Remove file.
4788 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4789
edc7ea78
JM
4790 * sysdeps/unix/sysv/Makefile: Remove file.
4791
cb78c221
JM
4792 * sysdeps/unix/sysv/direct.h: Remove file.
4793
efa6a45f
JM
4794 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4795 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4796 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4797 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4798 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4799 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4800 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4801
9c9f2d0c
JM
4802 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4803
4541c83b
JM
4804 * sysdeps/unix/xmknod.c: Remove file.
4805 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4806
f5d153a0
JM
4807 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4808
aa746595
JM
4809 * sysdeps/unix/sysv/i386/time.S: Remove file.
4810
cce5905e
JM
4811 * sysdeps/unix/fxstat.c: Remove file.
4812 * sysdeps/unix/xstat.c: Likewise.
4813 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4814
37fa3841
JM
4815 * sysdeps/unix/sysv/sigaction.c: Remove file.
4816
ff1962a3
JM
4817 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4818 (sysdep_headers): Remove variable.
4819 [termio.h not in sysdep_headers] (generated): Likewise.
4820 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4821 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4822 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4823 * sysdeps/unix/sysv/tcflow.c: Likewise.
4824 * sysdeps/unix/sysv/tcflush.c: Likewise.
4825 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4826 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4827 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4828 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4829 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4830
e7740d31
JM
4831 * sysdeps/unix/siglist.c: Remove file.
4832
ee06f18b
JM
4833 * sysdeps/unix/getppid.S: Remove file.
4834
097d59fa
JM
4835 * sysdeps/unix/mkdir.c: Remove file.
4836 * sysdeps/unix/rmdir.c: Likewise.
4837
ff3d51ec
AS
48382012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4839
4840 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4841 ERR_MAX value.
4842 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4843 errlist-compat value.
4844
50f81fd7
DM
48452012-04-18 David S. Miller <davem@davemloft.net>
4846
4847 * sysdeps/generic/memcopy.h (reg_char): Delete.
4848 * debug/strcat_chk.c: Use char, not reg_char.
4849 * debug/strcpy_chk.c: Likewise.
4850 * debug/strncat_chk.c: Likewise.
4851 * debug/strncpy_chk.c: Likewise.
4852 * string/memchr.c: Likewise.
4853 * string/memrchr.c: Likewise.
4854 * string/rawmemchr.c: Likewise.
4855 * string/strcat.c: Likewise.
4856 * string/strchr.c: Likewise.
4857 * string/strchrnul.c: Likewise.
4858 * string/strcmp.c: Likewise.
4859 * string/strcpy.c: Likewise.
4860 * string/strncat.c: Likewise.
4861 * string/strncmp.c: Likewise.
4862 * string/strncpy.c: Likewise.
4863
8ff41c46
WS
48642012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4865
4866 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4867 __builtin_memcopy is called when src and dest ranges are known to not
4868 overlap.
4869
6b652f46
WS
48702012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4871
4872 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4873 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4874 fwd_align_merge macro call.
4875 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4876 bwd_align_merge macro call.
4877 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4878
b282631e
WS
48792012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4880
4881 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4882 bwd_align_merge macros.
4883 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4884 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4885 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4886
95aa737c
DM
48872012-04-18 David S. Miller <davem@davemloft.net>
4888
4889 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4890
7a99a614
AJ
48912012-04-18 Andreas Jaeger <aj@suse.de>
4892
4893 [BZ# 6794]
4894 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4895 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4896 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4897
4898 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4899 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4900 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4901
4902 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4903 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4904 Adjust for changed ldbl-128 files.
4905
4906 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4907 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4908 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4909
e5270c23
DM
49102012-04-17 David S. Miller <davem@davemloft.net>
4911
4912 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4913
fb5e92c9
AS
49142012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4915
4916 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4917 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4918 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4919 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4920 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4921 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4922
76da7265
AZ
49232012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4924
4925 [BZ #6794]
4926 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4927 * math/libm-test.inc: Add ilogb errno and exception tests.
4928 * math/w_ilogb.c: New file: ilogb wrapper.
4929 * math/w_ilogbf.c: New file: ilogbf wrapper.
4930 * math/w_ilogbl.c: New file: ilogbl wrapper.
4931 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4932 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4933 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4934 exception being thrown with 0.0 as argument.
4935 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4936 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4937 exception being thrown with 0.0 as argument.
4938 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4939 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4940 exception being thrown with 0.0 as argument.
4941 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4942 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4943 exception being thrown with 0.0 as argument.
4944 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4945 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 4946 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
4947 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4948 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4949 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4950 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4951 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4952 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4953
0396e69d
PB
49542012-04-17 Petr Baudis <pasky@ucw.cz>
4955
4956 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4957 with altivec.
4958
750b5926
MP
49592012-04-16 Marek Polacek <polacek@redhat.com>
4960
4961 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4962
751728a1
MP
49632012-04-16 Marek Polacek <polacek@redhat.com>
4964
4965 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4966 operands of fdivp instruction.
4967
34a27407
L
49682012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4969
4970 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4971 * elf/tst-auditmod3b.c: Likewise.
4972 * elf/tst-auditmod4b.c: Likewise.
4973 * elf/tst-auditmod5b.c: Likewise.
4974 * elf/tst-auditmod6b.c: Likewise.
4975 * elf/tst-auditmod6c.c: Likewise.
4976 * elf/tst-auditmod7b.c: Likewise.
4977 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4978 * sysdeps/x86_64/preconfigure.in: Likewise.
4979 * sysdeps/x86_64/preconfigure: Regenerated.
4980
7e73e17d
L
49812012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4982
4983 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4984 __ILP32__.
4985
c7a6ab72
AB
49862012-04-13 Antoine Balestrat <merkil33@gmail.com>
4987
4988 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4989 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4990
a9e8e0e0
CL
49912012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4992
4993 [BZ #13973]
4994 * locale/iso-639.def: Fix gl language name. Spotted by
4995 Yaron Shahrabani.
4996
ec98af7d
RM
49972012-04-12 Roland McGrath <roland@hack.frob.com>
4998
4999 [BZ #2074]
5000 * libio/libio.h (__io_write_fn): Update comment.
5001
247c3ede
PB
50022012-04-12 Petr Baudis <pasky@ucw.cz>
5003
5004 [BZ #2074]
5005 * stdio.texi (Hook Functions): The user provided writer function
5006 is not allowed to return -1.
5007
55939d6d
DM
50082012-04-11 David S. Miller <davem@davemloft.net>
5009
5010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5011
90020f5a
MF
50122012-04-11 Mike Frysinger <vapier@gentoo.org>
5013
5014 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
5015 Add a leading slash to rtkaio.
5016
288f9098
JM
50172012-04-11 Jim Meyering <meyering@redhat.com>
5018
90020f5a
MF
5019 [BZ #11959]
5020 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
5021 It is not necessarily an error to ignore fwrite's return
5022 value. One can reliably use ferror to test for errors after
5023 the fact.
288f9098 5024
4be2b570
L
50252012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5026
5027 * bits/types.h (__snseconds_t): New type.
5028 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
5029
5030 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
5031 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5032 (__SNSECONDS_T_TYPE): Likewise.
5033 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5034 (__SNSECONDS_T_TYPE): Likewise.
5035 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5036 (__SNSECONDS_T_TYPE): Likewise.
5037
288f9098 50382012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
5039
5040 [BZ #2636]
5041 * manual/time.texi (Processor Time): Return type of times is
5042 elapsed real time since an arbitrary point in the past.
5043 (CPU Time): Move CLK_TCK from here...
5044 (Processor Time): ...to here. Correct description.
5045 * manual/conf.texi (Constants for Sysconf): Correct description of
5046 _SC_CLK_TCK.
5047
d7dd4413
DM
50482012-04-10 David S. Miller <davem@davemloft.net>
5049
5050 [BZ #13967]
5051 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
5052 where the is a gap between DT_REL(A) and DT_JMPREL.
5053
b46068fc
L
50542012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5055
5056 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
5057 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5058 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5059
73d65cc3
SP
50602012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5061
5062 * elf/dl-support.c (_dl_inhibit_cache): New variable.
5063 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
5064 (dl_main): Handle --inhibit-cache.
5065 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
5066 _dl_inhibit_cache.
5067 * elf/dl-load.c (_dl_map_object): Use it.
5068 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
5069
bcc8d661
JM
50702012-04-09 Joseph Myers <joseph@codesourcery.com>
5071
8f9a2fae
JM
5072 [BZ #13872]
5073 * sysdeps/i386/fpu/e_powl.S (p78): New object.
5074 (__ieee754_powl): Saturate large exponents rather than testing for
5075 overflow of y*log2(x).
5076 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5077 * math/libm-test.inc (pow_test): Do not permit spurious overflow
5078 exceptions.
5079
bcc8d661
JM
5080 [BZ #11521]
5081 * math/s_ctan.c: Include <float.h>.
5082 (__ctan): Avoid internal overflow or cancellation in calculating
5083 denominator.
5084 * math/s_ctanf.c: Likewise.
5085 * math/s_ctanl.c: Likewise.
5086 * math/s_ctanh.c: Likewise.
5087 * math/s_ctanhf.c: Likewise.
5088 * math/s_ctanhl.c: Likewise.
5089 * math/libm-test.inc (ctan_test): Add more tests.
5090 (ctanh_test): Likewise.
5091 * sysdeps/i386/fpu/libm-test-ulps: Update.
5092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5093
823fbbb4
AJ
50942012-04-09 Andreas Jaeger <aj@suse.de>
5095
03879793
AJ
5096 [BZ #6894]
5097 * manual/filesys.texi (Directory Entries): Mention that d_namlen
5098 is an optional BSD extension.
5099
823fbbb4
AJ
5100 [BZ #10254]
5101 * manual/stdio.texi (Opening Streams): Document additional fopen
5102 parameters.
5103
8de131cb
RM
51042012-04-09 Roland McGrath <roland@hack.frob.com>
5105
5106 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
5107 %eax without telling the compiler.
5108
c0ed9d7d
CD
51092012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
5110
5111 [BZ # 13963]
5112 * manual/install.texi: Use sourceware.org.
5113
c483f6b4
JM
51142012-04-09 Joseph Myers <joseph@codesourcery.com>
5115
d7dd9453
JM
5116 [BZ #13873]
5117 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5118 (__ieee754_pow): Generate overflow and underflow using huge*huge
5119 and tiny*tiny rather than just returning constant infinity or zero
5120 for large exponents.
5121 * math/libm-test.inc (pow_test): Require overflow exceptions for
5122 applicable cases of large exponents.
5123
c483f6b4
JM
5124 [BZ #706]
5125 * sysdeps/i386/fpu/e_pow.S (p10): New object.
5126 (__ieee754_pow): Use iterative multiplication algorithm only for
5127 integer exponents with absolute value below 1024. Check for odd
5128 integer exponents when using algorithm for real exponents.
5129 * math/libm-test.inc (pow_test): Add more tests.
5130 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5131
d2de7579
JM
51322012-04-08 Joseph Myers <joseph@codesourcery.com>
5133
5134 [BZ #13705]
5135 * math/libm-test.inc (exp_test): Do not allow overflow exception
5136 on underflow test.
5137
f77f1232
AJ
51382012-04-08 Aurelien Jarno <aurelien@aurel32.net>
5139
5140 [BZ #13705]
5141 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5142 instead of __kernel_standard_f.
5143
3884932b
MF
51442012-04-08 Mike Frysinger <vapier@gentoo.org>
5145
5146 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5147 * sysdeps/x86_64/memset_chk.S: Likewise.
5148
54472e9c
AJ
51492012-04-08 Andreas Jaeger <aj@suse.de>
5150
6ab0fbfc
AJ
5151 [BZ #10153]
5152 * manual/startup.texi (Environment Access): Describe return value
5153 for putenv and setenv.
5154
61efba8c
AJ
5155 [BZ #6895]
5156 * manual/filesys.texi (Directory Entries): Add description for
5157 DT_LNK.
5158
95c3f29a
AJ
5159 [BZ #6890]
5160 * manual/filesys.texi (Directory Entries): Clarify that it's file
5161 system not operating system in the description of DT_UNKNOWN.
5162
54472e9c
AJ
5163 [BZ #6578]
5164 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5165
624254b1
SC
51662012-04-08 Stephen Compall <s11@member.fsf.org>
5167
5168 [BZ #6649]
5169 * manual/llio.texi (Opening and Closing Files): Add cross
5170 reference to explain mode argument.
5171
1e4920e0
MF
51722012-04-07 Mike Frysinger <vapier@gentoo.org>
5173
5174 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5175 * sysdeps/x86_64/memset_chk.S: Likewise.
5176
5ed848f3
DM
51772012-04-07 David S. Miller <davem@davemloft.net>
5178
5179 * elf/elf.h (R_SPARC_WDISP10): Define.
5180 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5181 R_SPARC_SIZE32.
5182 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5183 R_SPARC_SIZE64 and R_SPARC_H34.
5184
96154cd8
CD
51852012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5186
5187 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5188 conditions and remove no longer applicable assertion.
5189
9904dc47
L
51902012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5191
5192 * bits/byteswap.h: Include <features.h>.
5193 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5194 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5195
f8887d0a
L
51962012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5197
5198 * bits/byteswap.h (__bswap_16): Removed.
5199 Include <bits/byteswap-16.h> to get __bswap_16.
5200 * sysdeps/i386/bits/byteswap.h: Likewise.
5201 * sysdeps/s390/bits/byteswap.h: Likewise.
5202 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5203 * bits/byteswap-16.h: New file.
5204 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5205 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5206 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5207 * string/Makefile (headers): Add bits/byteswap-16.h.
5208
62470f60
PP
52092012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5210
5211 [BZ #13895]
5212 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5213 extra indirection.
5214 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5215 * nss/tst-nss-static.c: New.
5216
4dad7bab
RM
52172012-04-06 Robert Millan <rmh@gnu.org>
5218
5219 [BZ #6486]
5220 * manual/llio.texi (File Position Primitive): lseek
5221 refers to WHENCE when it really means OFFSET.
5222
e9142a17
AJ
52232012-04-06 Andreas Jaeger <aj@suse.de>
5224
2c040eff
AJ
5225 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5226 strncmp declarations.
5227
e9142a17
AJ
5228 * abilist/libc.abilist: Add __poll and __ppoll.
5229
ff9f1c5f
DM
52302012-04-05 David S. Miller <davem@davemloft.net>
5231
dcd2ae90
DM
5232 * scripts/check-local-headers.sh: Accept a host triplet in the
5233 path matched by the exclude regexp.
5234
993eb054
DM
5235 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5236 definition.
5237 * sysdeps/powerpc/powerpc32/dl-machine.h
5238 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5239 * sysdeps/s390/s390-32/dl-machine.h
5240 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5241 * sysdeps/sparc/sparc32/dl-machine.h
5242 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5243 * sysdeps/sparc/sparc64/dl-machine.h
5244 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5245
ff9f1c5f
DM
5246 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5247 lazy binding.
48e2e132 5248 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
5249 undefined symbol errors.
5250
48e2e132 5251 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
5252 DT_NEEDED entries.
5253
e80d6f94
MM
52542012-04-05 Michael Matz <matz@suse.de>
5255
5256 [BZ #13592]
5257 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5258
349fa79f
AJ
52592012-04-05 Andreas Jaeger <aj@suse.de>
5260
5261 [BZ #13908]
5262 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5263 comment.
5264
f402708f
KK
52652012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5266
5267 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5268 which ROUND is no valid rounding mode.
5269
2ecccfc9
KK
52702012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5271
5272 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5273 read again.
5274 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5275
8a53f50f
KK
52762012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5277
5278 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5279 an exception using FPU order intentionally.
5280
52812012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5282
5283 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5284 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5285 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5286 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5287
d653abb7
SJ
52882012-04-05 Simon Josefsson <simon@josefsson.org>
5289
5290 [BZ #12340]
5291 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5292 EINVAL when BUFLEN is too smal.
5293
c3b1bf7d
TS
52942012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5295
5296 [BZ #13553]
5297 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5298 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5299
b1aa60f3
AJ
53002012-04-03 Andreas Jaeger <aj@suse.de>
5301
c3b1bf7d 5302 [BZ #13938]
67f60a26
AJ
5303 * manual/setjmp.texi (System V contexts): Fix sentence.
5304
b1aa60f3
AJ
5305 [BZ #13926]
5306 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5307 New macro for this case.
5308 [!__GNUC__] (__bswap_64): New inline function for this case.
5309 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5310 * bits/byteswap.h: Likewise.
5311 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5312 ull, guard with __GLIBC_HAVE_LONG_LONG.
5313
5314 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5315 __GLIBC_HAVE_LONG_LONG.
5316
5317 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5318 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5319
39c59c35
TMQMF
53202012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5321
5322 [BZ #13691]
5323 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5324 inptr and inend, rather than using last_ch.
5325
135ffda8
DM
53262012-04-02 David S. Miller <davem@davemloft.net>
5327
5328 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5329 * stdio-common/printf-parse.h (read_int): Change return type to
5330 'int', return -1 on INT_MAX overflow.
5331 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5332 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5333 overflows INT_MAX. Check for overflow of in-format-string precision
5334 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5335 SIZE_MAX not INT_MAX for integer overflow test.
5336 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5337 skip the construct in the format string but do not record anything.
5338 * stdio-common/bug22.c: Adjust to test both width/prevision
5339 INT_MAX overflow as well as total length INT_MAX overflow. Check
5340 explicitly for proper errno values.
5341
228c019e
TS
53422012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5343
302cadd3
TS
5344 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5345 CHAR_MAX.
5346 * string/test-strcmp.c [! WIDE]: Likewise.
5347 * time/tst-mktime2.c: Likewise for INT_MAX.
5348 * string/test-string.h: #include <sys/param.h> for MIN.
5349
228c019e
TS
5350 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5351 * sysdeps/i386/init-first.c (init): Likewise.
5352 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5353 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5354 * sysdeps/sh/init-first.c (init): Likewise.
5355
cfa633f5
UD
53562012-04-01 Ulrich Drepper <drepper@gmail.com>
5357
5358 * po/ru.po: Update from translation team.
d1635ef8 5359 * po/vi.po: Likewise.
cfa633f5 5360
6cd0a5ea
SP
53612012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5362
5363 * resolv/nss_dns/dns-host.c: Merge copyright years.
5364
4b43400f
LD
53652012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5366
5367 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5368 Optimize memcpy with prefetch if
5369 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5370 src, dst pointers have unequal 16 byte alignments.
5371
48c41d04
SP
53722012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5373
5374 [BZ #13928]
5375 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5376 from a CNAME entry and return the minimum ttl for the query.
5377 (gaih_getanswer_slice): Likewise.
5378
b8dc394d
JL
53792012-03-30 Jeff Law <law@redhat.com>
5380
5381 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5382 due to long keys.
5383 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5384 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5385
2f5a5ed0
JL
5386 * resolv/nss_dns/dns-host.c: Update copyright year.
5387
1d39e359
UD
53882012-03-30 Ulrich Drepper <drepper@gmail.com>
5389
c030f70c 5390 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 5391 requests to save a system call. Fix check that all bytes are sent.
c030f70c 5392
1d39e359
UD
5393 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5394 comments for sendmmsg.
5395
53962012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
5397
5398 [BZ #13691]
5399 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5400 with only 1 character between 0x0041 and 0x01b0.
5401 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5402 * wcsmbs/tst-mbsnrtowcs.c: New file.
5403
20fde227
DM
54042012-03-29 David S. Miller <davem@davemloft.net>
5405
5406 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5407 small copies by hand.
5408
984a4237
JL
54092012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5410
5411 [BZ #13761]
5412 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5413 _nss_compat_initgroups_dyn): Fall back to malloc/free
5414 for large group memberships.
5415
18c9d62b
DM
54162012-03-28 David S. Miller <davem@davemloft.net>
5417
88d85d4f
DM
5418 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5419 that branches into memcpy.
5420 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5421 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5422 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5423 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5424 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5425 bits.
5426 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5427 implementation too.
5428 * sysdeps/sparc/mempcpy.S: New file.
5429
e5aa83e1
DM
5430 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5431 the IFUNC routine in the libc case.
5432 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5433
88570753
DM
5434 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5435 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5436 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5437 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5438 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5439 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5440 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5441 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5442
249d7567
DM
5443 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5444 loop to 256 bytes instead of 64 bytes and fix test signedness.
5445
18c9d62b
DM
5446 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5447 * sysdeps/sparc/sparc32/Makefile: rather than here...
5448 * sysdeps/sparc/sparc64/Makefile: and here.
5449
05f3d1f6
UD
54502012-03-28 Ulrich Drepper <drepper@gmail.com>
5451
5452 * malloc/mallocbug.c: Avoid warnings about unused variables.
5453
86ae07a8
JL
54542012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5455
5456 [BZ #13760]
5457 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5458 in the right place. Discard and retry query if response is
5459 larger than input buffer size.
5460
41bf21a1
JM
54612012-03-28 Joseph Myers <joseph@codesourcery.com>
5462
d6270972
JM
5463 [BZ #369]
5464 [BZ #2678]
5465 [BZ #3866]
5466 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5467 x for large integer exponent.
5468 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5469 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5470 sign of result as needed afterwards.
5471 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5472 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5473 result for underflowing pow the same as for overflow.
5474 (__kernel_standard_l): Handle powl overflow and underflow here
5475 rather than calling __kernel_standard.
5476 * math/libm-test.inc (pow_test): Add more tests.
5477
414fca03 5478 [BZ #3868]
41bf21a1
JM
5479 [BZ #13879]
5480 [BZ #13910]
5481 [BZ #13911]
5482 [BZ #13912]
5483 [BZ #13913]
5484 [BZ #13915]
5485 [BZ #13916]
5486 [BZ #13917]
5487 [BZ #13918]
5488 [BZ #13919]
5489 [BZ #13920]
5490 [BZ #13921]
5491 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5492 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5493 (__kernel_standard_l): New function.
5494 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5495 __kernel_standard.
5496 * math/w_acosl.c (__acosl): Likewise.
5497 * math/w_asinl.c (__asinl): Likewise.
5498 * math/w_atan2l.c (__atan2l): Likewise.
5499 * math/w_atanhl.c (__atanhl): Likewise.
5500 * math/w_coshl.c (__coshl): Likewise.
5501 * math/w_exp10l.c (__exp10l): Likewise.
5502 * math/w_exp2l.c (__exp2l): Likewise.
5503 * math/w_fmodl.c (__fmodl): Likewise.
5504 * math/w_hypotl.c (__hypotl): Likewise.
5505 * math/w_j0l.c (__j0l, __y0l): Likewise.
5506 * math/w_j1l.c (__j1l, __y1l): Likewise.
5507 * math/w_jnl.c (__jnl, __ynl): Likewise.
5508 * math/w_lgammal.c (__lgammal): Likewise.
5509 * math/w_log10l.c (__log10l): Likewise.
5510 * math/w_log2l.c (__log2l): Likewise.
5511 * math/w_logl.c (__logl): Likewise.
5512 * math/w_powl.c (__powl): Likewise.
5513 * math/w_remainderl.c (__remainderl): Likewise.
5514 * math/w_scalbl.c (sysv_scalbl): Likewise.
5515 * math/w_sinhl.c (__sinhl): Likewise.
5516 * math/w_sqrtl.c (__sqrtl): Likewise.
5517 * math/w_tgammal.c (__tgammal): Likewise.
5518 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5519 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5520 * math/libm-test.inc (acos_test): Add more tests.
5521 (acosh_test): Likewise.
5522 (asin_test): Likewise.
5523 (atanh_test): Likewise.
5524 (exp_test): Likewise.
5525 (exp10_test): Likewise.
5526 (exp2_test): Likewise.
5527 (expm1_test): Likewise.
5528 (lgamma_test): Likewise.
5529 (log_test): Likewise.
5530 (log10_test): Likewise.
5531 (log1p_test): Likewise.
5532 (log2_test): Likewise.
5533 (pow_test): Do not allow some spurious overflow exceptions.
5534 (sqrt_test): Add more tests.
5535 (tgamma_test): Likewise.
5536 (y0_test): Likewise.
5537 (y1_test): Likewise.
5538 (yn_test): Likewise.
5539
dd62fda6
AB
55402012-03-27 Anton Blanchard <anton@samba.org>
5541
5542 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5543 MAP_HUGETLB.
5544 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5545 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5546 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5547
1e3cdfda
AJ
55482012-03-27 David S. Miller <davem@davemloft.net>
5549
b855ab85
DM
5550 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5551
1e3cdfda
AJ
5552 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5553 have-as-vis3 check.
5554
55552012-03-27 Andreas Jaeger <aj@suse.de>
5556
5557 * sysdeps/x86_64/elf/configure.in: Moved to ...
5558 * sysdeps/x86_64/configure.in: ... here.
5559 * sysdeps/x86_64/elf/start.S: Moved to ...
5560 * sysdeps/x86_64/start.S: ... here.
5561 * sysdeps/x86_64/elf/configure: Delete.
5562
5563 * sysdeps/x86_64/configure.in: Merge contents from
5564 sysdeps/i386/configure.in (without i686 check).
5565
5566 * sysdeps/i386/elf/Versions: Merge into ...
5567 * sysdeps/i386/Versions: ... this.
5568 * sysdeps/i386/elf/Versions: Delete file.
5569 * sysdeps/i386/elf/start.S: Moved to ...
5570 * sysdeps/i386/start.S: ...here.
5571 * sysdeps/i386/elf/configure.in: Merge into...
5572 * sysdeps/i386/configure.in: ...here.
5573 * sysdeps/i386/elf/configure.in: Delete file.
5574 * sysdeps/i386/elf/configure: Delete file.
5575
5576 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5577 * debug/backtracesyms.c: ... here.
5578 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5579 * debug/backtracesymsfd.c: ... here.
5580 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5581 * sysdeps/generic/ifunc-sel.h: ... here.
5582
5583 * sysdeps/unix/i386/start.c: Delete file.
5584 * sysdeps/unix/sparc/start.c: Delete file.
5585 * sysdeps/unix/start.c: Delete file.
5586
5587 * sysdeps/sh/elf/configure.in: Moved to ...
5588 * sysdeps/sh/configure.in: ... here.
5589 * sysdeps/sh/elf/start.S: Moved to ...
5590 * sysdeps/sh/start.S: ... here.
5591 * sysdeps/sh/elf/configure: Delete file.
5592
5593 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5594 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5595 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5596 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5597 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5598 * sysdeps/powerpc/powerpc64/start.S: here.
5599 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5600 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5601 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5602 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5603 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5604
5605 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5606 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5607 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5608 * sysdeps/powerpc/powerpc32/start.S: ... here.
5609 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5610 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5611 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5612
5613 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5614 * sysdeps/powerpc/ifunc-sel.h: ... here.
5615 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5616 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5617
5618 * sysdeps/sparc/elf/configure.in: Moved to ...
5619 * sysdeps/sparc/configure.in: ... here.
5620 * sysdeps/sparc/elf/configure: Delete file.
5621 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5622 * sysdeps/sparc/sparc32/start.S: ... here.
5623 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5624 * sysdeps/sparc/sparc64/start.S: ... here.
5625 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5626 * sysdeps/sparc/sparc32/Makefile: ... this.
5627 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5628 * sysdeps/sparc/sparc64/Makefile: ... this.
5629
5630 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5631 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5632 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5633 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5634 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5635 * sysdeps/s390/s390-32/setjmp.S: ... here.
5636 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5637 * sysdeps/s390/s390-32/configure.in: ... here.
5638 * sysdeps/s390/s390-32/elf/configure: Delete file.
5639 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5640 * sysdeps/s390/s390-32/start.S: ... here.
5641
5642 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5643 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5644 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5645 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5646 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5647 * sysdeps/s390/s390-64/setjmp.S: ... here.
5648 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5649 * sysdeps/s390/s390-64/configure.in: ... here
5650 * sysdeps/s390/s390-64/elf/configure: Delete file.
5651 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5652 * sysdeps/s390/s390-64/start.S: ... here.
5653 * sysdeps/s390/s390-64/elf/configure: Delete.
5654
5655 * configure.in: Remove support for elf directories in sysdeps.
5656
5657 * configure: Regenerated.
5658 * sysdeps/i386/configure: Regenerated.
5659 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5660 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5661 * sysdeps/s390/s390-32/configure: Regenerated.
5662 * sysdeps/s390/s390-64/configure: Regenerated.
5663 * sysdeps/sh/configure: Regenerated.
5664 * sysdeps/sparc/configure: Regenerated.
5665 * sysdeps/x86_64/configure: Regenerated.
5666
a3f61311
AS
56672012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5668
c876e002
AS
5669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5670
a3f61311
AS
5671 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5672 denormal result into account.
5673
ac4c54f0
RM
56742012-03-25 Roland McGrath <roland@hack.frob.com>
5675
5676 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5677 Reported by Allan McRae <allan@archlinux.org>.
5678
6a9b9c02
JL
56792012-03-23 Jeff Law <law@redhat.com>
5680
5681 * nss/getnssent.c (__nss_getent): Fix typo.
5682
4c42a0c1
DM
56832012-03-23 David S. Miller <davem@davemloft.net>
5684
5685 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5686
1532c7ac
L
56872012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5688
5689 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5690 to pad to uint64_t for each field.
5691 (dl_tls_index): Replace unsigned long with uint64_t.
5692
3ff42526
PP
56932012-03-23 Daniel Jacobowitz <dmj@google.com>
5694 Paul Pluzhnikov <ppluzhnikov@google.com>
5695
5696 [BZ #6528]
5697 * grp/Makefile (otherlibs): Don't set it.
5698 * inet/Makefile (otherlibs): Likewise.
5699 * login/Makefile (otherlibs): Likewise.
5700 * nscd/Makefile (otherlibs): Likewise.
5701 * posix/Makefile (otherlibs): Likewise.
5702 * pwd/Makefile (otherlibs): Likewise.
5703 * rt/Makefile (otherlibs): Likewise.
5704 * sunrpc/Makefile (otherlibs): Likewise.
5705 * nss/Makefile (otherlibs): Likewise.
5706 Add libnss_files to routines and static-only-routines.
5707 ($(objpfx)getent): Remove rule.
5708 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5709 static-only-routines.
5710
7c69cd14
JM
57112012-03-22 Joseph Myers <joseph@codesourcery.com>
5712
5713 [BZ #13892]
5714 * math/s_cexp.c: Include <float.h>.
5715 (__cexp): Handle exp result overflowing not necessarily
5716 overflowing both real and imaginary parts of result.
5717 * math/s_cexpf.c: Likewise.
5718 * math/s_cexpl.c: Likewise.
5719 * math/libm-test.inc (cexp_test): Add more tests.
5720 * sysdeps/i386/fpu/libm-test-ulps: Update.
5721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5722
81b035fe
L
57232012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5724
5725 * include/link.h (ELFW): New macro.
5726 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5727 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5728
1da7940c
L
57292012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5730
5731 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5732 with uint64_t.
5733
b749dbb9
L
57342012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5735
5736 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5737 declaration.
5738 (struct La_x32_retval): Likewise.
5739
2ff87f3f
L
57402012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5741
5742 * sysdeps/x86_64/preconfigure.in: New file.
5743 * sysdeps/x86_64/preconfigure: New generated file.
5744
c0df8e69
JM
57452012-03-22 Joseph Myers <joseph@codesourcery.com>
5746
48e44791
JM
5747 [BZ #13824]
5748 * math/e_exp2l.c: Include <float.h>.
5749 (__ieee754_exp2l): Handle overflow and underflow cases
5750 separately. Only pass fractional part of argument to
5751 __ieee754_expl.
5752 * math/libm-test.inc (exp2_test): Add more tests.
5753
c0df8e69
JM
5754 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5755 negating x to take absolute value.
5756 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5757 Likewise.
5758 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5759 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5760 Likewise.
5761 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5762 computing low part if x was negated.
5763 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5764
c8e43ba7
L
57652012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5766
5767 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5768 la_x32_gnu_pltexit.
5769 (pltexit): Cast int_retval to ptrdiff_t.
5770 * elf/tst-auditmod3b.c: Likewise.
5771 * elf/tst-auditmod4b.c: Likewise.
5772 * elf/tst-auditmod5b.c: Likewise.
5773 * elf/tst-auditmod6b.c: Likewise.
5774 * elf/tst-auditmod6c.c: Likewise.
5775 * elf/tst-auditmod7b.c: Likewise.
5776
5777 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5778 and x32_gnu_pltexit.
5779
5780 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5781 __ELF_NATIVE_CLASS.
5782 (La_x32_regs): New macro.
5783 (La_x32_retval): Likewise.
5784 (la_x32_gnu_pltenter): New function prototype.
5785 (la_x32_gnu_pltexit): Likewise.
5786
7998fa78
AS
57872012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5788
dcb33988
AS
5789 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5790 exponent.
5791
233fc563
AS
5792 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5793
7998fa78
AS
5794 * configure.in (libc_cv_cc_nofma): Check for option to disable
5795 generation of FMA instructions.
5796 * configure: Regenerate.
5797 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5798 * sysdeps/ieee754/dbl-64/Makefile: New file.
5799 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5800 Remove brandred-fma4.
5801 (CFLAGS-brandred-fma4.c): Remove.
5802 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5803 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5804 define.
5805 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5806 define.
5807
8e95c99a
L
58082012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5809
5810 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5811 LLONG_MAX != LONG_MAX.
5812 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5813 (_fitoa_word): Likewise.
5814 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5815 LLONG_MAX != LONG_MAX.
5816 * stdio-common/_itowa.h: Include <_itoa.h>.
5817 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5818 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5819 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5820 only if not defined.
5821 (_ITOA_WORD_TYPE): Likewise.
5822 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5823 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5824
6f4db457
DM
58252012-03-21 David S. Miller <davem@davemloft.net>
5826
5827 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5828
7785fe5a
L
58292012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5830
5831 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5832 of x86_64 when setting libc_cv_slibdir, libdir and
5833 libc_cv_localedir.
5834 * sysdeps/unix/sysv/linux/configure: Regenerated.
5835
4535cd55
JM
58362012-03-21 Joseph Myers <joseph@codesourcery.com>
5837
5838 * manual/lang.texi (Old Varargs): Remove section.
5839 (How Variadic): Update menu.
5840 (va_start): Do not mention varargs.h.
5841
17228132
TS
58422012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5843 Joseph Myers <joseph@codesourcery.com>
5844
5845 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5846 link test.
5847 * configure: Regenerated.
5848
8149f976
TS
58492012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5850
05f3d1f6
UD
5851 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5852 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5853 conformtest.pl
8149f976 5854
1a4ac776
JM
58552012-03-21 Joseph Myers <joseph@codesourcery.com>
5856
be22ce65
JM
5857 * NOTES: Remove.
5858 * Makefile (files-for-dist): Remove NOTES.
5859 (NOTES): Remove rule.
5860 * README: Don't refer to NOTES.
5861 * manual/creature.texi: Don't include macros.texi.
5862 * manual/intro.texi (creature.texi): Remove comment referring to
5863 NOTES.
5864
40b601fb
JM
5865 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5866 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5867 * configure: Regenerated.
5868 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5869 LIBC_TRY_CC_OPTION.
5870 (libc_cv_as_i686): Likewise.
5871 (libc_cv_cc_avx): Likewise.
5872 (libc_cv_cc_sse2avx): Likewise.
5873 (libc_cv_cc_fma4): Likewise.
5874 (libc_cv_cc_novzeroupper): Likewise.
5875 * sysdeps/i386/configure: Regenerated.
5876
1a4ac776
JM
5877 [BZ #13883]
5878 * sysdeps/i386/fpu/s_cexp.S: Remove.
5879 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5880 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5881 * math/libm-test.inc (cexp_test): Add more tests.
5882 * sysdeps/i386/fpu/libm-test-ulps: Update.
5883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5884
a458e7fe
AM
58852012-03-21 Allan McRae <allan@archlinux.org>
5886
5887 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5888
0cb7efc5
JM
58892012-03-21 Joseph Myers <joseph@codesourcery.com>
5890
5891 [BZ #13871]
5892 * math/w_exp2.c: Do not include <float.h>.
5893 (o_threshold, u_threshold): Remove.
5894 (__exp2): Calculate result before checking finiteness and calling
5895 __kernel_standard.
5896 * math/w_exp2f.c: Likewise.
5897 * math/w_exp2l.c: Likewise.
5898 * math/libm-test.inc (exp2_test): Require overflow exception for
5899 1e6 input.
2460d3aa
JM
5900
5901 [BZ #3866]
5902 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5903 range of signed 64-bit integers before using fistpll. Remove
5904 checks for whether integers fit in mantissa bits.
5905 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5906 the range of signed 32-bit integers before using fistpl. Remove
5907 checks for whether integers fit in mantissa bits.
5908 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5909 (__ieee754_powl): Test for y outside the range of signed 64-bit
5910 integers before using fistpll. Reduce 64-bit values to 63-bit
5911 ones as needed.
5912 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5913 divide-by-zero is raised for zero to large negative powers.
5914 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5915 (__ieee754_powl): Test for y outside the range of signed 64-bit
5916 integers before using fistpll. Reduce 64-bit values to 63-bit
5917 ones as needed.
5918 * math/libm-test.inc (pow_test): Add more tests.
5919
eb96ffb0
L
59202012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5921
5922 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5923 <stdio-common/_itoa.h>.
5924 * debug/segfault.c: Likewise.
5925 * elf/dl-cache.c: Likewise.
5926 * elf/dl-minimal.c: Likewise.
5927 * elf/dl-misc.c: Likewise.
5928 * elf/dl-sysdep.c: Likewise.
5929 * elf/dl-version.c: Likewise.
5930 * elf/rtld.c: Likewise.
5931 * hurd/hurdsock.c: Likewise.
5932 * hurd/lookup-retry.c: Likewise.
5933 * malloc/malloc.c: Likewise.
5934 * malloc/mtrace.c: Likewise.
5935 * nscd/nscd_getgr_r.c: Likewise.
5936 * nscd/nscd_getpw_r.c: Likewise.
5937 * nscd/nscd_getserv_r.c: Likewise.
5938 * posix/getopt_init.c: Likewise.
5939 * posix/wordexp.c: Likewise.
5940 * stdio-common/_itoa.c: Likewise.
5941 * stdio-common/printf_fphex.c: Likewise.
5942 * stdio-common/vfprintf.c: Likewise.
5943 * string/_strerror.c: Likewise.
5944 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5945 * sysdeps/i386/i686/hp-timing.h: Likewise.
5946 * sysdeps/mach/_strerror.c: Likewise.
5947 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5948 * sysdeps/mach/hurd/sethostid.c: Likewise.
5949 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5950 * sysdeps/mach/xpg-strerror.c: Likewise.
5951 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5952 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5953 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5954 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5955 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5956 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5957 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5958 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5959 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5960 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5961 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5962 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5963 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5964 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5965 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5966 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5967 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5968 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5969 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5970 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5971 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5972
5973 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5974
5975 * stdio-common/_itoa.h: Moved to ...
5976 * sysdeps/generic/_itoa.h: Here.
5977
5978 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5979
5980 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5981 instead of "_itoa.h" and "_itowa.h".
5982 * stdio-common/vfprintf.: Likewise.
5983
d1af992d
L
59842012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5985
5986 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5987 <bits/wordsize.h>.
5988 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5989 (__signbit): Likwise.
5990 (llrintf): Likwise.
5991 (llrint): Likwise.
5992
114883e0
L
59932012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5994
5995 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5996 __WORDSIZE != 64.
5997
c135cc1b
JM
59982012-03-20 Joseph Myers <joseph@codesourcery.com>
5999
6000 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
6001 OVERFLOW_EXCEPTION_OK.
6002 * math/libm-test.inc ("Philosophy"): Update comment about
6003 exception testing.
6004 (OVERFLOW_EXCEPTION): Define.
6005 (OVERFLOW_EXCEPTION_OK): Likewise.
6006 (INVALID_EXCEPTION_OK): Renumber.
6007 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6008 (IGNORE_ZERO_INF_SIGN): Likewise.
6009 (test_exceptions): Handle FE_OVERFLOW.
6010 (exp10_test): Expect overflow exceptions.
6011 (exp2_test): Likewise.
6012 (expm1_test): Likewise.
6013 (nextafter_test): Likewise.
6014 (pow_test): Likewise.
6015 (scalbn_test): Likewise.
6016 (scalbln_test): Likewise.
6017
95443d88
L
60182012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6019
6020 * sysdeps/x86_64/bits/atomic.h
6021 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
6022 64bit integer.
6023 (atomic_exchange_acq): Likewise.
6024 (__arch_exchange_and_add_body): Likewise.
6025 (__arch_add_body): Likewise.
6026 (atomic_add_negative): Likewise.
6027 (atomic_add_zero): Likewise.
6028
490df6c4
L
60292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6030
c2722551 6031 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
6032 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
6033
5e52b189
L
60342012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6035
6036 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
6037 Check __x86_64__ instead of __WORDSIZE.
6038
a9879d4c
L
60392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6040
6041 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
6042
5df98260
DM
60432012-03-19 David S. Miller <davem@davemloft.net>
6044
e1497744
DM
6045 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6046
5df98260
DM
6047 * sysdeps/sparc/fpu/fenv_private.h: New file.
6048 * sysdeps/sparc/fpu/math_private.h: Use it.
6049 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
6050 Remove.
6051 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
6052 (libc_feholdexcept_setroundl): Remove.
6053 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
6054 Remove.
6055 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
6056 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
6057
b4c35121
L
60582012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6059
6060 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
6061 int64_t instead of long int.
6062 (INSERT_WORDS64): Likwise.
6063
56965fd7
L
60642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6065
6066 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
6067 _Unwind_GetCFA return to _Unwind_Ptr first.
6068
83d1aec8
JM
60692012-03-19 Joseph Myers <joseph@codesourcery.com>
6070
1897ad44
JM
6071 [BZ #13629]
6072 * math/s_clog.c: Include <float.h>.
6073 (__clog): Scale large or subnormal inputs.
6074 * math/s_clogf.c: Likewise.
6075 * math/s_clogl.c: Likewise.
6076 * math/s_clog10.c: Include <float.h>.
6077 (M_LOG10_2): Define.
6078 (__clog10): Scale large or subnormal inputs.
6079 * math/s_clog10f.c: Likewise.
6080 * math/s_clog10l.c: Likewise.
6081 * math/libm-test.inc (clog_test): Add more tests.
6082 (clog10_test): Likewise.
6083 * sysdeps/i386/fpu/libm-test-ulps: Update.
6084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6085
7726d6a9
JM
6086 [BZ #11451]
6087 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
6088 x and y.
6089 * math/libm-test.inc (atan2_test): Add another test.
6090
83d1aec8
JM
6091 * Makerules (common-objdir-compile): Remove.
6092 * sysdeps/unix/Makefile (config-generated): Do not add
6093 $(unix-generated) to variable.
6094 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
6095 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
6096 Remove rule.
6097 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
6098 Likewise.
6099 [generic bits/local_lim.h] (before-compile): Do not append to
6100 variable.
6101 [generic bits/local_lim.h] (common-generated): Likewise.
6102 [generic sys/param.h] (before-compile): Do not append to variable.
6103 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
6104 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
6105 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
6106 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
6107 include.
6108 [generic sys/param.h] (sys/param.h-includes): Remove variable.
6109 [generic sys/param.h] (sys/param.h-includes): Remove rule.
6110 [generic sys/param.h] ($(addprefix
6111 $(common-objpfx),$(sys/param.h-includes))): Likewise.
6112 [generic sys/param.h] (common-generated): Do not append to
6113 variable.
6114 [generic sys/param.h] (sysdep_headers): Likewise.
6115 [generic bits/errno.h] (before-compile): Do not append to
6116 variable.
6117 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6118 rule.
6119 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6120 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6121 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6122 [generic bits/errno.h] (common-generated): Do not append to
6123 variable.
6124 [generic bits/ioctls.h] (before-compile): Do not append to
6125 variable.
6126 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6127 rule.
6128 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6129 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6130 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6131 rule.
6132 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6133 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6134 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6135 [generic bits/ioctls.h] (common-generated): Do not append to
6136 variable.
6137 [generic sys/syscall.h] (syscall.h): Remove variable.
6138 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6139 rule.
6140 [generic sys/syscall.h] (before-compile): Do not append to
6141 variable.
6142 [generic sys/syscall.h] (common-generated): Likewise.
6143 * sysdeps/unix/errnos-tmpl.c: Remove file.
6144 * sysdeps/unix/errnos.awk: Likewise.
6145 * sysdeps/unix/ioctls-tmpl.c: Likewise.
6146 * sysdeps/unix/ioctls.awk: Likewise.
6147 * sysdeps/unix/mk-local_lim.c: Likewise.
6148 * sysdeps/unix/snarf-ioctls: Likewise.
6149
4851a949
RH
61502012-03-19 Richard Henderson <rth@twiddle.net>
6151
bd37f2ee
RH
6152 * sysdeps/i386/fpu/fenv_private.h: New file.
6153 * sysdeps/i386/fpu/math_private.h: Use it.
6154 (math_opt_barrier, math_force_eval): Remove.
6155 (libc_feholdexcept_setround_53bit): Remove.
6156 (libc_feupdateenv_53bit): Remove.
6157 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6158 (math_opt_barrier, math_force_eval): Remove.
6159 (libc_feholdexcept): Remove.
6160 (libc_feholdexcept_setround): Remove.
6161 (libc_fetestexcept, libc_fesetenv): Remove.
6162 (libc_feupdateenv_test): Remove.
6163 (libc_feupdateenv, libc_feholdsetround): Remove.
6164 (libc_feresetround): Remove.
6165
d0adc922
RH
6166 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6167 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6168
0fe0f1f8
RH
6169 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6170 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6171 (libc_feupdateenv_testl): New.
6172 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6173 (libc_feupdateenv_testf): New.
6174 (libc_feupdateenv): Use libc_feupdateenv_test.
6175 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6176 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6177
eb92c487
RH
6178 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6179 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6180 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6181 (libc_feresetround_noex): New.
6182 (libc_feresetround_noexf): New.
6183 (libc_feresetround_noexl): New.
6184 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6185 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6186 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6187 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6188 SET_RESTORE_ROUND.
6189 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6190 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6191 (__cos): Likewise.
6192 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6193 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6194 SET_RESTORE_ROUND_NOEX.
6195 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6196 SET_RESTORE_ROUND_NOEXF.
6197 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6198 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6199 (libc_feholdsetroundf): New.
6200 (libc_feresetround, libc_feresetroundf): New.
6201
7d2e8012
RH
6202 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6203 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6204 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6205
b4dabbb4
RH
6206 * sysdeps/generic/math_private.h: Include <fenv.h>.
6207 (default_libc_feholdexcept): New.
6208 (default_libc_feholdexcept_setround): New.
6209 (default_libc_fesetenv, default_libc_feupdateenv): New.
6210 (libc_feholdexcept): Only define if undefined.
6211 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6212 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6213 (libc_feholdexcept_setroundl): Likewise.
6214 (libc_feholdexcept_setround_53bit): Likewise.
6215 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6216 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6217 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6218 (libc_feupdateenv_53bit): Likewise.
6219 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6220 (libc_feholdexcept): Convert from macro to inline function.
6221 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6222 (libc_fesetenv, libc_feupdateenv): Likewise.
6223
4851a949
RH
6224 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6225 not previously defined.
6226 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6227 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6228 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6229 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6230 * sysdeps/ieee754/flt-32/math_private.h: New file.
6231 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6232 math_private.h below SET_FLOAT_WORD.
6233 (__isnan, __isinf_ns, __finite): Remove.
6234 (__isnanf, __isinf_nsf, __finitef): Remove.
6235
e79d442e
AS
62362012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6237
6238 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6239
90b80344
DM
62402012-03-17 David S. Miller <davem@davemloft.net>
6241
6242 [BZ #6471]
6243 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6244 for 2.16.
6245
edc21804
DM
62462012-03-16 David S. Miller <davem@davemloft.net>
6247
77e927af
DM
6248 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6249 warnings.
6250
374976dd
DM
6251 [BZ #6471]
6252 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6253 properly.
6254 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6255 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6256 sysdep_routines when subdir is sysvipc.
6257 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6258 __getshmlba helper.
6259
edc21804
DM
6260 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6261
473c3ef3
L
62622012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6263
6264 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6265 [__LP64__].
6266
eb0f39b6
L
62672012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6268
6269 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6270 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6271 (__lround): Renamed to ...
6272 (__llround): This. Replace long int with long long int.
6273 Define lround functions as aliases of llround functions.
6274 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6275
6b6cd74b
L
62762012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6277
6278 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6279 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6280 adresses to uintptr_t. Replace "long int" and "unsigned long
6281 int" with "greg_t" on va_arg.
6282
f1a77b01
L
62832012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6284
6285 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6286 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6287
6288 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6289 Move e_machine check before EI_CLASS check. Handle x32
6290 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6291 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6292 SKIP_EM_IA_64 and include
6293 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6294
6295 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6296 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6297 (add_system_dir): New macro.
6298
6299 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6300 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6301
11b90b9f
JM
63022012-03-16 Joseph Myers <joseph@codesourcery.com>
6303
c36e1d23
JM
6304 [BZ #2551]
6305 [BZ #2552]
6306 [BZ #2553]
6307 [BZ #2554]
6308 [BZ #2562]
6309 [BZ #2563]
6310 [BZ #2565]
6311 [BZ #2566]
6312 [BZ #2576]
6313 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6314 (y0): Likewise.
6315 * math/w_j0f.c (j0f): Likewise.
6316 (y0f): Likewise.
6317 * math/w_j0l.c (__j0l): Likewise.
6318 (__y0l): Likewise.
6319 * math/w_j1.c (j1): Likewise.
6320 (y1): Likewise.
6321 * math/w_j1f.c (j1f): Likewise.
6322 (y1f): Likewise.
6323 * math/w_j1l.c (__j1l): Likewise.
6324 (__y1l): Likewise.
6325 * math/w_jn.c (jn): Likewise.
6326 (yn): Likewise.
6327 * math/w_jnf.c (jnf): Likewise.
6328 (ynf): Likewise.
6329 * math/w_jnl.c (__jnl): Likewise.
6330 (__ynl): Likewise.
6331 * math/libm-test.inc (j0_test): Add more tests.
6332 (j1_test): Likewise.
6333 (jn_test): Likewise. Add trailing semicolon to existing test.
6334 (y0_test): Likewise.
6335 (y1_test): Likewise.
6336 * sysdeps/i386/fpu/libm-test-ulps: Update.
6337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6338
11b90b9f
JM
6339 [BZ #13851]
6340 [BZ #13854]
6341 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6342 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6343 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6344 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6345 (__tanl): Set errno for infinite argument.
6346 * sysdeps/i386/fpu/mptan.c: Remove.
6347 * sysdeps/i386/fpu/s_tan.S: Likewise.
6348 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6349 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6350 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6351 * math/libm-test.inc (tan_test): Add more tests and enable more
6352 tests for double and long double.
6353 * sysdeps/i386/fpu/libm-test-ulps: Update.
6354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6355
6a1bd2a1
JK
63562012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6357
6358 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6359 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6360
10a803e0
RM
63612012-03-16 Roland McGrath <roland@hack.frob.com>
6362
6363 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6364 * configure.in: Use it for both main tree and add-ons.
6365 * configure: Regenerated.
6366
f196c7f7
L
63672012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6368
6369 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6370
8848d99d
JM
63712012-03-16 Joseph Myers <joseph@codesourcery.com>
6372
96cbe7f4
JM
6373 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6374 in comment.
6375
8848d99d
JM
6376 [BZ #13851]
6377 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6378 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6379 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6380 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6381 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6382 infinite argument.
6383 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6384 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6385 != 0 for prec == 2.
6386 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6387 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6388 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6389 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6390 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6391 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6392 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6393 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6394 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6395 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6396 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6397 * math/libm-test.inc (cos_test): Add more tests and enable more
6398 tests for long double.
6399 (sin_test): Likewise.
6400 (sincos_test): Likewise.
6401 * sysdeps/i386/fpu/libm-test-ulps: Update.
6402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6403
dd7f4703
DM
64042012-03-16 David S. Miller <davem@davemloft.net>
6405
6406 * sysdeps/sparc/fpu/math_private.h: New file.
6407
006f1daa
DM
64082012-03-15 David S. Miller <davem@davemloft.net>
6409
c0c83bc8
DM
6410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6411 file.
e6a62e18 6412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
6413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6414 file.
e6a62e18
DM
6415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6416 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6417 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6418 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6419 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6420 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6421 sysdep routines.
6422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6423
88cb87d9
DM
6424 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6425 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6426
006f1daa 6427 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
6428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6429 sparc-ifunc.h
006f1daa 6430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
6431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6432 Likewise.
6433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6434 Likewise.
006f1daa
DM
6435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
6438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6439 Likewise.
006f1daa
DM
6440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
6444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6445 Likewise.
6446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6447 Likewise.
006f1daa
DM
6448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6452 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6453 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6454 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6455 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6456 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6457 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6458 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6459 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6460 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6461 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6462 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6463 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6464 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6465 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6466 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6467 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6468 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6469 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6470 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6471 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6472
11e0098e
AS
64732012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6474
6475 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6476 scaling.
6477 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6478
e85b09d0
AJ
64792012-03-15 Andreas Jaeger <aj@suse.de>
6480
6481 [BZ #13852]
6482 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6483 ieee754/flt-32 implementation for sin, cos and sincos.
6484 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6485 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6486 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6487 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6488 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6489 ieee754/flt-32 implementation for tan.
6490
6491 * math/libm-test.inc (cos_test): Enable some large input tests for
6492 float as well
6493 (sin_test): Likewise.
6494 (sincos_test): Likewise.
6495 (tan_test): Add tests for large input.
6496
6497 * sysdeps/i386/fpu/libm-test-ulps: Update.
6498
81c64153
AJ
64992012-03-15 Andreas Jaeger <aj@suse.de>
6500
6501 [BZ #13658]
6502 * math/libm-test.inc (cos_test): Add more test cases.
6503 (sin_test): Likewise.
6504 (sincos_test): Likewise.
6505
7bbfa5c6
AJ
65062012-03-15 Andreas Jaeger <aj@suse.de>
6507
6508 [BZ #13837]
6509 * math/libm-test.inc (cos_test): Add a test case for large input
6510 value.
6511 (sin_test): Likewise.
6512 (sincos_test): Likewise.
6513
65142012-03-15 Andreas Jaeger <aj@suse.de>,
6515 Joseph Myers <joseph@codesourcery.com>
6516
6517 [BZ #13658]
0671f479 6518 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
6519 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6520 * sysdeps/i386/fpu/branred.c: Likewise.
6521 * sysdeps/i386/fpu/dosincos.c: Likewise.
6522 * sysdeps/i386/fpu/mpa.c: Likewise.
6523 * sysdeps/i386/fpu/s_cos.S: Likewise.
6524 * sysdeps/i386/fpu/s_sin.S: Likewise.
6525 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6526 * sysdeps/i386/fpu/sincos32.c: Likewise.
6527
6528 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6529 Define.
6530 (libc_feupdateenv_53bit): Define.
6531 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6532 Define.
6533 (libc_feupdateenv_53bit): Define.
6534
6535 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6536 53 bit (without extend i386 double precision).
6537
6538 * math/libm-test.inc (sincos_test): Add tests for large input.
6539 (sin): Likewise.
6540 (cos): Likewise.
6541
6542 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6543
9cad04ea
AS
65442012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6545
6546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6547
f7062b9a
DM
65482012-03-15 David S. Miller <davem@davemloft.net>
6549
6550 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6551 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6552 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6553 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6558 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6559 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6560 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6561 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6562 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6563 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6564 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
6565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6566 file.
f7062b9a 6567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
6568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6569 file.
f7062b9a 6570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
6571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6572 file.
f7062b9a 6573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
6574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6575 file.
f7062b9a
DM
6576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6577 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6578 fmin/fmax sysdep routines.
6579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6580
7bd951ff
DM
65812012-03-14 David S. Miller <davem@davemloft.net>
6582
559398ab
DM
6583 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6584 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6585 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6586 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6587 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6588 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6589 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6590 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6591 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6592 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6593 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6594 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6595 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6596 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6597 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6598 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6599 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6600 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6601 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6602 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6603 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6604 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6605 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6606 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6607 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6608 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6609 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6610 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6611 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6612 routines.
6613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6614 file.
559398ab 6615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
6616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6617 file.
559398ab 6618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
6619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6620 file.
559398ab 6621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
6622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6623 file.
559398ab 6624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
6625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6626 file.
559398ab 6627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
6628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6629 file.
6630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6631 file.
6632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6633 file.
6634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6635 file.
6636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6637 New file.
6638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6639 file.
6640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6641 file.
559398ab 6642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
6643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6644 file.
559398ab 6645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6647 file.
559398ab 6648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
6649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6650 file.
559398ab 6651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
6652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6653 VIS3 routines.
559398ab
DM
6654
6655 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6656 New file.
6657
5a1c1e32
DM
6658 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6659
eae47a36
DM
6660 * sysdeps/sparc/configure.in: New file.
6661 * sysdeps/sparc/configure: Generate.
6662 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6663 * configure: Regenerate.
6664 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6665 * config.make.in (have-as-vis3): New.
6666 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6667 available use -Av9d instead of -Av9a.
6668 * sysdeps/sparc/sparc64/Makefile: Likewise.
6669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
6670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6671 New file.
6672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6673 file.
6674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6675 New file.
6676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6677 file.
eae47a36
DM
6678 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6679 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6680 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6681 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6682 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6683
c0c83bc8
DM
6684 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6685 fzeros/fnegs to load 0x80000000 into a float register instead of
6686 using the stack.
7bd951ff
DM
6687 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6688
bd951ccb
JM
66892012-03-14 Joseph Myers <joseph@codesourcery.com>
6690
6691 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6692 bits/syscall.h.
6693 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6694 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6695 ($(inst_includedir)/bits/syscall.h): Remove rule.
6696 ($(objpfx)bits/syscall.d): Include instead of
6697 $(objpfx)syscall-list.d.
6698 (generated): Change syscall-list.h and syscall-list.d to
6699 bits/syscall.h and bits/syscall.d.
6700
bb4e6db2
RM
67012012-03-14 Roland McGrath <roland@hack.frob.com>
6702
6703 [BZ #13846]
6704 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6705
aa4a2ae1
JM
67062012-03-14 Joseph Myers <joseph@codesourcery.com>
6707
e456826d
JM
6708 [BZ #13841]
6709 * math/s_csqrt.c: Include <float.h>.
6710 (__csqrt): Scale large or subnormal inputs.
6711 * math/s_csqrtf.c: Likewise.
6712 * math/s_csqrtl.c: Likewise.
6713 * math/libm-test.inc (csqrt_test): Add more tests.
6714 * sysdeps/i386/fpu/libm-test-ulps: Update.
6715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6716
aa4a2ae1
JM
6717 [BZ #13840]
6718 * math/libm-test.inc (hypot_test): Add more tests.
6719
7c10fd35
DM
67202012-03-13 David S. Miller <davem@davemloft.net>
6721
6722 [BZ #13840]
6723 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6724 double-precision for the calculation instead of scaling.
6725
f453b98b
JM
67262012-03-13 Joseph Myers <joseph@codesourcery.com>
6727
6728 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6729 manipulate bits before adding and subtracting TWO52[sx].
6730 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6731 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6732 Likewise.
6733 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6734
09a3453f
DM
67352012-03-13 David S. Miller <davem@davemloft.net>
6736
8e59da90
DM
6737 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6738 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6739 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6740 rtld-global-offsets.h
6741 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6742
2a8ab7f2
DM
6743 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6744 large parameters.
6745
10f62770
DM
6746 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6747
5f0bdb18
DM
6748 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6749 'err' in the ifdef scope in which it is actually used.
6750
09a3453f
DM
6751 * nss/nss_db/db-init.c: Include string.h
6752
b4b2eb5e
DM
67532012-03-12 David S. Miller <davem@davemloft.net>
6754
98bb2f1c
DM
6755 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6756 masking out of the most significant byte of random value used.
6757 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6758 Fix coding style in previous change.
6759
b4b2eb5e
DM
6760 * sysdeps/unix/sysv/linux/kernel-features.h
6761 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6762 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6763 expression.
6764 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6765 later.
6766
6e226b09
DM
67672012-03-11 David S. Miller <davem@davemloft.net>
6768
a1bcbd40
DM
6769 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6770 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6771 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6772 for 'resultvar' otherwise things get truncated on 64-bit.
6773
cb9d6174
DM
6774 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6775 Fix masking out of the most significant byte of random value used.
6776
6e226b09
DM
6777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6778
058c132d
AS
67792012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6780
6781 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6782
2d2cd515
DM
67832012-03-09 David S. Miller <davem@davemloft.net>
6784
6785 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6786 variables with appropriate CPP guards.
6787 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6788 frame pointer, not the stack pointer. Correct layout comments. Fix test
6789 on resulting framesize and the management of the outregs buffer for pltexit.
6790 Preserve floating point return values across _dl_call_pltexit call.
6791 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6792 framesize and the management of the outregs buffer for pltexit.
6793 Preserve floating point return values across _dl_call_pltexit
6794 call.
6795 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6796 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6797 (print_exit): Fix format string for return register value.
6798
9a07f9d0
JM
67992012-03-10 Joseph Myers <joseph@codesourcery.com>
6800
6801 * sunrpc/Makefile (others): Add rpcgen.
6802 ($(objpfx)rpcgen): Remove special build rule and dependency on
6803 libc.
6804 * sunrpc/rpcgen.c: New file.
6805
547b5e30
PE
68062012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6807
c524201a
PE
6808 [BZ #13673]
6809 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6810 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6811 * sysdeps/i386/crti.S: Likewise.
6812 * sysdeps/i386/crtn.S: Likewise.
6813 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6814 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6815 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6816 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6817 * sysdeps/sh/crti.S: Likewise.
6818 * sysdeps/sh/crtn.S: Likewise.
6819 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6820
7b6235f2
PE
6821 [BZ #13673]
6822 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6823 with URL.
6824 * locale/programs/locfile-kw.gperf: Likewise.
6825 * locale/programs/charmap-kw.h: Regenerated.
6826 * locale/programs/locfile-kw.h: Likewise.
6827
547b5e30
PE
6828 [BZ #13673]
6829 * intl/plural.y: Replace FSF snail mail address with URL.
6830 * intl/plural.c: Regenerated.
6831
5f0a5dae
RH
68322012-03-09 Richard Henderson <rth@twiddle.net>
6833
6834 * include/math_private.h: Remove file.
6835 * math/math_private.h: Move file ...
6836 * sysdeps/generic/math_private.h: ... here.
6837
b8c03620
RH
6838 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6839 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6840 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6841
4e234f5d 6842 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
6843 and <math_private.h>.
6844 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6845 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6846 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6847 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6848 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6849 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6850 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6851 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6852 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6853 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6854 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6855 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6856 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6857 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6858 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6859 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6860 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6861 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6862 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6863 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6864 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6865 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6866 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6867 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6868 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6869 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6870 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6871 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6872 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6873 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6874 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6875 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6876 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6877 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6878 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6879 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6880 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6881 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6882 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6883 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6884 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6885 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6886 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6887 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6888 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6889 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6890 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6891 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6892 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6893 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6894 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6895 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6896 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6897 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6898 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6899 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6900 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6901 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6902 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6903 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6904 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6905 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6906 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6907 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6908 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6909 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6910 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6911 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6912 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6913 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6914 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6915 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6916 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6917 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6918 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6919 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6920 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6921 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6922 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6923 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6924 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6925 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6926 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6927 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6928 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6929 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6930 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6931 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6932 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6933 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6934 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6935 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6936 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6937 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6938 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6939 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6940 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6941 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6942 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6943 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6944 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6945 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6946 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6947 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6948 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6949 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6950 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6951 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6952 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6953 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6954 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6955 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6956 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6957 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6958 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6959 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6960 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6961 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6962 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6963 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6964 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6965 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6966 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6967 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6968 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6969 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6970 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6971 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6972 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6973 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6974 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6975 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6976 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6977 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6978 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6979 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6980 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6981 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6982 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6983 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6984 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6985 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6986 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6987 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6988 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6989 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6990 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6991 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6992 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6993 * sysdeps/ieee754/k_standard.c: Likewise.
6994 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6995 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6996 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6997 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6998 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6999 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7000 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7001 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7002 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7003 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7004 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7005 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7006 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7007 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7008 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7009 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7010 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7011 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7012 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7013 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7014 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7015 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7016 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7017 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7018 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7019 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7020 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7021 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7022 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7023 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7024 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7025 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7026 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7027 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7028 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7029 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7030 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7031 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
7032 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7033 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7034 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7035 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7036 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7037 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7038 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7039 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7040 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7041 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7042 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7043 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7044 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7045 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7046 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7047 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7048 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7049 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7050 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
7051 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7052 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7053 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7054 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7055 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7056 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7057 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7058 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7059 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7060 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7061 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7062 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7063 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7064 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7065 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7066 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7067 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7068 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7069 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7070 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
7071 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7072 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7073 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7074 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7075 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7076 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7077 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7078 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
7079 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7080 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7081 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7082 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7083 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7084 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
7085 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7086 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7087 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7088 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7089 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7090 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
7091 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7092 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7093 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
7094 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7095 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7096 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7097 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7098 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
7099 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7100 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7101 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7102 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
7103 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7104 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7105 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7106 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7107 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7108 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7109 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7110 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7111 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7112 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7113 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7114 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7115 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7116 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7117 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7118 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7119 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7120 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7121 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7122 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7123 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7124 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7125 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7126 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7127 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7128 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7129 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7130 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7131 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7132 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7133 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7134 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7135 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7136 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7137 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7138 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7139 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7140 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7141 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7142 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7143 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7144 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7145 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7146 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7147 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7148 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7149 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7150 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7151 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7152 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7153 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7154 * sysdeps/ieee754/s_lib_version.c: Likewise.
7155 * sysdeps/ieee754/s_matherr.c: Likewise.
7156 * sysdeps/ieee754/s_signgam.c: Likewise.
7157 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7158 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7159 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7160 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7161 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7162 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7163 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7164 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7165 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7166 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7167 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7168 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7169 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7170 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7171 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7172 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7173 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7174 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7175 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7176 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7177 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 7178
1991fa03
JM
71792012-03-09 Joseph Myers <joseph@codesourcery.com>
7180
7181 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7182 * sunrpc/rpc_main.c: Likewise.
7183 * sunrpc/rpc_svcout.c: Likewise.
7184
60d6f5a6
DM
71852012-03-09 David S. Miller <davem@davemloft.net>
7186
7187 * include/math_private.h: New file.
7188
4962050e
JM
71892012-03-09 Joseph Myers <joseph@codesourcery.com>
7190
02a6f887
JM
7191 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7192 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7193 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7194 from <bits/socket_type.h>.
7195 (enum __socket_type): Don't define here.
7196 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7197 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7198 bits/socket_type.h.
7199
c6e013c1
JM
7200 [BZ #13566]
7201 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7202 checking __USE_GNU.
7203
4962050e
JM
7204 * Makerules ($(inst_includedir)/%.h): New rule.
7205 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7206 (install-others): Remove variable setting.
7207 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7208
38842f45
RH
72092012-03-08 Richard Henderson <rth@twiddle.net>
7210
67bb6da6
RH
7211 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7212 from macro to inline function; merge with the
7213 !__LIBC_INTERNAL_MATH_INLINES version.
7214 (__ieee754_sqrtf): Likewise.
7215
15194b4b
RH
7216 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7217 to inline function.
7218 (__rintf, __floor, __floorf): Likewise.
7219
64e21ede
RH
7220 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7221 macro to inline function.
7222 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7223
38842f45
RH
7224 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7225 not <math/math_private.h>.
7226
c64bf5fe
DM
72272012-03-08 David S. Miller <davem@davemloft.net>
7228
7229 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7230 copyright year.
7231 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7232
82d86f28
TS
72332012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7234
7235 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7236 normalization.
7237 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7238 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7239
aea5d727
UD
72402012-03-08 Ulrich Drepper <drepper@gmail.com>
7241
7242 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7243 be defined individually, they must be defined as a block. Define
7244 S for printing a string instead of hidint the different by using a
7245 macro for adding the 'l'.
7246 * stdio-common/tst-fphex-wide.c: Adjust.
7247
70bca0a3
MP
72482012-03-07 Marek Polacek <polacek@redhat.com>
7249
7250 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7251
65b81130
MP
72522012-03-08 Marek Polacek <polacek@redhat.com>
7253
7254 [BZ #13806]
7255 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7256 * stdio-common/tst-fphex.c: Define a few macros to make the
7257 test reusable. Use them.
7258 * stdio-common/tst-fphex-wide.c: New file.
7259
07037eeb
JM
72602012-03-08 Joseph Myers <joseph@codesourcery.com>
7261
a7a93d50
JM
7262 [BZ #6911]
7263 * manual/macros.texi (gnusystems): New macro.
7264 (nongnusystems): Likewise.
7265 (gnulinuxhurdsystems): Likewise.
7266 (gnuhurdsystems): Likewise..
7267 (gnulinuxsystems): Likewise.
7268 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7269 variants of the GNU system, not "GNU system".
7270 * manual/conf.texi: Likewise.
7271 * manual/errno.texi: Likewise. Update example of errno macro
7272 expansion.
7273 * manual/filesys.texi: Likewise.
7274 (getumask): Document as specific to GNU/Hurd.
7275 * manual/install.texi: Likewise. Reword some references to
7276 GNU/Linux.
7277 * manual/intro.texi: Likewise.
7278 * manual/io.texi: Likewise.
7279 (File Name Portability): Detail which constraints are inapplicable
7280 to all GNU systems and which are only inapplicable to GNU/Hurd.
7281 * manual/job.texi: Likewise.
7282 * manual/llio.texi: Likewise.
7283 (O_NOCTTY): Document as present on GNU/Linux.
7284 * manual/maint.texi: Likewise.
7285 * manual/memory.texi: Likewise.
7286 * manual/pattern.texi: Likewise.
7287 * manual/pipe.texi: Likewise.
7288 * manual/process.texi: Likewise.
7289 * manual/resource.texi: Likewise.
7290 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7291 child on GNU/Hurd.
7292 * manual/setjmp.texi: Likewise.
7293 * manual/signal.texi: Likewise.
7294 * manual/startup.texi: Likewise.
7295 * manual/stdio.texi: Likewise.
7296 * manual/terminal.texi: Likewise.
7297 (ONLCR): Document as POSIX.
7298 (OXTABS): Document availability on GNU/Linux as XTABS.
7299 (ONOEOT): Document availability separately from other bits.
7300 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7301 * manual/time.texi: Likewise.
7302 * manual/users.texi: Likewise.
7303 * INSTALL: Regenerated.
7304 * sysdeps/gnu/errlist.c: Regenerated.
7305
07037eeb
JM
7306 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7307 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7308 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7309 puts.
7310 * configure: Regenerated.
7311
d1d3431a
JM
73122012-03-07 Joseph Myers <joseph@codesourcery.com>
7313
af6a1e37
JM
7314 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7315 default includes instead of AC_HEADER_CHECK.
7316 * sysdeps/i386/configure: Regenerated.
7317
d1d3431a
JM
7318 [BZ #10716]
7319 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7320 * math/s_cacoshf.c (__cacoshf): Likewise.
7321 * math/s_cacoshl.c (__cacoshl): Likewise.
7322 * math/s_casinh.c (__casinh): Set signs of result from argument.
7323 * math/s_casinhf.c (__casinhf): Likewise.
7324 * math/s_casinhl.c (__casinhl): Likewise.
7325 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7326 (casinh_test): Add more tests.
7327 * sysdeps/i386/fpu/libm-test-ulps: Update.
7328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7329
482ff4da
UD
73302012-03-07 Ulrich Drepper <drepper@gmail.com>
7331
872fda05
UD
7332 * po/zh_TW.po: Update from translation team.
7333
a4300c7a
UD
7334 * login/Makefile (distribute): Remove variable.
7335 * catgets/Makefile: Likewise.
7336 * mach/Makefile: Likewise.
7337 * malloc/Makefile: Likewise.
7338 * misc/Makefile: Likewise.
7339 * iconv/Makefile: Likewise.
7340 * nscd/Makefile: Likewise.
7341 * hurd/Makefile: Likewise.
7342 * manual/Makefile: Likewise.
7343 * locale/Makefile: Likewise.
7344 * intl/Makefile: Likewise.
7345 * conform/Makefile: Likewise.
7346 * nss/Makefile: Likewise.
7347 * time/Makefile: Likewise.
7348 * soft-fp/Makefile: Likewise.
7349 * dirent/Makefile: Likewise.
7350 * gmon/Makefile: Likewise.
7351 * po/Makefile: Likewise.
7352 * rt/Makefile: Likewise.
7353 * socket/Makefile: Likewise.
7354 * math/Makefile: Likewise.
7355 * signal/Makefile: Likewise.
7356 * debug/Makefile: Likewise.
7357 * elf/Makefile: Likewise.
7358 * timezone/Makefile: Likewise.
7359 * stdlib/Makefile: Likewise.
7360 * iconvdata/Makefile: Likewise.
7361 * sunrpc/Makefile: Likewise.
7362 * io/Makefile: Likewise.
7363 * argp/Makefile: Likewise.
7364 * inet/Makefile: Likewise.
7365 * hesiod/Makefile: Likewise.
7366 * grp/Makefile: Likewise.
7367 * csu/Makefile: Likewise.
7368 * wctype/Makefile: Likewise.
7369 * crypt/Makefile: Likewise.
7370 * libio/Makefile: Likewise.
7371 * string/Makefile: Likewise.
7372 * nis/Makefile: Likewise.
7373 * resolv/Makefile: Likewise.
7374 * stdio-common/Makefile: Likewise.
7375 * wcsmbs/Makefile: Likewise.
7376 * dlfcn/Makefile: Likewise.
7377 * posix/Makefile: Likewise.
7378
3b7c4e74 7379 [BZ #6959]
482ff4da
UD
7380 * timezone/Makefile: Don't install timezone files, just the programs
7381 and scripts.
7382
f72ed77d
UD
73832012-03-06 Ulrich Drepper <drepper@gmail.com>
7384
a000466f
UD
7385 * nss/databases.def: Add missing gshadow entry.
7386
f72ed77d
UD
7387 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7388
a53b7a4e
MP
73892012-03-06 Marek Polacek <polacek@redhat.com>
7390
7391 [BZ #13726]
7392 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7393 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7394 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7395 * stdio-common/tst-long-dbl-fphex.c: New file.
7396
e9258400
DM
73972012-03-06 David S. Miller <davem@davemloft.net>
7398
7399 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7400 (set_obp_int): New function.
7401 (get_obp_int): New function.
7402 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
7403 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7404 Avoid unused variable warnings on 'val' and use builtin_expect.
7405 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7406 __builtin_expect.
e9258400
DM
7407 (INLINE_CLONE_SYSCALL): Likewise.
7408
3bd2c723
DM
74092012-03-05 David S. Miller <davem@davemloft.net>
7410
7411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7412
bbb78d03
AS
74132012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7414
884c5db4
AS
7415 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7416
bbb78d03
AS
7417 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7418 only for |x| >= 40.
7419 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7420
1c9f702a 74212012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
7422
7423 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7424 Replace gettimeofday with __vdso_gettimeofday.
7425
7be16f82
RM
7426 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7427 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7428 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
7429
7430 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7431 time with __vdso_time.
7432
ed58a00f
JM
74332012-03-05 Joseph Myers <joseph@codesourcery.com>
7434
7435 * manual/lang.texi (size_t): Note types to which size_t may be
7436 equivalent with the GNU C Library, but do not describe when
7437 differences between them are significant.
7438
30ee4ced
AJ
74392012-03-05 Andreas Jaeger <aj@suse.de>
7440
7441 * sysdeps/i386/fpu/libm-test-ulps: Update.
7442
b7cd39e8
JM
74432012-03-05 Joseph Myers <joseph@codesourcery.com>
7444
7445 [BZ #3976]
7446 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7447 (__ieee754_pow): Save and restore rounding mode and use
7448 round-to-nearest for main computations.
7449 * math/libm-test.inc (pow_test_tonearest): New function.
7450 (pow_test_towardzero): Likewise.
7451 (pow_test_downward): Likewise.
7452 (pow_test_upward): Likewise.
7453 (main): Call the new functions.
7454 * sysdeps/i386/fpu/libm-test-ulps: Update.
7455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
7456
7457 [BZ #3976]
7458 * math/libm-test.inc (cosh_test_tonearest): New function.
7459 (cosh_test_towardzero): Likewise.
7460 (cosh_test_downward): Likewise.
7461 (cosh_test_upward): Likewise.
7462 (sinh_test_tonearest): Likewise.
7463 (sinh_test_towardzero): Likewise.
7464 (sinh_test_downward): Likewise.
7465 (sinh_test_upward): Likewise.
7466 (main): Call the new functions.
7467 * sysdeps/i386/fpu/libm-test-ulps: Update.
7468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7469
6c6a98c9
TV
74702012-03-05 Tom de Vries <tom@codesourcery.com>
7471
7472 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7473 default stack guard is set in last bytes.
7474 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7475
21bb2d2e 74762012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 7477
21bb2d2e 7478 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 7479
21bb2d2e
AJ
7480 [BZ #13656]
7481 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7482 possibly allocate from heap instead of stack.
7483 * stdio-common/bug-vfprintf-nargs.c: New file.
7484 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 7485
c6922934
AS
74862012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7487
7488 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7489
bc957d53
MP
74902012-03-03 Marek Polacek <polacek@redhat.com>
7491
7492 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7493 * math/math_private.h: Likewise.
7494 * stdlib/tst-strtod.c: Likewise.
7495 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7496 * sysdeps/x86_64/bits/atomic.h: Likewise.
7497
6358490d
DM
74982012-03-02 David S. Miller <davem@davemloft.net>
7499
7500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7504 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7505 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7506 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7507 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7508
01ae168d
RM
75092012-03-02 Roland McGrath <roland@hack.frob.com>
7510
d9a17c07
RM
7511 [BZ #13792]
7512 * manual/examples/README: New file, says the example source files
7513 can be used under GPL>=2.
7514 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7515 line containing just "*/".
7516 * manual/examples/add.c: Add copyright header (GPL>=2).
7517 * manual/examples/argp-ex1.c: Likewise.
7518 * manual/examples/argp-ex2.c: Likewise.
7519 * manual/examples/argp-ex3.c: Likewise.
7520 * manual/examples/argp-ex4.c: Likewise.
7521 * manual/examples/atexit.c: Likewise.
7522 * manual/examples/db.c: Likewise.
7523 * manual/examples/dir.c: Likewise.
7524 * manual/examples/dir2.c: Likewise.
7525 * manual/examples/execinfo.c: Likewise.
7526 * manual/examples/filecli.c: Likewise.
7527 * manual/examples/filesrv.c: Likewise.
7528 * manual/examples/fmtmsgexpl.c: Likewise.
7529 * manual/examples/genpass.c: Likewise.
7530 * manual/examples/inetcli.c: Likewise.
7531 * manual/examples/inetsrv.c: Likewise.
7532 * manual/examples/isockad.c: Likewise.
7533 * manual/examples/longopt.c: Likewise.
7534 * manual/examples/memopen.c: Likewise.
7535 * manual/examples/memstrm.c: Likewise.
7536 * manual/examples/mkfsock.c: Likewise.
7537 * manual/examples/mkisock.c: Likewise.
7538 * manual/examples/mygetpass.c: Likewise.
7539 * manual/examples/pipe.c: Likewise.
7540 * manual/examples/popen.c: Likewise.
7541 * manual/examples/rprintf.c: Likewise.
7542 * manual/examples/search.c: Likewise.
7543 * manual/examples/select.c: Likewise.
7544 * manual/examples/setjmp.c: Likewise.
7545 * manual/examples/sigh1.c: Likewise.
7546 * manual/examples/sigusr.c: Likewise.
7547 * manual/examples/stpcpy.c: Likewise.
7548 * manual/examples/strdupa.c: Likewise.
7549 * manual/examples/strftim.c: Likewise.
7550 * manual/examples/strncat.c: Likewise.
7551 * manual/examples/subopt.c: Likewise.
7552 * manual/examples/swapcontext.c: Likewise.
7553 * manual/examples/termios.c: Likewise.
7554 * manual/examples/testopt.c: Likewise.
7555 * manual/examples/testpass.c: Likewise.
7556 * manual/examples/timeval_subtract.c: Likewise.
7557
01ae168d
RM
7558 [BZ #13792]
7559 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7560 function to ...
7561 * manual/timeval_subtract.c.texi: ... here, new file.
7562
49efa33d
DM
75632012-03-02 David S. Miller <davem@davemloft.net>
7564
7565 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7566
28afd92d
JM
75672012-03-02 Joseph Myers <joseph@codesourcery.com>
7568
804360ed
JM
7569 [BZ #3976]
7570 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7571 (__sin): Save and restore rounding mode and use round-to-nearest
7572 for all computations.
7573 (__cos): Save and restore rounding mode and use round-to-nearest
7574 for all computations.
7575 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7576 <fenv.h>.
7577 (tan): Save and restore rounding mode and use round-to-nearest for
7578 all computations.
7579 * math/libm-test.inc (cos_test_tonearest): New function.
7580 (cos_test_towardzero): Likewise.
7581 (cos_test_downward): Likewise.
7582 (cos_test_upward): Likewise.
7583 (sin_test_tonearest): Likewise.
7584 (sin_test_towardzero): Likewise.
7585 (sin_test_downward): Likewise.
7586 (sin_test_upward): Likewise.
7587 (tan_test_tonearest): Likewise.
7588 (tan_test_towardzero): Likewise.
7589 (tan_test_downward): Likewise.
7590 (tan_test_upward): Likewise.
7591 (main): Call the new functions.
7592 * sysdeps/i386/fpu/libm-test-ulps: Update.
7593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7594
a6d06d7b
JM
7595 [BZ #10135]
7596 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7597 small n, then large n, before computing and testing k+n.
7598 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7599 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7600 Likewise.
7601 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7602 Likewise.
7603 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7604 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7605 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7606 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7607 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7608 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7609 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7610 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7611 * math/libm-test.inc (scalbn_test): Add more tests.
7612 (scalbln_test): Likewise.
7613
07e12bb3
JM
7614 * manual/filesys.texi (mode_t): Describe constraints on size and
7615 signedness, not exact equivalence to a particular type.
7616 (ino_t): Likewise.
7617 (ino64_t): Likewise.
7618 (dev_t): Likewise.
7619 (nlink_t): Likewise.
7620 (blkcnt_t): Likewise.
7621 (blkcnt64_t): Likewise.
7622 * manual/llio.texi (off_t): Likewise.
7623
28afd92d
JM
7624 [BZ #3976]
7625 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7626 (__ieee754_exp): Save and restore rounding mode and use
7627 round-to-nearest for all computations.
7628 * math/libm-test.inc (exp_test_tonearest): New function.
7629 (exp_test_towardzero): Likewise.
7630 (exp_test_downward): Likewise.
7631 (exp_test_upward): Likewise.
7632 (main): Call the new functions.
7633 * sysdeps/i386/fpu/libm-test-ulps: Update.
7634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7635
b1eeb65d
CD
76362012-03-01 Chris Demetriou <cgd@google.com>
7637
7638 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7639 have predictable order.
7640
53362a4b
DM
76412012-03-01 David S. Miller <davem@davemloft.net>
7642
3c969083
DM
7643 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7644
759707de
DM
7645 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7646 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7647 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7648 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7649
dfdb8ff2
DM
7650 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7651 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7652 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7654 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7655 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7656 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7657 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7658 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7659
ead89f96
DM
7660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7661
7f66bd07
DM
7662 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7663 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7664 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7665
53362a4b
DM
7666 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7667 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7668 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7669 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7670 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7671 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7672 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7673 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7674 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7675 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7676 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7677 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7678 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7679 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7680 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7681 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7682 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7683 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7684 * sysdeps/sparc/elf/configure: Regenerated.
7685
7b1902cb
JM
76862012-03-01 Joseph Myers <joseph@codesourcery.com>
7687
bec039bc
JM
7688 * configure.in (AS, LD): Require binutils 2.20 or later.
7689 * configure: Regenerated.
7690 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7691 as required minimum version.
7692 * INSTALL: Regenerated.
7693
7b1902cb
JM
7694 [BZ #2541]
7695 [BZ #4108]
7696 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7697 before squaring exponent.
7698 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7699 bottom long double and 27 bits of top long double before squaring
7700 exponent.
7701 * math/libm-test.inc (erfc_test): Add more tests.
7702 * sysdeps/i386/fpu/libm-test-ulps: Update.
7703 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7705
f775c276
KT
77062012-03-01 Kai Tietz <ktietz@redhat.com>
7707
7708 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7709 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7710 containing bit-fields.
7711 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7712 * soft-fp/single.h (_FP_UNION_S): Likewise.
7713 * soft-fp/double.h (_FP_UNION_D): Likewise.
7714
5b8a4d4a
JM
77152012-02-29 Joseph Myers <joseph@codesourcery.com>
7716
0bab47b6
JM
7717 [BZ #13786]
7718 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7719 not include ../strcmp.S.
7720 [USE_AS_STRNCASECMP_L]: Likewise.
7721 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7722 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7723 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7724 (__strncasecmp_l_ia32): Define as alias to
7725 __strncasecmp_l_nonascii.
7726
0fcad3e2
JM
7727 [BZ #5794]
7728 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7729 * sysdeps/i386/fpu/libm-test-ulps: Update.
7730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7731
5b8a4d4a
JM
7732 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7734
8fdceb2e
JL
77352012-02-29 Jeff Law <law@redhat.com>
7736
7737 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7738 out of bounds read.
7739
1f393a11
MP
77402012-02-29 Marek Polacek <polacek@redhat.com>
7741
7742 [BZ #13706]
7743 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7744 * elf/Makefile: Add rules to run tst-unused-dep.out.
7745
8847f037
DM
77462012-02-28 David S. Miller <davem@davemloft.net>
7747
7748 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7749 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7750 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7751 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7752 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7753 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7754
169d7f11
JM
77552012-02-29 Joseph Myers <joseph@codesourcery.com>
7756
7757 * math/libm-test.inc (llround_test): Move one test from
7758 lround_test. Use TEST_f_L in moved test.
7759 (lround_test): Move misplaced test to llround_test. Add testcase
7760 from bug 2561.
7761
39adf059
UD
77622012-02-28 Ulrich Drepper <drepper@gmail.com>
7763
7764 * sysdeps/x86_64/fpu/e_expf.S: New file.
7765 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7766
71b5d1c5
SB
77672012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7768
7769 [BZ #13637]
7770 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7771 of remain_len that may cause incomplete multi-byte character and
7772 false match.
7773 * posix/bug-regex33.c: New file.
7774 * posix/Makefile (tests): Add bug-regex33.
7775
1f77f049
JM
77762012-02-28 Joseph Myers <joseph@codesourcery.com>
7777
7778 * manual/macros.texi: New file.
7779 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7780 * manual/libc.texinfo: Include macros.texi.
7781 * manual/creatute.texi: Likewise.
7782 * manual/install.texi: Likewise.
7783 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7784 @glibcadj{} in references to the GNU C Library.
7785 * manual/charset.texi: Likewise.
7786 * manual/conf.texi: Likewise.
7787 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7788 when not using those macros.
7789 * manual/creature.texi: Likewise.
7790 * manual/crypt.texi: Likewise.
7791 * manual/errno.texi: Likewise.
7792 * manual/filesys.texi: Likewise.
7793 * manual/header.texi: Likewise.
7794 * manual/install.texi: Likewise.
7795 * manual/intro.texi: Likewise.
7796 * manual/io.texi: Likewise.
7797 * manual/job.texi: Likewise.
7798 * manual/lang.texi: Likewise.
7799 * manual/libc.texiinfo: Likewise.
7800 * manual/llio.texi: Likewise.
7801 * manual/locale.texi: Likewise.
7802 * manual/maint.texi: Likewise.
7803 * manual/math.texi: Likewise.
7804 * manual/memory.texi: Likewise.
7805 * manual/message.texi: Likewise.
7806 * manual/nss.texi: Likewise.
7807 * manual/pattern.texi: Likewise.
7808 * manual/process.texi: Likewise.
7809 * manual/resource.texi: Likewise.
7810 * manual/search.texi: Likewise.
7811 * manual/setjmp.texi: Likewise.
7812 * manual/signal.texi: Likewise.
7813 * manual/socket.texi: Likewise.
7814 * manual/startup.texi: Likewise.
7815 * manual/stdio.texi: Likewise.
7816 * manual/string.texi: Likewise.
7817 * manual/sysinfo.texi: Likewise.
7818 * manual/syslog.texi: Likewise.
7819 * manual/terminal.texi: Likewise.
7820 * manual/time.texi: Likewise.
7821 * manual/users.texi: Likewise.
7822 * INSTALL: Regenerated.
7823 * NOTES: Regenerated.
d40c5d54 7824 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 7825
450bf206
AS
78262012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7827
7828 * include/dirent.h: Include <dirstream.h> before
7829 <dirent/dirent.h>.
7830
741a235b
DM
78312012-02-28 David S. Miller <davem@davemloft.net>
7832
7833 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7834 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7835 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7836 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7837
d6b5aa58
DM
78382012-02-27 David S. Miller <davem@davemloft.net>
7839
1aff59a3
DM
7840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7842 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7843 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7844
d6b5aa58
DM
7845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7846 frame pointer instead of stack pointer relative arg slot.
7847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7848 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7849 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7850
433f48bf
CD
78512012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7852
7853 [BZ #3992]
7854 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7855
d674b76d
DM
78562012-02-27 David S. Miller <davem@davemloft.net>
7857
7858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7862 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7863 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7864 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7865 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7866
0e7727f7
JM
78672012-02-27 Joseph Myers <joseph@codesourcery.com>
7868
7869 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7870 later. Allow versions 5-9.
43be4ca2 7871 * configure: Regenerated.
0e7727f7
JM
7872 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7873 required minimum version and 4.6 as recommended version. Do not
7874 mention bugs in GCC 2.7 and 2.8.
43be4ca2 7875 * INSTALL: Regenerated.
0e7727f7 7876
a78bc654
DM
78772012-02-27 David S. Miller <davem@davemloft.net>
7878
428d5830
DM
7879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7883 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7884 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7885 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7886 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7887
a78bc654
DM
7888 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7889 manipulate bits before adding and subtracting TWO112[sx].
7890 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7891
4579f81c
RM
78922012-02-27 Roland McGrath <roland@hack.frob.com>
7893
36c8acb4
RM
7894 [BZ #13775]
7895 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7896 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7897 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7898 being in POSIX, because they are in 1003.1-2008.
7899
84ad622b
RM
7900 * rt/tst-aio.c: Include <fcntl.h>.
7901 * rt/tst-aio7.c: Likewise.
7902 * rt/tst-aio64.c: Likewise.
7903
4579f81c
RM
7904 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7905
abd923db
JM
79062012-02-27 Joseph Myers <joseph@codesourcery.com>
7907
7908 * manual/install.texi (--with-headers): Describe headers as
7909 interface headers, not private headers.
7910 (Specific advice for GNU/Linux systems): Describe use of headers
7911 from "make headers_install", not private headers from older
7912 kernels.
43be4ca2 7913 * INSTALL: Regenerated.
abd923db
JM
7914 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7915 Change to 2.6.19.
7916 * sysdeps/unix/sysv/linux/configure: Regenerated.
7917
6664049b
JM
7918 * manual/llio.texi (fclean): Remove documentation.
7919
bb8b6697
JM
7920 * manual/Makefile (libc-texi-generated): New variable. Include
7921 version.texi.
7922 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7923 $(libc-texi-generated), not duplicated list of files.
7924 (version.texi, stamp-version): New rules.
7925 (realclean): Remove $(libc-texi-generated), not individual files
7926 from that list. Do not remove dir-add.texinfo.
7927 * manual/libc.texinfo: Comment out uses of edition numbers and
7928 references to printed manual. Remove last-updated dates.
7929 (EDITION): Comment out.
7930 (ISBN): Likewise.
7931 (VERSION, UPDATED): Remove.
7932 (version.texi): Include.
7933
12e5c3b9
AS
79342012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7935
7936 * sysdeps/posix/spawni.c: Include <signal.h>.
7937 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7938 * sysdeps/pthread/aio_fsync.c: Likewise.
7939
4efeffc1 79402012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 7941
ba63ba08
UD
7942 * conform/Makefile (tests): Run only when not cross-compiling and
7943 when fast-check is not defined.
7944
d94a4670
UD
7945 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7946 * conform/data/limits.h-data: Fixes for POSIX2008.
7947 * conform/run-conformtest.sh: Run all tests.
7948 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7949 headers.
7950 * include/bits/dlfcn.h: Likewise.
7951 * include/langinfo.h: Likewise.
7952 * include/monetary.h: Likewise.
7953 * include/sys/poll.h: Likewise.
7954
7955 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7956 for __USE_GNU.
7957 * posix/spawn.h: Define __need_sigset_t.
7958 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7959 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7960 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7961 to get sigevent_t only.
7962 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7963 only for __USE_GNU.
7964 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7965 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7966 process_vm_writev only for __USE_GNU.
7967 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
7968
7969 * conform/Makefile: For now ignore errors from run-conformtest.
7970 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7971 POSIX to avoid namespace pollution. Don't prepend headers.
7972 * conform/data/aio.h-data: Fixes for POSIX testing.
7973 * conform/data/fcntl.h-data: Likewise.
7974 * conform/data/glob.h-data: Likewise.
7975 * conform/data/grp.h-data: Likewise.
7976 * conform/data/pthread.h-data: Likewise.
7977 * conform/data/pwd.h-data: Likewise.
7978 * conform/data/signal.h-data: Likewise.
7979 * conform/data/spawn.h-data: Likewise.
7980 * conform/data/stdio.h-data: Likewise.
7981 * conform/data/stdlib.h-data: Likewise.
7982 * conform/data/stropts.h-data: Likewise.
7983 * conform/data/sys/mman.h-data: Likewise.
7984 * conform/data/sys/stat.h-data: Likewise.
7985 * conform/data/sys/types.h-data: Likewise.
7986 * conform/data/sys/wait.h-data: Likewise.
7987 * conform/data/time.h-data: Likewise.
7988 * conform/data/unistd.h-data: Likewise.
7989 * conform/data/utime.h-data: Likewise.
7990
7991 * io/sys/stat.h: fchmod was always in POSIX.
7992 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7993 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7994 * rt/aio.h: Define __need_timespec before including <time.h>.
7995 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7996 struct. Add forward declaration of pthread_attr_t and use it in
7997 sigevent.
7998 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7999 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8000 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
8001 always remove CLK_TCK definition.
8002
c20105c3
AS
80032012-02-26 Andreas Schwab <schwab@linux-m68k.org>
8004
8005 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
8006
7a270350
UD
80072012-02-25 Ulrich Drepper <drepper@gmail.com>
8008
31341567
UD
8009 * conform/run-conformtest.sh: New file.
8010 * conform/Makefile: Run run-conformtest for tests.
8011 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
8012 support.
8013
8014 * conform/data/uchar.h-data: New file.
8015 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
8016 * conform/data/arpa/inet.h-data: Likewise.
8017 * conform/data/assert.h-data: Likewise.
8018 * conform/data/complex.h-data: Likewise.
8019 * conform/data/cpio.h-data: Likewise.
8020 * conform/data/ctype.h-data: Likewise.
8021 * conform/data/dirent.h-data: Likewise.
8022 * conform/data/dlfcn.h-data: Likewise.
8023 * conform/data/errno.h-data: Likewise.
8024 * conform/data/fcntl.h-data: Likewise.
8025 * conform/data/float.h-data: Likewise.
8026 * conform/data/fmtmsg.h-data: Likewise.
8027 * conform/data/fnmatch.h-data: Likewise.
8028 * conform/data/ftw.h-data: Likewise.
8029 * conform/data/glob.h-data: Likewise.
8030 * conform/data/grp.h-data: Likewise.
8031 * conform/data/iconv.h-data: Likewise.
8032 * conform/data/inttypes.h-data: Likewise.
8033 * conform/data/langinfo.h-data: Likewise.
8034 * conform/data/libgen.h-data: Likewise.
8035 * conform/data/limits.h-data: Likewise.
8036 * conform/data/locale.h-data: Likewise.
8037 * conform/data/math.h-data: Likewise.
8038 * conform/data/monetary.h-data: Likewise.
8039 * conform/data/mqueue.h-data: Likewise.
8040 * conform/data/ndbm.h-data: Likewise.
8041 * conform/data/net/if.h-data: Likewise.
8042 * conform/data/netdb.h-data: Likewise.
8043 * conform/data/netinet/in.h-data: Likewise.
8044 * conform/data/nl_types.h-data: Likewise.
8045 * conform/data/poll.h-data: Likewise.
8046 * conform/data/pthread.h-data: Likewise.
8047 * conform/data/pwd.h-data: Likewise.
8048 * conform/data/regex.h-data: Likewise.
8049 * conform/data/sched.h-data: Likewise.
8050 * conform/data/search.h-data: Likewise.
8051 * conform/data/semaphore.h-data: Likewise.
8052 * conform/data/setjmp.h-data: Likewise.
8053 * conform/data/signal.h-data: Likewise.
8054 * conform/data/spawn.h-data: Likewise.
8055 * conform/data/stdarg.h-data: Likewise.
8056 * conform/data/stdio.h-data: Likewise.
8057 * conform/data/stdlib.h-data: Likewise.
8058 * conform/data/string.h-data: Likewise.
8059 * conform/data/strings.h-data: Likewise.
8060 * conform/data/stropts.h-data: Likewise.
8061 * conform/data/sys/ipc.h-data: Likewise.
8062 * conform/data/sys/mman.h-data: Likewise.
8063 * conform/data/sys/msg.h-data: Likewise.
8064 * conform/data/sys/resource.h-data: Likewise.
8065 * conform/data/sys/select.h-data: Likewise.
8066 * conform/data/sys/sem.h-data: Likewise.
8067 * conform/data/sys/shm.h-data: Likewise.
8068 * conform/data/sys/socket.h-data: Likewise.
8069 * conform/data/sys/stat.h-data: Likewise.
8070 * conform/data/sys/statvfs.h-data: Likewise.
8071 * conform/data/sys/time.h-data: Likewise.
8072 * conform/data/sys/timeb.h-data: Likewise.
8073 * conform/data/sys/times.h-data: Likewise.
8074 * conform/data/sys/types.h-data: Likewise.
8075 * conform/data/sys/uio.h-data: Likewise.
8076 * conform/data/sys/un.h-data: Likewise.
8077 * conform/data/sys/utsname.h-data: Likewise.
8078 * conform/data/sys/wait.h-data: Likewise.
8079 * conform/data/syslog.h-data: Likewise.
8080 * conform/data/tar.h-data: Likewise.
8081 * conform/data/termios.h-data: Likewise.
8082 * conform/data/utime.h-data: Likewise.
8083 * conform/data/utmpx.h-data: Likewise.
8084 * conform/data/varargs.h-data: Likewise.
8085 * conform/data/wchar.h-data: Likewise.
8086 * conform/data/wctype.h-data: Likewise.
8087 * conform/data/wordexp.h-data: Likewise.
8088
8089 * include/stropts.h: New file.
8090 * include/uchar.h: New file.
8091 * include/aio.h: Changes to allow conformtest.pl to use the headers.
8092 * include/assert.h: Likewise.
8093 * include/ctype.h: Likewise.
8094 * include/dirent.h: Likewise.
8095 * include/dlfcn.h: Likewise.
8096 * include/fcntl.h: Likewise.
8097 * include/fnmatch.h: Likewise.
8098 * include/glob.h: Likewise.
8099 * include/grp.h: Likewise.
8100 * include/libio.h: Likewise.
8101 * include/locale.h: Likewise.
8102 * include/math.h: Likewise.
8103 * include/net/if.h: Likewise.
8104 * include/netdb.h: Likewise.
8105 * include/netinet/in.h: Likewise.
8106 * include/pthread.h: Likewise.
8107 * include/pwd.h: Likewise.
8108 * include/regex.h: Likewise.
8109 * include/sched.h: Likewise.
8110 * include/search.h: Likewise.
8111 * include/setjmp.h: Likewise.
8112 * include/signal.h: Likewise.
8113 * include/stdio.h: Likewise.
8114 * include/stdlib.h: Likewise.
8115 * include/string.h: Likewise.
8116 * include/sys/cdefs.h: Likewise.
8117 * include/sys/mman.h: Likewise.
8118 * include/sys/msg.h: Likewise.
8119 * include/sys/resource.h: Likewise.
8120 * include/sys/select.h: Likewise.
8121 * include/sys/socket.h: Likewise.
8122 * include/sys/stat.h: Likewise.
8123 * include/sys/statvfs.h: Likewise.
8124 * include/sys/time.h: Likewise.
8125 * include/sys/times.h: Likewise.
8126 * include/sys/uio.h: Likewise.
8127 * include/sys/utsname.h: Likewise.
8128 * include/sys/wait.h: Likewise.
8129 * include/termios.h: Likewise.
8130 * include/time.h: Likewise.
8131 * include/ulimit.h: Likewise.
8132 * include/unistd.h: Likewise.
8133 * include/utime.h: Likewise.
8134 * include/wchar.h: Likewise.
8135 * include/wctype.h: Likewise.
8136 * include/wordexp.h: Likewise.
8137
8138 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8139
7a270350
UD
8140 * time/time.h: TIME_UTC must be a macro.
8141 Make timespec_get available for ISO C11 only as well.
8142
7724defc
UD
81432012-02-24 Ulrich Drepper <drepper@gmail.com>
8144
8145 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8146 Reported by Peng Haitao <penght@cn.fujitsu.com>.
8147
6b1d1d46
JM
81482012-02-24 Joseph Myers <joseph@codesourcery.com>
8149
8150 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 8151
0f8bbd69
JM
81522012-02-24 Joseph Myers <joseph@codesourcery.com>
8153
8154 * manual/texinfo.tex: Update to version 2012-01-19.16.
8155
66ab80bc
JM
81562012-02-24 Joseph Myers <joseph@codesourcery.com>
8157
8158 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8159
74981cc5
RM
81602012-02-24 Roland McGrath <roland@hack.frob.com>
8161
ee968201
RM
8162 [BZ #13738]
8163 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8164 * manual/fdl-1.3.texi: New file.
8165 * manual/fdl-1.1.texi: File removed.
8166
74981cc5
RM
8167 [BZ #13738]
8168 * manual/libc.texinfo (FDL_VERSION): New @set.
8169 Use it for mention of FDL in cover text.
8170 (Documentation License): Use it in @include file name.
8171
7bb764bc
JM
81722012-02-22 Joseph Myers <joseph@codesourcery.com>
8173 Roland McGrath <roland@hack.frob.com>
8174
8175 [BZ #5461]
8176 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8177 not LONG_LONG_MAX and LONG_LONG_MIN.
8178 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8179 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8180 name.
8181 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8182
6cbeae47
JM
81832012-02-22 Joseph Myers <joseph@codesourcery.com>
8184
8185 [BZ #2547]
8186 [BZ #11365]
8187 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8188 manipulate bits before adding and subtracting TWO23[sx].
8189 * math/libm-test.inc (nearbyint_test): Add more tests.
8190
fe45ce09
JM
81912012-02-22 Joseph Myers <joseph@codesourcery.com>
8192
8193 [BZ #2548]
8194 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8195 bits before adding and subtracting TWO23[sx].
8196 * math/libm-test.inc (rint_test): Add more tests.
8197 (rint_test_tonearest): Likewise.
8198 (rint_test_towardzero): Likewise.
8199 (rint_test_downward): Likewise.
8200 (rint_test_upward: Likewise.
8201
ff3b3d82
JM
82022012-02-22 Joseph Myers <joseph@codesourcery.com>
8203
8204 [BZ #10110]
8205 * include/stdc-predef.h: New file. Extracted from features.h.
8206 * include/features.h: Include stdc-predef.h.
8207 * Makefile (headers): Add stdc-predef.h.
8208 * CONFORMANCE (Compiler limitations): Update.
8209
ef0aab35
JM
82102012-02-22 Joseph Myers <joseph@codesourcery.com>
8211
8212 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8213
58639409
DM
82142012-02-21 David S. Miller <davem@davemloft.net>
8215
8216 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8217 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8218
c0e70b25
DM
82192012-02-20 David S. Miller <davem@davemloft.net>
8220
8221 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8222 using a normal save/restore sequence, rather than allocating a
8223 dummy stack frame just to store a frame pointer and restore.
8224 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8225
fb06851d
JM
82262012-02-21 Joseph Myers <joseph@codesourcery.com>
8227
8228 * manual/install.texi: Fix stray word in line-wrapped comment.
8229
7a8b71c3
DM
82302012-02-20 David S. Miller <davem@davemloft.net>
8231
d510c123
DM
8232 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8233 both binutils and gcc support GOTDATA.
8234
0722d7c2
DM
8235 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8236 "rd %pc" in the PIC register setup sequences.
8237
3d2b3019
DM
8238 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8239 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8240 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8241 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8242 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8243 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8244 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8245 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8246 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8247 (SYSCALL_ERROR_HANDLER): Likewise.
8248 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8249 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8250 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8251 (SYSCALL_ERROR_HANDLER): Likewise.
8252
c80098a9
DM
8253 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8254 (HAVE_GCC_GOTDATA): New.
8255 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8256 relocation support in both binutils and gcc.
8257 * sysdeps/sparc/elf/configure: Regenerate.
8258
3a2545a0
DM
8259 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8260 * sysdeps/sparc/sparc32/elf/configure: Delete.
8261 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8262 * sysdeps/sparc/sparc64/elf/configure: Delete.
8263 * sysdeps/sparc/elf/configure.in: New file.
8264 * sysdeps/sparc/elf/configure: Generate.
8265
7a8b71c3
DM
8266 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8267 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8268 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8269 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8270 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8271
f1e86fca
JM
82722012-02-21 Joseph Myers <joseph@codesourcery.com>
8273
8274 * manual/install.texi: Do not mention specific glibc version
8275 numbers.
8276 * manual/libc.texinfo (VERSION, UPDATED): Update.
8277 (@copying): Use @copyright{} and range of years.
8278
0e7dfaef
JM
82792012-02-21 Joseph Myers <joseph@codesourcery.com>
8280
8281 [BZ #13695]
8282 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8283 [crti.S not in sysdirs] (generated): Do not append.
8284 [crti.S not in sysdirs] (omit-deps): Likewise.
8285 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8286 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8287 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8288 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8289 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8290 Likewise.
8291 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8292 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8293 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8294 * csu/defs.awk: Remove file.
8295 * sysdeps/generic/initfini.c: Likewise.
8296 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8297 variable.
8298 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8299 Likewise.
8300
599af3ca
JM
83012012-02-20 Joseph Myers <joseph@codesourcery.com>
8302
8303 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8304 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8305 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8306 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8307 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8308 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8309 <bits/epoll.h>.
8310 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8311 (__EPOLL_PACKED): Define to empty if not defined by
8312 <bits/epoll.h>.
8313 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8314 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8315 bits/epoll.h.
8316
0e499750
JM
83172012-02-20 Joseph Myers <joseph@codesourcery.com>
8318
8319 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8320 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8321 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8322 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8323 <bits/timerfd.h>.
8324 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8325 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8326 bits/timerfd.h.
8327
5ad91f6e
JM
83282012-02-20 Joseph Myers <joseph@codesourcery.com>
8329
8330 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8331 in C locale.
8332 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8333 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8334 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8336
06b99b02
AJ
83372012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8338
8339 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8340 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8341
7638c0fd
AS
83422012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8343
8344 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8345 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8346 defined.
8347 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8348 Likewise.
8349 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8350 entry for 2.16.
8351
92221550
AJ
83522012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8353
8354 * math/w_acos.c: Use non-signaling floating-point comparisons.
8355 * math/w_acosf.c: Likewise.
8356 * math/w_acosh.c: Likewise.
8357 * math/w_acoshf.c: Likewise.
8358 * math/w_acoshl.c: Likewise.
8359 * math/w_acosl.c: Likewise.
8360 * math/w_asin.c: Likewise.
8361 * math/w_asinf.c: Likewise.
8362 * math/w_asinl.c: Likewise.
8363 * math/w_atanh.c: Likewise.
8364 * math/w_atanhf.c: Likewise.
8365 * math/w_atanhl.c: Likewise.
8366 * math/w_exp2.c: Likewise.
8367 * math/w_exp2f.c: Likewise.
8368 * math/w_exp2l.c: Likewise.
8369 * math/w_j0.c: Likewise.
8370 * math/w_j0f.c: Likewise.
8371 * math/w_j0l.c: Likewise.
8372 * math/w_j1.c: Likewise.
8373 * math/w_j1f.c: Likewise.
8374 * math/w_j1l.c: Likewise.
8375 * math/w_jn.c: Likewise.
8376 * math/w_jnf.c: Likewise.
8377 * math/w_log.c: Likewise.
8378 * math/w_log10.c: Likewise.
8379 * math/w_log10f.c: Likewise.
8380 * math/w_log10l.c: Likewise.
8381 * math/w_log2.c: Likewise.
8382 * math/w_log2f.c: Likewise.
8383 * math/w_log2l.c: Likewise.
8384 * math/w_logf.c: Likewise.
8385 * math/w_logl.c: Likewise.
8386 * math/w_sqrt.c: Likewise.
8387 * math/w_sqrtf.c: Likewise.
8388 * math/w_sqrtl.c: Likewise.
8389 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8390 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8391 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8392 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8393 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8394
ebaf36eb
JM
83952012-02-19 Joseph Myers <joseph@codesourcery.com>
8396
8397 [BZ #9739]
8398 * manual/string.texi (strnlen): Use correct parameter name in
8399 equivalent expression.
8400
71c254a6
JM
84012012-02-19 Joseph Myers <joseph@codesourcery.com>
8402
8403 [BZ #11174]
8404 * manual/users.texi (seteuid): Consistently use neweuid for
8405 argument name.
8406
16d2c631
JM
84072012-02-19 Joseph Myers <joseph@codesourcery.com>
8408
8409 [BZ #13704]
8410 * manual/nss.texi (Services in the NSS configuration): Correct
8411 list of services in example configuration file.
8412
cd837b09
NB
84132012-02-19 Nick Bowler <nbowler@draconx.ca>
8414
8415 [BZ #11322]
8416 * manual/arith.texi: Remove statements about negative zero
8417 behaving identically to zero.
8418
02c4bbad
JM
84192012-02-18 Joseph Myers <joseph@codesourcery.com>
8420
8421 [BZ #5993]
8422 * manual/install.texi: Do not document upgrading from libc5.
8423
366842e7
JM
84242012-02-18 Joseph Myers <joseph@codesourcery.com>
8425
8426 [BZ #4596]
8427 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8428
dd54084d
DM
84292012-02-18 David S. Miller <davem@davemloft.net>
8430
8431 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8432 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8433 %o7 across the call.
8434 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8435 instead.
8436 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8437 SETUP_PIC_REG_LEAF.
8438 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8439 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8440 * sysdeps/sparc/crtn.S: Likewise.
8441
2bcc53a3
UD
84422012-02-17 Ulrich Drepper <drepper@gmail.com>
8443
8444 * aout/Makefile: Remove.
8445
09c093b5
RK
84462012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8447
8448 [BZ #13058]
8449 * manual/examples/argp-ex1.c (main): Format definition in GNU
8450 style.
8451 * manual/examples/argp-ex2.c (main): Likewise.
8452 * manual/examples/argp-ex3.c (main): Likewise.
8453 * manual/examples/argp-ex4.c (main): Likewise.
8454 * manual/examples/longopt.c (main): Use new-style prototype
8455 definition.
8456 * manual/examples/strncat.c (main): Specify return type and use
8457 (void) for arguments.
8458 * manual/examples/subopt.c (main): Use char **argv argument.
8459
2ee633a2
JM
84602012-02-17 Joseph Myers <joseph@codesourcery.com>
8461
8462 [BZ #5077]
8463 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8464 rounding modes.
8465
0520adde
FB
84662012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8467
8468 [BZ #6907]
8469 * manual/string.texi (strchr): Change when strchrnul is
8470 recommended.
8471
3f4081cd
DGM
84722012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8473
8474 [BZ #174]
8475 * manual/locale.texi (setlocale): Document LOCPATH.
8476
d1b10e78
JM
84772012-02-17 Joseph Myers <joseph@codesourcery.com>
8478
8479 [BZ #10210]
8480 * manual/process.texi (execle): Move @dots{} before last argument.
8481
79c6869c
PB
84822012-02-17 Paul Bolle <pebolle@tiscali.nl>
8483
8484 [BZ #12047]
8485 * manual/charset.texi (Generic Charset Conversion): Fix typo
8486 (LC_TYPE -> LC_CTYPE).
8487
cc6e48bc
NB
84882012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8489
8490 [BZ #5805]
8491 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8492 (scalbnf): Likewise.
8493 (scalbnl): Likewise.
8494 (scalbln): Likewise.
8495 (scalblnf): Likewise.
8496 (scalblnl): Likewise.
8497 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8498 (vwarnx): Likewise.
8499 (verr): Likewise.
8500 (verrx): Likewise.
8501 * manual/filesys.texi (telldir): Use braces around return type.
8502 * manual/llio.texi (mmap): Add space after comma.
8503 (mmap64): Likewise.
8504 * manual/math.texi (jn): Use @var{} on parameter names.
8505 (jnf): Likewise.
8506 (jnl): Likewise.
8507 (yn): Likewise.
8508 (ynf): Likewise.
8509 (ynl): Likewise.
8510 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8511 line.
8512 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8513 "...".
8514 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8515 (sched_get_priority_max): Likewise.
8516 * manual/signal.texi (sigvec): Add space after comma.
8517 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8518 names.
8519 (if_indextoname): Likewise.
8520 (if_freenameindex): Likewise.
8521 (sendto): Use ',' instead of '.' in prototype.
8522 * manual/startup.texi (syscall): Use @dots{} instead of literal
8523 "...".
8524 * manual/stdio.texi (__fpending): Separate initial words of
8525 paragraph from @deftypefun line.
8526 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8527 "...".
8528 (vsyslog): Use @var{} on parameter names.
8529 * manual/terminal.texi (stty): Use @var{} on parameter names.
8530 * manual/users.texi (getutmp): Use @var{} on parameter names.
8531 (getutmpx): Likewise.
8532
5b23062f
JM
85332012-02-17 Joseph Myers <joseph@codesourcery.com>
8534
8535 [BZ #6884]
8536 * manual/stdio.texi (fopen): Fix typos in description of
8537 ",ccs=STRING".
8538
8dee4833
AJ
85392012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8540
8541 [BZ #4026]
8542 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8543 get clock_id definition.
8544
9078ce93
TS
85452012-02-17 Thomas Schwinge <thomas@schwinge.name>
8546
8547 [BZ #4822]
8548 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8549 (madvise): Cast every argument to void on its own.
8550
3835c55f
JM
85512012-02-17 Joseph Myers <joseph@codesourcery.com>
8552
8553 [BZ #9902]
8554 * manual/startup.texi (Exit Status): Fix typo.
8555
35c47e37
JM
85562012-02-17 Joseph Myers <joseph@codesourcery.com>
8557
8558 [BZ #10140]
8559 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8560 * manual/examples/argp-ex2.c: Likewise.
8561 * manual/examples/argp-ex3.c: Likewise.
8562
e3b69ca7
RH
85632012-02-16 Richard Henderson <rth@redhat.com>
8564
8565 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8566 * sysdeps/s390/s390-32/initfini.c: Remove.
8567 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8568 * sysdeps/s390/s390-64/initfini.c: Remove.
8569
df83af67
KK
85702012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8571
8572 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8573 compiler output for sysdeps/generic/initfini.c.
8574 * sysdeps/sh/elf/initfini.c: Remove file.
8575
f63f3380
DM
85762012-02-16 David S. Miller <davem@davemloft.net>
8577
fb59b3a4
DM
8578 [BZ #11494]
8579 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8580
f63f3380
DM
8581 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8582 * sysdeps/sparc/crti.S: New file.
8583 * sysdeps/sparc/crtn.S: New file.
8584 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8585 * sysdeps/sparc/sparc64/Makefile: Likewise.
8586
df6a4a4a
MF
85872012-02-15 Mike Frysinger <vapier@gentoo.org>
8588
6dd8f3dc 8589 [BZ #3335]
df6a4a4a
MF
8590 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8591
1cac7236
RM
85922012-02-15 Roland McGrath <roland@hack.frob.com>
8593
d2c736f8
RM
8594 [BZ #4822]
8595 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8596
1cac7236
RM
8597 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8598 (write, read, close): Likewise.
8599 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8600
8e475601
JM
86012012-02-15 Joseph Myers <joseph@codesourcery.com>
8602
8603 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8604 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8605 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8606 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8607 <bits/signalfd.h>.
8608 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8609 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8610 bits/signalfd.h.
8611
ed656b40
MP
86122012-02-14 Marek Polacek <polacek@redhat.com>
8613
8614 * sysdeps/x86_64/crti.S: New file.
8615 * sysdeps/x86_64/crtn.S: New file.
8616 * sysdeps/x86_64/elf/initfini.c: Remove file.
8617
2a979d3a
JM
86182012-02-13 Joseph Myers <joseph@codesourcery.com>
8619
8620 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8621 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8622 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8623 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8624 <bits/inotify.h>.
8625 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8626 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8627 bits/inotify.h.
8628
2a418ac3
JM
86292012-02-13 Joseph Myers <joseph@codesourcery.com>
8630
8631 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8632 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8633 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8634 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8635 <bits/eventfd.h>.
8636 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8637 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8638 bits/eventfd.h.
8639
fb779be7
TS
86402012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8641
e19e83c5
RM
8642 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8643 __feraiseexcept instead of feraiseexcept.
7c35ffed 8644
fb779be7
TS
8645 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8646 nanosleep invocations.
8647 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8648 strings, and add error checking for a nanosleep invocations.
8649
59ba27a6
PE
86502012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8651
8652 Replace FSF snail mail address with URLs, as per GNU coding standards.
8653 Most of the snail mail addresses were wrong anyway, and omitting
8654 them makes the source code easier to maintain. Almost all of the
8655 changes are to license notices and to locale LC_IDENTIFICATION
8656 addresses, except for this one:
8657 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8658 not its snail mail address.
8659
57b957eb
RH
86602012-02-09 Richard Henderson <rth@twiddle.net>
8661
af850b1c
RH
8662 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8663 of kernel-features.h.
8664
57b957eb
RH
8665 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8666
6b73181a
MP
86672012-02-08 Marek Polacek <polacek@redhat.com>
8668
8669 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8670 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8671 * sysdeps/gnu/_G_config.h: Likewise.
8672 * sysdeps/generic/_G_config.h: Likewise.
8673
26ecc33a
AS
86742012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8675
6c6dbc63
AS
8676 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8677 tests.
8678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8679
e216c012
AS
8680 * sysdeps/powerpc/powerpc32/crti.S: New file.
8681 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8682 * sysdeps/powerpc/powerpc64/crti.S: New file.
8683 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8684
26ecc33a
AS
8685 * Makeconfig (have-initfini): Don't set.
8686 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8687 * configure.in (nopic_initfini): Don't substitute.
8688 * config.h.in (HAVE_INITFINI): Don't #undef.
8689 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8690 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8691
3add8e13
JM
86922012-02-08 Joseph Myers <joseph@codesourcery.com>
8693
8694 Support crti.S and crtn.S provided directly by architectures.
8695 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8696 [crti.S in sysdirs] (omit-deps): Likewise.
8697 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8698 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8699 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8700 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8701 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8702 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8703 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8704 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8705 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8706 compiler output for sysdeps/generic/initfini.c.
8707 * sysdeps/i386/elf/Makefile: Remove file.
8708 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8709
a22f12b4
MP
87102012-02-07 Marek Polacek <polacek@redhat.com>
8711
8712 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8713 * sysdeps/gnu/_G_config.h: Likewise.
8714 * sysdeps/mach/hurd/_G_config.h: Likewise.
8715
148cf100
MP
87162012-02-07 Marek Polacek <polacek@redhat.com>
8717
8718 * math/Makefile (tests): Add tst-CMPLX2.
8719 * math/tst-CMPLX2.c: New file.
8720
cfdc0dd7
AS
87212012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8722
84ba42c4
AS
8723 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8724
cfdc0dd7
AS
8725 * math/libm-test.inc (jn_test): Add missing L suffix.
8726
622c86f4
MP
87272012-02-06 Marek Polacek <polacek@redhat.com>
8728
8729 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8730 * sysdeps/i386/fpu/e_powf.S: Likewise.
8731 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8732 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8733 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8734 * sysdeps/i386/fpu/e_pow.S: Likewise.
8735 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8736 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8737 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8738 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8739 * sysdeps/i386/fpu/e_log2.S: Likewise.
8740 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8741 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8742 * sysdeps/i386/fpu/e_powl.S: Likewise.
8743 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8744 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8745 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8746 * sysdeps/i386/fpu/e_logl.S: Likewise.
8747 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8748 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8749 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8750 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8751 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8752 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8753 * sysdeps/i386/fpu/e_log.S: Likewise.
8754 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8755 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8756 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8757 * sysdeps/i386/fpu/e_logf.S: Likewise.
8758 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8759 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8760 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8761 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8762 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8763 * sysdeps/i386/fpu/e_log10.S: Likewise.
8764 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8765 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8766 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8767 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8768 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8769 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8770 * sysdeps/i386/asm-syntax.h: Likewise.
8771 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8772 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8773 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8774 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8775 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8776 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8777 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8778 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8779 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8780 * sysdeps/powerpc/sysdep.h: Likewise.
8781 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8782 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8783
d4a54ac6
JM
87842012-02-06 Joseph Myers <joseph@codesourcery.com>
8785
8786 [BZ #411]
8787 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8788
314054ea
JM
87892012-02-06 Joseph Myers <joseph@codesourcery.com>
8790
8791 * sysdeps/i386/sysdep.h: Include <features.h>.
8792 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8793 version.
8794
d8e0ca50
JM
87952012-02-05 Joseph Myers <joseph@codesourcery.com>
8796
8797 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8798 Define.
8799 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8800 LOAD_PIC_REG_STR.
8801
b1da7dd9
JM
88022012-02-03 Joseph Myers <joseph@codesourcery.com>
8803
8804 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8805 (SETUP_PIC_REG): Use GET_PC_THUNK.
8806 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8807 macro.
8808
9a1d9254
JM
88092012-02-03 Joseph Myers <joseph@codesourcery.com>
8810
8811 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8812 for non-PIC compilation.
8813 (SETUP_PIC_REG): Add .p2align directive.
8814 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8815 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8816 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8817 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8818 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8819 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8820 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8821 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8822 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8823 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8824 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8825 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8826 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8827 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8828 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8829 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8830 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8831 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8832 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8833 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8834 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8835 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8836 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8837 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8838 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8839 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8840 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8841 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8842 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8843 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8844 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8845 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8846 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8847 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8848 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8849 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8850 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8851 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8852 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8853 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8854 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8855
65dc3b75
JM
88562012-02-03 Joseph Myers <joseph@codesourcery.com>
8857
8858 * math/tst-CMPLX.c: Include <stdio.h>.
8859
d55bf177
JM
88602012-01-31 Joseph Myers <joseph@codesourcery.com>
8861
8862 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8863 float.
8864 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8865 * sysdeps/sparc/bits/mathdef.h: Likewise.
8866
69db4f8f
MP
88672012-01-31 Marek Polacek <polacek@redhat.com>
8868
8869 * libio/libio.h: Don't define _PARAMS.
8870 * locale/programs/config.h: Don't define PARAMS.
8871 * stdlib/strtol_l.c: Likewise.
8872 (__strtol_l): Remove PARAMS from the prototype.
8873
41b81892
UD
88742012-01-31 Ulrich Drepper <drepper@gmail.com>
8875
3b49edc0
UD
8876 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8877 names. Just use the correct names. Remove unnecessary wrapper
8878 functions.
8879 * malloc/arena.c: Likewise.
8880 * malloc/hooks.c: Likewise.
8881
41b81892
UD
8882 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8883 ARENA_TEST says not to. Simplify test for creation of a new arena.
8884 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8885
27a25b6e
UD
88862012-01-30 Ulrich Drepper <drepper@gmail.com>
8887
8888 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8889 into tail calls.
8890 (update_get_addr): New function.
8891 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8892 GET_ADDR_MODULE parameter.
8893
c8a89e7d
JM
88942012-01-30 Joseph Myers <joseph@codesourcery.com>
8895
8896 * crypt/cert.c: Remove __STDC__ conditionals.
8897 * crypt/crypt-entry.c: Likewise.
8898 * crypt/crypt_util.c: Likewise.
8899 * libio/filedoalloc.c: Likewise.
8900 * libio/fileops.c: Likewise.
8901 * libio/genops.c: Likewise.
8902 * libio/iofclose.c: Likewise.
8903 * libio/iofdopen.c: Likewise.
8904 * libio/iofopen.c: Likewise.
8905 * libio/iofopen64.c: Likewise.
8906 * libio/iogetdelim.c: Likewise.
8907 * libio/iopopen.c: Likewise.
8908 * libio/obprintf.c: Likewise.
8909 * libio/oldfileops.c: Likewise.
8910 * libio/oldiofclose.c: Likewise.
8911 * libio/oldiofdopen.c: Likewise.
8912 * libio/oldiofopen.c: Likewise.
8913 * libio/oldiopopen.c: Likewise.
8914 * libio/wfiledoalloc.c: Likewise.
8915 * libio/wgenops.c: Likewise.
8916 * locale/programs/xmalloc.c: Likewise.
8917 * misc/syslog.c: Likewise.
8918 * stdio-common/xbug.c: Likewise.
8919 * string/memchr.c: Likewise.
8920 * string/memcmp.c: Likewise.
8921 * string/memrchr.c: Likewise.
8922 * string/rawmemchr.c: Likewise.
8923 * sysdeps/posix/getcwd.c: Likewise.
8924 * time/strftime_l.c: Likewise.
8925
3b100462
JM
89262012-01-30 Joseph Myers <joseph@codesourcery.com>
8927
8928 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
8929 * config.make.in (config-cflags-sse2avx): Define.
8930 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8931 Fix typo.
8932
607998af
CM
89332012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8934
8935 * scripts/config.guess: Update from upstream config git repository.
8936 * scripts/config.sub: Likewise.
8937
3601428f
CM
89382012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8939
3ac8b282
CM
8940 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8941 (EM_NUM): Update.
8942 (R_TILEPRO_*, R_TILEGX_*): New macros.
8943
e034841e
CM
8944 * scripts/firstversions.awk: Fix bug in version range handling.
8945
540d7568
CM
8946 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8947
3601428f
CM
8948 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8949
463de862
CM
8950 * include/sys/epoll.h: New file.
8951 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8952 libc_hidden_def.
8953
73139a76
UD
89542012-01-28 Ulrich Drepper <drepper@gmail.com>
8955
96bc5b45
UD
8956 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8957 Avoid unnecessary __WORDSIZE == 64 test.
8958 (fmaxf): Use VEX format if possible.
8959 (fmax): Likewise.
8960 (fminf): Likewise.
8961 (fmin): Likewise.
8962
56f6f6a2
UD
8963 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8964 * math/math_private.h: Remove libc_fegetround* and
8965 libc_fesetround*.
8966 * sysdeps/i386/configure.in: Check for -msse2avx.
8967 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8968 also if SSE2AVX is defined.
8969 Remove libc_fegetround* and libc_fesetround*.
8970 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8971 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8972 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8973 of HAS_YMM_USABLE.
8974 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8975 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8976 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8977 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8978 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8979
73139a76
UD
8980 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8981
d73f93a4
AZ
89822012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8983
8984 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8985 size is not set.
8986 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8987
6ee65ed6
UD
89882012-01-27 Ulrich Drepper <drepper@gmail.com>
8989
8990 [BZ #13618]
8991 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8992 relocation.
8993 * Makeconfig (libm): Define.
8994 * elf/Makefile: Add rules to build and run tst-relsort1.
8995 * elf/tst-relsort1.c: New file.
8996 * elf/tst-relsort1mod1.c: New file.
8997 * elf/tst-relsort1mod2.c: New file.
8998
8db21882
JM
89992012-01-27 Joseph Myers <joseph@codesourcery.com>
9000
9001 * math/s_ldexp.c: Remove __STDC__ conditionals.
9002 * math/s_ldexpf.c: Likewise.
9003 * math/s_ldexpl.c: Likewise.
9004 * math/s_nextafter.c: Likewise.
9005 * math/s_nexttowardf.c: Likewise.
9006 * math/s_significand.c: Likewise.
9007 * math/s_significandf.c: Likewise.
9008 * math/s_significandl.c: Likewise.
9009 * math/w_jnl.c: Likewise.
9010 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9011 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9012 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9013 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9014 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9015 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9016 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
9017 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9018 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9019 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9020 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9021 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9022 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9023 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9024 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9025 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9026 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9027 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9028 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9029 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9030 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9031 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9032 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9033 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9034 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9035 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9036 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9037 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9038 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9039 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9040 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9041 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9042 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9043 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9044 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9045 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9046 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9047 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9048 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9049 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9050 * sysdeps/ieee754/k_standard.c: Likewise.
9051 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9052 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9053 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9054 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9055 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9056 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9057 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9058 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9059 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9060 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9061 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9062 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9063 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9064 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9065 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9066 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9067 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9068 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9069 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9070 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9071 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9072 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9073 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9074 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9075 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9076 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9077 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9078 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9079 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9080 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9081 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9082 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9083 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9084 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9085 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9086 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9087 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9088 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9089 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9090 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9091 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9092 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9093 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9094 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9095 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9096 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9097 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9098 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9099 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9100 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9101 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9102 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9103 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9104 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9105 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9106 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9107 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9108 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9109 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9110 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9111 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9112 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9113 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9114 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9115 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9116 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9117 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9118 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9119 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9120 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9121 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9122 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9123 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9124 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9125 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9126 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9127 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9128 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9129 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9130 * sysdeps/ieee754/s_matherr.c: Likewise.
9131 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9132 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9133 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9134 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9135
965a54a4
JM
91362012-01-26 Joseph Myers <joseph@codesourcery.com>
9137
9138 * crypt/md5.h: Remove __STDC__ conditionals.
9139 * libio/libioP.h: Likewise.
9140 * locale/programs/config.h: Likewise.
9141 * sysdeps/generic/sysdep.h: Likewise.
9142 * sysdeps/i386/asm-syntax.h: Likewise.
9143 * sysdeps/s390/asm-syntax.h: Likewise.
9144 * sysdeps/unix/sysdep.h: Likewise.
9145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9147
7071ad79
JM
91482012-01-26 Joseph Myers <joseph@codesourcery.com>
9149
9150 * libio/libio.h: Remove __STDC__ conditionals.
9151 * malloc/obstack.h: Likewise.
9152 * math/complex.h: Likewise.
9153 * math/math.h: Likewise.
9154 * sysdeps/generic/_G_config.h: Likewise.
9155 * sysdeps/gnu/_G_config.h: Likewise.
9156 * sysdeps/mach/hurd/_G_config.h: Likewise.
9157 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9158 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9159 * sysdeps/sparc/bits/mathdef.h: Likewise.
9160
afc5ed09
UD
91612012-01-26 Ulrich Drepper <drepper@gmail.com>
9162
9163 [BZ #13583]
9164 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 9165 Clean up HAS_* macros.
afc5ed09 9166 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
9167 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9168 possible.
9169 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9170 HAS_AVX.
9171 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9172 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9173 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9174 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9175 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 9176
bdb6de1d
JM
91772012-01-25 Joseph Myers <joseph@codesourcery.com>
9178
9179 * elf/tst-unique3.cc (gets): Remove declaration.
9180 * elf/tst-unique3lib.cc (gets): Likewise.
9181 * elf/tst-unique3lib2.cc (gets): Likewise.
9182 * elf/tst-unique4.cc (gets): Likewise.
9183
b15549e6
UD
91842012-01-24 Ulrich Drepper <drepper@gmail.com>
9185
9186 * include/stdio.h: Add C++ protection. Add gets declarations and
9187 definitions.
9188 * debug/tst-chk1.c: Don't declare gets here.
9189 * stdio-common/tst-gets.c: Likewise.
9190
a037381f
JM
91912012-01-24 Joseph Myers <joseph@codesourcery.com>
9192
9193 * posix/glob: Remove directory.
9194
f1d4aa75
JM
91952012-01-24 Joseph Myers <joseph@codesourcery.com>
9196
9197 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9198
81c0c964
PT
91992012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9200
9201 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9202 of the non-standard EPFNOSUPPORT.
9203
0ea698ae
ST
92042011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9205
9206 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9207 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9208 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9209
d220b117
UD
92102012-01-21 Ulrich Drepper <drepper@gmail.com>
9211
9212 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9213
3e1aa84e
UD
92142012-01-20 Ulrich Drepper <drepper@gmail.com>
9215
9216 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9217 transient errors.
9218 * nscd/grpcache.c (cache_addgr): Likewise.
9219 * nscd/hstcache.c (cache_addhst): Likewise.
9220 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9221 * nscd/pwdcache.c (cache_addpw): Likewise.
9222 * nscd/servicescache.c (cache_addserv): Likewise.
9223
400aa020
UD
92242012-01-16 Ulrich Drepper <drepper@gmail.com>
9225
d77e7869
UD
9226 * malloc/malloc.c: Various cleanups.
9227 * malloc/hooks.c: Likewise.
9228
400aa020
UD
9229 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9230 * stdlib/bug-fmtmsg1.c: New file.
9231
9232 * stdlib/fmtmsg.c (init): Add missing unlock.
9233 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9234
e0a309cf
MP
92352012-01-12 Marek Polacek <polacek@redhat.com>
9236
9237 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9238 and _GNU_SOURCE.
9239
929d11c7
WS
92402012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9241
9242 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9243 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9244 macro to ensure uniqueness of label name.
9245 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9246 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9247
41d0e869
UD
92482012-01-11 Ulrich Drepper <drepper@gmail.com>
9249
0cc5ed3b
UD
9250 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9251
41d0e869
UD
9252 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9253 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9254 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9255 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9256
a47a831a
UD
92572012-01-10 Ulrich Drepper <drepper@gmail.com>
9258
daa891c0
UD
9259 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9260
9261 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9262 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9263 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9264
e58ef0f2
UD
9265 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9266
a47a831a 9267 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
9268 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9269 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 9270 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
9271
9272 * math/bits/math-finite.h: Add ldexp support.
9273
a0bfc9c7
MP
92742012-01-10 Marek Polacek <polacek@redhat.com>
9275
9276 * locale/programs/localedef.h (show_archive_content): Add noreturn
9277 attribute.
9278
d6e97a1d
UD
92792012-01-09 Ulrich Drepper <drepper@gmail.com>
9280
9281 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9282
d5835c26
UD
92832012-01-08 Ulrich Drepper <drepper@gmail.com>
9284
e5f484c6
UD
9285 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9286
d5835c26
UD
9287 * io/Makefile (headers): Add bits/poll2.h.
9288
d1f741e9
WS
92892011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9290
9291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9292 typo #include statement.
9293
ec09c1c4
UD
92942012-01-08 Ulrich Drepper <drepper@gmail.com>
9295
9296 * include/sys/cdefs.h: Define __attribute_alloc_size.
9297 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9298 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9299 * elf/pldd.c: Likewise.
9300 * iconv/iconv_charmap.c: Likewise.
9301 * iconv/iconvconfig.c: Likewise.
9302 * iconv/strtab.c: Likewise.
9303 * locale/programs/locale.c: Likewise.
9304 * locale/programs/localedef.h: Likewise.
9305 * locale/programs/simple-hash.c: Likewise.
9306 * nscd/nscd.h: Likewise.
9307 * nss/makedb.c: Likewise.
9308 * sysdeps/generic/ldconfig.h: Likewise.
9309 * locale/programs/localedef.c: Remove xmalloc prototype.
9310 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9311
20b38e03
PP
93122012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9313
9314 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9315 appropriate.
9316
a0da5fe1
UD
93172012-01-08 Ulrich Drepper <drepper@gmail.com>
9318
1d5a644a 9319 * math/Makefile (tests): Add tst-CMPLX.
669704fd 9320 * math/tst-CMPLX.c: New file.
1d5a644a 9321
8784a6db
UD
9322 * math/complex.h (CMPLXL): Fix typo.
9323
d9a216c0
UD
9324 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9325 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9326 GLIBC_2.16.
9327 * debug/tst-chk1.c: Add poll and ppoll tests.
9328 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9329 * include/sys/poll.h: Add hidden proto for ppoll.
9330 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9331 * sysdeps/mach/hurd/ppoll.c: Likewise.
9332 * io/ppoll.c: Likewise.
9333 * debug/poll_chk.c: New file.
9334 * debug/ppoll_chk.c: New file.
9335 * include/bits/poll2.h: New file.
9336 * io/bits/poll2.h: New file.
9337
ac097f5c
UD
9338 [BZ #1350]
9339 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9340
2119dcfa
UD
9341 * configure.in: static is always set to yes. Remove.
9342 * config.make.in: Don't set build-static.
9343 * Makeconfig: Remove use of build-static.
9344 * dlfcn/Makefile: Likewise.
9345 * elf/Makefile: Likewise.
9346 * math/Makefile: Likewise.
9347 * misc/Makefile: Likewise.
9348 * nptl/Makefile: Likewise.
9349 * sysdeps/mach/hurd/Makefile: Likewise.
9350
121766a9
UD
9351 * configure.in: PWD_P is not used anymore.
9352 * config.make.in: Remove PWD_P entry.
9353
51a1d39c 9354 * configure.in: Remove last remnants of RANLIB.
8720d066 9355 No need to check for signed size_t anymore.
215f4bdc
UD
9356 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9357 and IA-64.
3857022a 9358 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
9359 * aclocal.m4: Likewise.
9360
d3ed7225
UD
9361 * wcsmbs/mbrtoc16.c: Implement using towc function.
9362 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9363 * wcsmbs/wcsmbsload.c: Likewise.
9364 * iconv/gconv_simple.c: Likewise.
9365 * iconv/gconv_int.h: Likewise.
9366 * iconv/gconv_builtin.h: Likewise.
9367 * iconv/iconv_prog.c: Remove CHAR16 handling.
9368
9369 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9370
9371 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9372
a0da5fe1
UD
9373 * configure.in: Remove --with-elf and --enable-bounded options.
9374 Dont set base_machine for ia64. More non-ELF conditions removed.
9375 Remove testing and setting of leading underscore information.
9376 * config.make.in (build-bounded): Set to no.
9377 * config.h.in: Remove NO_UNDERSCORES entry.
9378 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9379 them.
9380 * csu/start.c: Remove !NO_UNDERSCORE code.
9381 * locale/localeinfo.h: Likewise.
9382 * sysdeps/generic/machine-gmon.h: Likewise.
9383 * sysdeps/generic/sysdep.h: Likewise.
9384 * sysdeps/i386/sysdep.h: Likewise.
9385 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9386 * sysdeps/mach/sysdep.h: Likewise.
9387 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9388 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9389 * sysdeps/sh/sysdep.h: Likewise.
9390 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9391 * sysdeps/unix/i386/sysdep.S: Likewise.
9392 * sysdeps/unix/sparc/start.c: Likewise.
9393 * sysdeps/unix/sparc/sysdep.S: Likewise.
9394 * sysdeps/unix/sparc/sysdep.h: Likewise.
9395 * sysdeps/unix/start.c: Likewise.
9396 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9397 * sysdeps/x86_64/sysdep.h: Likewise.
9398
df78418a
UD
93992012-01-07 Ulrich Drepper <drepper@gmail.com>
9400
a784e502
UD
9401 [BZ #13553]
9402 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9403 for non-gcc.
9404 * argp/argp-fmtstream.h: Use const instead __const.
9405 * argp/argp.h: Likewise.
9406 * assert/assert.h: Likewise.
9407 * bits/fenv.h: Likewise.
9408 * bits/sched.h: Likewise.
9409 * bits/sigset.h: Likewise.
9410 * bits/sigthread.h: Likewise.
9411 * catgets/nl_types.h: Likewise.
9412 * conform/data/pthread.h-data: Likewise.
9413 * crypt/crypt-private.h: Likewise.
9414 * crypt/crypt.h: Likewise.
9415 * crypt/crypt_util.c: Likewise.
9416 * ctype/ctype.h: Likewise.
9417 * debug/execinfo.h: Likewise.
9418 * debug/mbsnrtowcs_chk.c: Likewise.
9419 * debug/mbsrtowcs_chk.c: Likewise.
9420 * debug/wcsnrtombs_chk.c: Likewise.
9421 * debug/wcsrtombs_chk.c: Likewise.
9422 * debug/wcstombs_chk.c: Likewise.
9423 * dirent/dirent.h: Likewise.
9424 * dlfcn/dlfcn.h: Likewise.
9425 * elf/neededtest4.c: Likewise.
9426 * grp/grp.h: Likewise.
9427 * gshadow/gshadow.h: Likewise.
9428 * iconv/gconv.h: Likewise.
9429 * iconv/gconv_int.h: Likewise.
9430 * iconv/gconv_simple.c: Likewise.
9431 * iconv/iconv.h: Likewise.
9432 * iconv/loop.c: Likewise.
9433 * iconv/skeleton.c: Likewise.
9434 * include/aio.h: Likewise.
9435 * include/aliases.h: Likewise.
9436 * include/argz.h: Likewise.
9437 * include/arpa/inet.h: Likewise.
9438 * include/assert.h: Likewise.
9439 * include/dirent.h: Likewise.
9440 * include/dlfcn.h: Likewise.
9441 * include/execinfo.h: Likewise.
9442 * include/fcntl.h: Likewise.
9443 * include/fenv.h: Likewise.
9444 * include/glob.h: Likewise.
9445 * include/grp.h: Likewise.
9446 * include/libintl.h: Likewise.
9447 * include/mntent.h: Likewise.
9448 * include/netdb.h: Likewise.
9449 * include/pwd.h: Likewise.
9450 * include/rpc/netdb.h: Likewise.
9451 * include/sched.h: Likewise.
9452 * include/search.h: Likewise.
9453 * include/shadow.h: Likewise.
9454 * include/signal.h: Likewise.
9455 * include/stdio.h: Likewise.
9456 * include/stdlib.h: Likewise.
9457 * include/string.h: Likewise.
9458 * include/sys/socket.h: Likewise.
9459 * include/sys/stat.h: Likewise.
9460 * include/sys/statfs.h: Likewise.
9461 * include/sys/statvfs.h: Likewise.
9462 * include/sys/syslog.h: Likewise.
9463 * include/sys/time.h: Likewise.
9464 * include/sys/uio.h: Likewise.
9465 * include/time.h: Likewise.
9466 * include/unistd.h: Likewise.
9467 * include/utmp.h: Likewise.
9468 * include/wchar.h: Likewise.
9469 * include/wctype.h: Likewise.
9470 * inet/aliases.h: Likewise.
9471 * inet/arpa/inet.h: Likewise.
9472 * inet/netinet/ether.h: Likewise.
9473 * inet/netinet/in.h: Likewise.
9474 * intl/libintl.h: Likewise.
9475 * io/bits/fcntl2.h: Likewise.
9476 * io/fcntl.h: Likewise.
9477 * io/ftw.h: Likewise.
9478 * io/sys/poll.h: Likewise.
9479 * io/sys/stat.h: Likewise.
9480 * io/sys/statfs.h: Likewise.
9481 * io/sys/statvfs.h: Likewise.
9482 * io/utime.h: Likewise.
9483 * libio/bits/stdio.h: Likewise.
9484 * libio/bits/stdio2.h: Likewise.
9485 * libio/libio.h: Likewise.
9486 * libio/libioP.h: Likewise.
9487 * libio/stdio.h: Likewise.
9488 * locale/lc-ctype.c: Likewise.
9489 * locale/locale.h: Likewise.
9490 * login/utmp.h: Likewise.
9491 * malloc/arena.c: Likewise.
9492 * malloc/malloc.c: Likewise.
9493 * malloc/malloc.h: Likewise.
9494 * malloc/mcheck.c: Likewise.
9495 * malloc/mtrace.c: Likewise.
9496 * math/bits/mathcalls.h: Likewise.
9497 * math/fenv.h: Likewise.
9498 * math/math_private.h: Likewise.
9499 * misc/bits/error.h: Likewise.
9500 * misc/bits/syslog.h: Likewise.
9501 * misc/err.h: Likewise.
9502 * misc/error.h: Likewise.
9503 * misc/fstab.h: Likewise.
9504 * misc/mntent.h: Likewise.
9505 * misc/regexp.h: Likewise.
9506 * misc/search.h: Likewise.
9507 * misc/sgtty.h: Likewise.
9508 * misc/sys/mman.h: Likewise.
9509 * misc/sys/syslog.h: Likewise.
9510 * misc/sys/uio.h: Likewise.
9511 * misc/sys/xattr.h: Likewise.
9512 * misc/ttyent.h: Likewise.
9513 * nis/rpcsvc/ypclnt.h: Likewise.
9514 * nss/nss.h: Likewise.
9515 * posix/bits/unistd.h: Likewise.
9516 * posix/fnmatch.h: Likewise.
9517 * posix/glob.h: Likewise.
9518 * posix/sched.h: Likewise.
9519 * posix/spawn.h: Likewise.
9520 * posix/sys/wait.h: Likewise.
9521 * posix/unistd.h: Likewise.
9522 * posix/wordexp.h: Likewise.
9523 * pwd/pwd.h: Likewise.
9524 * resolv/netdb.h: Likewise.
9525 * resource/sys/resource.h: Likewise.
9526 * rt/aio.h: Likewise.
9527 * rt/bits/mqueue2.h: Likewise.
9528 * rt/mqueue.h: Likewise.
9529 * shadow/shadow.h: Likewise.
9530 * signal/signal.h: Likewise.
9531 * socket/send.c: Likewise.
9532 * socket/sendto.c: Likewise.
9533 * socket/sys/socket.h: Likewise.
9534 * stdio-common/printf.h: Likewise.
9535 * stdlib/bits/stdlib.h: Likewise.
9536 * stdlib/fmtmsg.h: Likewise.
9537 * stdlib/monetary.h: Likewise.
9538 * stdlib/stdlib.h: Likewise.
9539 * stdlib/ucontext.h: Likewise.
9540 * streams/stropts.h: Likewise.
9541 * string/argz.h: Likewise.
9542 * string/bits/string2.h: Likewise.
9543 * string/string.h: Likewise.
9544 * string/strings.h: Likewise.
9545 * sunrpc/rpc/auth.h: Likewise.
9546 * sunrpc/rpc/auth_des.h: Likewise.
9547 * sunrpc/rpc/clnt.h: Likewise.
9548 * sunrpc/rpc/netdb.h: Likewise.
9549 * sunrpc/rpc/pmap_clnt.h: Likewise.
9550 * sunrpc/rpc/xdr.h: Likewise.
9551 * sysdeps/generic/inttypes.h: Likewise.
9552 * sysdeps/generic/net/if.h: Likewise.
9553 * sysdeps/generic/sys/swap.h: Likewise.
9554 * sysdeps/gnu/net/if.h: Likewise.
9555 * sysdeps/gnu/utmpx.h: Likewise.
9556 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9557 * sysdeps/i386/i486/bits/string.h: Likewise.
9558 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9559 * sysdeps/s390/bits/string.h: Likewise.
9560 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9561 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9562 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9563 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9564 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9565 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9566 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9567 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9568 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9569 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9570 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9571 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9572 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9573 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9574 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9575 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9576 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9577 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9578 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9579 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9580 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9581 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9582 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9583 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9584 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9585 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9586 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9587 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9588 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9589 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9590 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9591 * sysvipc/sys/ipc.h: Likewise.
9592 * sysvipc/sys/msg.h: Likewise.
9593 * sysvipc/sys/sem.h: Likewise.
9594 * sysvipc/sys/shm.h: Likewise.
9595 * termios/termios.h: Likewise.
9596 * time/sys/time.h: Likewise.
9597 * time/time.h: Likewise.
9598 * wcsmbs/bits/wchar2.h: Likewise.
9599 * wcsmbs/uchar.h: Likewise.
9600 * wcsmbs/wchar.h: Likewise.
9601 * wctype/wctype.h: Likewise.
9602
0269750c
UD
9603 [BZ #13551]
9604 * Makeconfig: Remove all but ELF support including AIX support.
9605 * Makerules: Likewise.
9606 * config.h.in: Likewise.
9607 * config.make.in: Likewise.
9608 * configure: Likewise.
9609 * configure.in: Likewise.
9610 * csu/Makefile: Likewise.
9611 * csu/version.c: Likewise.
9612 * debug/Makefile: Likewise.
9613 * dlfcn/Makefile: Likewise.
9614 * elf/Makefile: Likewise.
9615 * extra-lib.mk: Likewise.
9616 * iconv/Makefile: Likewise.
9617 * include/libc-symbols.h: Likewise.
9618 * include/shlib-compat.h: Likewise.
9619 * resolv/Makefile: Likewise.
9620 * resolv/res_libc.c: Likewise.
9621 * rt/Makefile: Likewise.
9622 * sysdeps/i386/asm-syntax.h: Likewise.
9623 * sysdeps/i386/sysdep.h: Likewise.
9624 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9625 * sysdeps/mach/sysdep.h: Likewise.
9626 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9627 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9628 * sysdeps/s390/asm-syntax.h: Likewise.
9629 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9630 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9631 * sysdeps/sh/sysdep.h: Likewise.
9632 * sysdeps/unix/sparc/sysdep.h: Likewise.
9633 * sysdeps/wordsize-32/divdi3.c: Likewise.
9634 * sysdeps/x86_64/sysdep.h: Likewise.
9635
00bbd29b
UD
9636 * argp/Versions: Remove _argp_unlock_xxx.
9637
9638 [BZ #13559]
9639 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9640 * abilist/libBrokenLocale.abilist: Likewise.
9641 * abilist/libanl.abilist: Likewise.
9642 * abilist/libc.abilist: Likewise.
9643 * abilist/libcrypt.abilist: Likewise.
9644 * abilist/libdl.abilist: Likewise.
9645 * abilist/libm.abilist: Likewise.
9646 * abilist/libnsl.abilist: Likewise.
9647 * abilist/libpthread.abilist: Likewise.
9648 * abilist/libresolv.abilist: Likewise.
9649 * abilist/librt.abilist: Likewise.
9650 * abilist/libthread_db.abilist: Likewise.
9651 * abilist/libutil.abilist: Likewise.
9652 * abilist/libnss_db.abilist: New file.
9653
9654 * scripts/abilist.awk: Add support for indirect functions.
9655
a2693a0e
UD
9656 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9657
3f05895f
UD
9658 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9659
ecb6fb48
UD
9660 * shlib-versions: Remove entries for ports architectures.
9661
664f8cb9
UD
9662 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9663 files in ports.
9664 * elf/stackguard-macros.h: Remove support for IA-64.
9665 * elf/tst-auditmod1.c: Likewise.
9666 * sysdeps/generic/ldsodefs.h: Likewise.
9667
7ae81d88
UD
9668 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9669 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9670 configure files.
9671
bdeba135
UD
9672 [BZ #13552]
9673 * configure.in: Remove --enable-omitfp support.
9674 * FAQ.in: Adjust.
9675 * config.make.in: Likewise.
9676 * Makeconfig: Likewise.
9677 * manual/install.texi: Likewise.
9678
d75a0a62
UD
9679 In case anyone cares, the IA-64 architecture could move to ports.
9680 * sysdeps/ia64/*: Removed.
9681 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 9682 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 9683
dcc9756b
UD
9684 [BZ #13555]
9685 * configure.in: Remove entries for unsupported architectures.
9686
d3761ebc 9687 [BZ #13533]
9954432e
UD
9688 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9689 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9690 routines.
9691 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9692 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9693 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9694 fall back to using wcrtomb.
9695 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9696 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9697 renaming.
9698 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9699 * wcsmbs/tst-c16c32-1.c: New file.
9700
9701 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9702 local variable.
9703
c3a87236
UD
9704 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9705
28926a1b
UD
9706 * elf/tst-unique3.cc: Add explicit declaration of gets.
9707 * elf/tst-unique3lib.cc: Likewise.
9708 * elf/tst-unique3lib2.cc: Likewise.
9709 * elf/tst-unique4.cc: Likewise.
9710
df78418a
UD
9711 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9712
8ecd6b2a
JM
97132012-01-06 Joseph Myers <joseph@codesourcery.com>
9714
9715 [BZ #13566]
9716 * assert/assert.h (static_assert): Don't define for C++.
9717 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9718 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9719
9f115170
UD
97202012-01-03 Ulrich Drepper <drepper@gmail.com>
9721
5e0d0300
UD
9722 * iconv/loop.c (single loop): Fix assertion in storing of
9723 remaining bytes.
9724
9f115170
UD
9725 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9726
81fb02b0
UD
97272012-01-01 Ulrich Drepper <drepper@gmail.com>
9728
9729 * posix/getconf.c: Update copyright year.
9730 * nss/getent.c: Likewise.
a316c1f6 9731 * nss/makedb.c: Likewise.
81fb02b0
UD
9732 * iconv/iconvconfig.c: Likewise.
9733 * iconv/iconv_prog.c: Likewise.
9734 * elf/ldconfig.c: Likewise.
a316c1f6
UD
9735 * elf/pldd.c: Likewise.
9736 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
9737 * catgets/gencat.c: Likewise.
9738 * csu/version.c: Likewise.
9739 * elf/ldd.bash.in: Likewise.
9740 * elf/sprof.c (print_version): Likewise.
9741 * locale/programs/locale.c: Likewise.
9742 * locale/programs/localedef.c: Likewise.
a316c1f6 9743 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
9744 * nscd/nscd.c (print_version): Likewise.
9745 * debug/xtrace.sh: Likewise.
9746 * malloc/memusage.sh: Likewise.
9747 * malloc/mtrace.pl: Likewise.
9748 * debug/catchsegv.sh: Likewise.
9749
2ba92745
JJ
97502011-12-30 Jakub Jelinek <jakub@redhat.com>
9751
9752 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9753 pure attribute.
9754
dadebdae
UD
97552011-12-24 Ulrich Drepper <drepper@gmail.com>
9756
d3761ebc 9757 [BZ #13533]
db6af3eb
UD
9758 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9759 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9760 transformations.
9761 * iconv/gconv_int.h: Likewise.
9762 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9763 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9764 from libc for GLIBC_2.16.
9765 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9766 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9767 * wcsmbs/uchar.h: Really define mbstate_t.
9768 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9769 * wcsmbs/c16rtomb.c: New file.
9770 * wcsmbs/mbrtoc16.c: New file.
9771 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9772 for C/POSIX locale.
9773 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9774 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9775
dadebdae
UD
9776 * wcsmbs/wchar.h: Add missing __restrict.
9777
67371b56
UD
97782011-12-23 Ulrich Drepper <drepper@gmail.com>
9779
74033a25
UD
9780 [BZ #13532]
9781 * time/Makefile (routines): Add timespec_get.
9782 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9783 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9784 timespec for ISO C11.
9785 * time/timespec_get.c: New file.
9786 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9787 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9788
380d7e87
UD
9789 [BZ #13531]
9790 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9791 * stdlib/stdlib.h: Declare aligned_alloc.
9792 * Versions.def: Add GLIBC_2.16 for libc.
9793 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9794
4e9e7a35
UD
9795 [BZ 13527]
9796 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9797 ISO C11.
9798
380d7e87 9799 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
9800 code.
9801
03a71829
UD
9802 [BZ #13528]
9803 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9804
839e283e
UD
9805 [BZ #13529]
9806 * assert/assert.h (static_assert): Define.
9807
ce5294e2 9808 * version.h: Update for 2.16 development version.
90fa7312 9809
8d44e150 9810 [BZ #13526]
d7809905
UD
9811 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9812 _ISOC11_SOURCE.
9813
c0da14cd
UD
9814 * version.h (RELEASE): Bump for 2.15 release.
9815 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9816
530a3249
MP
9817 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9818 Patch by Marek Polacek <mpolacek@redhat.com>.
9819
67371b56
UD
9820 * bits/byteswap.h: Protect long long constants with __extension__.
9821 * sysdeps/i386/bits/byteswap.h: Likewise.
9822 * sysdeps/ia64/bits/byteswap.h: Likewise.
9823 * sysdeps/s390/bits/byteswap.h: Likewise.
9824 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9825
15db4de1
LD
98262011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9827
9828 [BZ #13540]
bbe315ea
LD
9829 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9830 destination buffer.
15db4de1
LD
9831 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9832
2b2596b1
MP
98332011-12-23 Marek Polacek <polacek@redhat.com>
9834
9835 * elf/dl-addr.c (determine_info): Add inline keyword.
9836 * elf/tst-auditmod4b.c (check_avx): Likewise.
9837 * elf/tst-auditmod6b.c (check_avx): Likewise.
9838 * elf/tst-auditmod6c.c (check_avx): Likewise.
9839 * elf/tst-auditmod7b.c (check_avx): Likewise.
9840
70c6c246
UD
98412011-12-23 Ulrich Drepper <drepper@gmail.com>
9842
9843 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9844 !__SSE_MATH__.
9845
c044cf14
LD
98462011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9847
15db4de1 9848 [BZ #13540]
c044cf14
LD
9849 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9850 processing for last bytes.
9851
6b13d9d9
BH
98522011-08-06 Bruno Haible <bruno@clisp.org>
9853
d455f537
BH
9854 [BZ #13061]
9855 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9856 U+0385, not to U+1FEE.
9857
6b13d9d9
BH
9858 [BZ #13062]
9859 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9860 entry for U+00A5 U+0301.
9861
db910efd
UD
98622011-12-22 Ulrich Drepper <drepper@gmail.com>
9863
27deeafc
UD
9864 [BZ #13166]
9865 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9866 buffer for the output is too small.
9867
aed9d171
UD
9868 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9869 optimization.
9870
db910efd
UD
9871 [BZ #13185]
9872 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9873 SSE flags if possible.
9874
2bd779ae
LD
98752011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9876
e7f9dac3 9877 [BZ #13540]
2bd779ae
LD
9878 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9879 processing for last bytes.
9880
154bfc16
JM
98812011-12-22 Joseph Myers <joseph@codesourcery.com>
9882
9883 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9884 (syscall-list-default-options, syscall-list-default-condition)
9885 (syscall-list-includes): Define.
9886 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9887 list of ABIs and options and #if conditions for each ABI. Do not
9888 handle common syscalls between ABIs specially.
9889 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9890 Remove.
9891 (syscall-list-variants, syscall-list-32bit-options)
9892 (syscall-list-32bit-condition, syscall-list-64bit-options)
9893 (syscall-list-64bit-condition): Define.
9894 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9895 (syscall-list-variants, syscall-list-32bit-options)
9896 (syscall-list-32bit-condition, syscall-list-64bit-options)
9897 (syscall-list-64bit-condition): Define.
9898 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9899 Remove.
9900 (syscall-list-variants, syscall-list-32bit-options)
9901 (syscall-list-32bit-condition, syscall-list-64bit-options)
9902 (syscall-list-64bit-condition): Define.
9903 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9904 Remove.
9905 (syscall-list-variants, syscall-list-32bit-options)
9906 (syscall-list-32bit-condition, syscall-list-64bit-options)
9907 (syscall-list-64bit-condition): Define.
9908
21eaf3a5
UD
99092011-12-22 Ulrich Drepper <drepper@gmail.com>
9910
16c6f992
UD
9911 * locale/iso-639.def: Add brx entry.
9912
41043168
UD
9913 [BZ #13328]
9914 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9915 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9916
21eaf3a5
UD
9917 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9918 __feraiseexcept_renamed.
9919
e3a851a2
UD
99202011-12-21 Ulrich Drepper <drepper@gmail.com>
9921
4920765e
UD
9922 [BZ #13538]
9923 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9924 EPOLLET with unsigned values.
9925 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9926 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9927
e3a851a2
UD
9928 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9929 to large cancellation.
9930 * math/s_cacoshf.c: Likewise.
9931 * math/s_cacoshl.c: Likewise.
9932
b27e24b8
RK
99332011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9934
9935 [BZ #13305]
aebefeee 9936 [BZ #12786]
b27e24b8
RK
9937 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9938 * math/s_cacoshf.c: Likewise.
9939 * math/s_cacoshl.c: Likewise.
9940
ee190f67
UD
99412011-12-21 Ulrich Drepper <drepper@gmail.com>
9942
9943 [BZ #13439]
9944 * iconv/gconv.h: Define __GCONV_SWAP.
9945 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9946 * iconvdata/utf-16.c: Likewise.
9947 * iconvdata/utf-32.c: Likewise.
9948
707f25df
AS
99492011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9950
9951 [BZ #13524]
9952 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9953 numerator after shifting it by one limb.
9954
d2daaa1e
RÁE
99552011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9956
9957 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9958 under [__USE_EXTERN_INLINES].
9959
a4647e72
UD
99602011-12-17 Ulrich Drepper <drepper@gmail.com>
9961
9962 [BZ #13446]
9963 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9964
f0b264f1
AZ
99652011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9966
9967 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9968 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9969 optimized code.
9970 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9971 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9972 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9973 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9974 for strncasecmp/strncasecmp_l compilation.
9975 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9976 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9977
8ef4f244
MP
99782011-12-08 Marek Polacek <mpolacek@redhat.com>
9979
9980 [BZ #13484]
9981 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9982 of __asm__.
9983
97ac2654
UD
99842011-12-17 Ulrich Drepper <drepper@gmail.com>
9985
9986 [BZ #13506]
9987 * time/tzfile.c (__tzfile_read): Check values from file header.
9988
91d2a845
WS
99892011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9990
9991 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9992 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9993 * powerpc/powerpc32/dl-start.S: Likewise.
9994 * powerpc/powerpc32/elf/start.S: Likewise.
9995 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9996 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9997 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9998 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9999 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10000 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
10001 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
10002 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10003 * powerpc/powerpc32/fpu/s_round.S: Likewise.
10004 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10005 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10006 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10007 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10008 * powerpc/powerpc32/memset.S: Likewise.
10009 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10010 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10011 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10012 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10013 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10014 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10015 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10016 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10017 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
10018 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
10019 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
10020 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10021 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10022
a1267ba1
AZ
100232011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10024
10025 * math/libm-test.inc: Added more nearbyint tests.
10026 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
10027 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
10028 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
10029 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
10030
ad8ac1bd
RL
100312011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
10032
10033 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
10034 FD_CLOEXEC.
10035
1d3e4b61
UD
100362011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10037
10038 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
10039 Add wcscpy-ssse3 wcscpy-c.
10040 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
10041 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
10042 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
10043 * sysdeps/x86_64/wcschr.S: New file.
10044 * sysdeps/x86_64/wcsrchr.S: New file.
10045 * string/test-strcmp.c: Remove checking of wcscmp function for
10046 wrong alignments.
10047 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
10048 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
10049 wcsrchr-sse2 wcsrchr-c.
10050 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
10051 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
10052 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
10053 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
10054 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
10055 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
10056 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
10057 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
10058 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
10059 * wcsmbc/wcschr.c (WCSCHR): New macro.
10060
5b330a2d
UD
100612011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10062
10063 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
10064 * wcsmbs/test-wcsrchr.c: New file.
10065 * string/test-strrchr.c: Add wcsrchr support.
10066 (WIDE): New macro.
10067 * wcsmbs/test-wcscpy.c: New file.
10068 * string/test-strcpy.c: Add wcscpy support.
10069 (WIDE): New macro.
26428b7c 10070
f039c043
UD
100712011-12-10 Ulrich Drepper <drepper@gmail.com>
10072
10073 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
10074 the inner loop.
10075
850fb039
AS
100762011-12-06 Andreas Schwab <schwab@linux-m68k.org>
10077
10078 [BZ #13472]
10079 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
10080
4efbd5cb
UD
100812011-12-04 Ulrich Drepper <drepper@gmail.com>
10082
52ff5dd0 10083 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 10084 Minor optimizations.
52ff5dd0 10085
4efbd5cb
UD
10086 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
10087 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
10088 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10089
8a426e12
UD
100902011-12-03 Ulrich Drepper <drepper@gmail.com>
10091
aff2453d
UD
10092 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
10093 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
10094 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
10095 for gcc to avoid warnings.
10096 * inet/Makefile (tests): Add tst-checks.
10097 * inet/tst-checks.c: New file.
10098
10099 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
10100 warning.
10101
10102 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
10103 __wmemcmp_sse2.
10104
10105 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
10106 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
10107
8a426e12
UD
10108 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
10109
9bea3473
UD
101102011-12-02 Ulrich Drepper <drepper@gmail.com>
10111
3a965496
UD
10112 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10113 problem.
10114
9bea3473
UD
10115 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10116
f101631b
UD
101172011-11-29 Joseph Myers <joseph@codesourcery.com>
10118
10119 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10120 conditional on GCC version.
10121 (__arch_compare_and_exchange_val_8_acq)
10122 (__arch_compare_and_exchange_val_16_acq)
10123 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10124 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10125 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10126
a98275aa
UD
101272011-12-02 Joseph Myers <joseph@codesourcery.com>
10128
10129 * sysdeps/sh/backtrace.c: New file.
10130
d4cc29a2
AS
101312011-12-02 Andreas Schwab <schwab@redhat.com>
10132
10133 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
10134 parenthesis.
10135
6257af2d
AS
101362011-12-01 Andreas Schwab <schwab@redhat.com>
10137
10138 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10139 falling back to utime.
10140
b5f44c1a
AS
101412011-11-30 Andreas Schwab <schwab@redhat.com>
10142
10143 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10144 expectations for float.
10145
f3a6cc0a
AS
101462011-11-29 Andreas Schwab <schwab@redhat.com>
10147
10148 * locale/weight.h (findidx): Add parameter len.
10149 * locale/weightwc.h (findidx): Likewise.
10150 * posix/fnmatch_loop.c (FCT): Adjust caller.
10151 * posix/regcomp.c (build_equiv_class): Likewise.
10152 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10153 * posix/regexec.c (check_node_accept_bytes): Likewise.
10154 * string/strcoll_l.c (STRCOLL): Likewise.
10155 * string/strxfrm_l.c (STRXFRM): Likewise.
10156
9d65ea3a
UD
101572011-11-17 Ulrich Drepper <drepper@gmail.com>
10158
10159 * Makefile.in: Remove CVSOPT handling.
10160 * configure.in: Remove use of AC_REVISION.
10161 * iconvdata/Makefile (distribute): No need to filter out CVS.
10162 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10163 handling.
10164
5583a086
AS
101652011-11-16 Andreas Schwab <schwab@redhat.com>
10166
10167 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10168 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10169 [USE_AS_STRNCASECMP_L]: Likewise.
10170 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10171 NO_TLS_DIRECT_SEG_REFS.
10172 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10173 Fix argument offsets for non-PIC.
10174 [USE_AS_STRNCASECMP_L]: Likewise.
10175 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10176 NO_TLS_DIRECT_SEG_REFS.
10177
d62a8200
UD
101782011-11-15 Ulrich Drepper <drepper@gmail.com>
10179
9d65ea3a 10180 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
10181 O_CLOEXEC.
10182 * locale/loadlocale.c (_nl_load_locale): Likewise.
10183
09f93bd3
AS
101842011-11-15 Andreas Schwab <schwab@redhat.com>
10185
446514f9
AS
10186 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10187 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10188 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10189 (SYSCALL_GETTIME): Set errno on error.
10190
09f93bd3
AS
10191 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10192 count references to noai6ai_cached.
10193
312be3f9
UD
101942011-11-15 Ulrich Drepper <drepper@gmail.com>
10195
10196 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10197
10198 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10199 FD_CLOEXEC for /proc/self/maps.
10200
10201 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10202 FD_CLOEXEC for /proc/meminfo.
10203
10204 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10205 gai.conf.
10206
10207 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10208 FD_CLOEXEC for given file.
10209
10210 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10211
10212 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10213 FD_CLOEXEC for /etc/hosts.
10214 (_gethtent): Likewise.
10215
10216 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10217
10218 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10219 cancellation and set FD_CLOEXEC for /etc/netgroup.
10220
10221 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10222 reading /etc/publickey.
10223
10224 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10225 allow cancellation when reading /etc/group.
10226
10227 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10228 cancellation.
10229 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10230
10231 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10232 when using data file.
10233
10234 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10235
10236 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10237 (write_nis_obj): Use "c" and "e" in fopen.
10238
10239 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10240
10241 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10242
10243 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10244
10245 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10246
10247 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10248 locale.alias.
10249
10250 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10251
10252 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10253
10254 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10255
10256 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10257 file parsing and set FD_CLOEXEC.
10258
82af0fa8
UD
102592011-11-14 Ulrich Drepper <drepper@gmail.com>
10260
10261 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10262
a5fb313c
AS
102632011-11-14 Andreas Schwab <schwab@redhat.com>
10264
10265 * malloc/arena.c (arena_get2): Don't call reused_arena when
10266 _int_new_arena failed.
10267
6abf3465
UD
102682011-11-14 Ulrich Drepper <drepper@gmail.com>
10269
10270 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10271 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10272 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10273 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10274 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10275 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10276 to compile strcasecmp and strncasecmp.
10277 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10278 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10279
10280 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10281
76e3966e
UD
102822011-11-13 Ulrich Drepper <drepper@gmail.com>
10283
10284 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10285 locale-defines.sym to gen-as-const-headers.
10286 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10287 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10288 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10289 to compile strcasecmp and strncasecmp.
10290 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10291 strcasecmp_l and strncasecmp_l.
10292 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10293 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10294 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10295 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10296 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10297 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10298 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10299 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10300 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10301 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10302 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10303
ab26144e
UD
103042011-11-12 Ulrich Drepper <drepper@gmail.com>
10305
7edb22ef
UD
10306 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10307 result of SYSDEP_GETTIME_CPU to retval.
10308 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10309 parameter list to macro. Remove trailing semicolon. Adjust users.
10310
9694fc44
UD
10311 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10312 variable.
10313
8ad89ef8
UD
10314 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10315 mantissa words.
10316 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10317
0c822ef9
UD
10318 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10319 from unused variable.
10320
874e0564
UD
10321 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10322 DWARF definitions.
10323 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10324 for assembling.
10325
3a2edc79
UD
10326 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10327 over namespaces.
10328
f3c2577f
UD
10329 * sunrpc/rpc_prot.c (rejected): Fix case value.
10330
294ce126
UD
10331 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10332 unsigned long long int to avoid warnings in shift.
10333
5e2b63c6
UD
10334 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10335 of use of trans.
10336 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10337 variable tmp.
10338
e7f4b08e
UD
10339 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10340 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10341 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10342
ab26144e
UD
10343 * nis/nis_table.c (nis_list): Use variable of correct type for
10344 result of __follow_path call.
10345
8a6d5255
AZ
103462011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10347
10348 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10349 of math functions ceil, trunc, floor, round, and sqrt, when
10350 avaliable on the platform.
10351 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10352 name clash.
10353 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10354 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10355 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10356
aaddc98c
MP
103572011-10-30 Marek Polacek <mpolacek@redhat.com>
10358
10359 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10360 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10361
95b7042b
RM
103622011-11-11 Roland McGrath <roland@hack.frob.com>
10363
10364 * include/unistd.h: Fix __readlink return type.
10365 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10366
57769839
UD
103672011-11-11 Ulrich Drepper <drepper@gmail.com>
10368
10369 * stdlib/ucontext.h: Undo last change for makecontext.
10370
edc5984d
AS
103712011-11-11 Andreas Schwab <schwab@redhat.com>
10372
98591e58
AS
10373 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10374
edc5984d
AS
10375 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10376 * setjmp/setjmp.h: Mark functions as non-leaf.
10377 * setjmp/bits/setjmp2.h: Likewise.
10378 * stdlib/ucontext.h: Likewise.
10379
77cdc054
AS
103802011-11-10 Andreas Schwab <schwab@redhat.com>
10381
10382 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10383 (reused_arena): Don't check arena limit.
10384 (arena_get2): Atomically check arena limit.
10385
fe72eebd
UD
103862011-11-08 Ulrich Drepper <drepper@gmail.com>
10387
5f078c32
UD
10388 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10389 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10390
fe72eebd
UD
10391 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10392 instructions.
10393
ae1bc2fa
AS
103942011-11-07 Andreas Schwab <schwab@redhat.com>
10395
7583a88d
AS
10396 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10397 handler when locking.
10398
ae1bc2fa
AS
10399 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10400 Fix size of allocated buffer.
10401
10fb0bfa
AS
104022011-11-04 Andreas Schwab <schwab@redhat.com>
10403
998832a4
AS
10404 [BZ #10103]
10405 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10406 declarations for long double functions.
10407 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10408
10fb0bfa
AS
10409 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10410
3d7ba52b
AS
104112011-11-03 Andreas Schwab <schwab@redhat.com>
10412
a9ae54a1
AS
10413 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10414 installed.
10415
3d7ba52b
AS
10416 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10417 is disabled.
10418
bc8db248
ST
104192011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10420
10421 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10422
45b96dd6
AS
104232011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10424
647776f6
AS
10425 * include/alloca.h (stackinfo_alloca_round): Define.
10426 (extend_alloca): Use it.
10427 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10428 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10429 here.
10430
d91a8b93
AS
10431 * scripts/check-local-headers.sh: Ignore libaudit.h.
10432
45b96dd6
AS
10433 * nscd/Makefile (extra-objs): Make recursively expanded.
10434
432d41ce
UD
104352011-11-01 Ulrich Drepper <drepper@gmail.com>
10436
34372fc6
UD
10437 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10438 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10439
fadb59f8
UD
10440 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10441 * posix/tst-rfc3484-2.c: Likewise.
10442 * posix/tst-rfc3484-3.c: Likewise.
10443
78239589
UD
10444 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10445 process_vm_writev.
10446 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10447 process_vm_writev.
10448 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10449 process_vm_writev from libc using GLIBC_2.15 version.
10450
432d41ce
UD
10451 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10452
02f9c6cf
PP
104532011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10454
10455 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10456 stack usage.
10457
3a2c0242
UD
104582011-10-31 Ulrich Drepper <drepper@gmail.com>
10459
f4ec4833
UD
10460 [BZ #13367]
10461 * nss/getent.c (initgroups_keys): Show error message in case no group
10462 names are given.
10463
3a2c0242
UD
10464 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10465 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10466 __bump_nl_timestamp.
10467 * nscd/connections (nscd_init): When host database is served open
10468 netlink socket and request notification about configuration changes.
10469 (main_loop_poll): Track netlink file descriptor and bump timestamp
10470 in case data becomes available.
10471 (main_loop_epoll): Likewise.
10472 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10473 (database_pers_head): Add extra_data fileds.
10474 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10475 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10476 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10477 Adjust caller.
10478 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10479 in6ai data, call __free_in6ai.
10480 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10481 Add -DHAVE_NETLINK.
10482 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10483 interface information. Reuse previous data if netlink timestamp
10484 is not changed.
10485 (__bump_nl_timestamp): New function.
10486 (__free_in6ai): New function.
10487
636064eb
UD
104882011-10-30 Ulrich Drepper <drepper@gmail.com>
10489
10490 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10491 close_not_cancel_no_status here.
10492 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10493
9beb2334
UD
104942011-10-29 Ulrich Drepper <drepper@gmail.com>
10495
6ef76f3b
UD
10496 [BZ #13276]
10497 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10498 return value.
10499
0ffc4f3e 10500 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
10501 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10502 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10503
cb95113e
UD
105042011-07-03 Andreas Jaeger <aj@suse.de>
10505
10506 [BZ #10709]
10507 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10508 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10509 * math/libm-test.inc (sin_test): Add test case.
10510
a1b560ff
UD
105112011-10-29 Ulrich Drepper <drepper@gmail.com>
10512
c9aaface
UD
10513 [BZ #13337]
10514 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10515 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10516
d272e7f1
UD
10517 * elf/chroot_canon.c (chroot_canon): Cleanups.
10518
1bc33071
UD
10519 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10520
1760874d
TJ
10521 [BZ #13335]
10522 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10523 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10524
51d91b18
UD
10525 * string/test-strchr.c: Make usable for strchrnul testing.
10526 * string/test-strchrnul.c: New file.
10527 * string/Makefile (strop-tests): Add strchrnul.
10528
a1b560ff 10529 * po/it.po: Update from translation team.
b611fb81 10530 * po/es.po: Likewise.
a1b560ff 10531
a5b81e1f
UD
105322011-10-28 Ulrich Drepper <drepper@gmail.com>
10533
fd52bc6d
UD
10534 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10535 the three constants needed as parameters. Drop the others.
10536 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10537 __m128i_strloadu_tolower.
52e4b9eb
UD
10538 Create and initialize variable zero and use it in all the places
10539 where _mm_setzero_si128 was used.
fd52bc6d 10540
a5b81e1f
UD
10541 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10542 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10543 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10544 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10545 anymore.
10546 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10547 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10548 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10549 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10550 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10551 __mpranred, __mptan.
10552 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10553 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10554 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10555 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10556 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10557 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10558 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10559 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10560 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10561
b4343346
AS
105622011-10-28 Andreas Schwab <schwab@redhat.com>
10563
0c92d8a8
AS
10564 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10565 redefine if SHARED.
10566 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10567
b4343346
AS
10568 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10569 wide char related routines to wcsmbs subdir.
10570
3871f58f
AS
105712011-10-27 Andreas Schwab <schwab@redhat.com>
10572
10573 [BZ #13344]
10574 * misc/sys/cdefs.h (__THROWNL): Define.
10575 * posix/unistd.h: Use __THREADNL instead of __THREAD
10576 for memory synchronization functions.
10577
94d44d9f
RM
105782011-10-26 Roland McGrath <roland@hack.frob.com>
10579
21b64b15 10580 [BZ #13349]
94d44d9f
RM
10581 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10582 doesn't exist.
10583 * manual/stdio.texi (Obstack Streams): Node removed.
10584
f6ce9294
AS
105852011-10-26 Andreas Schwab <schwab@redhat.com>
10586
80479147
AS
10587 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10588 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10589 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10590
f6ce9294
AS
10591 * math/math_private.h (math_force_eval): Allow non-addressable
10592 arguments.
10593 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10594
618280a1
UD
105952011-10-25 Ulrich Drepper <drepper@gmail.com>
10596
e0016b11
UD
10597 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10598 file is not needed.
10599
10600 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10601 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10602 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10603 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10604 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10605 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10606 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10607 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10608 Add AVX variants.
10609 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10610 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10611 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10612 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10613 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10614 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10615 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10616 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10617 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10618 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10619 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10620 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10621 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10622 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10623 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10624 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10625 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10626 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10627 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10628
10629 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10630 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10631
618280a1
UD
10632 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10633 place. Use VEX encoding when compiling for AVX.
10634
37822576
AS
106352011-10-25 Andreas Schwab <schwab@redhat.com>
10636
1f1e1947
AS
10637 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10638 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10639
37822576
AS
10640 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10641
31ea014d
UD
106422011-10-25 Ulrich Drepper <drepper@gmail.com>
10643
d7826aa1 10644 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 10645 useless if() expression.
d7826aa1
UD
10646 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10647 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10648 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10649 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10650 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10651 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10652 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10653 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10654 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10655 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10656 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10657 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10658 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10659 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10660 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10661 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10662 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10663 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10664 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10665
31ea014d
UD
10666 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10667
16437fec
AS
106682011-10-25 Andreas Schwab <schwab@redhat.com>
10669
10670 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10671 condition.
10672 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10673
31d3cc00
UD
106742011-10-25 Ulrich Drepper <drepper@gmail.com>
10675
10676 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10677 .text section. Avoid duplicate constants.
10678 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10679 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10680 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10681 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10682 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10683 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10684 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10685 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10686 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10687 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10688 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10689 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10690 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10691 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10692 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10693 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10694 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10695 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10696 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10697 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10698 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10699 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10700 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10701 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10702 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10703 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10704 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10705 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10706 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10707 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10708 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10709 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10710 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10711 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10712 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10713 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10714 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10715 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10716 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10717 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10718 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10719 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10720 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10721 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10722 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10723
58985aa9
UD
107242011-10-24 Ulrich Drepper <drepper@gmail.com>
10725
202c9deb
UD
10726 * sysdeps/x86_64/dla.h: Move to ...
10727 * sysdeps/x86_64/fpu/dla.h: ...here.
10728 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10729 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 10730
af968f62
UD
10731 * config.make.in: Add have-mfma4 entry.
10732 * configure.in: Substitute libc_cv_cc_fma4.
10733 * math/Makefile (dbl-only-routines): Add sincostab.
10734 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10735 Use __sincostab not sincos.
10736 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10737 name is a macro.
10738 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10739 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10740 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10741 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10742 using __copysign.
10743 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10744 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10745 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10746 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10747 and __inv.
10748 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10749 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10750 __copysign.
10751 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10752 define aliases when function name is a macro.
10753 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10754 sysdeps/ieee754/dbl-64/sincos.tbl.
10755 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10756 fma4-enabled routines.
10757 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10758 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10759 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10760 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10761 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10762 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10763 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10764 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10765 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10766 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10767 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10768 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10769 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10770 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10771 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10772 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10773 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10774 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10775 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10776 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10777 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10778 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10779 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10780 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10781 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10782 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10783 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10784 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10785 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10786 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10787
58985aa9
UD
10788 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10789 rename.
10790 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10791 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10792 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10793 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10794 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10795 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10796 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10797 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10798
a201fbcf
AS
107992011-10-24 Andreas Schwab <schwab@redhat.com>
10800
10801 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10802
fc2ee42a
LD
108032011-10-23 Ulrich Drepper <drepper@gmail.com>
10804
bb3129bd
UD
10805 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10806
0275fff8
UD
10807 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10808 prediction.
10809 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10810
2fa2ae85
UD
10811 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10812 Remove unused variable magic_bits.
10813 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10814
fc2ee42a
LD
10815 * string/strnlen.c: Define and use STRNLEN macro.
10816 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10817 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10818 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10819 * wcsmbs/wcslen.c: Define and use WCSLEN.
10820 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10821 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10822 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10823 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10824 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10825 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10826 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10827
ce7dd29f
LD
108282011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10829
10830 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10831 strnlen-sse2-no-bsf.
10832 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10833 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10834 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10835 Add strnlen support.
10836 (USE_AS_STRNLEN): New macro.
10837 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10838 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10839 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10840 * sysdeps/x86_64/wcslen.S: New file.
10841
979c70a3
MZ
108422011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10843
10844 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10845 XMM-moves are used for copying on small sizes.
10846
2d09f82f
LD
108472011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10848
10849 * wcsmbs/Makefile (strop-tests): Add wcschr.
10850 * wcsmbs/test-wcschr.c: New file.
10851 * string/test-strchr.c: Update.
10852 Add wcschr support.
10853 (WIDE): New macro.
10854
619fccca
LD
108552011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10856
2d09f82f 10857 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
10858 * wcsmbs/test-wcslen.c: New file.
10859 * string/test-strlen.c: Update.
10860 Add wcslen support.
10861 (WIDE): New macro.
10862
09f699ea
UD
108632011-10-23 Ulrich Drepper <drepper@gmail.com>
10864
10865 * po/it.po: Update from translation team.
10866
95584d3b
LD
108672011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10868
10869 * sysdeps/x86_64/wcscmp.S: Update.
10870 Fix wrong comparison semantics.
10871 wcscmp shall use signed comparison not unsigned.
10872 Don't use substraction to avoid overflow bug.
10873 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10874 * wcsmbc/wcscmp.c: Likewise.
10875 * string/test-strcmp.c: Likewise.
10876 Add new tests to check cases with negative values.
10877
c8b3296b
UD
108782011-10-23 Ulrich Drepper <drepper@gmail.com>
10879
10880 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10881 * sysdeps/x86_64/dla.h: ...here. New file.
10882 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10883 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10884 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10885 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10886 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10887 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10888 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10889 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10890 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10891
246ad57a
AS
108922011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10893
10894 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10895 __ynl_finite aliases.
10896
a1a87169
UD
108972011-10-22 Ulrich Drepper <drepper@gmail.com>
10898
0d355eb7
UD
10899 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10900
a1a87169
UD
10901 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10902 define DLA_FMA.
10903 [DLA_FMA] (EMULV): Use DLA_FMA.
10904 [DLA_FMA] (MUL12): Use EMULV.
10905 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10906 that are not needed.
10907 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10908 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10909 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10910 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10911 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10912 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10913 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10914
ee2aafe0
AS
109152011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10916
10917 * math/s_nan.c: Undef __nan.
10918 * math/s_nanf.c: Undef __nanf.
10919 * math/s_nanl.c: Undef __nanl.
10920 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10921 "math_private.h".
10922
bc62c2fb
UD
109232011-10-22 Ulrich Drepper <drepper@gmail.com>
10924
77425c63
UD
10925 * math/s_catan.c: Add branch predictions.
10926 * math/s_catanf.c: Likewise.
10927 * math/s_catanh.c: Likewise.
10928 * math/s_catanhf.c: Likewise.
10929 * math/s_catanhl.c: Likewise.
10930 * math/s_catanl.c: Likewise.
10931 * math/s_cexp.c: Likewise.
10932 * math/s_cexpf.c: Likewise.
10933 * math/s_cexpl.c: Likewise.
10934 * math/s_clog.c: Likewise.
10935 * math/s_clog10.c: Likewise.
10936 * math/s_clog10f.c: Likewise.
10937 * math/s_clog10l.c: Likewise.
10938 * math/s_clogf.c: Likewise.
10939 * math/s_clogl.c: Likewise.
10940 * math/s_csqrt.c: Likewise.
10941 * math/s_csqrtf.c: Likewise.
10942 * math/s_csqrtl.c: Likewise.
10943 * math/s_ctanf.c: Likewise.
10944 * math/s_ctanh.c: Likewise.
10945 * math/s_ctanhf.c: Likewise.
10946 * math/s_ctanhl.c: Likewise.
10947 * math/s_ctanl.c: Likewise.
10948
bc62c2fb
UD
10949 * math/math_private.h: Define __nan, __nanf, __nanl.
10950 * math/s_cacosh.c: Include <math_private.h>.
10951 * math/s_cacoshl.c: Likewise.
10952 * math/s_casinh.c: Likewise.
10953 * math/s_casinhf.c: Likewise.
10954 * math/s_casinhl.c: Likewise.
10955 * math/s_ccos.c: Rely entire on ccosh.
10956 * math/s_ccosf.c: Rely entire on ccoshf.
10957 * math/s_ccosl.c: Rely entirely on ccoshl.
10958 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10959 Remove tests for FE_INVALID.
10960 * math/s_ccoshf.c: Likewise.
10961 * math/s_ccoshl.c: Likewise.
10962 * math/s_csin.c: Likewise.
10963 * math/s_csinf.c: Likewise.
10964 * math/s_csinh.c Likewise.
10965 * math/s_csinhf.c: Likewise.
10966 * math/s_csinhl.c: Likewise.
10967 * math/s_csinl.c: Likewise.
10968 * math/s_ctan.c: Likewise.
10969 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10970 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10971 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10972
8ec250a4
UD
109732011-10-21 Ulrich Drepper <drepper@gmail.com>
10974
c196fed8
UD
10975 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10976 compilation problems.
10977
8ec250a4
UD
10978 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10979 __builtin_expect.
10980
8d4f46c6
UD
109812011-10-20 Ulrich Drepper <drepper@gmail.com>
10982
ed72b654
UD
10983 * sysdeps/i386/configure.in: Test for -mfma4 option.
10984 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10985 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10986 COMMON_CPUID_INDEX_80000001.
10987 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10988 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10989 use it if FMA3 is not supported.
10990 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10991
8d4f46c6
UD
10992 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10993 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10994
d45c60c2
AS
109952011-10-20 Andreas Schwab <schwab@redhat.com>
10996
10997 [BZ #12892]
10998 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10999 it would create a cycle with a link time dependency.
11000
d9a4d2ab
UD
110012011-10-19 Ulrich Drepper <drepper@gmail.com>
11002
855d1560
UD
11003 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
11004 instruction.
11005 * string/Makefile (strop-tests): Add rawmemchr.
11006 * string/test-rawmemchr.c: New file.
11007
d9a4d2ab
UD
11008 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
11009 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
11010 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
11011 when compiling str{,n}casecmp and when AVX is available. Hook up
11012 new optimized code in initializers.
11013
8f3b1ffe
AS
110142011-10-19 Andreas Schwab <schwab@redhat.com>
11015
11016 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
11017 __feraiseexcept instead of feraiseexcept.
11018
d38f1dba
UD
110192011-10-18 Ulrich Drepper <drepper@gmail.com>
11020
d9a8d0ab
UD
11021 * math/math_private.h: Define defaults for libc_fetestexcept and
11022 libc_feupdateenv.
11023 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
11024 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11025 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11026 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11027 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11028 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11029 libc_fetestexcept and libc_feupdateenv.
11030
4855e3dd
UD
11031 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
11032 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
11033 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
11034 * sysdeps/x86_64/fpu/math_private.h: Define special version of
11035 libc_feholdexcept_setround.
11036
581d30e3
UD
11037 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
11038 Add s_nearbyint-c and s_nearbyintf-c.
11039 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
11040 nearbyintf inlines.
11041 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
11042 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
11043 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
11044 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
11045
d38f1dba
UD
11046 * math/math_private.h: Define defaults for libc_fegetround,
11047 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
11048 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
11049 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
11050 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
11051 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
11052 standard functions.
11053 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11054 Remove comments and hacks for old compiler versions.
11055 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11056 libc_fegetround, libc_fesetround, libc_feholdexcept, and
11057 libc_feholdexceptl.
11058
caa6c9d8
AS
110592011-10-18 Andreas Schwab <schwab@redhat.com>
11060
11061 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
11062 (__feraiseexcept_renamed): Add __NTH.
11063 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
11064 namespace violations.
11065
97c066e6
UD
110662011-10-17 Ulrich Drepper <drepper@gmail.com>
11067
99ce7b04
UD
11068 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
11069
1004d182
UD
11070 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
11071
228a984d
UD
11072 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
11073 recently added interfaces.
11074 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
11075
c8553a6a
UD
11076 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
11077 about macro parameter expansion.
11078
ed22dcf6
UD
11079 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
11080 __NO_MATH_INLINES is defined. Cleanups.
11081
11082 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
11083 and __floorf is target has SSE4.1.
11084 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
11085 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
11086 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
11087 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
11088
b171c137
UD
11089 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
11090 name.
11091 (floorf): Likewise.
11092
97c066e6
UD
11093 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
11094
629f62ef
AS
110952011-10-17 Andreas Schwab <schwab@redhat.com>
11096
49a43d80
AS
11097 * misc/sys/cdefs.h: Fix last change.
11098
629f62ef
AS
11099 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
11100 database lookup.
11101
e453f6cd
UD
111022011-10-16 Ulrich Drepper <drepper@gmail.com>
11103
aa78043a
UD
11104 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
11105
ad0f5cad
UD
11106 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
11107 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11108 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11109 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11110 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11111 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11112 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11113 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11114 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11115 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11116 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11117 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11118 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11119 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11120 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11121 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11122 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11123 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11124 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11125 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11126 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11127 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11128
11129 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11130 ceil, ceilf, floor, floorf.
11131
11132 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11133 Perform IRELATIVE relocations last.
11134
e453f6cd
UD
11135 * elf/do-rel.h: Add another parameter nrelative, replacing the
11136 local variable with the same name. Change name of the function
11137 to end in Rel or Rela (uppercase).
11138 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11139 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
11140 elf_dynamic_do_##reloc function.
11141
fd5bdc09
UD
111422011-10-15 Ulrich Drepper <drepper@gmail.com>
11143
79b195b5
UD
11144 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11145 is sufficient, at least on modern CPUs.
11146
d4a28569
UD
11147 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11148
b61099b5
UD
11149 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11150 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11151
bcf01e6d
UD
11152 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11153 __expl_finite.
11154 * math/bits/math-finite.h: Add entries for exp.
11155 * math/e_expl.c: Add __*_finite alias.
11156 * sysdeps/i386/fpu/e_exp.S: Likewise.
11157 * sysdeps/i386/fpu/e_expf.S: Likewise.
11158 * sysdeps/i386/fpu/e_expl.c: Likewise.
11159 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11160 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11161 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11162 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11163 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11164 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11165 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11166
ba1a0d59
UD
11167 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11168 is sufficient, at least on modern CPUs.
11169
fd5bdc09
UD
11170 * ctype/ctype-info.c (__ctype_init): Define.
11171 * include/ctype.h (__ctype_init): Declare.
11172 (__ctype_b_loc): The variable is always initialized.
11173 (__ctype_toupper_loc): Likewise.
11174 (__ctype_tolower_loc): Likewise.
11175 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11176 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11177
7872cfb0
AS
111782011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11179
b468825a
AS
11180 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11181
7872cfb0
AS
11182 * configure.in: Also look in $cxxmachine/include for C++ system
11183 headers.
11184
be13f7bf
LD
111852011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11186
11187 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11188 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11189 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11190 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11191 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11192 (USE_AS_WMEMCMP): New macro.
11193 Fixing indents.
11194 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11195 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11196 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11197 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11198 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11199 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11200 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11201 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11202 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11203 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11204 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11205 (USE_AS_WMEMCMP): New macro.
11206 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11207 * sysdeps/string/test-memcmp.c: Update.
11208 Fix simple_wmemcmp.
11209 Add new tests.
11210 * wcsmbs/wmemcmp.c: Update.
11211 (WMEMCMP): New macro.
11212 Fix overflow bug.
11213
556a2007
AJ
112142011-10-12 Andreas Jaeger <aj@suse.de>
11215
11216 [BZ #13268]
11217 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11218
538faaa7
UD
112192011-10-15 Ulrich Drepper <drepper@gmail.com>
11220
ab6737ff
UD
11221 * libio/iofwide.c (do_length): Avoid warning.
11222
538faaa7
UD
11223 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11224
396a21b1
UD
112252011-10-14 Ulrich Drepper <drepper@gmail.com>
11226
cdf2901f
UD
11227 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11228
38ad40ce
UD
11229 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11230 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11231 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11232 * sysdeps/i386/i686/fpu/e_log.S: New file.
11233 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11234 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11235
396a21b1
UD
11236 * ctype/ctype.h: Add support for inlined isXXX functions when
11237 compiling C++ code.
11238
6b1f68c9
AS
112392011-10-14 Andreas Schwab <schwab@redhat.com>
11240
349290c0
AS
11241 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11242
6b1f68c9
AS
11243 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11244
f2282d42
RM
112452011-10-13 Roland McGrath <roland@hack.frob.com>
11246
11247 [BZ #13291]
11248 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11249
5298ffa8
AS
112502011-10-13 Andreas Schwab <schwab@redhat.com>
11251
714fad23
AS
11252 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11253 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11254 feraiseexcept.
11255
81dcc7fb
AS
11256 * sysdeps/x86_64/memrchr.S: Check for zero size.
11257
5298ffa8
AS
11258 * string/stratcliff.c: Add memrchr tests.
11259
951fbcec
LD
112602011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11261
11262 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11263 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11264 rawmemchr-sse2 rawmemchr-sse2-bsf.
11265 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11266 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11267 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11268 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11269 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11270 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11271 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11272 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11273 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11274 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11275 * string/memrchr.c (MEMRCHR): New macro.
11276
0ac5ae23
UD
112772011-10-12 Ulrich Drepper <drepper@gmail.com>
11278
11279 Add integration with gcc's -ffinite-math-only and optimize wrapper
11280 functions in libm.
11281 * Versions.def: Define GLIBC_2.15 version for libm.
11282 * math/Makefile (headers): Add bits/math-finite.h.
11283 * math/bits/math-finite.h: New file.
11284 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11285 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11286 * math/e_acoshl.c: Add __*_finite alias.
11287 * math/e_acosl.c: Likewise.
11288 * math/e_asinl.c: Likewise.
11289 * math/e_atan2l.c: Likewise.
11290 * math/e_atanhl.c: Likewise.
11291 * math/e_coshl.c: Likewise.
11292 * math/e_exp10.c: Likewise.
11293 * math/e_exp10f.c: Likewise.
11294 * math/e_exp10l.c: Likewise.
11295 * math/e_exp2l.c: Likewise.
11296 * math/e_fmodl.c: Likewise.
11297 * math/e_gammal_r.c: Likewise.
11298 * math/e_hypotl.c: Likewise.
11299 * math/e_j0l.c: Likewise.
11300 * math/e_j1l.c: Likewise.
11301 * math/e_jnl.c: Likewise.
11302 * math/e_lgammal_r.c: Likewise.
11303 * math/e_log10l.c: Likewise.
11304 * math/e_log2l.c: Likewise.
11305 * math/e_logl.c: Likewise.
11306 * math/e_powl.c: Likewise.
11307 * math/e_sinhl.c: Likewise.
11308 * math/e_sqrtl.c: Likewise.
11309 * math/e_scalb.c: Completely rewritten and optimized.
11310 * math/e_scalbf.c: Likewise.
11311 * math/e_scalbl.c: Likewise.
11312 * math/w_acos.c: Likewise.
11313 * math/w_acosf.c: Likewise.
11314 * math/w_acosl.c: Likewise.
11315 * math/w_acosh.c: Likewise.
11316 * math/w_acoshf.c: Likewise.
11317 * math/w_acoshl.c: Likewise.
11318 * math/w_asin.c: Likewise.
11319 * math/w_asinf.c: Likewise.
11320 * math/w_asinl.c: Likewise.
11321 * math/w_atan2.c: Likewise.
11322 * math/w_atan2f.c: Likewise.
11323 * math/w_atan2l.c: Likewise.
11324 * math/w_atanh.c: Likewise.
11325 * math/w_atanhf.c: Likewise.
11326 * math/w_atanhl.c: Likewise.
11327 * math/w_exp10.c: Likewise.
11328 * math/w_exp10f.c: Likewise.
11329 * math/w_exp10l.c: Likewise.
11330 * math/w_fmod.c: Likewise.
11331 * math/w_fmodf.c: Likewise.
11332 * math/w_fmodl.c: Likewise.
11333 * math/w_j0.c: Likewise.
11334 * math/w_j0f.c: Likewise.
11335 * math/w_j0l.c: Likewise.
11336 * math/w_j1.c: Likewise.
11337 * math/w_j1f.c: Likewise.
11338 * math/w_j1l.c: Likewise.
11339 * math/w_jn.c: Likewise.
11340 * math/w_jnf.c: Likewise.
11341 * math/w_log.c: Likewise.
11342 * math/w_logf.c: Likewise.
11343 * math/w_logl.c: Likewise.
11344 * math/w_log10.c: Likewise.
11345 * math/w_log10f.c: Likewise.
11346 * math/w_log10l.c: Likewise.
11347 * math/w_log2.c: Likewise.
11348 * math/w_log2f.c: Likewise.
11349 * math/w_log2l.c: Likewise.
11350 * math/w_pow.c: Likewise.
11351 * math/w_powf.c: Likewise.
11352 * math/w_powl.c: Likewise.
11353 * math/w_remainder.c: Likewise.
11354 * math/w_remainderf.c: Likewise.
11355 * math/w_remainderl.c: Likewise.
11356 * math/w_scalb.c: Likewise.
11357 * math/w_scalbf.c: Likewise.
11358 * math/w_scalbl.c: Likewise.
11359 * math/w_sqrt.c: Likewise.
11360 * math/w_sqrtf.c: Likewise.
11361 * math/w_sqrtl.c: Likewise.
11362 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11363 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11364 used.
11365 * math/math_private.h: Declare __kernel_standard_f.
11366 * math/w_cosh.c: Remove cruft and optimize a bit.
11367 * math/w_coshf.c: Likewise.
11368 * math/w_coshl.c: Likewise.
11369 * math/w_exp2.c: Likewise.
11370 * math/w_exp2f.c: Likewise.
11371 * math/w_exp2l.c: Likewise.
11372 * math/w_hypot.c: Likewise.
11373 * math/w_hypotf.c: Likewise.
11374 * math/w_hypotl.c: Likewise.
11375 * math/w_lgamma.c: Likewise.
11376 * math/w_lgamma_r.c: Likewise.
11377 * math/w_lgammaf.c: Likewise.
11378 * math/w_lgammaf_r.c: Likewise.
11379 * math/w_lgammal.c: Likewise.
11380 * math/w_lgammal_r.c: Likewise.
11381 * math/w_sinh.c: Likewise.
11382 * math/w_sinhf.c: Likewise.
11383 * math/w_sinhl.c: Likewise.
11384 * math/w_tgamma.c: Likewise.
11385 * math/w_tgammaf.c: Likewise.
11386 * math/w_tgammal.c: Likewise.
11387 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11388 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11389 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11390 Minor optimizations. Pretty printing. Remove cruft.
11391 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11392 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11393 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11394 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11395 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11396 * sysdeps/i386/fpu/e_asin.S: Likewise.
11397 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11398 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11399 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11400 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11401 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11402 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11403 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11404 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11405 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11406 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11407 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11408 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11409 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11410 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11411 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11412 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11413 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11414 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11415 * sysdeps/i386/fpu/e_log.S: Likewise.
11416 * sysdeps/i386/fpu/e_log10.S: Likewise.
11417 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11418 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11419 * sysdeps/i386/fpu/e_log2.S: Likewise.
11420 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11421 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11422 * sysdeps/i386/fpu/e_logf.S: Likewise.
11423 * sysdeps/i386/fpu/e_logl.S: Likewise.
11424 * sysdeps/i386/fpu/e_pow.S: Likewise.
11425 * sysdeps/i386/fpu/e_powf.S: Likewise.
11426 * sysdeps/i386/fpu/e_powl.S: Likewise.
11427 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11428 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11429 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11430 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11431 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11432 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11433 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11434 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11435 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11436 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11437 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11438 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11439 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11440 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11441 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11442 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11443 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11444 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11445 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11446 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11447 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11448 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11449 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11450 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11451 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11452 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11453 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11454 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11455 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11456 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11457 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11458 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11459 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11460 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11461 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11462 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11463 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11464 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11465 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11466 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11467 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11468 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11469 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11470 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11471 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11472 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11473 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11474 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11475 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11476 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11477 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11478 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11479 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11480 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11481 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11482 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11483 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11484 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11485 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11486 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11487 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11488 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11489 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11490 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11491 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11492 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11493 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11494 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11495 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11496 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11497 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11498 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11499 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11500 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11501 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11502 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11503 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11504 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11505 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11506 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11507 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11508 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11509 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11510 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11511 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11512 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11513 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11514 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11515 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11516 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11517 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11518 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11519 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11520 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11521 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11522 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11523 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11524 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11525 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11526 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11527 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11528 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11529 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11530 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11531 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11532 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11533 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11534 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11535 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11536 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11537 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11538 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11539 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11540 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11541 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11542 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11543 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11544 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11545 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11546 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11547 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11548 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11549 (__isnanf): Likewise.
11550 (__isinf_ns): Likewise.
11551 (__isinf_nsf): Likewise.
11552 (__finite): Likewise.
11553 (__finitef): Likewise.
11554 (__ieee754_sqrt): Define as macro.
11555 (__ieee754_sqrtf): Define as macro.
11556 (__ieee754_sqrtl): Define as macro.
11557 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11558 inlined copy.
11559 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11560 __FINITE_MATH_ONLY__ consistent.
11561 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11562
12cc2fcd
AS
115632011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11564
a843a204
AS
11565 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11566 of rawmemchr.
11567
12cc2fcd
AS
11568 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11569
c853acd5
UD
115702011-10-09 Ulrich Drepper <drepper@gmail.com>
11571
11572 * po/ja.po: Update from translation team.
11573
c658d255
RM
115742011-10-08 Roland McGrath <roland@hack.frob.com>
11575
110946e4
RM
11576 * locale/programs/locarchive.c (prepare_address_space): New function.
11577 (create_archive, enlarge_archive, open_archive): Use it.
11578
50604220
RM
11579 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11580 inside [SHARED], where it is used.
11581
c658d255
RM
11582 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11583
11584 * nss/getent.c (netgroup_keys): Remove unused variable.
11585 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11586
6a621eb7
UD
115872011-10-08 Ulrich Drepper <drepper@gmail.com>
11588
7edb55ce
UD
11589 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11590 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11591 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11592 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11593 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11594 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11595 * math/Makefile (libm-calls): Add s_isinf_ns.
11596 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11597 * math/multc3.c: Likewise.
11598 * math/s_casin.c: Likewise.
11599 * math/s_casinf.c: Likewise.
11600 * math/s_casinl.c: Likewise.
11601 * math/s_ccos.c: Likewise.
11602 * math/s_ccosf.c: Likewise.
11603 * math/s_ccosl.c: Likewise.
11604 * math/s_ctan.c: Likewise.
11605 * math/s_ctanf.c: Likewise.
11606 * math/s_ctanh.c: Likewise.
11607 * math/s_ctanhf.c: Likewise.
11608 * math/s_ctanhl.c: Likewise.
11609 * math/s_ctanl.c: Likewise.
11610 * math/w_fmod.c: Likewise.
11611 * math/w_fmodf.c: Likewise.
11612 * math/w_fmodl.c: Likewise.
11613 * math/w_remainder.c: Likewise.
11614 * math/w_remainderf.c: Likewise.
11615 * math/w_remainderl.c: Likewise.
11616 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11617 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11618 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11619 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11620 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11621 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11622 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11623 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11624
187da0ae
UD
11625 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11626 of the number.
11627 * stdio-common/printf_fphex.c: Likewise.
11628 * stdio-common/printf_size.c: Likewise.
11629
9277c064
UD
11630 * math/e_exp10.c: Include math_private.h using <...> not "...".
11631 * math/e_exp10f.c: Likewise.
11632 * math/e_exp10l.c: Likewise.
11633 * math/e_exp2l.c: Likewise.
11634 * math/e_j0l.c: Likewise.
11635 * math/e_j1l.c: Likewise.
11636 * math/e_jnl.c: Likewise.
11637 * math/e_lgammal_r.c: Likewise.
11638 * math/e_rem_pio2l.c: Likewise.
11639 * math/e_scalb.c: Likewise.
11640 * math/e_scalbf.c: Likewise.
11641 * math/e_scalbl.c: Likewise.
11642 * math/k_cosl.c: Likewise.
11643 * math/k_sinl.c: Likewise.
11644 * math/k_tanl.c: Likewise.
11645 * math/s_cacoshf.c: Likewise.
11646 * math/s_catan.c: Likewise.
11647 * math/s_catanf.c: Likewise.
11648 * math/s_catanh.c: Likewise.
11649 * math/s_catanhf.c: Likewise.
11650 * math/s_catanhl.c: Likewise.
11651 * math/s_catanl.c: Likewise.
11652 * math/s_ccosh.c: Likewise.
11653 * math/s_ccoshf.c: Likewise.
11654 * math/s_ccoshl.c: Likewise.
11655 * math/s_cexp.c: Likewise.
11656 * math/s_cexpf.c: Likewise.
11657 * math/s_cexpl.c: Likewise.
11658 * math/s_clog.c: Likewise.
11659 * math/s_clog10.c: Likewise.
11660 * math/s_clog10f.c: Likewise.
11661 * math/s_clog10l.c: Likewise.
11662 * math/s_clogf.c: Likewise.
11663 * math/s_clogl.c: Likewise.
11664 * math/s_csin.c: Likewise.
11665 * math/s_csinf.c: Likewise.
11666 * math/s_csinh.c: Likewise.
11667 * math/s_csinhf.c: Likewise.
11668 * math/s_csinhl.c: Likewise.
11669 * math/s_csinl.c: Likewise.
11670 * math/s_csqrt.c: Likewise.
11671 * math/s_csqrtf.c: Likewise.
11672 * math/s_csqrtl.c: Likewise.
11673 * math/s_ctan.c: Likewise.
11674 * math/s_ctanf.c: Likewise.
11675 * math/s_ctanh.c: Likewise.
11676 * math/s_ctanhf.c: Likewise.
11677 * math/s_ctanhl.c: Likewise.
11678 * math/s_ctanl.c: Likewise.
11679 * math/s_ldexp.c: Likewise.
11680 * math/s_ldexpf.c: Likewise.
11681 * math/s_ldexpl.c: Likewise.
11682 * math/s_significand.c: Likewise.
11683 * math/s_significandf.c: Likewise.
11684 * math/s_significandl.c: Likewise.
11685 * math/w_acos.c: Likewise.
11686 * math/w_acosf.c: Likewise.
11687 * math/w_acosh.c: Likewise.
11688 * math/w_acoshf.c: Likewise.
11689 * math/w_acoshl.c: Likewise.
11690 * math/w_acosl.c: Likewise.
11691 * math/w_asin.c: Likewise.
11692 * math/w_asinf.c: Likewise.
11693 * math/w_asinl.c: Likewise.
11694 * math/w_atan2.c: Likewise.
11695 * math/w_atan2f.c: Likewise.
11696 * math/w_atan2l.c: Likewise.
11697 * math/w_atanh.c: Likewise.
11698 * math/w_atanhf.c: Likewise.
11699 * math/w_atanhl.c: Likewise.
11700 * math/w_cosh.c: Likewise.
11701 * math/w_coshf.c: Likewise.
11702 * math/w_coshl.c: Likewise.
11703 * math/w_dremf.c: Likewise.
11704 * math/w_exp10.c: Likewise.
11705 * math/w_exp10f.c: Likewise.
11706 * math/w_exp10l.c: Likewise.
11707 * math/w_exp2.c: Likewise.
11708 * math/w_exp2f.c: Likewise.
11709 * math/w_fmod.c: Likewise.
11710 * math/w_fmodf.c: Likewise.
11711 * math/w_fmodl.c: Likewise.
11712 * math/w_hypot.c: Likewise.
11713 * math/w_hypotf.c: Likewise.
11714 * math/w_hypotl.c: Likewise.
11715 * math/w_j0.c: Likewise.
11716 * math/w_j0f.c: Likewise.
11717 * math/w_j0l.c: Likewise.
11718 * math/w_j1.c: Likewise.
11719 * math/w_j1f.c: Likewise.
11720 * math/w_j1l.c: Likewise.
11721 * math/w_jn.c: Likewise.
11722 * math/w_jnf.c: Likewise.
11723 * math/w_jnl.c: Likewise.
11724 * math/w_lgamma.c: Likewise.
11725 * math/w_lgamma_r.c: Likewise.
11726 * math/w_lgammaf.c: Likewise.
11727 * math/w_lgammaf_r.c: Likewise.
11728 * math/w_lgammal.c: Likewise.
11729 * math/w_lgammal_r.c: Likewise.
11730 * math/w_log.c: Likewise.
11731 * math/w_log10.c: Likewise.
11732 * math/w_log10f.c: Likewise.
11733 * math/w_log10l.c: Likewise.
11734 * math/w_log2.c: Likewise.
11735 * math/w_log2f.c: Likewise.
11736 * math/w_log2l.c: Likewise.
11737 * math/w_logf.c: Likewise.
11738 * math/w_logl.c: Likewise.
11739 * math/w_pow.c: Likewise.
11740 * math/w_powf.c: Likewise.
11741 * math/w_powl.c: Likewise.
11742 * math/w_remainder.c: Likewise.
11743 * math/w_remainderf.c: Likewise.
11744 * math/w_remainderl.c: Likewise.
11745 * math/w_scalb.c: Likewise.
11746 * math/w_scalbf.c: Likewise.
11747 * math/w_scalbl.c: Likewise.
11748 * math/w_sinh.c: Likewise.
11749 * math/w_sinhf.c: Likewise.
11750 * math/w_sinhl.c: Likewise.
11751 * math/w_sqrt.c: Likewise.
11752 * math/w_sqrtf.c: Likewise.
11753 * math/w_sqrtl.c: Likewise.
11754 * math/w_tgamma.c: Likewise.
11755 * math/w_tgammaf.c: Likewise.
11756 * math/w_tgammal.c: Likewise.
11757
6a621eb7
UD
11758 * po/ja.po: Update from translation team.
11759
bf582445
AJ
117602011-09-29 Andreas Jaeger <aj@suse.de>
11761
f9efbf3a
AJ
11762 [BZ #13179]
11763 * sunrpc/netname.c (netname2host): Fix logic.
11764
bf582445
AJ
11765 [BZ #6779]
11766 [BZ #6783]
11767 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11768 correctly.
11769 * math/w_remainder.c (__remainder): Likewise.
11770 * math/w_remainderf.c (__remainderf): Likewise.
11771 * math/libm-test.inc (remainder_test): Add test cases.
11772
48693bea
AK
117732011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11774
11775 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11776 sdiv_qrnnd.
11777
42622229
LD
117782011-10-07 Ulrich Drepper <drepper@gmail.com>
11779
11780 * string/test-memcmp.c: Avoid unncessary #defines.
11781 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11782
093ecf92
LD
117832011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11784
11785 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11786 Use new sse2 version for core i3 - i7 as it's faster
11787 than sse42 version.
11788 (bit_Prefer_PMINUB_for_stringop): New.
11789 * sysdeps/x86_64/rawmemchr.S: Update.
11790 Replace with faster SSE2 version.
11791 * sysdeps/x86_64/memrchr.S: New file.
11792 * sysdeps/x86_64/memchr.S: Update.
11793 Replace with faster SSE2 version.
11794
fde56e5c
MP
117952011-09-12 Marek Polacek <mpolacek@redhat.com>
11796
11797 * elf/dl-load.c (lose): Add cast to avoid warning.
11798
21fd49a9
UD
117992011-10-07 Ulrich Drepper <drepper@gmail.com>
11800
5a06e643
UD
11801 * po/ca.po: Update from translation team.
11802
684ae515
UD
11803 * inet/getnetgrent_r.c: Hook up nscd.
11804 * nscd/Makefile (routines): Add nscd_netgroup.
11805 (nscd-modules): Add netgroupcache.
11806 (CFLAGS-netgroupcache.c): Define.
11807 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11808 (cache_search): Add const to second parameter.
11809 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11810 INNETGR.
11811 (dbs): Add netgrdb entry.
11812 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11813 (verify_persistent_db): Handle netgrdb.
11814 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11815 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11816 GETFDNETGR.
11817 (netgroup_response_header): Define.
11818 (innetgroup_response_header): Define.
11819 (datahead): Add netgroup_response_header and innetgroup_response_header
11820 elements.
11821 * nscd/nscd.conf: Add entries for netgroup cache.
11822 * nscd/nscd.h (dbtype): Add netgrdb.
11823 (_PATH_NSCD_NETGROUP_DB): Define.
11824 (netgroup_iov_disabled): Declare.
11825 (xmalloc, xcalloc, xrealloc): Move declarations here.
11826 (cache_search): Adjust prototype.
11827 Add netgroup-related prototypes.
11828 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11829 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11830 (__nscd_innetgr): Declare.
11831 * nscd/selinux.c (perms): Use access_vector_t as element type and
11832 add netgroup-related initializers.
11833 * nscd/netgroupcache.c: New file.
11834 * nscd/nscd_netgroup.c: New file.
11835 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11836 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11837 For four parameters use innetgr.
11838 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11839 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11840 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11841 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11842
21fd49a9
UD
11843 * nscd/connections.c (register_traced_file): Don't register file
11844 for disabled databases.
11845
054c0457
UD
118462011-10-06 Ulrich Drepper <drepper@gmail.com>
11847
32b63198
UD
11848 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11849
054c0457
UD
11850 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11851 from tree and freeing node.
11852
64031225
JO
118532011-09-25 Jiri Olsa <jolsa@redhat.com>
11854
11855 * nss/nsswitch.c (__nss_database_lookup): Handle
11856 nss_parse_service_list out of memory case.
11857
0490345c
JO
118582011-09-15 Jiri Olsa <jolsa@redhat.com>
11859
11860 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11861 out of memory case.
11862
3a62d00d
AS
118632011-10-04 Andreas Schwab <schwab@redhat.com>
11864
11865 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11866 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11867 pass it down.
11868 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11869 elf_machine_rela, elf_machine_lazy_rel.
11870 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11871 (ELF_DYNAMIC_DO_REL): Likewise.
11872 (ELF_DYNAMIC_DO_RELA): Likewise.
11873 (ELF_DYNAMIC_RELOCATE): Likewise.
11874 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11875 to ELF_DYNAMIC_DO_REL.
11876 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11877 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11878 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11879 elf_machine_rela.
11880 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11881 skip_ifunc, don't call ifunc function if non-zero.
11882 (elf_machine_rela): Likewise.
11883 (elf_machine_lazy_rel): Likewise.
11884 (elf_machine_lazy_rela): Likewise.
11885 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11886 (elf_machine_lazy_rel): Likewise.
11887 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11888 Likewise.
11889 (elf_machine_lazy_rel): Likewise.
11890 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11891 Likewise.
11892 (elf_machine_lazy_rel): Likewise.
11893 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11894 (elf_machine_lazy_rel): Likewise.
11895 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11896 (elf_machine_lazy_rel): Likewise.
11897 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11898 (elf_machine_lazy_rel): Likewise.
11899 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11900 (elf_machine_lazy_rel): Likewise.
11901 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11902 (elf_machine_lazy_rel): Likewise.
11903 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11904 (elf_machine_lazy_rel): Likewise.
11905
68577918
UD
119062011-09-28 Ulrich Drepper <drepper@gmail.com>
11907
11908 * nss/nss_files/files-init.c (_nss_files_init): Use static
11909 initialization for all the *_traced_file variables.
11910
68822d74
AS
119112011-09-28 Andreas Schwab <schwab@redhat.com>
11912
11913 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11914
2056100b
RM
119152011-09-27 Roland McGrath <roland@hack.frob.com>
11916
11917 [BZ #13226]
11918 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11919
32c76b63
AS
119202011-09-27 Andreas Schwab <schwab@redhat.com>
11921
11922 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11923 Reread the line before reparsing it.
11924
bf972c9d
AS
119252011-09-26 Andreas Schwab <schwab@redhat.com>
11926
11927 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11928
e057a1b5
JM
119292011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11930 Maxim Kuvyrkov <maxim@codesourcery.com>
11931 Joseph Myers <joseph@codesourcery.com>
11932
11933 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11934 if needed for __stack_chk_guard.
11935
bc7e1c36
RM
119362011-09-19 Roland McGrath <roland@hack.frob.com>
11937
ecb1482f
RM
11938 * sysdeps/posix/spawni.c (script_execute): Always define it.
11939 It will be optimized away if unused.
11940 (maybe_script_execute): New function.
11941 (__spawni): Call it.
11942
bc7e1c36
RM
11943 * Makerules: Don't include tls.make.
11944 (config-tls): Always set to thread.
11945 * tls.make.c: File removed.
11946
1c3b002b
MF
119472011-09-19 Mike Frysinger <vapier@gentoo.org>
11948
11949 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11950 * config.make.in (CPPFLAGS-config): New substituted variable.
11951
2840865d
UD
119522011-09-15 Ulrich Drepper <drepper@gmail.com>
11953
88738eb6
UD
11954 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11955
cbf645a6 11956 [BZ #13192]
2840865d
UD
11957 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11958 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11959
b402e91a
RM
119602011-09-15 Roland McGrath <roland@hack.frob.com>
11961
11962 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11963 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11964 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11965 (CALL_FAIL): Likewise.
11966 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11967 (CALL_FAIL): Macro removed.
11968 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11969
4c1a1f71
UD
119702011-09-15 Ulrich Drepper <drepper@gmail.com>
11971
11972 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11973 for __FINITE_MATH_ONLY__ == 1.
11974
edc121be
AS
119752011-09-15 Andreas Schwab <schwab@redhat.com>
11976
11977 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11978 __ieee754_sqrt instead of sqrt.
11979 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11980 __ieee754_sqrtf instead of sqrtf.
11981 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11982 __floorf instead of floorf.
11983 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11984 __floorf, __truncf instead of floorf, truncf.
11985
cd205654
UD
119862011-09-14 Ulrich Drepper <drepper@gmail.com>
11987
ee4d0315
UD
11988 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11989
cd205654
UD
11990 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11991 __extern_always_inline.
11992 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11993 32-bit.
11994
48b67d71
AS
119952011-09-14 Andreas Schwab <schwab@redhat.com>
11996
11997 * elf/rtld.c (dl_main): Also relocate in dependency order when
11998 doing symbol dependency testing.
11999
1ae12c75
AS
120002011-09-13 Andreas Schwab <schwab@linux-m68k.org>
12001
12002 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12003 Always define `refsym'.
12004
995a80df
AS
120052011-09-13 Andreas Schwab <schwab@redhat.com>
12006
e529793b
AS
12007 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
12008 (__FD_ELT): Renamed from __FDELT.
12009 * misc/bits/select2.h (__FD_ELT): Likewise.
12010 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
12011 __FD_MASK instead of __FDELT, __FDMASK.
12012 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12013 Likewise.
12014 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12015 Likewise.
12016
52d4fef8
AS
12017 * elf/Makefile (gen-ldd): Fix pattern.
12018
995a80df
AS
12019 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
12020 (init_tls): Likewise.
12021
8682f8b0
UD
120222011-09-12 Ulrich Drepper <drepper@gmail.com>
12023
12024 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
12025
de82006d
AS
120262011-09-12 Andreas Schwab <schwab@redhat.com>
12027
a7c8e6a1
AS
12028 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
12029 `struct cmsghdr *' instead of `void *'.
12030 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
12031 Likewise.
12032
0f31fe77
AS
120332011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12034
12035 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
12036 if non-absolute.
12037 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
12038 ldd_rewrite_script.
0f31fe77 12039
32b4c839
UD
120402011-09-11 Ulrich Drepper <drepper@gmail.com>
12041
83cd1420
UD
12042 * configure.in: Remove --with-tls option.
12043 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
12044 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
12045 out in case it is missing.
12046 * sysdeps/ia64/elf/configure.in: Likewise.
12047 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
12048 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
12049 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
12050 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
12051 * sysdeps/sh/elf/configure.in: Likewise.
12052 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
12053 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12054 * sysdeps/x86_64/elf/configure.in: Likewise.
12055 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
12056 * sysdeps/mach/hurd/tls.h: Likewise.
12057
633f745d
UD
12058 [BZ #13067]
12059 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
12060
f318beb8
UD
12061 [BZ #13090]
12062 * configure.in: Fix use of AC_INIT.
12063
32b4c839
UD
12064 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
12065
3ce1f295
UD
120662011-09-10 Ulrich Drepper <drepper@gmail.com>
12067
bb016596
UD
12068 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
12069 __set_errno.
8e58439c
UD
12070 * malloc/hooks.c: Likewise.
12071
aebae053 12072 [BZ #11929]
02d46fc4
UD
12073 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
12074 variables statically.
12075 (narenas): Initialize.
12076 (list_lock): Initialize.
bb016596
UD
12077 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
12078 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
12079 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
12080 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
12081 Add initializers to main_arena and mp_.
12082 (malloc_state): Remove pagesize member. Change all users to use
12083 GLRO(dl_pagesize).
12084
12085 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
12086 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
12087 is always initialized.
12088
22a89187
UD
12089 * malloc/malloc.c: Removed unused configurations and dead code.
12090 * malloc/arena.c: Likewise.
12091 * malloc/hooks.c: Likewise.
02d46fc4 12092 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 12093
d063d164
UD
12094 * include/tls.h: Removed. USE___THREAD must always be defined.
12095 * bits/libc-tsd.h: Don't handle !USE___THREAD.
12096 * elf/dl-libc.c: Likewise.
12097 * elf/dl-tsd.c: Likewise.
12098 * include/errno.h: Likewise.
12099 * include/netdb.h: Likewise.
12100 * include/resolv.h: Likewise.
12101 * inet/herrno-loc.c: Likewise.
12102 * inet/herrno.c: Likewise.
12103 * malloc/arena.c: Likewise.
12104 * malloc/hooks.c: Likewise.
12105 * malloc/malloc.c: Likewise.
12106 * resolv/res-state.c: Likewise.
12107 * resolv/res_libc.c: Likewise.
12108 * sysdeps/i386/dl-machine.h: Likewise.
12109 * sysdeps/ia64/dl-machine.h: Likewise.
12110 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12111 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12112 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12113 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12114 * sysdeps/sh/dl-machine.h: Likewise.
12115 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12116 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12117 * sysdeps/unix/i386/sysdep.S: Likewise.
12118 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12119 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12120 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12121 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12122 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12123 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12124 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12125 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12126 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12127 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12128 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12129 * sysdeps/x86_64/dl-machine.h: Likewise.
12130 * tls.make.c: Likewise.
12131
3ce1f295
UD
12132 * configure.in: Remove --with-__thread option. Make tests for
12133 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12134 tls_model attribute fail if no support is available. Remove
12135 USE_IN_LIBIO.
12136 * Makeconfig: Adjust for dropped configure option. All features are
12137 now mandatory.
12138 * Makerules: Likewise.
12139 * Versions.def: Likewise.
12140 * argp/argp-fmtstream.c: Likewise.
12141 * argp/argp-fmtstream.h: Likewise.
12142 * argp/argp-help.c: Likewise.
12143 * assert/assert.c: Likewise.
12144 * config.h.in: Likewise.
12145 * config.make.in: Likewise.
12146 * configure: Likewise.
12147 * configure.in: Likewise.
12148 * csu/Versions: Likewise.
12149 * csu/init.c: Likewise.
12150 * elf/tst-audit2.c: Likewise.
12151 * elf/tst-tls10.c: Likewise.
12152 * elf/tst-tls10.h: Likewise.
12153 * elf/tst-tls11.c: Likewise.
12154 * elf/tst-tls12.c: Likewise.
12155 * elf/tst-tls14.c: Likewise.
12156 * elf/tst-tlsmod11.c: Likewise.
12157 * elf/tst-tlsmod12.c: Likewise.
12158 * elf/tst-tlsmod13.c: Likewise.
12159 * elf/tst-tlsmod13a.c: Likewise.
12160 * elf/tst-tlsmod14a.c: Likewise.
12161 * elf/tst-tlsmod15b.c: Likewise.
12162 * elf/tst-tlsmod16a.c: Likewise.
12163 * elf/tst-tlsmod16b.c: Likewise.
12164 * elf/tst-tlsmod7.c: Likewise.
12165 * elf/tst-tlsmod8.c: Likewise.
12166 * elf/tst-tlsmod9.c: Likewise.
12167 * gmon/gmon.c: Likewise.
12168 * grp/fgetgrent_r.c: Likewise.
12169 * grp/putgrent.c: Likewise.
12170 * hurd/fopenport.c: Likewise.
12171 * include/libc-symbols.h: Likewise.
12172 * include/tls.h: Likewise.
12173 * intl/gettextP.h: Likewise.
12174 * intl/loadinfo.h: Likewise.
12175 * locale/global-locale.c: Likewise.
12176 * locale/localeinfo.h: Likewise.
12177 * mach/devstream.c: Likewise.
12178 * malloc/arena.c: Likewise.
12179 * malloc/set-freeres.c: Likewise.
12180 * misc/err.c: Likewise.
12181 * misc/getttyent.c: Likewise.
12182 * misc/mntent_r.c: Likewise.
12183 * posix/getopt.c: Likewise.
12184 * posix/wordexp.c: Likewise.
12185 * pwd/fgetpwent_r.c: Likewise.
12186 * resolv/Versions: Likewise.
12187 * resolv/res_hconf.c: Likewise.
12188 * shadow/fgetspent_r.c: Likewise.
12189 * shadow/putspent.c: Likewise.
12190 * stdio-common/printf_fphex.c: Likewise.
12191 * stdio-common/tmpfile.c: Likewise.
12192 * stdlib/abort.c: Likewise.
12193 * stdlib/fmtmsg.c: Likewise.
12194 * sunrpc/auth_unix.c: Likewise.
12195 * sunrpc/clnt_perr.c: Likewise.
12196 * sunrpc/clnt_tcp.c: Likewise.
12197 * sunrpc/clnt_udp.c: Likewise.
12198 * sunrpc/clnt_unix.c: Likewise.
12199 * sunrpc/openchild.c: Likewise.
12200 * sunrpc/svc_simple.c: Likewise.
12201 * sunrpc/svc_tcp.c: Likewise.
12202 * sunrpc/svc_udp.c: Likewise.
12203 * sunrpc/svc_unix.c: Likewise.
12204 * sunrpc/xdr.c: Likewise.
12205 * sunrpc/xdr_array.c: Likewise.
12206 * sunrpc/xdr_rec.c: Likewise.
12207 * sunrpc/xdr_ref.c: Likewise.
12208 * sunrpc/xdr_stdio.c: Likewise.
12209
1248c1c4
PB
122102011-09-09 Ulrich Drepper <drepper@gmail.com>
12211
12212 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12213
122142011-07-03 Andreas Jaeger <aj@suse.de>
12215
12216 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12217 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12218 regenerate with gen-libm-tests.pl.
12219
122202010-05-12 Petr Baudis <pasky@suse.cz>
12221
12222 [BZ #11589]
12223 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12224 around j0() zero points by switching to j1().
12225 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12226 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12227 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12228 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12229
f22e1074
UD
122302011-09-09 Ulrich Drepper <drepper@gmail.com>
12231
f19009c1
UD
12232 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12233 instead of 0.
12234 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12235 instead of 0. .
12236 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12237 Patch in part by Pavel Roskin <proski@gnu.org>.
12238
3f8cc204
UD
12239 [BZ #13138]
12240 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12241 realloc.
12242 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12243 Free memory block if necessary.
12244
f22e1074
UD
12245 [BZ #12847]
12246 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12247 be NULL. Don't lock in this case.
12248
0a2349f9
RM
122492011-09-09 Roland McGrath <roland@hack.frob.com>
12250
12251 * elf/elf.h (ELFOSABI_GNU): New macro.
12252 (ELFOSABI_LINUX): Define to that.
12253
f3cdd467
DZ
122542011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12255
12256 * string/strncat.c (strncat): Undef the symbol in case it has been
12257 defined in bits/string.h.
12258
74718d13
UD
122592011-09-09 Ulrich Drepper <drepper@gmail.com>
12260
633e9e0f
UD
12261 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12262
0a2349f9 12263 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
12264 link map.
12265
f9924780
AJ
122662011-08-17 Andreas Jaeger <aj@suse.de>
12267
12268 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12269
7f5517aa
PP
122702011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12271 Ian Lance Taylor <iant@google.com>
12272
12273 * math/libm-test.inc (lround_test): New testcase.
12274 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12275
762011fe
UD
122762011-09-08 Ulrich Drepper <drepper@gmail.com>
12277
92963737
UD
12278 * Makefile: Remove support for automatic cvs check-ins.
12279 * Makerules: Likewise.
12280 * config.make.in: Likewise.
12281 * configure.in: Likewise.
12282 * intl/Makefile: Likewise.
12283 * locale/Makefile: Likewise.
12284 * po/Makefile: Likewise.
12285 * posix/Makefile: Likewise.
12286 * sysdeps/gnu/Makefile: Likewise.
12287 * sysdeps/mach/hurd/Makefile: Likewise.
12288 * sysdeps/sparc/sparc32/Makefile: Likewise.
12289
b0727fd8
JS
12290 [BZ #13118]
12291 * posix/Makefile (bug-regex32-ENV): Define.
12292 Patch by John Stanley <jpsinthemix@verizon.net>.
12293
a0f33f99
UD
12294 * misc/Makefile (headers): Add bits/select2.h.
12295 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12296 * misc/bits/select2.h: New file.
12297 * include/bits/select2.h: New file.
12298 * debug/Makefile (routines): Add fdelt_chk.
12299 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12300 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12301 FD_ISSET.
12302 * debug/fdelt_chk.c: New file.
12303
762011fe
UD
12304 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12305 * wcsmbs/test-wmemcmp.c: Likewise.
12306 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 12307 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
12308
123092011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12310
12311 * string/Makefile (strop-tests): Add memcmp.
12312 * string/test-wmemcmp.c: New file.
12313 * string/test-memcmp.c: Add wmemcmp support.
12314
7f513ec8
RM
123152011-09-08 Roland McGrath <roland@hack.frob.com>
12316
0442afb4
RM
12317 [BZ #13153]
12318 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12319 2011-07-19 change.
12320
7f513ec8
RM
12321 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12322 garbage value in a __mach_port_mod_refs call in the cases of the
12323 task-self and thread-self ports.
12324
a12b2239
ST
123252011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12326
12327 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12328
610f9ab4
AS
123292011-09-08 Andreas Schwab <schwab@redhat.com>
12330
7f513ec8 12331 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 12332
48882a1a
LD
123332011-09-07 Ulrich Drepper <drepper@gmail.com>
12334
b49865be
UD
12335 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12336
fdc86bc9
UD
12337 * elf/dl-libc.c (dlerror_run): Pass back error code from
12338 dl_catch_error.
12339
c966526a
UD
12340 [BZ #13123]
12341 * elf/dl-load.c (lose): Free l_origin if it is valid.
12342
48882a1a
LD
12343 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12344 names.
12345 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12346 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12347 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12348 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12349 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12350 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12351
77a2a8b4
AZ
123522011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12353
12354 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12355 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12356 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12357 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12358 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12359 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12360 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12361 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12362 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12363 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12364
24f579d8
AM
123652011-08-15 Alan Modra <amodra@gmail.com>
12366
12367 [BZ #13092]
12368 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12369 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12370 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12371 ppc_mcount to static-only-routines.
12372 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12373 __mcount_internal.
12374 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12375 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12376
3d4837df
UD
123772011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12378
12379 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12380 for finite and infinity parameters.
12381
22700377
WS
123822011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12383
12384 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12385 and add nop instructions for throughput optimization.
12386 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12387
5025581e
WS
123882011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12389
12390 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12391 aligned copy for power7 with vector-scalar instructions.
12392 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12393
08a300c9
L
123942011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12395
12396 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12397 AVX check.
12398
59178ef9
AS
123992011-09-07 Andreas Schwab <schwab@redhat.com>
12400
12401 [BZ #13144]
12402 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12403 last change.
12404
e38ba7ab
UD
124052011-09-07 Ulrich Drepper <drepper@gmail.com>
12406
12407 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12408 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12409 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12410 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12411 clock_gettime.
12412
d53a73ac
UD
124132011-09-06 Ulrich Drepper <drepper@gmail.com>
12414
fc8bffcc
UD
12415 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12416 Forgot to demangle the pointer.
12417
ceaa0c5d
UD
12418 * sysdeps/i386/sysdep.h: Define atom_text_section.
12419 * sysdeps/x86_64/sysdep.h: Likewise.
12420 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12421 section with atom_text_section.
12422 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12423 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12424 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12425 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12426 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12427
a77d3c17
UD
12428 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12429 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12430 already be defined. Change to take two parameters and don't assign
12431 result to variable. Adjust all users.
12432 Define INTERNAL_GETTIME if not already defined.
12433 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12434 call.
12435 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12436 HAVE_CLOCK_GETTIME_VSYSCALL.
12437 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12438
d53a73ac
UD
12439 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12440 gettimeofday vsyscall, just use time.
12441
a8f84144
AS
124422011-09-06 Andreas Schwab <schwab@redhat.com>
12443
12444 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12445 <errno.h>.
12446
ef606249
UD
124472011-09-06 Ulrich Drepper <drepper@gmail.com>
12448
12449 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12450 syscall on x86-64.
12451 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12452 syscall.
12453 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12454 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12455 syscall if possible.
12456
6585cb60
UD
124572011-09-05 Ulrich Drepper <drepper@gmail.com>
12458
12459 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12460 e_ident. Don't pass to find_mapsXX.
12461 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12462
a5f524e4
LD
124632011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12464
12465 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12466 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12467 * sysdeps/x86_64/multiarch/strchr.S: Update.
12468 Check bit_slow_BSF bit.
12469 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12470 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12471 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12472
554881ef
UD
124732011-09-05 Ulrich Drepper <drepper@gmail.com>
12474
d96de963
UD
12475 [BZ #13134]
12476 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12477 before glibc 2.15.
12478 (tryshell): Define.
12479 (__spawni): Change last parameter to be flag. Test
12480 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12481 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12482 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12483 * posix/spawni.c: Likewise.
12484 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12485 * posix/spawnp.c: Likewise. Change normal version to use
12486 SPAWN_XFLAGS_USE_PATH.
12487 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12488 SPAWN_XFLAGS_TRY_SHELL.
12489
d48e5868
UD
12490 [BZ #13150]
12491 * posix/glob.h: Remove gcc 1.x support.
12492
554881ef
UD
12493 [BZ #13068]
12494 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12495
693fb948
LD
124962011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12497
12498 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12499 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12500 strrchr-sse2-bsf
12501 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12502 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12503 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12504 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12505 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12506 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12507
1b48c537
UD
125082011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12509
49d42c37
UD
12510 * sysdeps/x86_64/wcscmp.S: New file.
12511
1b48c537
UD
12512 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12513 wcscmp-c wcscmp-sse2
12514 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12515 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12516 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12517 * wcsmbs/wcscmp.c: Allow renaming.
12518
15c95c5d
DM
125192011-09-05 David S. Miller <davem@davemloft.net>
12520
12521 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12522 stack slot, rather than the struct return pointer slot.
12523 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12524 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12526 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12527
2f0ad8f3
UD
125282011-09-05 Ulrich Drepper <drepper@gmail.com>
12529
d88ae418
UD
12530 * po/ja.po: Update from translation team.
12531
2f0ad8f3
UD
12532 [BZ #13144]
12533 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12534 kernel in 64-bit binaries.
12535
5f4318d1
DM
125362011-09-01 David S. Miller <davem@davemloft.net>
12537
12538 * elf/elf.h (HWCAP_SPARC_*): Move to..
12539 * sysdeps/sparc/sysdep.h: this new file and add new values.
12540 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12541 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12542 _DL_HWCAP_COUNT to 24.
12543 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12544 entries.
12545 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12546 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12547 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12548 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12549 instead of magic constants.
12550 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12551
3ba57516
DM
125522011-08-31 David S. Miller <davem@davemloft.net>
12553
12554 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12555 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12556 Reimplement to do errno handling inline.
12557 (SYSCALL_ERROR_HANDLER): New macro.
12558 (__SYSCALL_STRING): Do not do errno handling in asm.
12559 (__CLONE_SYSCALL_STRING): Delete.
12560 (__INTERNAL_SYSCALL_STRING): Delete.
12561 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12562 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12563 (PSEUDO): Reimplement to do errno handling inline.
12564 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12565 (SYSCALL_ERROR_HANDLER): New macro.
12566 (__SYSCALL_STRING): Do not do errno handling in asm.
12567 (__CLONE_SYSCALL_STRING): Delete.
12568 (__INTERNAL_SYSCALL_STRING): Delete.
12569 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12570 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12571 i386.
12572 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12573 (inline_syscall*): Add 'err' argument.
12574 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12575 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12576 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12577 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12578
12579 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12580 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12581
2bc17433
AS
125822011-08-30 Andreas Schwab <schwab@redhat.com>
12583
12584 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12585
fbeb5f4d
JO
125862011-08-29 Jiri Olsa <jolsa@redhat.com>
12587
12588 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12589 directive.
12590
ad69cc26
DM
125912011-08-24 David S. Miller <davem@davemloft.net>
12592
12593 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12594
39dd69df
AS
125952011-08-24 Andreas Schwab <schwab@redhat.com>
12596
12597 * elf/Makefile: Add rules to build and run unload8 test.
12598 * elf/unload8.c: New file.
12599 * elf/unload8mod1.c: New file.
12600 * elf/unload8mod1x.c: New file.
12601 * elf/unload8mod2.c: New file.
12602 * elf/unload8mod3.c: New file.
12603
12604 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12605 it wasn't used.
12606
2c0b250a
DM
126072011-08-23 David S. Miller <davem@davemloft.net>
12608
12609 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12610 subtract stack bias.
12611 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12612 %sp not %fp in calculations.
12613 (_JMPBUF_UNWINDS_ADJ): Likewise.
12614
22044b48
DM
12615 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12616 (aio_suspend): Call it to force an exception region around the
12617 AIO_MISC_WAIT() invocation.
12618
2cae4995
AS
126192011-08-23 Andreas Schwab <schwab@redhat.com>
12620
12621 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12622 backslash.
12623
873a772e
AJ
126242011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12625
12626 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12627 protection macro.
12628 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12629 and <dl-machine.h>.
12630 (Elf64_FuncDesc): Remove.
12631
25ad0df1
DM
126322011-08-22 David S. Miller <davem@davemloft.net>
12633
12634 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12635 sigaltstack check, add missing cfi directives.
12636 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12637 missing cfi directives, and sigaltstack handling.
12638
e888bcbe
AS
126392011-08-16 Andreas Schwab <schwab@redhat.com>
12640
12641 [BZ #11724]
12642 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12643 object is seen twice.
12644 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12645
12646 * elf/Makefile (distribute): Add tst-initorder2.c.
12647 (tests): Add tst-initorder2.
12648 (modules-names): Add tst-initorder2a tst-initorder2b
12649 tst-initorder2c tst-initorder2d. Add rules to build them.
12650 ($(objpfx)tst-initorder2.out): New rule.
12651 * elf/tst-initorder2.c: New file.
12652 * elf/tst-initorder2.exp: New file.
12653
87162f46
AS
126542011-08-22 Andreas Schwab <schwab@redhat.com>
12655
70538b7f
AS
12656 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12657
f55ffe58
AS
12658 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12659 dependencies back to end of function.
12660
87162f46
AS
12661 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12662 $(elfobjdir)/ld.so.
12663
91b392a4
UD
126642011-08-21 Ulrich Drepper <drepper@gmail.com>
12665
12666 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12667 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12668 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12669 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12670 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12671 of __vdso_gettimeofday.
12672 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12673 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12674 attribute_hidden.
12675 (_libc_vdso_platform_setup): Remove initialization of
12676 __vdso_gettimeofday and __vdso_time.
12677
5c43483f
UD
126782011-08-20 Ulrich Drepper <drepper@gmail.com>
12679
775a77e7
UD
12680 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12681 and fgetc_unlocked.
12682 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12683 getc_unlocked.
89f447ed 12684
49c74ba9
UD
12685 * elf/dl-open.c (add_to_global): Report additions to the global scope
12686 for LD_DEBUG=scopes.
12687 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 12688 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 12689
5c43483f
UD
12690 [BZ #13114]
12691 * stdio-common/Makefile (tests): Add bug24.
12692 * stdio-common/bug24.c: New file.
12693
a101b025
AJ
126942011-08-19 Andreas Jaeger <aj@suse.de>
12695
12696 [BZ #13114]
12697 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12698 non-existant file when using close-on-exec mode.
12699
c88f1766
UD
127002011-08-20 Ulrich Drepper <drepper@gmail.com>
12701
0276a718
UD
12702 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12703 the very first instruction.
12704
c88f1766
UD
12705 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12706 the CFI state in the end.
12707 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12708 inclusion of dl-trampoline.h.
12709 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12710
51ccffa0
AS
127112011-08-19 Andreas Schwab <schwab@redhat.com>
12712
94d7165f
AS
12713 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12714 expectations for long double.
12715
51ccffa0
AS
12716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12717 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12718
fd708658 127192011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
12720
12721 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12722 artificual limit depends upon the system page size.
12723
44f0a71e
UD
127242011-08-17 Ulrich Drepper <drepper@gmail.com>
12725
12726 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12727 * resolv/Makefile: Define CFLAGS-libresolv.
12728
8de79a24
AS
127292011-08-17 Andreas Schwab <schwab@redhat.com>
12730
12731 * nss/makedb.c (compute_tables): Make variables used in nested
12732 function static.
12733
27724598
UD
127342011-08-17 Ulrich Drepper <drepper@gmail.com>
12735
c5305d88
UD
12736 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12737 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12738 if buffer was too small.
12739
27724598
UD
12740 * elf/pldd.c (main): Attach to all threads in the process.
12741 Rewrite /proc handling to use *at functions.
12742
076fe015
UD
127432011-08-16 Ulrich Drepper <drepper@gmail.com>
12744
174baab3
UD
12745 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12746 specifies first scope to show.
12747 (dl_open_worker): Update callers. Move printing scope of new
12748 object to before the relocation.
44f0a71e 12749 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
12750 * sysdeps/generic/ldsodefs.h: Update declaration.
12751
076fe015
UD
12752 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12753 string for the scope number.
12754
a60df2c3
UD
127552011-08-14 Ulrich Drepper <drepper@gmail.com>
12756
12757 * nscd/servicescache.c (cache_addserv): Make sure written is always
12758 initialized.
12759
5e4287d1
RM
127602011-08-14 Roland McGrath <roland@hack.frob.com>
12761
85ae0589
RM
12762 * sysdeps/i386/i486/bits/atomic.h
12763 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12764 statement expression, so as to suppress "set but not used" warning.
12765 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12766
69f63097
RM
12767 * string/strncat.c (STRNCAT): Use prototype definition.
12768
675456ef
RM
12769 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12770 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12771 -Iprograms here.
12772 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12773 (localedef-modules): Add localedef.
12774 (locale-modules): Add locale.
12775
5e4287d1
RM
12776 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12777 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12778 to avoid a warning.
12779
9c96ff23
DM
127802011-08-14 David S. Miller <davem@davemloft.net>
12781
12782 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12783 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12784
f9ddf089
UD
127852011-08-13 Ulrich Drepper <drepper@gmail.com>
12786
44f0a71e 12787 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
12788 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12789 * elf/rtld.c (dl_main): Set l_name of vDSO.
12790 Call _dl_show_scope when DL_DEBUG_SCOPES.
12791 (process_dl_debug): Recognize scopes flag and also set it for all.
12792 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12793 Declare _dl_show_scope.
12794
1dc27704
UD
12795 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12796 (do_dlopen): Pass caller_dlopen to dl_open.
12797 (__libc_dlopen_mode): Initialize caller_dlopen.
12798
f9ddf089
UD
12799 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12800 of libc. Make tolower call locale-independent. Optimize a bit by
12801 using isdigit instead of isalnum.
12802 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12803
9ac533d3
UD
128042011-08-12 Ulrich Drepper <drepper@gmail.com>
12805
12806 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12807 was a dependency or dynamically loaded.
12808
89edf2e9
UD
128092011-08-11 Ulrich Drepper <drepper@gmail.com>
12810
8e999d29
UD
12811 * intl/l10nflist.c: Allow architecture-specific pop function.
12812 * sysdeps/x86_64/l10nflist.c: New file.
12813
89edf2e9
UD
12814 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12815 classification.
12816
14d96785
AS
128172011-08-10 Andreas Schwab <schwab@redhat.com>
12818
12819 * include/dirent.h: Add libc_hidden_proto for scandirat and
12820 scandirat64. Don't declare __scandirat64.
12821 * dirent/scandirat.c: Add libc_hidden_def.
12822 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12823 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12824
6761ac04
DM
128252011-08-10 David S. Miller <davem@davemloft.net>
12826
12827 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12828 enum.
12829 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12830 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12831 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12832
c55fbd1e
UD
128332011-08-09 Ulrich Drepper <drepper@gmail.com>
12834
12835 * Versions.def [libc]: Add GLIBC_2.15.
12836 * dirent/Makefile (routines): Add scandirat and scandirat64.
12837 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12838 GLIBC_2.15.
12839 * dirent/dirent.h: Declare scandirat and scandirat64.
12840 * dirent/scandirat.c: New file.
12841 * dirent/scandirat64.c: New file.
12842 * sysdeps/wordsize-64/scandirat.c: New file.
12843 * sysdeps/wordsize-64/scandirat64.c: New file.
12844 * dirent/opendir.c: Define opendirat.
12845 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12846 using scandirat.
12847 * dirent/scandir64.c: Adjust for scandir.c change.
12848 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12849 __scandirat64, and __scandir_cancel_handler.
12850 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12851 additional parameter and use openat instead of open (outside of ld.so).
12852 Add new __opendir as wrapper around __opendirat.
12853 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12854 here without requiring old scandirat implementation.
12855
879165f2
UD
128562011-08-08 Ulrich Drepper <drepper@gmail.com>
12857
12858 * dirent/scandir.c (cancel_handler): Renamed to
12859 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12860 defined. Adjust users.
12861 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12862 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12863
cb7e923b
UD
128642011-08-04 Ulrich Drepper <drepper@gmail.com>
12865
16292edd
UD
12866 * string/test-string.h (IMPL): Use __STRING to expand name and then
12867 stringify it.
12868
cb7e923b
UD
12869 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12870 of cleanups.
12871
cff82933
LD
128722011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12873
12874 * string/Makefile: Update.
12875 (strop-tests): Append strncat.
12876 * string/test-wcscmp.c: New file.
12877 New comprehensive test for wcscmp.
12878 * string/test-strcmp.c: Update.
12879 (WIDE): New define.
12880
9be9bfcc
AS
128812011-07-22 Andreas Schwab <schwab@redhat.com>
12882
12883 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12884 line.
12885
2e96f1c7
AS
128862011-07-26 Andreas Schwab <schwab@redhat.com>
12887
12888 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12889 encoding to ACE if AI_IDN.
12890
85188888
JJ
128912011-08-01 Jakub Jelinek <jakub@redhat.com>
12892
12893 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12894 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12895
5fa16e9b
LD
128962011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12897
12898 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12899 Fix overflow bug in strncat.
12900 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12901
12902 * string/test-strncat.c: Update.
12903 Add new tests for checking overflow bugs.
12904
129052011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12906
12907 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12908 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12909 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12910 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12911 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12912 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12913 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12914 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12915 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12916
12917 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12918 (USE_AS_STRCAT): Define.
12919 Add strcat and strncat support.
12920 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12921
8c1a459f
AS
129222011-07-25 Andreas Schwab <schwab@redhat.com>
12923
12924 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12925 __n bigger than INT_MAX+1.
12926 (__strncmp_g): Likewise.
12927
bba33c28
UD
129282011-07-23 Ulrich Drepper <drepper@gmail.com>
12929
798be72d
UD
12930 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12931 * libio/stido.h: Likewise.
12932
8accd4dc
UD
12933 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12934 (AF_NFC): Define.
12935 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12936 (AF_NFC): Define.
12937
cbff0d96
UD
12938 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12939 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12940 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12941 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12942 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12943
9191c04a
UD
12944 [BZ #13021]
12945 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12946 installed.
12947
bba33c28
UD
12948 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12949 typo.
12950 (_dl_x86_64_save_sse): Likewise.
12951
90f139dd
UD
129522011-07-22 Ulrich Drepper <drepper@gmail.com>
12953
1aae088a
UD
12954 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12955 OSXSAVE.
12956 (_dl_x86_64_save_sse): Likewise.
12957
8e2045f5
UD
12958 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12959
90f139dd
UD
12960 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12961
1d002f25
AS
129622011-07-21 Andreas Schwab <schwab@redhat.com>
12963
12964 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12965 change.
12966 (_dl_x86_64_save_sse): Use correct AVX check.
12967
21137f89
UD
129682011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12969
12970 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12971 bug in strncpy/strncat.
12972 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12973
a65c0b7a
UD
129742011-07-21 Ulrich Drepper <drepper@gmail.com>
12975
12976 * string/tester.c (test_strcat): Add tests for different alignments
12977 of source and destination.
12978 (test_strncat): Likewise.
12979
6986b98a
UD
129802011-07-20 Ulrich Drepper <drepper@gmail.com>
12981
90bb2039
UD
12982 [BZ #12852]
12983 * posix/glob.c (glob): Check passed in values before using them in
12984 expressions to avoid some overflows.
12985 (glob_in_dir): Likewise.
12986
5644ef54
UD
12987 [BZ #13007]
12988 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12989 check for AVX enablement so that we don't crash with old kernels and
12990 new hardware.
12991 * elf/tst-audit4.c: Add same checks here.
12992 * elf/tst-audit6.c: Likewise.
12993
12994 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 12995
bfc9dc9b
AS
129962011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12997
12998 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12999
702e64bb
UD
130002011-07-20 Ulrich Drepper <drepper@gmail.com>
13001
13002 * po/cs.po: Update from translation team.
13003 * po/bg.po: Likewise.
13004
295e904f
MP
130052011-07-12 Marek Polacek <mpolacek@redhat.com>
13006
13007 * misc/sys/cdefs.h: Add support for const attribute.
13008 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
13009 to gnu_dev_{major,minor,makedev} functions.
13010
3ff94596
MP
130112011-07-20 Marek Polacek <mpolacek@redhat.com>
13012
13013 * intl/dcigettext.c (get_output_charset): Add missing bracket.
13014
28b59fca
AS
130152011-07-20 Andreas Schwab <schwab@redhat.com>
13016
13017 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
13018 strlen results.
13019
19df733e
AK
130202011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13021
13022 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13023 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
13024 register in order to avoid conflicts with the soft frame pointer
13025 being held in r11 when necessary.
13026 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13027 (INTERNAL_VSYSCALL_NCS): Likewise.
13028
c8835729
MP
130292011-07-14 Marek Polacek <mpolacek@redhat.com>
13030
13031 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
13032 * elf/dl-fini.c (_dl_fini): Adjust caller.
13033 * elf/dl-close.c (_dl_close_worker): Likewise.
13034 * sysdeps/generic/ldsodefs.h: Adjust declaration.
13035
b902330c
MP
130362011-07-15 Marek Polacek <mpolacek@redhat.com>
13037
8991e135
MP
13038 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
13039 "aux_cache->nlibs < 0".
13040
b902330c
MP
13041 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
13042 in the reload-count case.
13043
99710781
LD
130442011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13045
13046 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13047 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
13048 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
13049 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
13050 * sysdeps/x86_64/multiarch/strcat.S: New file.
13051 * sysdeps/x86_64/multiarch/strncat.S: New file.
13052 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
13053 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
13054 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
13055 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
13056 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
13057 (USE_AS_STRCAT): Define.
13058 Add strcat and strncat support.
13059 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13060 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13061 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
13062 * string/strncat.c: Update.
13063 (USE_AS_STRNCAT): Define.
13064 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13065 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
13066 and i7.
13067 * sysdeps/x86_64/multiarch/init-arch.h
13068 (bit_Prefer_PMINUB_for_stringop): New.
13069 (index_Prefer_PMINUB_for_stringop): Likewise.
13070 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
13071 bit_Prefer_PMINUB_for_stringop.
13072
7dc6bd90
UD
130732011-07-19 Ulrich Drepper <drepper@gmail.com>
13074
13075 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
13076 buffer64.
13077 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
13078 of casting of buffer.
13079 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
13080 buffer32 and buffer64.
13081 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
13082 writes instead of casting of buffer.
13083 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
13084 buffer32.
13085 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
13086 casting of buffer.
13087
e0e72284
AS
130882011-07-19 Andreas Schwab <schwab@redhat.com>
13089
13090 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
13091
feb1eb0b
UD
130922011-07-19 Ulrich Drepper <drepper@gmail.com>
13093
13094 * nscd/nscd.c (termination_handler): Don't do anything for a database
13095 if it has not yet been initialized.
13096
298711ff
UD
130972011-07-18 Ulrich Drepper <drepper@gmail.com>
13098
13099 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13100
131012011-07-15 Marek Polacek <mpolacek@redhat.com>
13102
13103 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13104
f9d68389
UD
131052011-07-18 Ulrich Drepper <drepper@gmail.com>
13106
13107 * po/nl.po: Update from translation team.
13108 * po/sv.po: Likewise.
13109
db290cf5
RM
131102011-07-16 Roland McGrath <roland@hack.frob.com>
13111
13112 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13113 now disallowed by GCC.
5c550700 13114
fd5e21c7
RM
13115 * configure.in (use-default-link): Default to yes if a test -shared
13116 link meets our qualifications.
13117 * configure: Regenerated.
13118
5c550700
RM
13119 * config.make.in (output-format): New variable.
13120 * configure.in: Check for ld --print-output-format support.
13121 * configure: Regenerated.
13122 * Makerules ($(common-objpfx)format.lds)
13123 [$(output-format) != unknown]: Just use $(output-format),
13124 instead of the linker-script munging.
13125
9fa2c032
RM
131262011-07-14 Roland McGrath <roland@hack.frob.com>
13127
a6928d51
RM
13128 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13129 of $(common-objpfx)shlib.lds.
13130 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13131
661607b3
RM
13132 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13133 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13134
9fa2c032
RM
13135 * configure.in (-z relro check): Adjust test code to add a large
13136 writable data section after it.
13137 * configure: Regenerated.
13138
defe9061
RM
131392011-07-11 Roland McGrath <roland@hack.frob.com>
13140
13141 * configure.in (-z relro check): Fix test code to make the variable
13142 truly const.
13143 * configure: Regenerated.
13144
319b9ad4
UD
131452011-07-11 Ulrich Drepper <drepper@gmail.com>
13146
13147 * nscd/nscd.h (struct traced_file): Define.
13148 (struct database_dyn): Remove inotify_descr, reset_res, and filename
13149 elements. Add traced_files.
13150 (inotify_fd): Declare.
13151 (register_traced_file): Declare.
13152 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13153 (inotify_fd): Export.
13154 (resolv_conf_descr): Remove.
13155 (nscd_init): Move inotify descriptor creation to main.
13156 Don't register files for notification here.
13157 (register_traced_file): New function.
13158 (invalidate_cache): Don't use reset_res to determine whether to call
13159 res_init, go through the list of registered files.
13160 (main_loop_poll): The inotify descriptors are now stored in the
13161 structures for the traced files.
13162 (main_loop_epoll): Likewise
13163 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13164 to __nss_disable_nscd.
13165 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13166 for a database anymore. Check the records for all the registered
13167 files instead.
13168 * nss/Makefile (libnss_files-routines): Add files-init.
13169 (libnss_db-routines): Add db-init.
13170 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13171 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13172 * nss/nss_db/db-init.c: New file.
13173 * nss/nss_files/files-init.c: New file.
13174 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13175 __nss_lookup_function.
13176 (__nss_lookup_function): Call nss_load_library.
13177 (nss_load_all_libraries): New function.
13178 (__nss_disable_nscd): Take parameter with callback function for files
13179 to register. Set is_nscd. Load all the DSOs for the NSS modules
13180 used for the cached services.
13181 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13182 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13183 options for features to all the files in nscd.
13184
13185 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13186
23bee3e8
RM
131872011-07-10 Roland McGrath <roland@hack.frob.com>
13188
13189 * csu/elf-init.c (__libc_csu_init): Comment typo.
13190
46a5b7f0
UD
131912011-07-09 Ulrich Drepper <drepper@gmail.com>
13192
13193 * po/pl.po: Update from translation team.
13194 * po/ja.po: Likewise.
13195 * po/ru.po: Likewise.
13196 * po/ko.po: Likewise.
13197 * po/fr.po: Likewise.
13198
d30cf5bb
RM
131992011-07-09 Roland McGrath <roland@hack.frob.com>
13200
113ddea4
RM
13201 * configure.in (.ctors/.dtors header and trailer check):
13202 Use an empirical test on a built program.
13203 * configure: Regenerated.
13204
574920b4
RM
13205 * configure.in (-z relro check): Use an empirical test on a built DSO.
13206 Detect, but do not require, on ia64.
13207 * configure: Regenerated.
13208
d30cf5bb
RM
13209 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13210 Update tests that use readelf to use $READELF instead.
13211 * configure: Regenerated.
13212
8538fdb3
UD
132132011-07-08 Ulrich Drepper <drepper@gmail.com>
13214
13215 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13216 if the result is not used.
13217
04d08991
AJ
132182011-07-05 Andreas Jaeger <aj@suse.de>
13219
13220 [BZ#9696]
13221 * stdlib/tst-strtod.c: Add testcase.
13222
de283087
AD
132232011-07-07 Ulrich Drepper <drepper@gmail.com>
13224
4e5f31c8 13225 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 13226 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
13227 The latter has a higher limit. Take additional parameter to pass to
13228 the new function.
13229 (__pathconf): Pass file to __statfs_link_max.
13230 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13231 __statfs_link_max.
13232 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13233 __statfs_link_max.
13234
de283087
AD
13235 [BZ #12868]
13236 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13237 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13238 Handle Lustre.
13239 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13240 (__statfs_filesize_max): Likewise.
13241 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13242
c75fa153
AJ
132432011-07-05 Andreas Jaeger <aj@suse.de>
13244
13245 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13246
1a544854
UD
132472011-07-06 Marek Polacek <mpolacek@redhat.com>
13248
13249 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13250 `status' variable.
13251 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13252 Likewise.
13253
6f0eec67
UD
132542011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13255
13256 * Makefile (strop-tests): Add strncat.
13257 * string/test-strncat.c: New file.
13258
aae30307
UD
132592011-06-30 Marek Polacek <mpolacek@redhat.com>
13260
13261 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13262
c0cfb5eb
UD
132632011-06-21 Andreas Jaeger <aj@suse.de>
13264
13265 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13266 Copy rule from iconvdata/Makefile.
13267
01636b21
UD
132682011-07-06 Ulrich Drepper <drepper@gmail.com>
13269
13270 [BZ #12922]
13271 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13272 but no long options are defined, just return 'W'.
13273
9895c8bc
UD
132742011-06-22 Marek Polacek <mpolacek@redhat.com>
13275
13276 [BZ #9696]
13277 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13278
5d4cf042
UD
132792011-07-06 Ulrich Drepper <drepper@gmail.com>
13280
13281 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13282 netgroups to read.
960e5535 13283 (innetgr): Likewise.
5d4cf042 13284
751eb97e
RM
132852011-07-05 Roland McGrath <roland@hack.frob.com>
13286
13287 * config.make.in (install_root): Default to $(DESTDIR).
13288
f15f1e45
UD
132892011-07-05 Ulrich Drepper <drepper@gmail.com>
13290
13291 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13292
4e34ac6a
RM
132932011-07-02 Roland McGrath <roland@hack.frob.com>
13294
5e9b6af4
RM
13295 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13296
84f9ea0f
RM
13297 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13298 containing directory rather than embedding absolute directory names.
13299
ea5ee9f7
RM
13300 * scripts/check-local-headers.sh: Rewritten using awk.
13301 Match by word, not by line. Print error messages for matches.
13302 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13303
1b74661a
RM
13304 * Makerules [shlib-lds-flags empty]:
13305 ($(common-objpfx)libc_pic.opts): New target.
13306 ($(common-objpfx)libc_pic.os.clean): New target.
13307 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13308
13309 * config.make.in (OBJCOPY): New variable.
13310 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13311 * configure: Regenerated.
13312
f781ef40
RM
13313 * config.make.in (use-default-link): New variable.
13314 * configure.in (use_default_link): Grok --with-default-link to set it.
13315 * configure: Regenerated.
13316 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13317 (shlib-lds, shlib-lds-flags): Define to empty.
13318
2d4fa81e
RM
13319 * Makerules (shlib-lds): New variable.
13320 (shlib-lds-flags): New variable.
13321 (build-shlib, build-moduile, build-module-asneeded): Use it.
13322 ($(common-objpfx)libc.so): Use $(shlib-lds).
13323 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13324 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13325
31fffa6b
RM
13326 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13327 DT_FLAGS/DT_FLAGS_1 with zero flags.
13328
4e34ac6a
RM
13329 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13330 linker script munging.
13331
fcfc776b
UD
133322011-07-02 Ulrich Drepper <drepper@gmail.com>
13333
13334 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13335 as 128-bit value.
13336 * crypt/sha512.c (sha512_process_block): Perform total addition using
13337 128-bit if possible.
13338 (__sha512_finish_ctx): Likewise.
13339 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13340 as 64-bit value.
13341 * crypt/sha256.c (SWAP64): Define.
13342 (sha256_process_block): Perform total addition using 64-bit if
13343 possible.
13344 (__sha256_finish_ctx): Likewise.
13345
99231d9a
UD
133462011-07-01 Ulrich Drepper <drepper@gmail.com>
13347
13348 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13349 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13350 * nscd/hstcache.c (cache_addhst): Likewise.
13351 * nscd/grpcache.c (cache_addgr): Likewise.
13352 * nscd/aicache.c (addhstaiX): Likewise
13353 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13354
445b4a53
TK
133552011-07-01 Thorsten Kukuk <kukuk@suse.de>
13356
13357 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13358 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13359 * nscd/hstcache.c (cache_addhst): Likewise.
13360 * nscd/grpcache.c (cache_addgr): Likewise.
13361 * nscd/aicache.c (addhstaiX): Likewise
13362
6d4d8e8e
AS
133632011-07-01 Andreas Schwab <schwab@redhat.com>
13364
13365 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13366 domain only when needed.
13367
89f654c5
AS
133682011-06-30 Andreas Schwab <schwab@redhat.com>
13369
13370 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13371 is always restored.
13372
cf3b23ff
UD
133732011-06-29 Ulrich Drepper <drepper@gmail.com>
13374
13375 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13376 are re-adding the entry.
13377 * nscd/servicescache.c (cache_addserv): Likewise.
13378
751626f9
AJ
133792011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13380
13381 * sysdeps/generic/dl-irel.h: fix protection against multiple
13382 inclusions.
13383 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13384
9113ea1f
UD
133852011-06-28 Ulrich Drepper <drepper@gmail.com>
13386
5c0b8d90
UD
13387 [BZ #12935]
13388 * malloc/memusage.sh: Fix quoting in message.
13389 * debug/xtrace.sh: Likewise.
13390
9113ea1f
UD
13391 * configure.in: Remove support for --experimental-malloc option, make
13392 it the default.
13393 * config.make.in: Likewise.
13394 * malloc/Makefile: Likewise.
13395
a4172181
AS
133962011-06-27 Andreas Schwab <schwab@redhat.com>
13397
13398 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13399 two-byte characters.
13400
78a7eee7
RM
134012011-06-27 Roland McGrath <roland@hack.frob.com>
13402
62bede13
RM
13403 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13404 AC_CACHE_CHECK invocation.
13405 * configure: Regenerated.
13406
78a7eee7
RM
13407 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13408
5ce33a62
UD
134092011-06-27 Ulrich Drepper <drepper@gmail.com>
13410
034807a9
UD
13411 [BZ #12350]
13412 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13413 bit from old_res_options.
13414
4902da17
UD
13415 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13416
5ce33a62
UD
13417 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13418 value type for setfct.
13419
c2344f56
L
134202011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13421
13422 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13423 __gettimeofday instead of gettimeofday.
13424
68468076
UD
134252011-06-26 Ulrich Drepper <drepper@gmail.com>
13426
13427 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13428
acb0d739
L
134292011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13430
13431 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13432
13433 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13434 info.
13435
8912479f
L
134362011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13437
13438 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13439 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13440 strcpy-sse2-unaligned strncpy-sse2-unaligned
13441 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13442 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13443 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13444 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13445 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13446 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13447 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13448 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13449 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13450 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13451 (STRCPY): Support SSE2 and SSSE3 versions.
13452
d5495a11
UD
134532011-06-24 Ulrich Drepper <drepper@gmail.com>
13454
13455 [BZ #12874]
13456 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13457 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13458 kernels which artificially limit size of requests.
13459
0b1cbaae
L
134602011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13461
13462 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13463 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13464 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13465 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13466 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13467 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13468 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13469 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13470 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13471 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13472 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13473 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13474 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13475 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13476 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13477 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13478 Enable unaligned load optimization for Intel Core i3, i5 and i7
13479 processors.
13480 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13481 Define.
13482 (index_Fast_Unaligned_Load): Define.
13483 (HAS_FAST_UNALIGNED_LOAD): Define.
13484
07f494a0
MP
134852011-06-23 Marek Polacek <mpolacek@redhat.com>
13486
13487 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13488
fa3fc0fe
UD
134892011-06-22 Ulrich Drepper <drepper@gmail.com>
13490
13491 [BZ #12907]
13492 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13493 until it is clear that the information is realy needed.
13494 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13495
e12df166
AS
134962011-06-22 Andreas Schwab <schwab@redhat.com>
13497
13498 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13499
852eb34d
UD
135002011-06-22 Ulrich Drepper <drepper@gmail.com>
13501
84e2a551
UD
13502 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13503 /sys/devices/system/cpu/online if it is usable.
13504
852eb34d
UD
13505 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13506 reading the information from the /proc filesystem to once a second.
13507
6e502e19
UD
135082011-06-21 Andreas Jaeger <aj@suse.de>
13509
13510 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13511 NULL after inclusion of kernel headers.
13512
75d39ff2
UD
135132011-06-21 Ulrich Drepper <drepper@gmail.com>
13514
51f9aa6a
UD
13515 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13516 calls to internal_setent.
13517
c0244a9d
UD
13518 [BZ #12885]
13519 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13520 addresses using gethostbyname4_r ignore IPv4 addresses.
13521
c5e3c2ae
UD
13522 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13523 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13524
75d39ff2
UD
13525 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13526
42675c6f
DM
135272011-06-20 David S. Miller <davem@davemloft.net>
13528
13529 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13530 inclusions.
13531 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13532
13533 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13534 (elf_irel): Use it.
13535 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13536 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13537 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13538 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13539 * sysdeps/x86_64/dl-irel.h: Likewise.
13540
13541 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13542 * elf/dl-sym.c: Likewise.
13543
57912a71
UD
135442011-06-15 Ulrich Drepper <drepper@gmail.com>
13545
13546 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13547 need to dereference resplen2.
13548
ee22793d
AS
135492011-06-14 Andreas Schwab <schwab@redhat.com>
13550
13551 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13552
a9e836b0
UD
135532011-06-15 Ulrich Drepper <drepper@gmail.com>
13554
77fb9117
UD
13555 * Makeconfig: Define vardbdir and inst_vardbdir.
13556 * nss/Makefile: Add rules to install db-Makefile.
13557
40c1b22c
UD
13558 * nss/nss_db/db-XXX.c: Cleanup.
13559
9f2da732
UD
13560 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13561 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13562 GLIBC_PRIVATE.
13563 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13564 * nss/makedb.c: Implement -g option to specify that value strings
13565 are generated and should not be added to table iterated over for
13566 get*ent calls.
13567 * nss/nss_db/db-initgroups.c: New file.
13568
82e9a1f7
UD
13569 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13570 interface.
13571
c41af17e
UD
13572 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13573 (internal_getgrouplist): Adjust to name change.
13574 Update use_initgroups_entry if this is not the first call.
13575 * nss/databases.def: Add initgroups entry.
13576
a9e836b0
UD
13577 * nss/makedb.c (compute_tables): Check result of multiple hash table
13578 sizes to minimize maximum chain length.
13579
2666d441
UD
135802011-06-14 Ulrich Drepper <drepper@gmail.com>
13581
13582 * Versions.def: Add entry for libnss_db.
13583 * shlib-versions: Likewise.
13584 * nss/Makefile: Add rules to build libnss_db.
13585 * nss/Versions: Add libnss_db information. Organize libnss_files
13586 entries better.
13587 * nss/db-Makefile: Add gshadow support. Change rules for the new
13588 makedb progra. Some minor improvements to generate smaller files.
13589 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13590 here from...
13591 * nss/makedb.c: ...here.
13592 Improve database format to be smaller and require less memory at
13593 runtime.
13594 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13595 db anymore.
13596 * nss/nss_db/db-netgrp.c: Likewise.
13597 * nss/nss_db/db-open.c: Likewise.
13598 * nss/nss_files/flies-XXX.x: Adjust comments.
13599 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13600 * nss/nss_files/files-grp.c: Likewise.
13601 * nss/nss_files/files-hosts.c: Likewise.
13602 * nss/nss_files/files-network.c: Likewise.
13603 * nss/nss_files/files-proto.c: Likewise.
13604 * nss/nss_files/files-pwd.c: Likewise.
13605 * nss/nss_files/files-rpc.c: Likewise.
13606 * nss/nss_files/files-service.c: Likewise.
13607 * nss/nss_files/files-sgrp.c: Likewise.
13608 * nss/nss_files/files-spwd.c: Likewise.
13609 * nss/nss_db/db-alias.c: Removed.
13610 * nss/nss_db/dummy-db.h: Removed.
13611
9ee76b5a
UD
136122011-06-02 Ulrich Drepper <drepper@gmail.com>
13613
13614 * nss/makedb.c: Rewritten to not use database library.
13615 * nss/Makefile: Update to build new makedb program.
13616
c71ca1f8
AJ
136172011-06-14 Andreas Jaeger <aj@suse.de>
13618
13619 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13620 memset declaration.
13621
3154bfb8
UD
136222011-06-10 Andreas Schwab <schwab@redhat.com>
13623
13624 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13625 tmpbuf.
13626
b350afab
RM
136272011-06-10 Roland McGrath <roland@hack.frob.com>
13628
decd4e50
RM
13629 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13630 * elf/Makefile ($(objpfx)ld.so): Likewise.
13631
5615eaf2
RM
13632 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13633 Don't list ld.so twice in dependencies.
13634
13635 * posix/bug-regex31.c: Include <stdlib.h>.
13636
13637 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13638
13639 * nis/nss_compat/compat-spwd.c
13640 (getspent_next_nss_netgr): Remove unused variable.
13641 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13642
13643 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13644 nonmembers" output to use the right array.
13645
13646 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13647
13648 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13649
13650 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13651 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13652 * catgets/gencat.c (read_input_file): Likewise.
13653 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13654
13655 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13656 variable definition inside #if's controlling its use.
13657
13658 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13659
13660 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13661
13662 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13663
13664 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13665 unreachable code.
13666
13667 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13668
b68e08db
RM
13669 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13670 * configure: Regenerated.
13671
b350afab
RM
13672 * Makerules: Revert last change.
13673 * elf/Makefile: Likewise.
13674
28368601
RM
136752011-06-09 Roland McGrath <roland@hack.frob.com>
13676
13677 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13678 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13679 (reloc-link): Likewise.
13680
11988f8f
UD
136812011-06-09 Ulrich Drepper <drepper@gmail.com>
13682
13683 * elf/Makefile: Add rules to build pldd.
13684 * elf/pldd.c: New file.
13685 * elf/pldd-xx.c: New file.
13686
e80fab37
UD
136872011-06-07 Ulrich Drepper <drepper@gmail.com>
13688
13689 * version.h: Update for 2.15 development version.
13690
9b849836
DM
136912011-06-07 David S. Miller <davem@davemloft.net>
13692
13693 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13694 ifuncs.
13695 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13696 elf_machine_lazy_rel): Likewise.
13697 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13698 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13699 elf_machine_lazy_rel): Likewise.
13700 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13701 dl_hwcap via passed in argument.
13702 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13703 Likewise.
13704
5a31b283
AK
137052011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13706
13707 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13708
069e52f8
RM
137092011-06-06 Roland McGrath <roland@hack.frob.com>
13710
13711 [BZ #12849]
13712 * manual/fdl-1.1.texi: New file, verbatim from:
13713 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13714 * manual/lgpl-2.1.texi: New file, verbatim from:
13715 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13716 * manual/Makefile (licenses): New variable, list those new file names.
13717 (texis): Use it.
13718 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13719
13720 * manual/fdl.texi: File removed.
13721 * manual/lesser.texi: File removed.
13722 * manual/libc.texinfo (Copying, Documentation License):
13723 Use new @include file names, put @appendix directive before @include.
13724
f16846a5
JJ
137252011-06-04 Jakub Jelinek <jakub@redhat.com>
13726
13727 [BZ #12841]
13728 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13729 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13730 (mq_open): Add __NTH.
13731
3d29045b
L
137322011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13733
13734 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13735 Assume Intel Core i3/i5/i7 processor if AVX is available.
13736
8c297311
UD
137372011-05-31 Ulrich Drepper <drepper@gmail.com>
13738
13739 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13740 typo.
13741
c8fc0c91
UD
137422011-05-31 Andreas Schwab <schwab@redhat.com>
13743
13744 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13745 memory. Use alloca_account. Fix memory leak when retrying.
13746
5b27a807
UD
137472011-05-31 Ulrich Drepper <drepper@gmail.com>
13748
356f8bc6
UD
13749 * version.h (RELEASE): Bump for 2.14 release.
13750 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13751
5b27a807
UD
13752 * config.make.in (RANLIB): Remove entry.
13753
01f16ab0
UD
137542011-05-30 Ulrich Drepper <drepper@gmail.com>
13755
41fce8bd
UD
13756 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13757 (libc.pot): Work around missing support for .ksh extension in xgettext.
13758
4769ae77
UD
13759 [BZ #12684]
13760 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13761 if both request failed.
13762 (send_dg): In case of server errors clear resplen or *resplen2.
13763
6b1e7d19
UD
13764 [BZ #12454]
13765 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13766 when there are multiple maps.
13767 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13768 (_dl_fini): Remove test here.
13769
01f16ab0
UD
13770 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13771
b1ebd700
UD
137722011-05-29 Ulrich Drepper <drepper@gmail.com>
13773
7ae22829
UD
13774 [BZ #12350]
13775 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13776 bit from old_res_options.
13777 (gaih_inet): Likewise.
13778
553149f6 13779 [BZ #11099]
18a84741 13780 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
13781 as signed.
13782
652ffab1
UD
13783 * resolv/res_init.c (res_setoptions): Make the code more compact.
13784
16985fd0
UD
13785 [BZ #11558]
13786 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13787 set RES_USEVC.
13788
0464f746
UD
13789 [BZ #11634]
13790 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13791
7d17596c
UD
13792 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13793
cf6bbbd7
UD
13794 [BZ #11781]
13795 * malloc/malloc.h: Declare malloc hook variables as volatile.
13796
13f1ab36
UD
13797 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13798 in last patch.
13799
b1ebd700
UD
13800 [BZ #11799]
13801 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 13802 raise in the comment.
80e2212d
UD
13803 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13804 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13805 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 13806
ce67228d
UD
138072011-05-28 Ulrich Drepper <drepper@gmail.com>
13808
8887a920
UD
13809 [BZ #12811]
13810 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13811 grow the buffers more if it already has to be sufficient.
13812 (build_wcs_upper_buffer): Likewise.
13813 * posix/regexec.c (check_matching): Likewise.
13814 (clean_state_log_if_needed): Likewise.
13815 (extend_buffers): Don't enlarge buffers beyond size of the input
13816 buffer.
13817 Patches mostly by Emil Wojak <emil@wojak.eu>.
13818 * posix/bug-regex32.c: New file.
13819 * posix/Makefile (tests): Add bug-regex32.
13820
4f031072
UD
13821 * locale/findlocale.c (_nl_find_locale): Return right away if
13822 _nl_explode_name failed.
13823 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13824
d0478f0c
UD
13825 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13826
de81b246
UD
13827 * debug/xtrace.sh: Unify messages.
13828 * malloc/memusage.sh: Likewise.
13829
c738465a
UD
13830 [BZ #12813]
13831 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13832 time symbol from vDSO. Substitute with vsyscall if not available.
13833 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13834 __vdso_time.
13835
f1f929d7
UD
13836 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13837 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13838 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13839 Add sendmmsg and internal_sendmmsg.
13840 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13841 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13842 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13843
ce67228d
UD
13844 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13845 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13846 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13847
e57420c6
UD
138482011-05-27 Ulrich Drepper <drepper@gmail.com>
13849
a8509ca5
UD
13850 [BZ #12813]
13851 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13852 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13853 available.
13854 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13855 __vdso_getcpu.
13856
e57420c6
UD
13857 [BZ #12814]
13858 * iconvdata/Makefile (tests): Add bug-iconv9.
13859 * iconvdata/bug-iconv9.c: New file.
13860
4d07db15
AS
138612011-05-27 Andreas Schwab <schwab@redhat.com>
13862
13863 [BZ #12814]
13864 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13865
ea486f69
JJ
138662011-05-25 Jakub Jelinek <jakub@redhat.com>
13867
13868 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13869 (struct user_regs_struct): Change intcs field back to cs.
13870
6f038433
UD
138712011-05-25 Ulrich Drepper <drepper@gmail.com>
13872
13873 * po/ja.po: Update from translation team.
13874
67f86a25
UD
138752011-05-23 Ulrich Drepper <drepper@gmail.com>
13876
13877 [BZ #12795]
13878 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13879 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13880
def7fbd6
AS
138812011-05-20 Andreas Schwab <schwab@redhat.com>
13882
13883 * stdlib/longlong.h: Update from GCC.
13884
f50ef8f1
AS
138852011-05-23 Andreas Schwab <schwab@redhat.com>
13886
13887 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13888 parameter name.
13889 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13890 Add parameter name.
13891 (__sysconf): Pass it down.
13892
de7ce8f1
UD
138932011-05-22 Ulrich Drepper <drepper@gmail.com>
13894
f2962a71
UD
13895 [BZ #12671]
13896 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13897 some situations.
13898 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13899 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13900 add in in __libc_use_alloca calls. Adjust callers.
13901 (glob): Use malloc in some situations.
13902
de7ce8f1
UD
13903 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13904 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13905 pltexit.
13906
aec84f53
UD
139072011-05-21 Ulrich Drepper <drepper@gmail.com>
13908
05bb4a68
UD
13909 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13910 and CLOCK_BOOTTIME_ALARM.
13911
7ea72f99
UD
13912 [BZ #12782]
13913 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13914 is returned.
13915
7e4afad5
UD
13916 * string/_strerror.c (__strerror_r): Print negative errors as signed
13917 numbers.
13918
8e211fec
UD
13919 [BZ #12777]
13920 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13921 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13922 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13923
f7d82dc9
UD
13924 * configure.in: Fix typo in redirection and correct removal of test
13925 files in two cases.
13926
cc9e536d
UD
13927 [BZ #12788]
13928 * locale/setlocale.c (new_composite_name): Fix test to check for
13929 identical name of all categories.
13930
aec84f53
UD
13931 [BZ #12792]
13932 * libio/filedoalloc.c (local_isatty): New function.
13933 (_IO_file_doallocate): Use local_isatty.
13934 * stdio-common/perror.c (perror): In case a new stream is used
13935 forward the stream error.
13936 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13937 error flag.
13938
78e64fdc
RT
139392011-05-20 Ulrich Drepper <drepper@gmail.com>
13940
34a9094f
UD
13941 [BZ #11869]
13942 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13943 alloca.
13944 * include/alloca.h (extend_alloca_account): Define.
13945
78e64fdc
RT
13946 [BZ #11857]
13947 * posix/regex.h: Fix comments with documentation of user-accessible
13948 fields after compilation and describe correct free'ing of pattern
13949 after re_compile_pattern.
13950 Patch by Reuben Thomas <rrt@sc3d.org>.
13951
457bddfc
RA
139522011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13953
13954 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13955 and -mno-altivec to prevent the compiler from using Altivec and/or
13956 VSX instructions when the corresponding registers are not available.
13957
a4527b51
AS
139582011-05-19 Andreas Schwab <schwab@redhat.com>
13959
13960 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13961
ed690b2f
UD
139622011-05-19 Ulrich Drepper <drepper@gmail.com>
13963
13964 * libio/freopen.c (freopen): Use __dup2, not dup2.
13965 * libio/freopen64.c (freopen64): Likewise.
13966
8db73634
L
139672011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13968
13969 [BZ #12775]
13970 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13971 * math/Makefile (tests): Add test-powl.
13972 (CFLAGS-test-powl.c): Define.
13973 * math/test-powl.c: New file.
13974
0a197a9d
L
139752011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13976
13977 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13978
ee30c380
UD
139792011-05-17 Ulrich Drepper <drepper@gmail.com>
13980
13981 [BZ #11837]
13982 * iconvdata/gb18030.c: Update to GB18020-2005.
13983
6ce75379
UD
139842011-05-16 Ulrich Drepper <drepper@gmail.com>
13985
a4b89fd8
AR
13986 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13987 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13988 Patch by Aharon Robbins <arnold@skeeve.com>.
13989
ea389b12
UD
13990 [BZ #11892]
13991 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13992 on the stack.
13993
68a3f91f
UD
13994 [BZ #11895]
13995 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13996 through underflows.
13997
15cc7dd1
UD
13998 [BZ #12766]
13999 * misc/error.c (error_at_line): Ensure file_name and old_file_name
14000 point to strings before performing equality test for error_one_per_line
14001 mode.
14002
f3799213
UD
14003 [BZ #11697]
14004 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
14005
d79a9c94
UD
14006 [BZ #11820]
14007 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14008 (struct user_fpregs_struct): Avoid __uint*_t types.
14009
56e5eb46
UD
14010 [BZ #6420]
14011 * malloc/mtrace.c (tr_where): Add additional parameter to point to
14012 symbol info. Use it instead of calling _dl_addr locally.
14013 (lock_and_info): New function.
14014 (tr_freehook): Call lock_and_info and pass symbol info as additional
14015 parameter to tr_where.
14016 (tr_mallochook): Likewise.
14017 (tr_reallochook): Likewise.
14018 (tr_memalignhook): Likewise.
14019
6ce75379
UD
14020 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
14021 used and couldn't be at all thread-safe.
14022
f8a3b5bf
UD
140232011-05-15 Ulrich Drepper <drepper@gmail.com>
14024
94b7cc37
UD
14025 * libio/freopen.c (freopen): Don't close old file descriptor
14026 before the new one is opened. Instead dup the new file descriptor
14027 to the old one after the new stream is created.
14028 * libio/freopen64.c (freopen64): Likewise.
14029 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
14030 * libio/fileops.c (_IO_new_file_close_it): Handle new
14031 _IO_FLAGS2_NOCLOSE flag.
14032 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
14033 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
14034 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
14035 _IO_FLAGS2_NOCLOSE flag.
14036 * include/unistd.h: Add hidden_proto for dup3.
14037 Define __have_dup3.
14038 * io/dup3.c: Define hidden symbol.
14039 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
14040
bd25564e
UD
14041 [BZ #7101]
14042 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
14043 when an incomplete long option is used.
14044 * posix/tst-getopt_long1.c: New file.
14045 * posix/Makefile (tests): Add tst-getopt_long1.
14046
c84cfef4
UD
14047 [BZ #10138]
14048 * scripts/config.guess: Update from autoconf-2.68.
14049 * scripts/config.sub: Likewise.
14050
3b85df27
UD
14051 [BZ #10157]
14052 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
14053 tests into ...
14054 (has_cpuclock): ...this. New function.
14055 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
14056 macro here based on has_cpuclock code.
14057
15a856b1
UD
14058 [BZ #10149]
14059 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14060 First byte (not low byte) is now always NUL.
14061 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
14062
05f399e6
UD
14063 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14064 Use non-cancelable interfaces.
14065
10a52685 14066 [BZ #9809]
94ecc67d
UD
14067 * locale/iso-639.def: Add entry for Sorani.
14068
f8a3b5bf
UD
14069 [BZ #11901]
14070 * include/stdlib.h: Move include protection to the right place.
14071 Define abort_msg_s. Declare __abort_msg with it.
14072 * stdlib/abort.c (__abort_msg): Adjust type.
14073 * assert/assert.c (__assert_fail_base): New function. Majority
14074 of code from __assert_fail. Allocate memory for __abort_msg with
14075 mmap.
14076 (__assert_fail): Now call __assert_fail_base.
14077 * assert/assert-perr.c: Remove bulk of implementation. Use
14078 __assert_fail_base.
14079 * include/assert.hL Declare __assert_fail_base.
14080 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
14081 mmap.
14082 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
14083
1af4e298
UD
140842011-05-14 Ulrich Drepper <drepper@gmail.com>
14085
f8a3b5bf 14086 [BZ #11952]
d26dfc60
MG
14087 [BZ #12453]
14088 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
14089 until all modules are registered in the DTV.
14090 * elf/Makefile: Add rules to build and run tst-tls19.
14091 * elf/tst-tls19.c: New file.
14092 * elf/tst-tls19mod1.c: New file.
14093 * elf/tst-tls19mod2.c: New file.
14094 * elf/tst-tls19mod3.c: New file.
14095 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
14096
2fc54d6f
UD
14097 [BZ #12083]
14098 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
14099 correctly.
14100
98d76b46
UD
14101 [BZ #12601]
14102 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
14103 two-byte sequence errors.
14104 * iconvdata/Makefile (tests): Add bug-iconv8.
14105 * iconvdata/bug-iconv8.c: New file.
14106
da3c19ef
UD
14107 [BZ #12626]
14108 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
14109 buf2 definition.
14110
ca408c15
UD
14111 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14112
d6f67f7d
UD
14113 [BZ #12432]
14114 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14115 (dummy_getcfa): New function.
14116 (init): Get _Unwind_GetCFA address, use dummy if not found.
14117 (backtrace_helper): In recursion check, also check whether CFA changes.
14118 (__backtrace): Completely initialize arg.
14119
1af4e298 14120 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
14121 storing incomplete byte sequence in state object. Avoid testing for
14122 guaranteed too small input if we know there is enough data available.
1af4e298 14123
da62f81b
AS
141242011-05-11 Andreas Schwab <schwab@redhat.com>
14125
14126 * Makeconfig (+link-pie): Indent.
14127 * Rules (binaries-pie): Define if $(have-fpie) and
14128 $(build-shared).
14129 (binaries-shared): Also filter out $(binaries-pie).
14130 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14131 * nscd/Makefile (others-pie): Add nscd.
14132 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14133 ($(objpfx)nscd): Remove command override.
14134 * login/Makefile (others-pie): Add pt_chown.
14135 ($(objpfx)pt_chown): Remove command override.
14136 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14137 remove command overrides.
14138
fcabc0f8
UD
141392011-05-13 Ulrich Drepper <drepper@gmail.com>
14140
20030ae6
UD
14141 * libio/tst_putwc.c: Fix error messages.
14142
fcabc0f8
UD
14143 [BZ #12724]
14144 * libio/fileops.c (_IO_new_file_close_it): Always flush when
14145 currently writing and seek to current position when not.
14146 * libio/Makefile (tests): Add bug-fclose1.
14147 * libio/bug-fclose1.c: New file.
14148
320a5dc0
PB
141492011-05-12 Ulrich Drepper <drepper@gmail.com>
14150
14151 [BZ #12511]
14152 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14153 don't set DF_1_NODELETE here.
14154 (do_lookup_x): When entering new entry test for copy relocation
14155 and if necessary set DF_1_NODELETE flag.
14156 * elf/tst-unique4.cc: New file.
14157 * elf/tst-unique4.h: New file.
14158 * elf/tst-unique4lib.cc: New file.
14159 * elf/Makefile: Add rules to build and run tst-unique4.
14160 Patch by Piotr Bury <pbury@goahead.com>.
14161
22836f52
UD
141622011-05-11 Ulrich Drepper <drepper@gmail.com>
14163
f574184a
UD
14164 [BZ #12052]
14165 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14166
e1fb097f
UD
14167 [BZ #12625]
14168 * misc/mntent_r.c (addmntent): Flush the stream after the output
14169
22836f52
UD
14170 [BZ #12393]
14171 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14172 (is_trusted_path_normalize): Skip initial colon. Append slash
14173 to empty buffer. Duplicate is_trusted_path code but allow
14174 constructed patch to be prefix.
14175 (is_dst): Allow $ORIGIN followed by /.
14176 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14177 Correct testing of result of is_trusted_path_normalize
14178 (decompose_rpath): Fix warning.
14179
7b3b0b2a
UD
141802011-05-10 Ulrich Drepper <drepper@gmail.com>
14181
14182 [BZ #11257]
14183 * grp/initgroups.c (internal_getgrouplist): When we found the service
14184 list through the initgroups entry in nsswitch.conf do not always
14185 continue on a successful lookup. Don't always use the
eac80ce2 14186 __nss_group_database value if it is set.
7b3b0b2a
UD
14187 * nss/nsswitch.conf (initgroups): Change action for successful db
14188 lookup to continue for compatibility.
14189
2a81eaa5
UD
141902011-05-09 Ulrich Drepper <drepper@gmail.com>
14191
be97a69e
UD
14192 [BZ #11532]
14193 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14194 and CP774 modules.
14195 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14196 and CP774 modules.
14197 * iconvdata/tst-tables.sh: Likewise.
14198 * iconvdata/cp770.c: New file.
14199 * iconvdata/cp771.c: New file.
14200 * iconvdata/cp772.c: New file.
14201 * iconvdata/cp773.c: New file.
14202 * iconvdata/cp774.c: New file.
14203 * iconvdata/testdata/CP770: New file.
14204 * iconvdata/testdata/CP770..UTF8: New file.
14205 * iconvdata/testdata/CP771: New file.
14206 * iconvdata/testdata/CP771..UTF8: New file.
14207 * iconvdata/testdata/CP772: New file.
14208 * iconvdata/testdata/CP772..UTF8: New file.
14209 * iconvdata/testdata/CP773: New file.
14210 * iconvdata/testdata/CP773..UTF8: New file.
14211 * iconvdata/testdata/CP774: New file.
14212 * iconvdata/testdata/CP774..UTF8: New file.
14213
14214 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14215 END CHARMAP line.
14216 * iconvdata/gen-8bit-gap.sh: Likewise.
14217 * iconvdata/gen-8bit.sh: Likewise.
14218
c1e9e399
UD
14219 * locale/iso-639.def: Add ary entry.
14220
24c55fb3 14221 [BZ #11258]
96b4b1b0
UD
14222 * locale/C-translit.h.in: Add U20A1 transliteration.
14223
bdc2f971
KB
14224 [BZ #12178]
14225 * locale/iso-639.def: Add wae entry.
14226 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14227
2952b117
UD
14228 [BZ #12545]
14229 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14230 for n.
14231
2a81eaa5
UD
14232 [BZ #12711]
14233 * locale/C-translit.h.in: Add entry for U20B9.
14234 Patch by pravin.d.s@gmail.com.
14235
28377d1b
UD
142362011-05-08 Ulrich Drepper <drepper@gmail.com>
14237
7fb90fb8
UD
14238 [BZ #12713]
14239 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14240 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
14241 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14242 in rtld. Use *stat64.
7fb90fb8 14243 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 14244 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 14245 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
14246 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14247 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14248 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14249 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14250 __fstatat64 macros.
7fb90fb8
UD
14251 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14252 * dirent/rewinddir.c: Add libc_hidden_def.
14253 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 14254 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 14255
28377d1b
UD
14256 * include/dirent.h (__alloc_dir): Add flags parameter.
14257 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14258 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14259 __alloc_dir.
14260 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14261 from fdopendir if O_CLOEXEC is already set.
14262
66bdbaa4
AM
142632011-03-15 Alan Modra <amodra@gmail.com>
14264
14265 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14266 l_tls_firstbyte_offset non-zero. Save padding offset in
14267 l_tls_firstbyte_offset for later use.
14268 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14269 freeing static tls block.
14270
95721191
JN
142712011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14272
14273 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14274 where #ifdef was intended. The intent is to prevent ARG_MAX from
14275 being defined by the kernel headers.
14276
f87dfb1f
UD
142772011-05-07 Ulrich Drepper <drepper@gmail.com>
14278
14279 [BZ #12734]
14280 * resolv/resolv.h: Define RES_NOTLDQUERY.
14281 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14282 no-tld-query and set RES_NOTLDQUERY.
14283 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14284 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14285 modern BIND to search name as TLD unless forbidden.
14286
47c3cd7a
UD
142872011-05-07 Petr Baudis <pasky@suse.cz>
14288 Ulrich Drepper <drepper@gmail.com>
14289
14290 [BZ #12393]
14291 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14292 (is_trusted_path): ...to here.
c1e9ea35 14293 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 14294 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 14295 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 14296
8a35c912
PP
142972011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14298
14299 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14300 __BEGIN/__END_DECLS.
14301
acd41f47
UD
143022011-05-06 Ulrich Drepper <drepper@gmail.com>
14303
14304 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14305 NSS_STATUS_NOTFOUND if no record was found.
14306
597df647
AS
143072011-05-05 Andreas Schwab <schwab@redhat.com>
14308
14309 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14310 (headers-not-in-tirpc): Remove rpc/netdb.h
14311 * resolv/netdb.h: Revert last change.
14312
b9af1301
PP
143132011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14314
14315 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14316 circular dependency between libgcc.a and libc.a.
14317
4e34d5f5
AS
143182011-05-05 Andreas Schwab <schwab@redhat.com>
14319
14320 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14321 * nis/Makefile: Don't install rpcsvc/*.
14322 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14323 instead of <rpc/types.h>.
14324 (MAXHOSTNAMELEN): Define.
14325
00ee369c
AS
143262011-05-03 Andreas Schwab <schwab@redhat.com>
14327
14328 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14329
0b592a30
MB
143302011-04-28 Maciej Babinski <mbabinski@google.com>
14331
14332 [BZ #12714]
14333 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14334 gethostbyname4_r when IPv6 results are possible.
14335
6e04cbbe
UD
143362011-05-02 Ulrich Drepper <drepper@gmail.com>
14337
14338 [BZ #12723]
14339 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14340 _PC_PIPE_BUF handling.
14341
e4ecafe0
BH
143422011-04-30 Bruno Haible <bruno@clisp.org>
14343
14344 [BZ #12717]
14345 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14346 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14347 to 'int'.
14348 * inet/getnameinfo.c (getnameinfo): Likewise.
14349
125ee683
UD
143502011-04-29 Ulrich Drepper <drepper@gmail.com>
14351
14352 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14353 to groups setting in database lookup.
14354 * nss/nsswitch.conf: Add initgroups entry.
14355
b722481a
EB
143562011-04-22 Ulrich Drepper <drepper@gmail.com>
14357
14358 [BZ #12685]
14359 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14360 mode string.
14361 Patch by Eric Blake <eblake@redhat.com>.
14362
4df46dbd
L
143632011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14364
14365 * sunrpc/Makefile (need-export-routines): Add svc_run.
14366 (routines): Remove svc_run.
14367 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14368 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14369 * sunrpc/svc_run.c (svc_run): Likewise.
14370 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14371
e84142d2
UD
143722011-04-21 Ulrich Drepper <drepper@gmail.com>
14373
14374 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14375 problem in reallocation in last patch.
14376
877175d8
UD
143772011-04-20 Ulrich Drepper <drepper@gmail.com>
14378
14379 * sunrpc/Makefile: Move inclusion of Rules.
14380
ab8eed78
UD
143812011-04-19 Ulrich Drepper <drepper@gmail.com>
14382
14383 * nss/nss_files/files-initgroups.c: New file.
14384 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14385 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14386 _nss_files_initgroups_dyn.
14387
e3d8f584
RS
143882011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14389
14390 * elf/elf.h (R_ARM_IRELATIVE): Define.
14391
af190f45
UD
143922011-04-19 Ulrich Drepper <drepper@gmail.com>
14393
14394 * po/ru.po: Update from translation team.
14395
53cf59ef
UD
143962011-04-17 Ulrich Drepper <drepper@gmail.com>
14397
14398 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14399 dependencies.
14400
4c559bcd
MF
144012011-02-06 Mike Frysinger <vapier@gentoo.org>
14402
14403 [BZ #12653]
14404 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14405 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14406 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14407 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14408 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14409
4420675c
AS
144102011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14411
14412 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14413 differing bytes.
14414 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14415 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14416 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14417
75ea32ab
UD
144182011-04-17 Ulrich Drepper <drepper@gmail.com>
14419
14420 [BZ #12420]
14421 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14422 storing it.
14423 * stdlib/bug-getcontext.c: New file.
14424 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14425
27390476
AK
144262011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14427
14428 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14429 instructions into .machine "z9-109".
14430 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14431 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14432
10442705
AK
144332011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14434
14435 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14436 between environment variables and auxiliary vector.
14437
7b57bfe5
UD
144382011-04-16 Ulrich Drepper <drepper@gmail.com>
14439
14440 * Makefile: Add rules to build linkobj/libc.so.
14441 * include/libc-symbols.h: Define libc_hidden_nolink.
14442 * include/rpc/auth.h: Mark functions which are to be hidden.
14443 * include/rpc/auth_des.h: Likewise.
14444 * include/rpc/auth_unix.h: Likewise.
14445 * include/rpc/clnt.h: Likewise.
14446 * include/rpc/des_crypt.h: Likewise.
14447 * include/rpc/key_prot.h: Likewise.
14448 * include/rpc/pmap_clnt.h: Likewise.
14449 * include/rpc/pmap_prot.h: Likewise.
14450 * include/rpc/pmap_rmt.h: Likewise.
14451 * include/rpc/rpc_msg.h: Likewise.
14452 * include/rpc/svc.h: Likewise.
14453 * include/rpc/svc_auth.h: Likewise.
14454 * include/rpc/xdr.h: Likewise.
14455 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14456 * nss/Makefile: Likewise.
14457 * sunrpc/Makefile: Don't install headers. Build library with normal
14458 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14459 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14460 for the compat linking library. Remove use of INTDEF/INTUSE.
14461 * sunrpc/auth_none.c: Likewise.
14462 * sunrpc/auth_unix.c: Likewise.
14463 * sunrpc/authdes_prot.c: Likewise.
14464 * sunrpc/authuxprot.c: Likewise.
14465 * sunrpc/clnt_gen.c: Likewise.
14466 * sunrpc/clnt_perr.c: Likewise.
14467 * sunrpc/clnt_raw.c: Likewise.
14468 * sunrpc/clnt_simp.c: Likewise.
14469 * sunrpc/clnt_tcp.c: Likewise.
14470 * sunrpc/clnt_udp.c: Likewise.
14471 * sunrpc/clnt_unix.c: Likewise.
14472 * sunrpc/des_crypt.c: Likewise.
14473 * sunrpc/des_soft.c: Likewise.
14474 * sunrpc/get_myaddr.c: Likewise.
14475 * sunrpc/key_call.c: Likewise.
14476 * sunrpc/key_prot.c: Likewise.
14477 * sunrpc/netname.c: Likewise.
14478 * sunrpc/pm_getmaps.c: Likewise.
14479 * sunrpc/pm_getport.c: Likewise.
14480 * sunrpc/pmap_clnt.c: Likewise.
14481 * sunrpc/pmap_prot.c: Likewise.
14482 * sunrpc/pmap_prot2.c: Likewise.
14483 * sunrpc/pmap_rmt.c: Likewise.
14484 * sunrpc/publickey.c: Likewise.
14485 * sunrpc/rpc_cmsg.c: Likewise.
14486 * sunrpc/rpc_common.c: Likewise.
14487 * sunrpc/rpc_dtable.c: Likewise.
14488 * sunrpc/rpc_prot.c: Likewise.
14489 * sunrpc/rpc_thread.c: Likewise.
14490 * sunrpc/rtime.c: Likewise.
14491 * sunrpc/svc.c: Likewise.
14492 * sunrpc/svc_auth.c: Likewise.
14493 * sunrpc/svc_authux.c: Likewise.
14494 * sunrpc/svc_raw.c: Likewise.
14495 * sunrpc/svc_run.c: Likewise.
14496 * sunrpc/svc_simple.c: Likewise.
14497 * sunrpc/svc_tcp.c: Likewise.
14498 * sunrpc/svc_udp.c: Likewise.
14499 * sunrpc/svc_unix.c: Likewise.
14500 * sunrpc/svcauth_des.c: Likewise.
14501 * sunrpc/xcrypt.c: Likewise.
14502 * sunrpc/xdr.c: Likewise.
14503 * sunrpc/xdr_array.c: Likewise.
14504 * sunrpc/xdr_float.c: Likewise.
14505 * sunrpc/xdr_intXX_t.c: Likewise.
14506 * sunrpc/xdr_mem.c: Likewise.
14507 * sunrpc/xdr_rec.c: Likewise.
14508 * sunrpc/xdr_ref.c: Likewise.
14509 * sunrpc/xdr_sizeof.c: Likewise.
14510 * sunrpc/xdr_stdio.c: Likewise.
14511
e6c61494
UD
145122011-04-10 Ulrich Drepper <drepper@gmail.com>
14513
14514 [BZ #12650]
14515 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14516 * sysdeps/ia64/dl-tls.h: Likewise.
14517 * sysdeps/powerpc/dl-tls.h: Likewise.
14518 * sysdeps/s390/dl-tls.h: Likewise.
14519 * sysdeps/sh/dl-tls.h: Likewise.
14520 * sysdeps/sparc/dl-tls.h: Likewise.
14521 * sysdeps/x86_64/dl-tls.h: Likewise.
14522 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14523
34fe483e
AS
145242011-03-14 Andreas Schwab <schwab@redhat.com>
14525
14526 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14527 rpath element also skip the following colon.
14528 (expand_dynamic_string_token): Add is_path parameter and pass
14529 down to DL_DST_REQUIRED and _dl_dst_substitute.
14530 (decompose_rpath): Call expand_dynamic_string_token with
14531 non-zero is_path. Ignore empty rpaths.
14532 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14533 with zero is_path.
14534
f12a32e6
AS
145352011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14536
14537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14538 Make cancelable.
14539
38a7d692
UD
145402011-04-09 Ulrich Drepper <drepper@gmail.com>
14541
14542 [BZ #12655]
14543 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14544 Patch by Filipe David Manana <fdmanana@apache.org>.
14545
e451d22b
AS
145462011-04-07 Andreas Schwab <schwab@redhat.com>
14547
14548 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14549 Maintain aligned stack.
14550 (CHECK_RSP): Remove unused macro.
14551
dedc7c7b
UD
145522011-04-03 Ulrich Drepper <drepper@gmail.com>
14553
14554 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14555 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14556
94521213
UD
145572011-04-02 Ulrich Drepper <drepper@gmail.com>
14558
14559 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14560
8cb700c0 14561 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 14562
0354e355
L
145632011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14564
14565 [BZ #12518]
14566 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14567 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14568 * sysdeps/x86_64/memmove.c: New file.
14569 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14570 (memcpy): Renamed to ...
14571 (__new_memcpy): This.
14572 (memcpy): Provide GLIBC_2_14 memcpy.
14573 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14574 (memcpy): Provide GLIBC_2_2_5 memcpy.
14575
8593482f
UD
145762011-04-01 Ulrich Drepper <drepper@gmail.com>
14577
14578 [BZ #12631]
14579 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14580
81a5726b
AS
145812011-03-30 Andreas Schwab <schwab@redhat.com>
14582
14583 * misc/syncfs.c: New file.
14584 * misc/Makefile (routines): Add syncfs.
14585 * posix/unistd.h: Declare syncfs.
14586 * sysdeps/unix/syscalls.list: Add syncfs.
14587
00e5419f
AS
145882011-04-01 Andreas Schwab <schwab@redhat.com>
14589
14590 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14591 open_by_handle_at.
14592 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14593 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14594 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14595 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14596 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14597 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14598 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14599
748876bf
UD
146002011-04-01 Ulrich Drepper <drepper@gmail.com>
14601
658e451d
UD
14602 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14603 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14604 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14605 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14606 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14607 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14608 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14609
748876bf
UD
14610 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14611 sync_file_range.c with -fexceptions.
14612 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14613 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14614 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14615 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14616 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14617 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14618 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
14619 sync_file_range as cancellation point
14620 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14621 now a wrapper around __call_sync_file_range with cancellation handling.
14622 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14623 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14624 function name to __call_sync_file_range.
14625 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14626 Add call_sync_file_range.
748876bf 14627
6e63d5e1
AS
146282011-04-01 Andreas Schwab <schwab@redhat.com>
14629
14630 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 14631 bits/timex.h.
6e63d5e1 14632
46998f74
UD
146332011-04-01 Ulrich Drepper <drepper@gmail.com>
14634
4c1423ed
UD
14635 * iconv/iconv.h: Fix typo in comment.
14636 * io/fcntl.h: Likewise.
14637 * libio/stdio.h: Likewise.
14638 * posix/spawn.h: Likewise.
14639 * posix/unistd.h: Likewise.
14640 * stdlib/stdlib.h: Likewise.
14641 * time/time.h: Likewise.
14642 * wcsmbs/wchar.h: Likewise.
14643
158648c0
UD
14644 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14645 open_by_handle): Add.
14646 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14647 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14648 Augment a few comments.
14649 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14650 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14651 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14652 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14653 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14654 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14655 open_by_handle.
14656
46998f74
UD
14657 * io/fcntl.h (AT_EMPTY_PATH): Define.
14658
83fe108b
UD
146592011-03-30 Ulrich Drepper <drepper@gmail.com>
14660
14661 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14662 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14663 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14664 to...
14665 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
14666 * Versions.def: Add GLIBC_2.14.
14667 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14668 Export.
83fe108b 14669
bb242059
UD
146702011-03-22 Ulrich Drepper <drepper@gmail.com>
14671
14672 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14673 round counter.
14674 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14675
c97a1282
L
146762011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14677
14678 [BZ #12597]
14679 * string/test-strncmp.c (do_page_test): New function.
14680 (check2): Likewise.
14681 (test_main): Call check2.
14682 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14683
2a115601
UD
146842011-03-20 Ulrich Drepper <drepper@gmail.com>
14685
14686 [BZ #12587]
14687 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14688 Handle cache information in CPU leaf 4.
14689 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14690
8126d904
UD
146912011-03-18 Ulrich Drepper <drepper@gmail.com>
14692
042c49c6 14693 [BZ #12583]
8126d904
UD
14694 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14695 character representation.
14696 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14697
ccfe366e
RA
146982011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14699
14700 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14701 END(__isnan) to END(__isnanf) to match function entry point/label
14702 EALIGN(__isnanf,...).
14703
c6e13027
JJ
147042011-03-10 Jakub Jelinek <jakub@redhat.com>
14705
14706 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14707
33f85a3f
UD
147082011-03-10 Ulrich Drepper <drepper@gmail.com>
14709
028478fa
UD
14710 [BZ #12510]
14711 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14712 copy from the symbol referenced in the relocation to initialize the
14713 used variable.
14714 Patch by Piotr Bury <pbury@goahead.com>.
14715 * elf/Makefile: Add rules to build and tst-unique3.
14716 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14717 * elf/tst-unique3.cc: New file.
14718 * elf/tst-unique3.h: New file.
14719 * elf/tst-unique3lib.cc: New file.
14720 * elf/tst-unique3lib2.cc: New file.
14721
33f85a3f
UD
14722 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14723
03592fc7
MF
147242011-03-10 Mike Frysinger <vapier@gentoo.org>
14725
14726 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14727 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14728 to _start.
03592fc7 14729
6a5ee102
UD
147302011-03-06 Ulrich Drepper <drepper@gmail.com>
14731
14732 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14733 to-be-loaded object along a path to loader is ld.so.
14734
7e4ba49c
HJ
147352011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14736 Ulrich Drepper <drepper@gmail.com>
14737
14738 * sysdeps/x86_64/memset.S: After aligning destination, code
14739 branches to different locations depending on the value of
14740 misalignment, when multiarch is enabled. Fix this.
14741
147422011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14743
14744 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14745 Set _x86_64_preferred_memory_instruction for AMD processsors.
14746 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14747 Set bit_Prefer_SSE_for_memop for AMD processors.
14748
13a804de
UD
147492011-03-04 Ulrich Drepper <drepper@gmail.com>
14750
14751 * libio/fmemopen.c (fmemopen): Optimize a bit.
14752
9d25c392
AS
147532011-03-03 Andreas Schwab <schwab@redhat.com>
14754
14755 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14756
a5543c6a
RM
147572011-03-03 Roland McGrath <roland@redhat.com>
14758
14759 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14760
012d35f7
DM
147612011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14762
7e4ba49c 14763 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
14764 __bzero_ultra1 instead of __memset_ultra1.
14765
4bff6e01
AS
147662011-02-23 Andreas Schwab <schwab@redhat.com>
14767 Ulrich Drepper <drepper@gmail.com>
14768
14769 [BZ #12509]
14770 * include/link.h (struct link_map): Add l_orig_initfini.
14771 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14772 returning unsuccessfully.
14773 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14774 close of a file loaded at startup, restore the original l_initfini
14775 list.
14776 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14777 list, store the pointer.
14778 * elf/Makefile ($(objpfx)noload-mem): New rule.
14779 (noload-ENV): Define.
14780 (tests): Add $(objpfx)noload-mem.
14781 * elf/noload.c: Include <memcheck.h>.
14782 (main): Call mtrace. Close all opened handles.
14783
f2092faf
AS
147842011-02-17 Andreas Schwab <schwab@redhat.com>
14785
14786 [BZ #12454]
14787 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14788 dependencies are missing.
14789
6c8a2e88
ST
147902011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14791
f2092faf 14792 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
14793 Hurd needs munmap.
14794 * sysdeps/mach/hurd/ifreq.h: New file.
14795
84a42118
PB
147962011-01-27 Petr Baudis <pasky@suse.cz>
14797 Ulrich Drepper <drepper@gmail.com>
14798
071f805e 14799 [BZ 12445]#
84a42118
PB
14800 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14801 to extend_alloca().
14802 * stdio-common/bug23.c: New file.
14803 * stdio-common/Makefile (tests): Add bug23.
14804
e23fe25b
AS
148052010-09-28 Andreas Schwab <schwab@redhat.com>
14806 Ulrich Drepper <drepper@gmail.com>
14807
14808 [BZ #12489]
14809 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14810 before performing relro protection. At old place add assertion
14811 to make sure nothing changed.
14812
d3f02e10
NS
148132011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14814 Glauber de Oliveira Costa <glommer@gmail.com>
14815
14816 * elf/elf.h: Add new ARM TLS relocs.
14817
d55fd7a5
RA
148182011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14819
14820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14821 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14822 cast from r3.
14823 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14824 'tests' variable.
14825 * sysdeps/wordsize-64/tst-writev.c: New file.
14826
2206397e
RA
148272011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14828
14829 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14830 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14831 insns in _dl_start to prevent a TOC reference before relocs are
14832 resolved.
14833
e9433893
UD
148342011-02-15 Ulrich Drepper <drepper@gmail.com>
14835
14836 [BZ #12469]
14837 * Makeconfig: Remove RANLIB definition.
14838 * Makerules: Don't use RANLIB.
14839 * aclocal.m4: Remove ranlib test.
14840 * configure.in: No need to check for ranlib.
14841 * elf/rtld-Rules: Don't use RANLIB.
14842
f75286c6
ST
148432011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14844
8e31c82d
ST
14845 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14846 protection macro.
14847 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14848 inclusion protection macro.
14849
f75286c6
ST
14850 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14851 SIGRTMIN and SIGRTMAX and print information in that case only when
14852 SIGRTMIN is defined.
14853
c1d0e639
JJ
148542011-02-11 Jakub Jelinek <jakub@redhat.com>
14855
14856 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14857 arginfo fn returning -1.
14858
14859 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14860 and thousands string is zero terminated.
14861
edf9294e
AS
148622011-02-03 Andreas Schwab <schwab@redhat.com>
14863
14864 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14865 sysdeps/unix/sysv/linux/bits/socket.h.
14866
2b7e92df
ST
148672011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14868
edf9294e
AS
14869 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14870 (__CPU_COUNT): Remove old macros.
14871 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14872 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14873 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
14874 (__sched_cpualloc, __sched_cpufree): Add declarations.
14875
a4c7ea7b
UD
148762011-02-05 Ulrich Drepper <drepper@gmail.com>
14877
14878 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14879 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14880 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14881 (readdhstai): Return value of addhstaiX call.
14882 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14883 (addgrbyX): Return value returned by cache_addgr.
14884 (readdgrbyname): Return value returned by addgrbyX.
14885 (readdgrbygid): Likewise.
14886 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14887 (addpwbyX): Return value returned by cache_addpw.
14888 (readdpwbyname): Return value returned by addhstbyX.
14889 (readdpwbyuid): Likewise.
14890 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14891 (addservbyX): Return value returned by cache_addserv.
14892 (readdservbyname): Return value returned by addservbyX:
14893 (readdservbyport): Likewise.
14894 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14895 (addhstbyX): Return value returned by cache_addhst.
14896 (readdhstbyname): Return value returned by addhstbyX.
14897 (readdhstbyaddr): Likewise.
14898 (readdhstbynamev6): Likewise.
14899 (readdhstbyaddrv6): Likewise.
14900 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14901 (readdinitgroups): Return value returned by addinitgroupsX.
14902 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14903 (prune_cache): Keep track of timeout value of re-added entries.
14904 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14905 * nscd/nscd.h: Adjust prototypes of readd* functions.
14906
a0bf67cc
RM
149072011-02-04 Roland McGrath <roland@redhat.com>
14908
14909 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14910 (nis_stats): Likewise.
14911 * nis/nis_modify.c (nis_modify): Likewise.
14912 * nis/nis_remove.c (nis_remove): Likewise.
14913 * nis/nis_add.c (nis_add): Likewise.
14914
14915 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14916
14917 * posix/fnmatch_loop.c: Add some consts.
14918
14919 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14920
435b95eb
L
149212011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14922
14923 [BZ #12460]
14924 * config.make.in (config-cflags-novzeroupper): Define.
14925 * configure.in: Substitute libc_cv_cc_novzeroupper.
14926 * elf/Makefile (AVX-CFLAGS): Define.
14927 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14928 (CFLAGS-tst-auditmod4a.c): Likewise.
14929 (CFLAGS-tst-auditmod4b.c): Likewise.
14930 (CFLAGS-tst-auditmod6b.c): Likewise.
14931 (CFLAGS-tst-auditmod6c.c): Likewise.
14932 (CFLAGS-tst-auditmod7b.c): Likewise.
14933 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14934
8517b15e
UD
149352011-02-02 Ulrich Drepper <drepper@gmail.com>
14936
14937 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14938 function to the callback.
14939 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14940
10a656fe
AS
149412011-02-02 Andreas Schwab <schwab@redhat.com>
14942
14943 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14944 of errno.
14945
968dad0a
UD
149462011-01-19 Ulrich Drepper <drepper@gmail.com>
14947
9f94d2ea 14948 [BZ #11724]
968dad0a
UD
14949 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14950 of constructors.
14951 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14952 of destructors.
14953 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14954
14955 [BZ #11724]
14956 * elf/Makefile: Add rules to build and run new test.
14957 * elf/tst-initorder.c: New file.
14958 * elf/tst-initorder.exp: New file.
14959 * elf/tst-initordera1.c: New file.
14960 * elf/tst-initordera2.c: New file.
14961 * elf/tst-initordera3.c: New file.
14962 * elf/tst-initordera4.c: New file.
14963 * elf/tst-initorderb1.c: New file.
14964 * elf/tst-initorderb2.c: New file.
14965 * elf/tst-order-a1.c: New file.
14966 * elf/tst-order-a2.c: New file.
14967 * elf/tst-order-a3.c: New file.
14968 * elf/tst-order-a4.c: New file.
14969 * elf/tst-order-b1.c: New file.
14970 * elf/tst-order-b2.c: New file.
14971 * elf/tst-order-main.c: New file.
14972 New test case by George Gensure <werkt0@gmail.com>.
14973
86e92359
UD
149742010-10-01 Andreas Schwab <schwab@redhat.com>
14975
14976 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14977 decoding ACE if AI_CANONIDN.
14978
5d5732b0
UD
149792011-01-18 Ulrich Drepper <drepper@gmail.com>
14980
14981 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14982
a77e8cbc
UD
149832011-01-17 Ulrich Drepper <drepper@gmail.com>
14984
6392473f
UD
14985 * version.h (RELEASE): Bump for 2.13 release.
14986 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14987
620a0529
UD
14988 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14989
18ba70a5
UD
14990 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14991 MADV_NOHUGEPAGE.
32465c3e
UD
14992 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14993 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14994 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14995 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14996 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14997 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14998
c0dafcf1
UD
14999 * posix/getconf.c: Update copyright year.
15000 * catgets/gencat.c: Likewise.
15001 * csu/version.c: Likewise.
15002 * debug/catchsegv.sh: Likewise.
15003 * debug/xtrace.sh: Likewise.
15004 * elf/ldconfig.c: Likewise.
15005 * elf/ldd.bash.in: Likewise.
15006 * elf/sprof.c (print_version): Likewise.
15007 * iconv/iconv_prog.c: Likewise.
15008 * iconv/iconvconfig.c: Likewise.
15009 * locale/programs/locale.c: Likewise.
15010 * locale/programs/localedef.c: Likewise.
15011 * malloc/memusage.sh: Likewise.
15012 * malloc/mtrace.pl: Likewise.
15013 * nscd/nscd.c (print_version): Likewise.
15014 * nss/getent.c: Likewise.
15015
a77e8cbc
UD
15016 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
15017 PF_CAIF, and PF_ALG.
15018 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15019
77e8bddf
AS
150202011-01-16 Andreas Schwab <schwab@linux-m68k.org>
15021
1f20b93a
AS
15022 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
15023 (modules-names): Use them.
15024 (ifunc-test-modules, ifunc-pie-tests): Define.
15025 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
15026 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
15027 (test-extras): Likewise.
15028 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
15029 $(compile-command.c).
15030 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
15031 (all-built-dso): Define.
15032 (check-textrel.out, check-execstack.out): Depend on it.
15033
77e8bddf
AS
15034 * configure.in: Don't override --enable-multi-arch.
15035
bc425b33
UD
150362011-01-15 Ulrich Drepper <drepper@gmail.com>
15037
15038 [BZ #6812]
15039 * nscd/hstcache.c (tryagain): Define.
15040 (cache_addhst): Return tryagain not notfound for temporary errors.
15041 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
15042 failed.
15043
794c3ad3
UD
150442011-01-14 Ulrich Drepper <drepper@gmail.com>
15045
70181fdd
UD
15046 [BZ #10563]
15047 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
15048 to make the syscall.
15049 * sysdeps/unix/sysv/linux/setgroups.c: New file.
15050
794c3ad3
UD
15051 [BZ #12378]
15052 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
15053 and fall back to matching as normal character if the string ends before
15054 the matching ']' is found. This is what POSIX requires.
15055 * posix/testfnm.c: Adjust test result.
15056 * posix/globtest.sh: Adjust test result. Add new test.
15057 * posix/tst-fnmatch.input: Likewise.
15058 * posix/tst-fnmatch2.c: Add new test.
15059
68dc9497
AS
150602010-12-28 Andreas Schwab <schwab@linux-m68k.org>
15061
15062 * elf/Makefile (check-execstack): Revert last change. Depend on
15063 check-execstack.h.
15064 (check-execstack.h): New target.
15065 (generated): Add check-execstack.h.
15066 * elf/check-execstack.c: Include "check-execstack.h".
15067 (main): Revert last change.
15068 (handle_file): Return zero if GNU_STACK is absent and
15069 DEFAULT_STACK_PERMS doesn't include PF_X.
15070
451f001b
UD
150712011-01-13 Ulrich Drepper <drepper@gmail.com>
15072
cfa28e56
UD
15073 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
15074 in child fails because the descriptor is already closed.
8cf8ce17
UD
15075 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
15076 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
15077 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 15078
1086d70d
UD
15079 [BZ #12397]
15080 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
15081 syscall.
15082
451f001b
UD
15083 [BZ #10484]
15084 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
15085 temporary buffer used to handle multi lookups locally.
a85b5cb4 15086 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 15087
08769175
UD
150882011-01-12 Ulrich Drepper <drepper@gmail.com>
15089
15090 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
15091 loader is ld.so.
15092
5e49c52e
UD
150932011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
15094
15095 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
15096 alignment for SSE2.
15097
60522a5f
UD
150982011-01-12 Ulrich Drepper <drepper@gmail.com>
15099
15100 [BZ #12394]
15101 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
15102 characters. When rounding increased number of integer digits recompute
15103 number of groups.
15104 * stdio-common/tst-grouping.c: New file.
15105 * stdio-common/Makefile: Add rules to build and run tst-grouping.
15106
f257bbd7
UD
151072011-01-09 Ulrich Drepper <drepper@gmail.com>
15108
15109 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15110 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
15111
15112 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15113 void.
15114 * bits/select.h: Likewise.
15115
fa9c15cb
UD
151162011-01-08 Ulrich Drepper <drepper@gmail.com>
15117
15118 * po/ja.po: Update from translation team.
15119
16c2895f
DM
151202011-01-04 David S. Miller <davem@sunset.davemloft.net>
15121
15122 [BZ #11155]
15123 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15124 implementation just like for lxstat, fxstatat, et al.
15125
2543fef2
JM
151262010-12-27 Jim Meyering <meyering@redhat.com>
15127
15128 [BZ #12348]
15129 * posix/regexec.c (build_trtable): Return failure indication upon
15130 calloc failure. Otherwise, re_search_internal could infloop on OOM.
15131
98727dbe
UD
151322010-12-25 Ulrich Drepper <drepper@gmail.com>
15133
5bd6dc5c
UD
15134 [BZ #12201]
15135 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15136 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15137 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15138 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15139
97983464
UD
15140 [BZ #12207]
15141 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15142
98727dbe
UD
15143 [BZ #12204]
15144 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15145 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15146
4a531bb0
L
151472010-12-15 H.J. Lu <hongjiu.lu@intel.com>
15148
15149 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15150 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15151 script has SORT_BY_INIT_PRIORITY.
15152 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15153 NO_CTORS_DTORS_SECTIONS is defined.
15154 * elf/soinit.c: Likewise.
15155 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15156 NO_CTORS_DTORS_SECTIONS is defined.
15157 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15158 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15159 * sysdeps/sh/init-first.c: Likewise.
15160 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15161
07eb4b71
UD
151622010-12-24 Ulrich Drepper <drepper@gmail.com>
15163
15164 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15165 always use the slow path.
15166
30950a5f
RA
151672010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15168
15169 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15170 similar rule which adds the sysdep directories to the header search in
15171 order to pick up the correct platform stackinfo.h.
15172 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15173 perform test if it is, otherwise return successfully without testing.
15174 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15175 DEFAULT_STACK_PERMS define in stackinfo.h.
15176 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15177 defined in stackinfo.h.
15178 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15179 DEFAULT_STACK_PERMS defined in stackinfo.h.
15180 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15181 * sysdeps/ia64/stackinfo.h: Likewise.
15182 * sysdeps/s390/stackinfo.h: Likewise.
15183 * sysdeps/sh/stackinfo.h: Likewise.
15184 * sysdeps/sparc/stackinfo.h: Likewise.
15185 * sysdeps/x86_64/stackinfo.h: Likewise.
15186 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15187 PF_X for powerpc64. Retain PF_X for powerpc32.
15188
db753e2c
UD
151892010-12-19 Ulrich Drepper <drepper@gmail.com>
15190
14b697f7
UD
15191 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15192 accurately.
db753e2c
UD
15193 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15194 GETDENTS_64BIT_ALIGNED.
15195
28300719
UD
151962010-12-14 Ulrich Drepper <dreper@gmail.com>
15197
14b697f7 15198 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 15199
4f197237
AS
152002010-12-10 Andreas Schwab <schwab@redhat.com>
15201
dbb0472f
AS
15202 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15203 _GNU_SOURCE.
15204
4f197237
AS
15205 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15206 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15207 Remove __restrict.
15208 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15209 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15210
fb88ac72
UD
152112010-12-09 Ulrich Drepper <drepper@gmail.com>
15212
15213 [BZ #11655]
15214 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15215 are initialized.
15216
42acbb92
JJ
152172010-12-09 Jakub Jelinek <jakub@redhat.com>
15218
15219 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15220
c038d98d
UD
152212010-12-03 Ulrich Drepper <drepper@gmail.com>
15222
15223 * po/it.po: Update from translation team.
15224
3a4a2499
L
152252010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15226
15227 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15228 unused codes.
15229
1e24cf6e
UD
152302010-11-30 Ulrich Drepper <drepper@gmail.com>
15231
15232 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15233
a7690819
AS
152342010-11-24 Andreas Schwab <schwab@redhat.com>
15235
15236 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15237 specially.
15238 (gaih_getanswer_slice): Likewise.
15239
3bf8d1b1
JJ
152402010-10-20 Jakub Jelinek <jakub@redhat.com>
15241
15242 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15243
6db52fbb
PB
152442010-05-31 Petr Baudis <pasky@suse.cz>
15245
15246 [BZ #11149]
15247 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15248 silently even in the chroot mode.
15249
eaca7569
UD
152502010-11-22 Ulrich Drepper <drepper@gmail.com>
15251
15252 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15253 last patch a bit. Pretty printing
15254
3056dcdb
UD
152552010-05-31 Petr Baudis <pasky@suse.cz>
15256
15257 [BZ #10085]
15258 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15259 initialization of skip_initgroups_dyn.
15260
cf7c9078
UD
152612010-11-19 Ulrich Drepper <drepper@gmail.com>
15262
15263 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15264 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15265
a1fb5e3e
UD
152662010-11-16 Ulrich Drepper <drepper@gmail.com>
15267
15268 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15269
3540d66b
AS
152702010-11-11 Andreas Schwab <schwab@redhat.com>
15271
15272 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15273 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15274 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15275 ($(objpfx)tst-fnmatch-mem): New rule.
15276 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15277 * posix/tst-fnmatch.c (main): Call mtrace.
15278
13b69574
L
152792010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15280
15281 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15282 Support Intel processor model 6 and model 0x2c.
15283
da93d214
LM
152842010-11-10 Luis Machado <luisgpm@br.ibm.com>
15285
15286 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15287 signed comparison.
15288
8ca52c6e
L
152892010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15290
15291 [BZ #12205]
15292 * string/test-strncasecmp.c (check_result): New function.
15293 (do_one_test): Use it.
15294 (check1): New function.
15295 (test_main): Use it.
15296 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15297 Support strcasecmp and strncasecmp.
15298
69da074d
UD
152992010-11-08 Ulrich Drepper <drepper@gmail.com>
15300
15301 [BZ #12194]
15302 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15303 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15304
ff02d528
L
153052010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15306
15307 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15308 IFUNC support.
15309 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15310 memset-x86-64.
15311 * sysdeps/x86_64/multiarch/bzero.S: New file.
15312 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15313 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15314 * sysdeps/x86_64/multiarch/memset.S: New file.
15315 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15316 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15317 Set bit_Prefer_SSE_for_memop for Intel processors.
15318 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15319 Define.
15320 (index_Prefer_SSE_for_memop): Define.
15321 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15322
344d0b54
LM
153232010-11-04 Luis Machado <luisgpm@br.ibm.com>
15324
15325 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15326 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15327
c0dde15b
UD
153282010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15329
15330 [BZ #12191]
15331 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15332 (__x86_64_raw_data_cache_size_half): Likewise.
15333 (__x86_64_raw_shared_cache_size): Likewise.
15334 (__x86_64_raw_shared_cache_size_half): Likewise.
15335
15336 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15337 (__x86_64_raw_data_cache_size_half): Likewise.
15338 (__x86_64_raw_shared_cache_size): Likewise.
15339 (__x86_64_raw_shared_cache_size_half): Likewise.
15340 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15341 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15342 and __x86_64_raw_shared_cache_size_half. Round
15343 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15344 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15345 to multiple of 256 bytes.
15346
0e516e0e
MS
153472010-11-03 Ulrich Drepper <drepper@gmail.com>
15348
15349 [BZ #12167]
15350 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15351 of inacessible symlinks. Verify result of symlink before returning it.
15352 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15353 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15354
0e012e87
ER
153552010-10-28 Erich Ritz <erichritz@gmail.com>
15356
15357 * math/math.h (isinf): Fix typo in comment.
15358
de0ff7bc
UD
153592010-11-01 Ulrich Drepper <drepper@gmail.com>
15360
15361 * po/da.po: Update from translation team.
15362
fa41c84d
UD
153632010-10-26 Ulrich Drepper <drepper@gmail.com>
15364
15365 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15366 is added to the list.
15367
f0967738
AK
153682010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15369 Ulrich Drepper <drepper@gmail.com>
15370
15371 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15372 the global list here. Move code to...
15373 (_dl_add_to_namespace_list): ...here. New function.
15374 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15375 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15376 * elf/dl-load.c (lose): Don't remove the element from the list.
15377 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15378 (_dl_map_object): Likewise.
15379
153802010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
15381
15382 [BZ #12159]
15383 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15384 into all bytes of SSE register.
15385 Patch by Richard Li <richardpku@gmail.com>.
15386
f0967738 153872010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
15388
15389 [BZ #12140]
15390 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15391 perturbing.
15392
d0b9e94f
MB
153932010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15394
15395 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15396 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15397 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15398 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15400 submachine.
15401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15402
8e9f92e9
AS
154032010-10-22 Andreas Schwab <schwab@redhat.com>
15404
15405 * include/dlfcn.h (__RTLD_SECURE): Define.
15406 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15407 mode & __RTLD_SECURE instead.
15408 (open_path): Rename preloaded parameter to secure.
15409 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15410 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15411 * elf/dl-deps.c (openaux): Likewise.
15412 * elf/rtld.c (struct map_args): Remove is_preloaded.
15413 (map_doit): Don't use it.
15414 (dl_main): Likewise.
15415 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15416 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15417
bc96fbda
AS
154182010-09-09 Andreas Schwab <schwab@redhat.com>
15419
15420 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15421 (sysd-rules-targets): Remove duplicates.
15422 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15423 rtld-%.$o dependency.
15424
22cd1c9b
AS
154252010-10-18 Andreas Schwab <schwab@redhat.com>
15426
15427 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15428 _dl_map_object do it.
15429
18edac48
UD
154302010-10-19 Ulrich Drepper <drepper@gmail.com>
15431
15432 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15433 fast fma builtins, define the macros in the C99 standard.
15434 (FP_FAST_FMAF): Likewise.
15435 (FP_FAST_FMAL): Likewise.
15436 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15437
15438 * bits/mathdef.h: Update copyright year.
15439 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15440
d2050124
MM
154412010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15442
15443 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15444 builtins, define the macros in the C99 standard.
15445 (FP_FAST_FMAF): Likewise.
15446 (FP_FAST_FMAL): Likewise.
15447 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15448 multiply/add.
15449 (FP_FAST_FMAF): Likewise.
15450
475facd1
JJ
154512010-10-15 Jakub Jelinek <jakub@redhat.com>
15452
15453 [BZ #3268]
15454 * math/libm-test.inc (fma_test): Some new testcases.
15455 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15456 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15457 y and infinite z. Do multiplication by C already in long double.
15458 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15459 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15460 y and infinite z. Do bitwise or of inexact bit into u.d.
15461 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15462 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15463 * sysdeps/i386/fpu/s_fma.S: Removed.
15464 * sysdeps/i386/fpu/s_fmal.S: Removed.
15465
7c08a05c
JJ
154662010-10-16 Jakub Jelinek <jakub@redhat.com>
15467
15468 [BZ #3268]
15469 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15470 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15471 computation is not scheduled after fetestexcept. Fix value
15472 of minimum denormal long double.
15473
f3f7372d
JJ
154742010-10-14 Jakub Jelinek <jakub@redhat.com>
15475
15476 [BZ #3268]
15477 * math/libm-test.inc (fma_test): Add some more tests.
15478 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15479 correctly.
15480
14d43591
AS
154812010-10-15 Andreas Schwab <schwab@redhat.com>
15482
15483 * scripts/data/localplt-s390-linux-gnu.data: New file.
15484 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15485
5e908464
JJ
154862010-10-13 Jakub Jelinek <jakub@redhat.com>
15487
15488 [BZ #3268]
15489 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15490 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15491 instead of dbl-64.
15492 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15493 inlines.
15494 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15495 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15496 if one of x and y is very large and the other is subnormal.
15497 * sysdeps/s390/fpu/s_fmaf.c: New file.
15498 * sysdeps/s390/fpu/s_fma.c: New file.
15499 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15500 * sysdeps/powerpc/fpu/s_fma.S: New file.
15501 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15502 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15503 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15504
155052010-10-12 Jakub Jelinek <jakub@redhat.com>
15506
15507 [BZ #3268]
15508 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15509 fma tests.
15510 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15511 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15512 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15513 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15514 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15515 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15516 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15517
b833d51f
UD
155182010-10-12 Ulrich Drepper <drepper@redhat.com>
15519
15520 [BZ #12078]
15521 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15522 * posix/bug-regex31.input: Add test case.
15523
1751705d
UD
155242010-10-11 Ulrich Drepper <drepper@gmail.com>
15525
e9b9cbf5
UD
15526 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15527 * posix/bug-regex31.input: New file.
15528
15529 [BZ #12078]
15530 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15531 (parse_sub_exp): Fix last change, use postorder.
15532
ef06edbe
UD
15533 * posix/bug-regex31.c: New file.
15534 * posix/Makefile: Add rules to build and run bug-regex31.
15535
a129c80d
UD
15536 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15537
15538 [BZ #12078]
15539 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15540
b76b818e
UD
15541 [BZ #12108]
15542 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15543 to have entries in sys_siglist.
15544
1751705d
UD
15545 [BZ #12093]
15546 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15547 be NULL.
15548
9ff8d36f
JJ
155492010-10-07 Jakub Jelinek <jakub@redhat.com>
15550
15551 [BZ #3268]
15552 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15553 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15554 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15555 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15556 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15557 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15558 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15559 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15560 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15561 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15562 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15563 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15564 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15565 * math/ftestexcept.c (fetestexcept): Likewise.
15566 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15567 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15568 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15569 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15570 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15571 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15572 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15573
af325969
UD
155742010-10-11 Ulrich Drepper <drepper@gmail.com>
15575
c579b202 15576 [BZ #12107]
af325969
UD
15577 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15578 newline.
15579
67a67b95
UD
155802010-10-06 Ulrich Drepper <drepper@gmail.com>
15581
15582 * string/bug-strstr1.c: New file.
15583 * string/Makefile: Add rules to build and run bug-strstr1.
15584
5fb308bc
EB
155852010-10-05 Eric Blake <eblake@redhat.com>
15586
15587 [BZ #12092]
15588 * string/str-two-way.h (two_way_long_needle): Always clear memory
15589 when skipping input due to the shift table.
15590
45db99c7
UD
155912010-10-03 Ulrich Drepper <drepper@gmail.com>
15592
3b111893
UD
15593 [BZ #12005]
15594 * malloc/mcheck.c: Handle large requests.
15595
45db99c7
UD
15596 [BZ #12077]
15597 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15598 for strncmp and strncasecmp.
15599 * string/stratcliff.c: Add tests for strcmp and strncmp.
15600 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15601
cf7a1eb8
NI
156022010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15603
15604 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15605 __set_fpscr.
15606
6484ba5e
AJ
156072010-09-30 Andreas Jaeger <aj@suse.de>
15608
15609 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15610 (CGROUP_SUPER_MAGIC): Define.
15611 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15612 Handle btrfs and cgroup file systems.
15613 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15614 Likewise.
15615
91c42559
LM
156162010-09-27 Luis Machado <luisgpm@br.ibm.com>
15617
15618 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15619 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15620
87a97932
AK
156212010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15622
15623 [BZ #12067]
15624 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15625 trying to locate the ELF header.
15626
c21cc9bc
AS
156272010-09-27 Andreas Schwab <schwab@redhat.com>
15628
15629 [BZ #11611]
15630 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15631 Mask out sign-bit copies when constructing f_fsid.
15632
315970f6
PB
156332010-09-24 Petr Baudis <pasky@suse.cz>
15634
15635 * debug/stack_chk_fail_local.c: Add missing licence exception.
15636 * debug/warning-nop.c: Likewise.
15637
1ac7a2c7
JM
156382010-09-15 Joseph Myers <joseph@codesourcery.com>
15639
15640 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15641 implementing getdents64 using getdents syscall, set d_type if
15642 __ASSUME_GETDENTS32_D_TYPE.
15643
56801c50
AS
156442010-09-16 Andreas Schwab <schwab@redhat.com>
15645
15646 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15647 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15648
dda51327
UD
156492010-09-21 Ulrich Drepper <drepper@redhat.com>
15650
15651 [BZ #12037]
15652 * posix/unistd.h: Undo change of feature selection for ftruncate from
15653 2010-01-11.
15654
8ffcee4a
UD
156552010-09-20 Ulrich Drepper <drepper@redhat.com>
15656
a545ecd9 15657 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
15658 detection.
15659
e24f0a8b
AS
156602010-09-20 Andreas Schwab <schwab@redhat.com>
15661
15662 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15663 fanotify_mark.
15664 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15665
7291c56f
AS
156662010-09-14 Andreas Schwab <schwab@redhat.com>
15667
15668 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15669 variables after CHECK_SP call.
15670 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15671
bc5fb037
AS
156722010-09-13 Andreas Schwab <schwab@redhat.com>
15673 Ulrich Drepper <drepper@redhat.com>
15674
15675 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15676 re-relocationg ld.so.
15677 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15678 _dl_init_paths call.
15679 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15680 here anymore.
15681
e66e7419
UD
156822010-09-14 Ulrich Drepper <drepper@redhat.com>
15683
15684 * resolv/res_init.c (__res_vinit): Count the default server we added.
15685
c044aa75
CLT
156862010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15687 Ulrich Drepper <drepper@redhat.com>
15688
15689 [BZ #11968]
15690 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15691 (____longjmp_chk): Use %ebx for saving value across system call.
15692 Add unwind info.
15693
32cf4069
AS
156942010-09-06 Andreas Schwab <schwab@redhat.com>
15695
15696 * manual/Makefile: Don't mix pattern rules with normal rules.
15697
817328ee
AS
156982010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15699
15700 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15701 operation.
15702 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15703 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15704 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15705 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15706 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15707 Likewise.
15708
29fddf61
UD
157092010-09-04 Ulrich Drepper <drepper@redhat.com>
15710
15711 [BZ #11979]
15712 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15713 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15714
0959ffc9
UD
157152010-09-02 Ulrich Drepper <drepper@redhat.com>
15716
15717 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15718 * sysdeps/x86_64/addmul_1.S: Likewise.
15719 * sysdeps/x86_64/lshift.S: Likewise.
15720 * sysdeps/x86_64/mul_1.S: Likewise.
15721 * sysdeps/x86_64/rshift.S: Likewise.
15722 * sysdeps/x86_64/sub_n.S: Likewise.
15723 * sysdeps/x86_64/submul_1.S: Likewise.
15724
ece29840
ST
157252010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15726
0959ffc9
UD
15727 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15728 Define __sched_param instead of SCHED_* and sched_param when
ece29840 15729 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 15730 * bits/sched.h [__need_schedparam]
ece29840 15731 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
15732 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15733 (__defined_schedparam): Define to 1.
ece29840
ST
15734 (__sched_param): New structure, identical to sched_param.
15735 (__need_schedparam): Undefine.
15736
e53a31fe
MF
157372010-08-31 Mike Frysinger <vapier@gentoo.org>
15738
fdc0c10d
MF
15739 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15740 (epoll_create1): Declare.
15741
e53a31fe
MF
15742 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15743
a726d796
AS
157442010-08-31 Andreas Schwab <schwab@redhat.com>
15745
15746 [BZ #7066]
15747 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15748 shifting retval into place.
15749
2f3e3dc7
UD
157502010-09-01 Ulrich Drepper <drepper@redhat.com>
15751
f2933da9
UD
15752 * nis/rpcsvc/nis.h: Update copyright notice.
15753 * nis/rpcsvc/nis.x: Likewise.
15754 * nis/rpcsvc/nis_callback.h: Likewise.
15755 * nis/rpcsvc/nis_callback.x: Likewise.
15756 * nis/rpcsvc/nis_object.x: Likewise.
15757 * nis/rpcsvc/nis_tags.h: Likewise.
15758 * nis/rpcsvc/yp.h: Likewise.
15759 * nis/rpcsvc/yp.x: Likewise.
15760 * nis/rpcsvc/ypupd.h: Likewise.
15761 * nis/yp_xdr.c: Likewise.
15762 * nis/ypupdate_xdr.c: Likewise.
15763
2f3e3dc7
UD
15764 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15765 mainly the body of pmap_getport. Add parameters to specify timeouts.
15766 (pmap_getport): Use __libc_rpc_getport.
15767 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15768 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15769 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15770
f3dcc2f9
AS
157712010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15772
15773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15774 fanotify_mark.
15775
6d34eb5b
RM
157762010-08-27 Roland McGrath <roland@redhat.com>
15777
15778 * sysdeps/i386/i686/multiarch/Makefile
15779 (CFLAGS-varshift.c): New variable.
15780
9ea3de11
UD
157812010-08-27 Ulrich Drepper <drepper@redhat.com>
15782
c96d23fc
UD
15783 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15784 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15785
9ea3de11
UD
15786 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15787
15788 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15789
623aac7f
L
157902010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15791
15792 * sysdeps/x86_64/strlen.S: Unroll the loop.
15793 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15794 strlen-sse2 strlen-sse2-bsf.
15795 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15796 __strlen_no_bsf if bit_Slow_BSF is set.
15797 (__strlen_sse42): Removed.
15798 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15799 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15800
8b2b7715
RM
158012010-08-25 Roland McGrath <roland@redhat.com>
15802
15803 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15804 * sysdeps/x86_64/multiarch/varshift.c: New file.
15805 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15806 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15807 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15808 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15809
e73015f2
L
158102010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15811
15812 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15813 strlen-sse2 strlen-sse2-bsf.
15814 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15815 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15816 (__strlen_sse2): Removed.
15817 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15818 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15819 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15820 bit_Slow_BSF for Atom.
15821 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15822 (index_Slow_BSF): Define.
15823 (HAS_SLOW_BSF): Define.
15824
df24a73e
UD
158252010-08-25 Ulrich Drepper <drepper@redhat.com>
15826
15827 [BZ #10851]
15828 * resolv/res_init.c (__res_vinit): When no server address at all
15829 is given default to loopback.
15830
f2ac4868
RM
158312010-08-24 Roland McGrath <roland@redhat.com>
15832
09055553
RM
15833 * configure.in: Remove config-name.h generation.
15834 * configure: Regenerated.
15835 * config-name.in: File removed.
15836 * scripts/config-uname.sh: New file.
15837 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15838 ($(objdir)config-name.h): New target.
15839
f2ac4868
RM
15840 * sunrpc/rpc_parse.h: Avoid nested comment.
15841
73f27d5e
RH
158422010-08-24 Richard Henderson <rth@redhat.com>
15843 Ulrich Drepper <drepper@redhat.com>
15844 H.J. Lu <hongjiu.lu@intel.com>
15845
15846 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15847 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15848 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15849 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15850 _mm_alignr_epi8 with _mm_loadu_si128.
15851 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15852 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15853 (__m128i_shift_right): Removed.
15854 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15855 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15856 * sysdeps/x86_64/multiarch/varshift.h: New file.
15857 * sysdeps/x86_64/multiarch/varshift.S: New file.
15858
84b9230c
MF
158592010-08-21 Mike Frysinger <vapier@gentoo.org>
15860
15861 * configure.in: Move assembler checks to before sysdep dir checking.
15862
9bbd0ddc
PB
158632010-08-20 Petr Baudis <pasky@suse.cz>
15864
15865 * LICENSES: Sync the sunrpc license.
15866
9da4bb31
UD
158672010-08-19 Ulrich Drepper <drepper@redhat.com>
15868
a7ab6ec8
UD
15869 * sunrpc/auth_des.c: Update copyright notice once again.
15870 * sunrpc/auth_none.c: Likewise.
15871 * sunrpc/auth_unix.c: Likewise.
15872 * sunrpc/authdes_prot.c: Likewise.
15873 * sunrpc/authuxprot.c: Likewise.
15874 * sunrpc/bindrsvprt.c: Likewise.
15875 * sunrpc/clnt_gen.c: Likewise.
15876 * sunrpc/clnt_perr.c: Likewise.
15877 * sunrpc/clnt_raw.c: Likewise.
15878 * sunrpc/clnt_simp.c: Likewise.
15879 * sunrpc/clnt_tcp.c: Likewise.
15880 * sunrpc/clnt_udp.c: Likewise.
15881 * sunrpc/clnt_unix.c: Likewise.
15882 * sunrpc/des_crypt.c: Likewise.
15883 * sunrpc/des_soft.c: Likewise.
15884 * sunrpc/get_myaddr.c: Likewise.
15885 * sunrpc/getrpcport.c: Likewise.
15886 * sunrpc/key_call.c: Likewise.
15887 * sunrpc/key_prot.c: Likewise.
15888 * sunrpc/openchild.c: Likewise.
15889 * sunrpc/pm_getmaps.c: Likewise.
15890 * sunrpc/pm_getport.c: Likewise.
15891 * sunrpc/pmap_clnt.c: Likewise.
15892 * sunrpc/pmap_prot.c: Likewise.
15893 * sunrpc/pmap_prot2.c: Likewise.
15894 * sunrpc/pmap_rmt.c: Likewise.
15895 * sunrpc/rpc/auth.h: Likewise.
15896 * sunrpc/rpc/auth_unix.h: Likewise.
15897 * sunrpc/rpc/clnt.h: Likewise.
15898 * sunrpc/rpc/des_crypt.h: Likewise.
15899 * sunrpc/rpc/key_prot.h: Likewise.
15900 * sunrpc/rpc/netdb.h: Likewise.
15901 * sunrpc/rpc/pmap_clnt.h: Likewise.
15902 * sunrpc/rpc/pmap_prot.h: Likewise.
15903 * sunrpc/rpc/pmap_rmt.h: Likewise.
15904 * sunrpc/rpc/rpc.h: Likewise.
15905 * sunrpc/rpc/rpc_des.h: Likewise.
15906 * sunrpc/rpc/rpc_msg.h: Likewise.
15907 * sunrpc/rpc/svc.h: Likewise.
15908 * sunrpc/rpc/svc_auth.h: Likewise.
15909 * sunrpc/rpc/types.h: Likewise.
15910 * sunrpc/rpc/xdr.h: Likewise.
15911 * sunrpc/rpc_clntout.c: Likewise.
15912 * sunrpc/rpc_cmsg.c: Likewise.
15913 * sunrpc/rpc_common.c: Likewise.
15914 * sunrpc/rpc_cout.c: Likewise.
15915 * sunrpc/rpc_dtable.c: Likewise.
15916 * sunrpc/rpc_hout.c: Likewise.
15917 * sunrpc/rpc_main.c: Likewise.
15918 * sunrpc/rpc_parse.c: Likewise.
15919 * sunrpc/rpc_parse.h: Likewise.
15920 * sunrpc/rpc_prot.c: Likewise.
15921 * sunrpc/rpc_sample.c: Likewise.
15922 * sunrpc/rpc_scan.c: Likewise.
15923 * sunrpc/rpc_scan.h: Likewise.
15924 * sunrpc/rpc_svcout.c: Likewise.
15925 * sunrpc/rpc_tblout.c: Likewise.
15926 * sunrpc/rpc_util.c: Likewise.
15927 * sunrpc/rpc_util.h: Likewise.
15928 * sunrpc/rpcinfo.c: Likewise.
15929 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15930 * sunrpc/rpcsvc/key_prot.x: Likewise.
15931 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15932 * sunrpc/rpcsvc/mount.x: Likewise.
15933 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15934 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15935 * sunrpc/rpcsvc/rex.x: Likewise.
15936 * sunrpc/rpcsvc/rstat.x: Likewise.
15937 * sunrpc/rpcsvc/rusers.x: Likewise.
15938 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15939 * sunrpc/rpcsvc/spray.x: Likewise.
15940 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15941 * sunrpc/rtime.c: Likewise.
15942 * sunrpc/svc.c: Likewise.
15943 * sunrpc/svc_auth.c: Likewise.
15944 * sunrpc/svc_authux.c: Likewise.
15945 * sunrpc/svc_raw.c: Likewise.
15946 * sunrpc/svc_run.c: Likewise.
15947 * sunrpc/svc_simple.c: Likewise.
15948 * sunrpc/svc_tcp.c: Likewise.
15949 * sunrpc/svc_udp.c: Likewise.
15950 * sunrpc/svc_unix.c: Likewise.
15951 * sunrpc/svcauth_des.c: Likewise.
15952 * sunrpc/xcrypt.c: Likewise.
15953 * sunrpc/xdr.c: Likewise.
15954 * sunrpc/xdr_array.c: Likewise.
15955 * sunrpc/xdr_float.c: Likewise.
15956 * sunrpc/xdr_mem.c: Likewise.
15957 * sunrpc/xdr_rec.c: Likewise.
15958 * sunrpc/xdr_ref.c: Likewise.
15959 * sunrpc/xdr_sizeof.c: Likewise.
15960 * sunrpc/xdr_stdio.c: Likewise.
15961
9da4bb31
UD
15962 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15963 handling.
15964
bdaa77bc
AS
159652010-08-19 Andreas Schwab <schwab@redhat.com>
15966
15967 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15968
fe2f79db
LM
159692010-08-19 Luis Machado <luisgpm@br.ibm.com>
15970
15971 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15972 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15973 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15974 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15975 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15976 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15977 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15978 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15979 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15980 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15981 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15982 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15983 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15984 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15985
b9b42ee0
AB
159862010-07-26 Anton Blanchard <anton@samba.org>
15987
15988 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15989 * malloc/arena.c (heap_trim): Likewise.
15990
1c06ba31
UD
159912010-08-16 Ulrich Drepper <drepper@redhat.com>
15992
15993 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15994 here. Not...
15995 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15996 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15997
f8392f40
L
159982010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15999
16000 * sysdeps/i386/elf/Makefile: New file.
16001
3162f12e
AS
160022010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16003
16004 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
16005 from fanotify_init.
16006 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
16007 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16008
28c90b2c
UD
160092010-08-15 Ulrich Drepper <drepper@redhat.com>
16010
16011 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
16012 of strncasecmp_l.
1feccb6c 16013 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 16014
ca6bb004
UD
160152010-08-14 Ulrich Drepper <drepper@redhat.com>
16016
e9f82e0d
UD
16017 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16018 strncase_l-nonascii.
16019 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16020 Add strncase_l-ssse3.
16021 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
16022 * sysdeps/x86_64/strcmp.S: Likewise.
16023 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
16024 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
16025 * sysdeps/x86_64/strncase.S: New file.
16026 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
16027 * sysdeps/x86_64/strncase_l.S: New file.
16028 * string/Makefile (strop-tests): Add strncasecmp.
16029 * string/test-strncasecmp.c: New file.
16030
16031 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
16032 warning.
16033
ca6bb004
UD
16034 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
16035 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
16036
052fa7b3
AS
160372010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16038
16039 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
16040
962dba78
UD
160412010-08-12 Ulrich Drepper <drepper@redhat.com>
16042
16043 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
16044 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
16045 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
16046
bebff237
AM
160472010-05-01 Alan Modra <amodra@gmail.com>
16048
16049 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
16050 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
16051 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
16052 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
16053 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
16054 tidying. Don't tail-call __sigjmp_save for static lib.
16055 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
16056 save location.
16057 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
16058 (CALL_MCOUNT): Add eh info, and nop after bl.
16059 (TAIL_CALL_SYSCALL_ERROR): New macro.
16060 (PSEUDO_RET): Use it.
16061 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16062 Correct save location of integer regs and cr.
16063 (_dl_profile_resolve): Correct cr save location. Delete nops
16064 after bl when SHARED. Reduce cfi size a little by better
16065 placement of cfi directives.
16066 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
16067 make a stack frame. Instead use parm save area as a temp.
16068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
16069 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
16070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16071 Don't make a stack frame for parent, use parm save area.
16072 Increase child stack frame to 112 bytes. Don't save unused reg,
16073 and adjust reg usage. Set up cfi on error recovery and
16074 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
16075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16076 (__makecontext): Add dummy nop after jump to exit.
16077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
16078 Use correct parm save area and cr save, reduce stack frame.
16079 Correct cfi for possible PSEUDO_RET frame setup.
16080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
16081 Branch to local label emitted by PSEUDO_RET rather than
16082 __syscall_error.
16083
02637374
AS
160842010-08-12 Andreas Schwab <schwab@redhat.com>
16085
16086 [BZ #11904]
16087 * locale/programs/locale.c (print_assignment): New function.
16088 (show_locale_vars): Use it.
16089
c3e2f19b
UD
160902010-08-11 Ulrich Drepper <drepper@redhat.com>
16091
3cdaa6ad
UD
16092 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
16093 field.
16094 (struct statfs64): Likewise.
16095 (_STATFS_F_FLAGS): Define.
16096 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
16097 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16098 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
16099 (ST_VALID): Define locally.
16100 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
16101 __statvfs_getflags, use the provided value.
16102 * sysdeps/unix/sysv/linux/kernel-features.h: Define
16103 __ASSUME_STATFS_F_FLAGS.
16104
754f7da3
UD
16105 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
16106
10b3bedc
UD
16107 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
16108 Add sys/fanotify.h.
16109 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16110 fanotify_mask for GLIBC_2.13.
16111 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16112 fanotify_init and fanotify_mark.
16113 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16114 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16115
c08fb0d7
UD
16116 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16117 Add prlimit.
16118 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16119 prlimit64 for GLIBC_2.13.
16120 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16121 prlimit64.
16122 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16123 syscall.
16124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16125 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16126 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16127 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16128 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
16129 add prlimit alias.
16130 * sysdeps/unix/sysv/linux/prlimit.c: New file.
16131
15bac72b
UD
16132 [BZ #11903]
16133 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16134 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16135
c3e2f19b
UD
16136 * nss/Makefile: Add rules to build and run tst-nss-test1.
16137 * shlib-versions: Add entry for libnss_test1.
16138 * nss/nss_test1.c: New file.
16139 * nss/tst-nss-test1.c: New file.
16140
16141 * nss/nsswitch.c (__nss_database_custom): Define new variable.
16142 (__nss_configure_lookup): Set appropriate entry in
16143 __nss_configure_lookup to true.
16144 * nss/nsswitch.h: Define enum with indeces of databases in
16145 databases and __nss_database_custom arrays. Declare
16146 __nss_database_custom.
16147 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16148 to avoid using nscd when custom rules are installed.
16149 * nss/getXXbyYY_r.c: Likewise.
16150 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16151
16152 * nss/nss_files/files-parse.c: Whitespace fixes.
16153
f15ce4d8
UD
161542010-08-09 Ulrich Drepper <drepper@redhat.com>
16155
16156 [BZ #11883]
16157 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16158 * posix/fnmatch_loop.c: Likewise.
16159
d22e4cc9
AK
161602010-07-17 Andi Kleen <ak@linux.intel.com>
16161
16162 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16163 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16164 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16165 * Versions.def [GLIBC_2.13]: Add.
16166
805bc17d
UD
161672010-08-06 Ulrich Drepper <drepper@redhat.com>
16168
16169 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16170 Also fail if tpwd after pwuid call is NULL.
16171
5a42321d
ST
161722010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16173
16174 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16175 when converting to ms.
16176
fd3ebeda
ST
161772010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16178
16179 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16180 EOPNOTSUPP errors with ENOTTY.
16181 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16182 EOPNOTSUPP errors with ENOTTY.
16183
73507d3a
UD
161842010-07-31 Ulrich Drepper <drepper@redhat.com>
16185
16186 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16187 Add strcasecmp_l-ssse3.
16188 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16189 strcasecmp.
16190 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16191 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16192 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16193
fe36dd02
UD
161942010-07-30 Ulrich Drepper <drepper@redhat.com>
16195
66f6765a
UD
16196 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16197
42e08a54
UD
16198 * string/Makefile (strop-tests): Add strcasecmp.
16199 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16200 strcasecmp_l-nonascii.
16201 (gen-as-const-headers): Add locale-defines.sym.
16202 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16203 * sysdeps/x86_64/strcasecmp.S: New file.
16204 * sysdeps/x86_64/strcasecmp_l.S: New file.
16205 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16206 * sysdeps/x86_64/locale-defines.sym: New file.
16207 * string/test-strcasecmp.c: New file.
16208
fe36dd02
UD
16209 * string/test-strcasestr.c: Test both ends of the range of characters.
16210 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16211
48cbc0d6
RM
162122010-07-29 Roland McGrath <roland@redhat.com>
16213
76e6d6bc 16214 [BZ #11856]
48cbc0d6
RM
16215 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16216
880113d9
UD
162172010-07-27 Ulrich Drepper <drepper@redhat.com>
16218
16219 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16220 for ld.so.
16221
deb9cabb
AS
162222010-07-27 Andreas Schwab <schwab@redhat.com>
16223
16224 * manual/memory.texi (Malloc Tunable Parameters): Document
16225 M_PERTURB.
16226
1c7570ff
RM
162272010-07-26 Roland McGrath <roland@redhat.com>
16228
16229 [BZ #11840]
16230 * configure.in (-fgnu89-inline check): Set and substitute
16231 gnu89_inline, not libc_cv_gnu89_inline.
16232 * configure: Regenerated.
16233 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16234
24fb0f88
UD
162352010-07-26 Ulrich Drepper <drepper@redhat.com>
16236
16237 * string/test-strnlen.c: New file.
16238 * string/Makefile (strop-tests): Add strnlen.
16239 * string/tester.c (test_strnlen): Add a few more test cases.
16240 * string/tst-strlen.c: Better error reporting.
16241
16242 * sysdeps/x86_64/strnlen.S: New file.
16243
8e96b93a
UD
162442010-07-24 Ulrich Drepper <drepper@redhat.com>
16245
16246 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16247 lower-latency instructions.
16248
dbc676d4
UD
162492010-07-23 Ulrich Drepper <drepper@redhat.com>
16250
16251 * string/test-strcasestr.c: New file.
16252 * string/test-strstr.c: New file.
16253 * string/Makefile (strop-tests): Add strstr and strcasestr.
16254 * string/str-two-way.h: Don't undefine MAX.
16255 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16256
f6a31e0e
AS
162572010-07-21 Andreas Schwab <schwab@redhat.com>
16258
16259 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16260 strcasestr-nonascii.
16261 (CFLAGS-strcasestr-nonascii.c): Define.
16262 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16263 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16264 Remove unused attribute.
16265
5dbc3b6c
RM
162662010-07-20 Roland McGrath <roland@redhat.com>
16267
16268 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16269 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16270 ld.so.cache was broken. With it, there is no way to disable dsocaps
16271 like LD_HWCAP_MASK can disable hwcaps.
16272
23d101d8
EPM
162732010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16274
16275 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16276
cc9f2e47
UD
162772010-07-16 Ulrich Drepper <drepper@redhat.com>
16278
16279 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16280 call in strcasestr.
16281 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16282 __strcasestr_sse42_nonascii.
16283 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16284 strcasestr-nonascii.c.
16285 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16286
77c1b069
LM
162872010-06-15 Luis Machado <luisgpm@br.ibm.com>
16288
16289 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16290 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16291 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16292 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16293
440566c3
UD
162942010-07-09 Ulrich Drepper <drepper@redhat.com>
16295
16296 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16297 fcntl.
16298
5be9d05d
AS
162992010-07-06 Andreas Schwab <schwab@redhat.com>
16300
c30b7ee2 16301 [BZ #11577]
5be9d05d
AS
16302 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16303 dl_signal_cerror.
16304
8a492a67
UD
163052010-07-06 Ulrich Drepper <drepper@redhat.com>
16306
16307 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16308 _PC_PIPE_BUF using F_GETPIPE_SZ.
16309
713df3d5
RM
163102010-07-05 Roland McGrath <roland@redhat.com>
16311
16312 * manual/arith.texi (Rounding Functions): Fix rint description
16313 implicit in round description.
16314
702e8f14
UD
163152010-07-02 Ulrich Drepper <drepper@redhat.com>
16316
16317 * elf/Makefile: Fix linking for a few tests to make recent linker
16318 happy.
16319
52ed8be9
AS
163202010-06-30 Andreas Schwab <schwab@redhat.com>
16321
16322 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16323 $(common-objpfx)libc_nonshared.a.
16324
f47c9a11
LM
163252010-06-21 Luis Machado <luisgpm@br.ibm.com>
16326
16327 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16328 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16329 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16330 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16331 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16332 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16333 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16334 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16349 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16350 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16351 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16352 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16353 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16354 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16355 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16356 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16357 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16358 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16359 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16360 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16375
6fb8cbcb
L
163762010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16377
16378 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16379 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16380 * string/memmove.c (memmove): Renamed to ...
16381 (MEMMOVE): ...this. Default to memmove.
16382 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16383 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16384 (END_CHK): Define.
16385 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16386 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16387 mempcpy-ssse3-back memmove-ssse3-back.
16388 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16389 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16390 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16391 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16392 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16393 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16394 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16395 * sysdeps/x86_64/multiarch/memmove.c: New file.
16396 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16397 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16398 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16399 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16400 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16401 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16402 Define.
16403 (index_Fast_Copy_Backward): Define.
16404 (HAS_ARCH_FEATURE): Define.
16405 (HAS_FAST_REP_STRING): Define.
16406 (HAS_FAST_COPY_BACKWARD): Define.
16407
4e733bac 164082010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
16409
16410 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16411 Restore proper fallback handling.
16412
63c4ed22
UD
164132010-06-19 Ulrich Drepper <drepper@redhat.com>
16414
ac2b484c
UD
16415 [BZ #11701]
16416 * posix/group_member.c (__group_member): Correct checking loop.
16417
63c4ed22
UD
16418 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16419 OOM in getpwuid_r correctly. Return error number when the caller
16420 should return, otherwise -1.
16421 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16422 call returning > 0 value.
16423 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16424
765ade4b
AS
164252010-06-07 Andreas Schwab <schwab@redhat.com>
16426
16427 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16428 libc_nonshared.a from targets in modules-names.
16429
80da2e09
KS
164302010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16431
16432 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16433 requires it.
16434
158db122
LM
164352010-06-10 Luis Machado <luisgpm@br.ibm.com>
16436
16437 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16438 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16439 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16440 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16441
caa78cf8
AS
164422010-06-02 Andreas Schwab <schwab@redhat.com>
16443
16444 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16445
b2ef2c01
UD
164462010-06-14 Ulrich Drepper <drepper@redhat.com>
16447
16448 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16449 and F_GETPIPE_SZ.
16450 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16451 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16452 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16453 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16454 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16455 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16456
fbd643b6
RM
164572010-06-14 Roland McGrath <roland@redhat.com>
16458
16459 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16460
f32f2869
JJ
164612010-06-07 Jakub Jelinek <jakub@redhat.com>
16462
16463 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16464 __REDIRECT followed by __THROW.
16465 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16466 * posix/getopt.h (getopt): Likewise.
16467
2a50c078
EPM
164682010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16469
16470 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16471 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16472 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16473 in AT_FLAGS.
16474 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16475 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16476
eb5ad2eb
LM
164772010-05-28 Luis Machado <luisgpm@br.ibm.com>
16478
16479 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16480
3c88fe1e
L
164812010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16482
16483 [BZ #11640]
16484 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16485 Properly check family and model.
16486
d2f73151
TY
164872010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16488
16489 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16490
ebd2e13d
LM
164912010-05-24 Luis Machado <luisgpm@br.ibm.com>
16492
16493 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16494
b32b8b45
UD
164952010-05-21 Ulrich Drepper <drepper@redhat.com>
16496
16497 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16498 symbol reference.
16499
9acbe24d
AS
165002010-05-19 Andreas Schwab <schwab@redhat.com>
16501
16502 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16503 symbol reference.
16504
f0ccf6ea
AS
165052010-05-21 Andreas Schwab <schwab@redhat.com>
16506
3d04ff3a
AS
16507 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16508 and internal_recvmmsg.
16509 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16510 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16511 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16512 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16513
f0ccf6ea
AS
16514 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16515 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16516 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16517
5b08ac57
AS
165182010-05-20 Andreas Schwab <schwab@redhat.com>
16519
16520 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16521
4828935d
LM
165222010-05-17 Luis Machado <luisgpm@br.ibm.com>
16523
16524 POWER7 optimizations.
16525 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16526 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16527
373d545e
UD
165282010-05-19 Ulrich Drepper <drepper@redhat.com>
16529
16530 * version.h: Update for 2.13 development version.
16531
21a2b1ae
AS
165322010-05-12 Andrew Stubbs <ams@codesourcery.com>
16533
16534 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16535 exceptions. Return 0.
16536
3f7dcb2b
RM
165372010-05-07 Roland McGrath <roland@redhat.com>
16538
16539 * elf/ldconfig.c (main): Add a const.
16540
5f24d53a 165412010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 16542
a160f8d8
UD
16543 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16544 (args_options): Add no-idn option.
16545 (ahosts_keys_int): Add idn_flags to ai_flags.
16546 (parse_option): Handle 'i' option to clear idn_flags.
16547
5f24d53a
UD
16548 * malloc/malloc.c (_int_free): Possible race in the most recently
16549 added check. Only act on the data if no current modification
16550 happened.
265bb1ce
UD
16551
16552See ChangeLog.17 for earlier changes.