]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add __wur to GNU version of strerror_r.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
a3aeac40
CH
12012-06-15 Cyril Hrubis <metan@ucw.cz>
2
3 * string/string.h: Add __wur to GNU version of strerror_r.
4
49bdf4c1
L
52012-06-14 H.J. Lu <hongjiu.lu@intel.com>
6
7 [BZ #14229]
8 * string/Makefile (tests): Add tst-strtok_r.
9 * string/tst-strtok_r.c: New file.
10 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11 RAX_LP/RDX_LP on SAVE_PTR.
12
834f9b8d
RM
132012-06-14 Roland McGrath <roland@hack.frob.com>
14
15 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16
75fa1921
JM
172012-06-14 Joseph Myers <joseph@codesourcery.com>
18
19 * libm_test.inc (csqrt_test): Allow more spurious underflow
20 exceptions.
21 (j0_test): Likewise.
22 (j1_test): Likewise.
23 (y0_test): Likewise.
24 (y1_test): Likewise.
25
771766df
CD
262012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
27
28 * po/Makefile (libc.pot): Use UTF-8 charset.
29
ceb9e56b
PP
302012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
31
32 [BZ #14210]
33 Suppress sign-conversion warning from FD_SET.
34 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
35 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
36 not unsigned long int.
37 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
38
ddb28975
L
392012-06-12 H.J. Lu <hongjiu.lu@intel.com>
40
41 [BZ #14050]
42 [BZ #14117]
43 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
44 __extern_always_inline instead of __extern_inline.
45 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
46 (__signbit): Likewise.
47 (__signbitl): Support C++ namespace.
48 (lrintf): New inline function.
49 (lrint): Likewise.
50 (llrintf): Likewise.
51 (llrint): Likewise.
52 (fmaxf): Likewise.
53 (fmax): Likewise.
54 (fminf): Likewise.
55 (fmin): Likewise.
56 (rint): Likewise.
57 (rintf): Likewise.
58 (ceil): Likewise.
59 (ceilf): Likewise.
60 (floor): Likewise.
61 (floorf): Likewise.
62 (nearbyint): Likewise.
63 (nearbyintf): Likewise.
64
d7b4fb26
TS
652012-06-12 Thomas Schwinge <thomas@codesourcery.com>
66
67 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
68 non-default versions.
69
eb55f5c2
RM
702012-06-11 Roland McGrath <roland@hack.frob.com>
71
72 [BZ #14218]
73 * manual/argp.texi (Argp): Reword argp_parse description slightly.
74
366af02c
TS
752012-06-09 Thomas Schwinge <thomas@codesourcery.com>
76
99ff6e5c
TS
77 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
78 (FE_UPWARD, FE_DOWNWARD): Don't define.
79 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
80 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
81
366af02c
TS
82 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
83 reading it.
84 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
85 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
86
793ea851
KK
872012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
88
89 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
90 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
91 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
92 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
93
a728a38f
L
942012-06-06 H.J. Lu <hongjiu.lu@intel.com>
95
96 [BZ #14117]
c08010c7
L
97 * sysdeps/i386/fpu/bits/fenv.h: Removed.
98 * sysdeps/i386/fpu/Implies: New file.
99 * sysdeps/x86_64/fpu/Implies: Likewise.
100 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
101 * sysdeps/x86/fpu/bits/fenv.h: This.
102
a728a38f
L
103 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
104 __SSE_MATH__.
105
6e230d11
SP
1062012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
107
108 [BZ #14134]
109 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
110 character 0xffff that matches the last element of the
111 conversion table.
112
1b671feb
AZ
1132012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
114
115 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
116 fmodl commit.
117
6043738b
AZ
1182012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
119
120 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
121 values higher than 25.6283.
122
34ae0b32
AZ
1232012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
124
125 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
126 subnormal exponent extraction and add some __builtin_expect.
127 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
128 Fix for subnormal mantissa calculation.
129
1214ec8f
MF
1302012-06-04 Mike Frysinger <vapier@gentoo.org>
131
132 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
133 cpu2 is -1 and errno is not ENOSYS.
134
f3d1f93c
L
1352012-06-04 H.J. Lu <hongjiu.lu@intel.com>
136
137 [BZ #14117]
0e4a3cd7
L
138 * sysdeps/i386/i486/bits/string.h: Renamed to ...
139 * sysdeps/x86/bits/string.h: This.
140 * sysdeps/x86_64/bits/string.h: Removed.
141
6704c645
L
142 * sysdeps/i386/i486/bits/string.h: Define inline functions only
143 if not compiling for x86-64, but compiling for >= i486.
144
48495318
L
145 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
146 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
147
14adcbfc
L
148 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
149 New macro from Linux kernel 3.4.0.
150 (FP_XSTATE_MAGIC2): Likewise.
151 (FP_XSTATE_MAGIC2_SIZE): Likewise.
152 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
153 (struct _fpx_sw_bytes): New struct.
154 (struct _xsave_hdr): Likewise.
155 (struct _ymmh_state): Likewise.
156 (struct _xstate): Likewise.
157
68e408ab
L
158 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
159 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
160 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
161 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
162 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
163 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
164
f3d1f93c
L
165 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
166 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
167 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
168 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
169 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
170 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
171
d9dc34cd
TMQMF
1722012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
173
174 [BZ #13743]
175 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
176 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
177 (sysdep_headers): Include sys/platform/ppc.h.
178 * sysdeps/powerpc/test-gettimebase.c: Test for
179 __ppc_get_timebase() to catch future ISA opcode/insn changes.
180 * manual/Makefile (appendices): Include platform.texi.
181 * manual/contrib.texi (Contributors): Update @node pointers.
182 * manual/maint.texi (Maintenance): Likewise.
183 (Platform): New node.
184 * manual/platform.texi: New file. Document the new features.
185
4af3879c
SP
1862012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
187 Jakub Jelinek <jakub@redhat.com>
188
189 [BZ #14188]
190 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
191 where __builtin_expect is unavailable.
192
2fd6ff13
DM
1932012-06-03 David S. Miller <davem@davemloft.net>
194
195 * stdlib/longlong.h: Updated from GCC.
196
173f7220
AS
1972012-06-02 Andreas Schwab <schwab@linux-m68k.org>
198
199 [BZ #14042]
200 * sysdeps/powerpc/powerpc32/mcount.c: New file.
201 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
202 __mcount_internal.
203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
204 (GLIBC_2.16): Likewise.
205
f34a1c6f
L
2062012-06-01 H.J. Lu <hongjiu.lu@intel.com>
207
208 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
209
88a4576f
JM
2102012-06-01 Joseph Myers <joseph@codesourcery.com>
211
ea32bcdd
JM
212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
213 (default-abi): New variable.
214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
215 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
216 variable.
217 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
218 Likewise.
219 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
220 Likewise.
221 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
222 Likewise.
223
88a4576f
JM
224 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
225 definition. Document in comment.
226
402fe938
DM
2272012-06-01 David S. Miller <davem@davemloft.net>
228
229 * stdlib/longlong.h: Updated from GCC.
230
3553723f
L
2312012-06-01 H.J. Lu <hongjiu.lu@intel.com>
232
233 [BZ #14117]
3bd872c4
L
234 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
235 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
236 sys/debugreg.h sys/io.h here.
237 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
238 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
239 sys/io.h.
240 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
241 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
242 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
243 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
244 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
245 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
246
3553723f
L
247 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
248 Define only if __x86_64__ is defined.
249
4842e4fe
JM
2502012-06-01 Joseph Myers <joseph@codesourcery.com>
251
c5bfe3d5
JM
252 [BZ #14048]
253 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
254 Use int64_t for variable i.
255 * math/libm-test.inc (fmod_test): Add more tests.
256
4842e4fe
JM
257 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
258 z computation is not scheduled after fetestexcept.
259 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
260 Use math_force_eval instead of asm to ensure calculation scheduled
261 before exception test.
262 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
263 Ensure a1 + u.d computation is not scheduled after fetestexcept.
264
efb73488
AJ
2652012-06-01 Aurelien Jarno <aurelien@aurel32.net>
266
267 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
268 computation is not scheduled after fetestexcept.
269
29bcce7c
L
2702012-06-01 H.J. Lu <hongjiu.lu@intel.com>
271
272 [BZ #14117]
273 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
274 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
275
73a68f94
AZ
2762012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
277
278 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
279 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
280
67b6df78
L
2812012-05-31 H.J. Lu <hongjiu.lu@intel.com>
282
edf2933a 283 [BZ #14117]
ebc64a18
L
284 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
285 <bits/wordsize.h>.
286 (__WCHAR_MIN): Support __WORDSIZE == 64.
287 (__WCHAR_MAX): Likewise.
288
edf2933a
L
289 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
290 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
291
57c6cf40
L
292 [BZ #14183]
293 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
294 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
295
67b6df78 296 [BZ #14117]
8eb6281e
L
297 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
298 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
299
aac639f4
L
300 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
301 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
302
67b6df78
L
303 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
304 Defined to 1 if __x86_64__ isn't defined.
305 (_STAT_VER_LINUX_OLD): New.
306 (st_atime): Remove duplicate.
307 (st_mtime): Likewise.
308 (st_ctime): Likewise.
309
1c2cfe81
DM
3102012-05-31 David S. Miller <davem@davemloft.net>
311
312 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
313 entries.
314
5be8418c
AS
3152012-06-01 Andreas Schwab <schwab@linux-m68k.org>
316
e7725326
AS
317 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
318 gen-libm-test.pl.
319
5be8418c
AS
320 [BZ #14132]
321 * elf/dl-reloc.c: Include <_itoa.h>.
322 (_dl_reloc_bad_type): Remove use of INTUSE.
323 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
324 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
325 * stdio-common/psiginfo.c (psiginfo): Likewise.
326 * stdio-common/psignal.c (psignal): Likewise.
327 * string/strsignal.c (strsignal): Likewise.
328 * include/signal.h (_sys_siglist): Declare hidden proto.
329 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
330 INTVARDEF with libc_hidden_data_def.
331 * stdio-common/itoa-udigits.c: Likewise.
332 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
333 (_itoa_lower_digits_internal): Remove declaration.
334 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
335 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
336 (_sys_sigabbrev_internal): Remove aliases.
337 (_sys_siglist): Define hidden alias.
338
507352f1
MT
3392012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
340
341 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
342 bits/sysctl.h.
343
42bbb1c3
L
3442012-05-31 H.J. Lu <hongjiu.lu@intel.com>
345
346 [BZ #14117]
6bd784b6
L
347 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
348 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
349
8bca20f0
L
350 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
351 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
352 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
353 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
354 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
355 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
356
f9e890a9
L
357 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
358 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
359 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
360
471101a1
L
361 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
362 with __addr.
363 (insw): Likewise.
364 (insl): Likewise.
365 (outsb): Likewise.
366 (outsw): Likewise.
367 (outsl): Likewise.
368
6451c862
L
369 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
370 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
371 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
372
a254b8c9
L
373 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
374 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
375 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
376 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
377 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
378 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
379
b8dfdd92
L
380 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
381 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
382
578cd270
L
383 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
384 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
385
de662f5f
L
386 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
387 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
388 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
389
25653439
L
390 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
391 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
392 to ...
393 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
394
6bad24a0
L
395 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
396 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
397 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
398
42bbb1c3
L
399 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
400 for x86-64.
401 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
402
2d10d547
JM
4032012-05-31 Joseph Myers <joseph@codesourcery.com>
404
405 * math/math.h (M_El): Use two more decimal places.
406 (M_LOG2El): Likewise.
407 (M_LOG10El): Likewise.
408 (M_LN2l): Likewise.
409 (M_LN10l): Likewise.
410 (M_PIl): Likewise.
411 (M_PI_2l): Likewise.
412 (M_PI_4l): Likewise.
413 (M_1_PIl): Likewise.
414 (M_2_PIl): Likewise.
415 (M_2_SQRTPIl): Likewise.
416 (M_SQRT2l): Likewise.
417 (M_SQRT1_2l): Likewise.
418
f230c29b
DM
4192012-05-31 David S. Miller <davem@davemloft.net>
420
421 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
422 values between float registers.
423 * sysdeps/sparc/sparc64/memset.S: Likewise.
424 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
425
fed806c3
MF
4262012-05-31 Mike Frysinger <vapier@gentoo.org>
427
428 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
429 -D_FORTIFY_SOURCE=1.
430 (CPPFLAGS-tst-longjmp_chk.c): Define.
431 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
432 (CPPFLAGS-tst-longjmp_chk2.c): Define.
433 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
434 CFLAGS-tst-wchar-h.c.
435
30917259
MP
4362012-05-31 Marek Polacek <polacek@redhat.com>
437
438 [BZ #14132]
439 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
440 __endmntent_internal): Remove declaration.
441 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
442 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
443 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
444
1c58d5dc
DM
4452012-05-30 David S. Miller <davem@davemloft.net>
446
447 * sysdeps/sparc/sparc32/soft-fp/q_util.c
448 (___Q_simulate_exceptions): Use real FP ops rather than writing
449 into the %fsr.
450 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
451 Likewise.
452
7dc00e0d
L
4532012-05-30 H.J. Lu <hongjiu.lu@intel.com>
454
455 [BZ #14117]
0bd53985
L
456 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
457 * sysdeps/x86/bits/xtitypes.h: This.
458
3a257e66
L
459 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
460 * sysdeps/x86/bits/wordsize.h: This.
461
62f62904
L
462 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
463 * sysdeps/x86/bits/huge_vall.h: This.
464
404fe9d9
L
465 * sysdeps/i386/bits/select.h: Removed.
466 * sysdeps/x86_64/bits/select.h: Renamed to ...
467 * sysdeps/x86/bits/select.h: This.
468
d48d0446
L
469 * sysdeps/i386/bits/setjmp.h: Removed.
470 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
471 * sysdeps/x86/bits/setjmp.h: This.
472
7dc00e0d
L
473 * sysdeps/i386/bits/mathdef.h: Removed.
474 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
475 * sysdeps/x86/bits/mathdef.h: This.
476
03277f8f
AS
4772012-05-30 Andreas Schwab <schwab@linux-m68k.org>
478
479 [BZ #14132]
480 * include/sys/socket.h (__connect_internal)
481 (__libc_sa_len_internal): Remove declaration.
482 (__connect, __libc_sa_len): Declare hidden_proto.
483 (SA_LEN): Remove use of INTUSE.
484 * socket/connect.c: Add libc_hidden_def.
485 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
486 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
487 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
488 alias.
489 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
490 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
491 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
492 of adding _internal alias.
493
13764867
L
4942012-05-30 H.J. Lu <hongjiu.lu@intel.com>
495
496 [BZ #14117]
6bd97696
L
497 * sysdeps/i386/bits/link.h: Removed.
498 * sysdeps/i386/bits/linkmap.h: Likewise.
499 * sysdeps/x86_64/bits/link.h: Renamed to ...
500 * sysdeps/x86/bits/link.h: This.
501 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
502 * sysdeps/x86/bits/linkmap.h: This.
503
f726f0bb
L
504 * sysdeps/i386/bits/endian.h: Removed.
505 * sysdeps/x86_64/bits/endian.h: Renamed to ...
506 * sysdeps/x86/bits/endian.h: This.
507
13764867
L
508 * sysdeps/i386/bits/byteswap.h: Removed.
509 * sysdeps/i386/bits/byteswap-16.h: Likewise.
510 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
511 * sysdeps/x86/bits/byteswap.h: This.
512 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
513 * sysdeps/x86/bits/byteswap-16.h: This.
514 * sysdeps/i386/Implies: Add x86.
515 * sysdeps/x86_64/Implies: Likewise.
516
ae251b0b
DM
5172012-05-30 David S. Miller <davem@davemloft.net>
518
519 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
520 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
521 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
522 (FP_TRAPPING_EXCEPTIONS): Define.
523 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
524 (FP_TRAPPING_EXCEPTIONS): Define.
525 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
526 subnormals only when inexact has been signalled or underflow
527 exceptions are enabled.
528 (_FP_PACK_CANONICAL): Likewise.
529
d5c90867
L
5302012-05-30 H.J. Lu <hongjiu.lu@intel.com>
531
532 [BZ #14183]
533 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
534 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
535
63f1549e
RH
5362012-05-30 Richard Henderson <rth@twiddle.net>
537
8d8f2279
RH
538 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
539 with #ifndef NOT_IN_libc.
540
63f1549e
RH
541 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
542 marked to avoid plt entry.
543
0ab0291b
L
5442012-05-30 H.J. Lu <hongjiu.lu@intel.com>
545
546 [BZ #14112]
547 * Makeconfig (default-abi): New macro.
548 (abi-includes): Likewise.
549 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
550 $(abi-$(default-abi)-lib-soname) for soname if defined.
551 ($(common-objpfx)gnu/lib-names.stmp): Generate from
552 abi-variants.
553 * Makefile (installed-stubs): Likewise.
554 * include/stubs-biarch.h: Removed.
555 * scripts/lib-names.awk: Only handle one library at a time.
556 * scripts/soversions.awk: Remove WORDSIZE support.
557 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
558 entries.
559 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
560 Removed.
561 (syscall-list-default-condition): Likewise.
562 (syscall-list-default-condition): Likewise.
563 (syscall-list-includes): Likewise.
564 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
565 syscall-list-* with abi-*. Handle undefined abi-variants.
566 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
567 * sysdeps/unix/sysv/linux/i386/Implies: New file.
568 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
569 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
570 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
571 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
572 Removed.
573 (syscall-list-32-options): Likewise.
574 (syscall-list-32-condition): Likewise.
575 (syscall-list-64-options): Likewise.
576 (syscall-list-64-condition): Likewise.
577 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
578 macro.
579 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
580 Renamed to ...
581 (abi-*): This.
582 (abi-64-ld-soname): New macro.
583 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
584 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
585 Renamed to ...
586 (abi-*): This.
587 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
588 * sysdeps/x86_64/x32/shlib-versions: Likewise.
589
4da0431d
JM
5902012-05-30 Joseph Myers <joseph@codesourcery.com>
591
3a85279c
JM
592 * sysdeps/unix/sysv/linux/kernel-features.h
593 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
594 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
595 include <kernel-features.h>.
596 [!__NR_ftruncate64]: Remove conditional code.
597 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
598 [__NR_ftruncate64]: Make code unconditional.
599 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
600 * sysdeps/unix/sysv/linux/truncate64.c: Do not
601 include <kernel-features.h>.
602 [!__NR_ftruncate64]: Remove conditional code.
603 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
604 [__NR_ftruncate64]: Make code unconditional.
605 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
607 include <kernel-features.h>.
608 [!__NR_ftruncate64]: Remove conditional code.
609 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
610 [__NR_ftruncate64]: Make code unconditional.
611 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
613 include <kernel-features.h>.
614 [!__NR_ftruncate64]: Remove conditional code.
615 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
616 [__NR_ftruncate64]: Make code unconditional.
617 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
618
4da0431d
JM
619 * configure.in (libc_cv_fpie): Weaken to a compile test using
620 LIBC_TRY_CC_OPTION.
621 * configure: Regenerated.
622
11ef492c
AK
6232012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
624
625 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
629 Refreshed.
630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
631 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
632 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
634 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
635 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
636 Refreshed.
637
d66ef399
DM
6382012-05-27 David S. Miller <davem@davemloft.net>
639
640 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
641 (___Q_zero): New.
642 (__Q_simulate_exceptions): Return void. Change to simulate
643 exceptions by writing into the %fsr.
644 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
645 (__Qp_handle_exceptions): Likewise.
646 (numbers): Delete.
647 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
648 __Qp_handle_exceptions.
649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
650 __Qp_handle_exceptions.
651 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
652 as unused and give dummy FP_RND_NEAREST initializer.
653 (FP_INHIBIT_RESULTS): Define.
654 (___Q_simulate_exceptions): Update declaration.
655 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
656 formatting.
657 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
658 as unused and give dummy FP_RND_NEAREST initializer.
659 (__Qp_handle_exceptions): Update declaration.
660 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
661 formatting.
662
04fb54b5
TS
6632012-05-27 Thomas Schwinge <thomas@codesourcery.com>
664
665 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
666 the temporary FPU control word.
667 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
668 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
669 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
670 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
671 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
672 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
673 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
674 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
675 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
676 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
677 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
678
3f99608f
KK
6792012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
680
681 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
682 fields.
683
65a4de4e
CLT
6842012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
685
686 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
687 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
688 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
689 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
690 Likewise.
691 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
692 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
693 Likewise.
694
15749d40
UD
6952012-05-27 Ulrich Drepper <drepper@gmail.com>
696
697 * po/h.po: Update from translation team.
698
25dbcb27
AS
6992012-05-26 Andreas Schwab <schwab@linux-m68k.org>
700
3d3f8e55
AS
701 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
702
25dbcb27
AS
703 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
704 handling of denormals.
705 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
706 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
707 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
708 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
709 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
710 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
711 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
712 Likewise.
713
7ad47a80 7142012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
715
716 [BZ #14152]
717 * math/libm-test.inc (fma_test): Don't always expect underflow
718 exception.
719
9c6ea9fa
SP
7202012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
721
722 [BZ #12416]
723 * elf/tst-execstack.c: Include stackinfo.h.
724 (do_test): Adjust test case to ensure that pthread_getattr_np
725 behaviour remains the same after marking stack executable.
726
a8239222
JM
7272012-05-25 Joseph Myers <joseph@codesourcery.com>
728
729 * sysdeps/unix/sysv/linux/kernel-features.h
730 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
731 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
732 kernel-features.h.
733 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
734 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
735 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
736 kernel-features.h.
737 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
738 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
739
918b5606
L
7402012-05-25 H.J. Lu <hongjiu.lu@intel.com>
741
742 * configure.in: Define the default includes to being none.
743 * configure: Regenerated.
744
3a097cc7
RM
7452012-05-25 Roland McGrath <roland@hack.frob.com>
746
8422c9a5
RM
747 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
748 * sysdeps/x86_64/setjmp.S: Likewise.
749 * sysdeps/i386/bsd-setjmp.S: Likewise.
750 * sysdeps/i386/bsd-_setjmp.S: Likewise.
751 * sysdeps/i386/setjmp.S: Likewise.
752 * sysdeps/i386/__longjmp.S: Likewise.
753 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
754 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
755
3a097cc7
RM
756 * include/stap-probe.h: New file.
757 * configure.in: Handle --enable-systemtap.
758 * configure: Regenerated.
759 * config.h.in (USE_STAP_PROBE): New #undef.
760 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
761 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
762 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
763
21708942
JM
7642012-05-25 Joseph Myers <joseph@codesourcery.com>
765
766 [BZ #13717]
767 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
768 to 2.4.0 where earlier.
769 * sysdeps/unix/sysv/linux/configure: Regenerated.
770 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
771 <kernel-features.h>.
772 [__ASSUME_32BITUIDS]: Make code unconditional.
773 [!__ASSUME_32BITUIDS]: Remove conditional code.
774 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
775 <kernel-features.h>.
776 [__ASSUME_32BITUIDS]: Make code unconditional.
777 [!__ASSUME_32BITUIDS]: Remove conditional code.
778 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
779 [__ASSUME_32BITUIDS]: Make code unconditional.
780 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
781 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
782 <kernel-features.h>.
783 [__ASSUME_32BITUIDS]: Make code unconditional.
784 [!__ASSUME_32BITUIDS]: Remove conditional code.
785 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
786 <kernel-features.h>.
787 [__ASSUME_32BITUIDS]: Make code unconditional.
788 [!__ASSUME_32BITUIDS]: Remove conditional code.
789 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
790 <kernel-features.h>.
791 [__ASSUME_32BITUIDS]: Make code unconditional.
792 [!__ASSUME_32BITUIDS]: Remove conditional code.
793 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
794 <kernel-features.h>.
795 [__ASSUME_32BITUIDS]: Make code unconditional.
796 [!__ASSUME_32BITUIDS]: Remove conditional code.
797 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
798 <kernel-features.h>.
799 [__ASSUME_32BITUIDS]: Make code unconditional.
800 [!__ASSUME_32BITUIDS]: Remove conditional code.
801 * sysdeps/unix/sysv/linux/i386/getresuid.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/getuid.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/lchown.c: Do not include
810 <kernel-features.h>.
811 [__ASSUME_32BITUIDS]: Make code unconditional.
812 [!__ASSUME_32BITUIDS]: Remove conditional code.
813 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
814 <kernel-features.h>.
815 [__ASSUME_32BITUIDS]: Make code unconditional.
816 [!__ASSUME_32BITUIDS]: Remove conditional code.
817 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
818 <kernel-features.h>.
819 [__ASSUME_32BITUIDS]: Make code unconditional.
820 [!__ASSUME_32BITUIDS]: Remove conditional code.
821 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
822 <kernel-features.h>.
823 [__NR_setresgid] (__setresgid): Do not declare.
824 [__ASSUME_32BITUIDS]: Make code unconditional.
825 [!__ASSUME_32BITUIDS]: Remove conditional code.
826 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
827 <kernel-features.h>.
828 [__NR_setresuid] (__setresuid): Do not declare.
829 [__ASSUME_32BITUIDS]: Make code unconditional.
830 [!__ASSUME_32BITUIDS]: Remove conditional code.
831 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
832 <kernel-features.h>.
833 [__ASSUME_32BITUIDS]: Make code unconditional.
834 [!__ASSUME_32BITUIDS]: Remove conditional code.
835 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
836 <kernel-features.h>.
837 [__ASSUME_32BITUIDS]: Make code unconditional.
838 [!__ASSUME_32BITUIDS]: Remove conditional code.
839 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
840 <kernel-features.h>.
841 [__ASSUME_32BITUIDS]: Make code unconditional.
842 [!__ASSUME_32BITUIDS]: Remove conditional code.
843 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
844 <kernel-features.h>.
845 [__ASSUME_32BITUIDS]: Make code unconditional.
846 [!__ASSUME_32BITUIDS]: Remove conditional code.
847 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
848 <kernel-features.h>.
849 [__ASSUME_32BITUIDS]: Make code unconditional.
850 [!__ASSUME_32BITUIDS]: Remove conditional code.
851 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
852 <kernel-features.h>.
853 [__ASSUME_32BITUIDS]: Make code unconditional.
854 [!__ASSUME_32BITUIDS]: Remove conditional code.
855 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
856 <kernel-features.h>.
857 [__ASSUME_32BITUIDS]: Make code unconditional.
858 [!__ASSUME_32BITUIDS]: Remove conditional code.
859 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
860 <kernel-features.h>.
861 [__ASSUME_32BITUIDS]: Make code unconditional.
862 [!__ASSUME_32BITUIDS]: Remove conditional code.
863 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
864 <kernel-features.h>.
865 [__ASSUME_32BITUIDS]: Make code unconditional.
866 [!__ASSUME_32BITUIDS]: Remove conditional code.
867 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
868 <kernel-features.h>.
869 [__ASSUME_32BITUIDS]: Make code unconditional.
870 [!__ASSUME_32BITUIDS]: Remove conditional code.
871 * sysdeps/unix/sysv/linux/kernel-features.h
872 (__ASSUME_SETRESUID_SYSCALL): Remove.
873 (__ASSUME_SETRESGID_SYSCALL): Likewise.
874 (__ASSUME_32BITUIDS): Likewise.
875 (__ASSUME_LDT_WORKS): Likewise.
876 (__ASSUME_O_DIRECTORY): Likewise.
877 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
878 architecture but not kernel version.
879 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
880 (__ASSUME_MMAP2_SYSCALL): Likewise.
881 (__ASSUME_STAT64_SYSCALL): Likewise.
882 (__ASSUME_IPC64): Likewise.
883 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
884 <kernel-features.h>.
885 [__ASSUME_32BITUIDS]: Make code unconditional.
886 [!__ASSUME_32BITUIDS]: Remove conditional code.
887 * sysdeps/unix/sysv/linux/opendir.c: Do not include
888 <kernel-features.h>.
889 [__ASSUME_O_DIRECTORY]: Make code unconditional.
890 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
891 132096]: Remove conditional code.
892 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
893 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
894 <kernel-features.h>.
895 [__ASSUME_32BITUIDS]: Make code unconditional.
896 [!__ASSUME_32BITUIDS]: Remove conditional code.
897 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
898 <kernel-features.h>.
899 [__ASSUME_32BITUIDS]: Make code unconditional.
900 [!__ASSUME_32BITUIDS]: Remove conditional code.
901 * sysdeps/unix/sysv/linux/setegid.c: Do not include
902 <kernel-features.h>.
903 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
904 unconditional.
905 (__setresgid): Do not declare.
906 [__ASSUME_32BITUIDS]: Make code unconditional.
907 [!__ASSUME_32BITUIDS]: Remove conditional code.
908 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
909 <kernel-features.h>.
910 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
911 unconditional.
912 (__setresuid): Do not declare.
913 [__ASSUME_32BITUIDS]: Make code unconditional.
914 [!__ASSUME_32BITUIDS]: Remove conditional code.
915 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
916 <kernel-features.h>.
917 [__ASSUME_32BITUIDS]: Make code unconditional.
918 [!__ASSUME_32BITUIDS]: Remove conditional code.
919 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
920 <kernel-features.h>.
921 [__ASSUME_32BITUIDS]: Make code unconditional.
922 [!__ASSUME_32BITUIDS]: Remove conditional code.
923
a386f1cc
RH
9242012-05-25 Richard Henderson <rth@twiddle.net>
925
926 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
927 dl_hwcap to ifunc resolver.
928 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
929 elf_ifunc_invoke.
930 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
931 dl_hwcap to ifunc resolver.
932 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
933
b6550497
JM
9342012-05-24 Joseph Myers <joseph@codesourcery.com>
935
936 [BZ #14153]
937 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
938 for |x| <= 2**-26, not 2**-57.
939 * math/libm-test.inc (acos_test): Do not allow spurious underflow
940 exception.
941
b0bc23a1
JL
9422012-05-24 Jeff Law <law@redhat.com>
943
944 * stdio-common/Makefile (tests): Add bug25.
945 * stdio-common/bug25.c: New test.
946
347c92e9
L
9472012-05-24 H.J. Lu <hongjiu.lu@intel.com>
948
949 [BZ #13576]
950 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
951 multiple of MALLOC_ALIGNMENT in size.
952 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
953
6bcc8b3f
JM
9542012-05-24 Joseph Myers <joseph@codesourcery.com>
955
956 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
957 Require >= 256.
958 (FILENAME_MAX): Use macro-int-constant.
959 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
960 (_IOFBF): Use macro-int-constant.
961 (_IOLBF): Likewise.
962 (_IONBF): Likewise.
963 (SEEK_CUR): Likewise.
964 (SEEK_END): Likewise.
965 (SEEK_SET): Likewise.
966 (TMP_MAX): Likewise.
967 (EOF): Use macro-int-constant. Require < 0.
968 (NULL): Use macro-constant. Require == 0.
969 (stdin): Require type to be FILE *.
970 (stdout): Likewise.
971 (stderr): Likewise.
972 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
973 macro-int-constant.
974 (EXIT_SUCCESS): Likewise.
975 (NULL): Use macro-constant. Require == 0.
976 (RAND_MAX): Use macro-int-constant.
977 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
978 [C99-based standards] (strtof): Require function.
979 [C99-based standards] (strtold): Likewise.
980 [C99-based standards] (strtoll): Likewise.
981 [C99-based standards] (strtoull): Likewise.
982 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
983 [ISO || ISO99 || ISO11] (limits.h): Likewise.
984 [ISO || ISO99 || ISO11] (math.h): Likewise.
985 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
986 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
987 [ISO || ISO99 || ISO11] (*_t): Do not allow.
988
d18ea0c5
AS
9892012-05-24 Andreas Schwab <schwab@linux-m68k.org>
990
991 [BZ #14132]
56d25bb8
AS
992 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
993 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
994 * intl/dgettext.c (DCGETTEXT): Likewise.
995 * intl/gettext.c (DCGETTEXT): Likewise.
996 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
997 * posix/regex_internal.h (gettext): Likewise.
998 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
999 Remove declaration.
1000 * include/argz.h (__argz_count_internal)
1001 (__argz_stringify_internal): Remove declaration.
1002 (__argz_count, __argz_stringify): Declare hidden proto.
1003 * intl/dcgettext.c: Remove use of INTDEF.
1004 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
1005 * string/argz-stringify.c: Likewise.
1006 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1007 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1008 Declare hidden proto.
d18ea0c5
AS
1009 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1010 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1011 Declare hidden proto.
1012 * include/stdio.h (__asprintf_internal): Don't declare.
1013 (__asprintf): Don't define as macro. Declare hidden proto.
1014 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
1015 (__fsetlocking): Declare hidden proto.
1016 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
1017 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
1018 hidden proto.
1019 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
1020 (_IO_setlinebuf): Remove use of INTUSE.
1021 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
1022 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
1023 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
1024 Remove declaration.
1025 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
1026 (_IO_do_flush): Remove use of INTUSE.
1027 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
1028 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
1029 (_IO_adjust_column, _IO_least_wmarker)
1030 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
1031 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
1032 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
1033 (_IO_default_doallocate, _IO_wdefault_doallocate)
1034 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
1035 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
1036 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
1037 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
1038 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
1039 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
1040 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
1041 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
1042 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
1043 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
1044 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
1045 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
1046 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
1047 proto.
1048 (_IO_flush_all_internal, _IO_adjust_column_internal)
1049 (_IO_default_uflow_internal, _IO_default_finish_internal)
1050 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
1051 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
1052 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
1053 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
1054 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
1055 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
1056 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
1057 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
1058 (_IO_file_close_internal, _IO_file_close_it_internal)
1059 (_IO_file_underflow_internal, _IO_file_overflow_internal)
1060 (_IO_file_init_internal, _IO_file_attach_internal)
1061 (_IO_file_fopen_internal, _IO_file_read_internal)
1062 (_IO_file_sync_internal, _IO_file_seek_internal)
1063 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
1064 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
1065 (_IO_str_underflow_internal, _IO_str_overflow_internal)
1066 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
1067 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
1068 (_IO_list_all_internal, _IO_link_in_internal)
1069 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
1070 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
1071 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
1072 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
1073 (_IO_do_write_internal, _IO_padn_internal)
1074 (_IO_getline_info_internal, _IO_getline_internal)
1075 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
1076 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
1077 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
1078 (_IO_vfscanf_internal, _IO_vfprintf_internal)
1079 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1080 (_IO_init_internal, _IO_un_link_internal): Don't declare.
1081 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1082 with libc_hidden_ver, remove use of INTUSE.
1083 * libio/genops.c: Likewise.
1084 * libio/freopen.c: Likewise.
1085 * libio/freopen64.c: Likewise.
1086 * libio/iofclose.c: Likewise.
1087 * libio/iofdopen.c: Likewise.
1088 * libio/iofflush.c: Likewise.
1089 * libio/iofflush_u.c: Likewise.
1090 * libio/iofgets.c: Likewise.
1091 * libio/iofgets_u.c: Likewise.
1092 * libio/iofopen.c: Likewise.
1093 * libio/iofopncook.c: Likewise.
1094 * libio/iofread.c: Likewise.
1095 * libio/iofread_u.c: Likewise.
1096 * libio/ioftell.c: Likewise.
1097 * libio/iofwrite.c: Likewise.
1098 * libio/iogetline.c: Likewise.
1099 * libio/iogets.c: Likewise.
1100 * libio/iogetwline.c: Likewise.
1101 * libio/iopadn.c: Likewise.
1102 * libio/iopopen.c: Likewise.
1103 * libio/ioseekoff.c: Likewise.
1104 * libio/ioseekpos.c: Likewise.
1105 * libio/iosetbuffer.c: Likewise.
1106 * libio/iosetvbuf.c: Likewise.
1107 * libio/ioungetc.c: Likewise.
1108 * libio/ioungetwc.c: Likewise.
1109 * libio/iovdprintf.c: Likewise.
1110 * libio/iovsprintf.c: Likewise.
1111 * libio/iovsscanf.c: Likewise.
1112 * libio/memstream.c: Likewise.
1113 * libio/obprintf.c: Likewise.
1114 * libio/oldfileops.c: Likewise.
1115 * libio/oldiofclose.c: Likewise.
1116 * libio/oldiofdopen.c: Likewise.
1117 * libio/oldiofopen.c: Likewise.
1118 * libio/oldiopopen.c: Likewise.
1119 * libio/oldstdfiles.c: Likewise.
1120 * libio/putc.c: Likewise.
1121 * libio/setbuf.c: Likewise.
1122 * libio/setlinebuf.c: Likewise.
1123 * libio/stdfiles.c: Likewise.
1124 * libio/strops.c: Likewise.
1125 * libio/vasprintf.c: Likewise.
1126 * libio/vscanf.c: Likewise.
1127 * libio/vsnprintf.c: Likewise.
1128 * libio/vswprintf.c: Likewise.
1129 * libio/wfiledoalloc.c: Likewise.
1130 * libio/wfileops.c: Likewise.
1131 * libio/wgenops.c: Likewise.
1132 * libio/wmemstream.c: Likewise.
1133 * libio/wstrops.c: Likewise.
1134 * libio/__fpurge.c: Likewise.
1135 * libio/__fsetlocking.c: Likewise.
1136 * assert/assert.c: Likewise.
1137 * debug/fgets_chk.c: Likewise.
1138 * debug/fgets_u_chk.c: Likewise.
1139 * debug/fread_chk.c: Likewise.
1140 * debug/fread_u_chk.c: Likewise.
1141 * debug/gets_chk.c: Likewise.
1142 * debug/obprintf_chk.c: Likewise.
1143 * debug/vasprintf_chk.c: Likewise.
1144 * debug/vdprintf_chk.c: Likewise.
1145 * debug/vsnprintf_chk.c: Likewise.
1146 * debug/vsprintf_chk.c: Likewise.
1147 * malloc/mtrace.c: Likewise.
1148 * misc/error.c: Likewise.
1149 * misc/syslog.c: Likewise.
1150 * stdio-common/asprintf.c: Likewise.
1151 * stdio-common/fxprintf.c: Likewise.
1152 * stdio-common/getw.c: Likewise.
1153 * stdio-common/isoc99_fscanf.c: Likewise.
1154 * stdio-common/isoc99_scanf.c: Likewise.
1155 * stdio-common/isoc99_vfscanf.c: Likewise.
1156 * stdio-common/isoc99_vscanf.c: Likewise.
1157 * stdio-common/isoc99_vsscanf.c: Likewise.
1158 * stdio-common/printf-prs.c: Likewise.
1159 * stdio-common/printf_fp.c: Likewise.
1160 * stdio-common/printf_fphex.c: Likewise.
1161 * stdio-common/printf_size.c: Likewise.
1162 * stdio-common/putw.c: Likewise.
1163 * stdio-common/scanf.c: Likewise.
1164 * stdio-common/sprintf.c: Likewise.
1165 * stdio-common/tmpfile.c: Likewise.
1166 * stdio-common/vfprintf.c: Likewise.
1167 * stdio-common/vfscanf.c: Likewise.
1168 * stdlib/strfmon_l.c: Likewise.
1169 * sunrpc/openchild.c: Likewise.
1170 * sunrpc/xdr_stdio.c: Likewise.
1171 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1172 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1173
d6c33fda
RM
11742012-05-24 Roland McGrath <roland@hack.frob.com>
1175
c1487492
RM
1176 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1177
1178 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1179 in the third column, to generate for the shared library an IFUNC
1180 that uses _dl_vdso_vsym.
1181 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1182 * Makeconfig (object-suffixes-noshared): New variable.
1183
1184 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1185 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1186 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1187 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1188
d6c33fda
RM
1189 [BZ #14132]
1190 * include/sys/time.h (__gettimeofday): Remove macro.
1191 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1192 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1193 Remove INTDEF.
1194 (__gettimeofday): Add libc_hidden_def.
1195 (gettimeofday): Add libc_hidden_weak.
1196 * sysdeps/mach/gettimeofday.c: Likewise.
1197 * sysdeps/posix/gettimeofday.c: Likewise.
1198 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1199 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1200 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1201 (__gettimeofday_internal): Remove strong_alias.
1202 (__gettimeofday): Add libc_hidden_def.
1203 (gettimeofday): Add libc_hidden_weak.
1204 * sysdeps/unix/syscalls.list (gettimeofday):
1205 Remove __gettimeofday_internal alias.
1206
b5a2bbe6
L
12072012-05-24 Daniel Jacobowitz <drow@false.org>
1208 H.J. Lu <hongjiu.lu@intel.com>
1209
1210 [BZ #12495]
1211 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1212 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1213 (largebin_index_32_big): New.
1214 (largebin_index): Use it for 16-byte alignment.
1215 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1216 correction with front_misalign.
1217
cfba4fda
L
12182012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1219
7f907421
L
1220 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1221 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1222 Likewise.
1223 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1224 Likewise.
1225 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1226 Likewise.
1227 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1228 Likewise.
1229 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1230 Likewise.
1231 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1232 Likewise.
1233 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1234 Likewise.
1235 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1236 Likewise.
1237 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1238 Likewise.
1239 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1240 Likewise.
1241 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1242 Likewise.
1243 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1244 Likewise.
1245
cfba4fda
L
1246 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1247 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1248
80bad0cc
JM
12492012-05-24 Joseph Myers <joseph@codesourcery.com>
1250
7a25eb06
JM
1251 [BZ #10846]
1252 [BZ #14036]
1253 * math/libm-test.inc (exp_test): Add test from bug 14036.
1254 (pow_test): Add test from bug 10846.
1255
795405f9
JM
1256 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1257 and other flags.
1258 (special_function): Do not include flags in test name.
1259 (parse_args): Likewise.
1260 * sysdeps/i386/fpu/libm-test-ulps: Update.
1261 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1262 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1263 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1265
80bad0cc
JM
1266 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1267 exceptions.
1268 * math/libm-test.inc ("Philosophy"): Update comment about
1269 exception testing.
1270 (UNDERFLOW_EXCEPTION): New macro.
1271 (UNDERFLOW_EXCEPTION_OK): Likewise.
1272 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1273 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1274 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1275 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1276 (INVALID_EXCEPTION_OK): Update value.
1277 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1278 (OVERFLOW_EXCEPTION_OK): Likewise.
1279 (IGNORE_ZERO_INF_SIGN): Likewise.
1280 (test_exceptions): Handle underflow exceptions.
1281 (acos_test): Update for underflow exception expectations.
1282 (cexp_test): Likewise.
1283 (clog_test): Likewise.
1284 (clog10_test): Likewise.
1285 (csqrt_test): Likewise.
1286 (ctan_test): Likewise.
1287 (ctanh_test): Likewise.
1288 (exp_test): Likewise.
1289 (exp10_test): Likewise.
1290 (exp2_test): Likewise.
1291 (expm1_test): Likewise.
1292 (fma_test): Likewise.
1293 (j0_test): Likewise.
1294 (jn_test): Likewise.
1295 (nexttoward_test): Likewise.
1296 (pow_test): Likewise.
1297 (scalbn_test): Likewise.
1298 (scalbln_test): Likewise.
1299 (tan_test): Likewise.
1300 (y1_test): Likewise.
1301 * sysdeps/i386/fpu/libm-test-ulps: Update.
1302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1303
9e0e3d0b
DM
13042012-05-23 David S. Miller <davem@davemloft.net>
1305
1306 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1307 (__libc_sigaction): Remove unused local variables.
1308
ccd0a08f
L
13092012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1310
1311 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1312
62bdf9a6
PE
13132012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1314
f8591f80
PE
1315 mktime: avoid signed integer overflow
1316 * time/mktime.c (__mktime_internal): Do not mishandle the case
1317 where diff == INT_MIN.
1318
94c7d826
PE
1319 mktime: simplify computation of average
1320 * time/mktime.c (ranged_convert): Use new time_t_avg function
1321 instead of rolling our own (probably-slower) code.
1322
ce73d683
PE
1323 mktime: do not assume signed right shift propagates sign bit
1324 * time/mktime.c (isdst_differ): New static function.
1325 (__mktime_internal): No need to normalize tm_isdst now.
1326 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1327 tm_isdst values.
1328
72a22e59
PE
1329 mktime: merge another wrapv change from gnulib
1330 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1331 from some compilers.
1332
68605433
PE
1333 mktime: remove incorrect attempt at unusual arithmetics
1334 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1335 The code didn't really work on such machines anyway.
1336 (TYPE_MINIMUM): Assume two's complement.
1337 (twos_complement_arithmetic): Verify that long_int and time_t
1338 are two's complement (or unsigned, in the latter case).
1339
03cf7fe3
PE
1340 mktime: check signed shifts on long_int and time_t, too
1341 * time/mktime.c (SHR): Check that shifts work as desired
1342 on the types long_int and time_t too, as SHR is used on
1343 such types.
1344
f04dfbc2
PE
1345 mktime: do not assume 'long' is wide enough
1346 * time/mktime.c (verify): Move decl up.
1347 (long_int): New type.
1348 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1349 to remove assumption in the code that 'long' is wide enough to
1350 store year values. This assumption is not true on x32 and on
1351 some non-glibc platforms.
1352
62bdf9a6
PE
1353 mktime: merge wrapv change from gnulib
1354 * time/mktime.c (WRAPV): New macro.
1355 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1356 (guess_time_tm, __mktime_internal): Do not assume that signed
1357 integer overflow wraps around; modern compilers generate code
1358 where this assumption is no longer valid.
1359
5e292e4f
L
13602012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1361
1362 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1363 Replace "jmp L(pseudo_end)" with "ret".
1364 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1365 Likewise.
1366
8caf8c87
AJ
13672012-05-23 Andreas Jaeger <aj@suse.de>
1368
1369 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1370 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1371
1a09dc56
AJ
13722012-05-23 Andreas Jaeger <aj@suse.de>
1373 Maximilian Attems <max@stro.at>
1374
1375 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1376 New macros.
1377
1c87aba0
L
13782012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1379
1380 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1381 code so that pseudo_end is just ret and the stack pointer is
1382 correct also for static library in error case.
1383
40e45bd5
JM
13842012-05-23 Joseph Myers <joseph@codesourcery.com>
1385
c2670533
JM
1386 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1387 move to syscalls.list.
1388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1392
40e45bd5
JM
1393 * manual/install.texi (Running make install): Do not mention Linux
1394 kernel version for which pt_chown is not needed.
1395 (Linux): Do not mention problems with nscd with 2.0 kernels.
1396 * INSTALL: Regenerated.
1397
be08eda5
AJ
13982012-05-23 Andreas Jaeger <aj@suse.de>
1399
1400 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1401 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1402 macro.
1403 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1404 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1405 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1406 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1407 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1408 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1409 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1410 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1411 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1412 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1413 * sysdeps/unix/sysv/linux/bits/in.h
1414 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1415
a6a056bb
RM
14162012-05-22 Roland McGrath <roland@hack.frob.com>
1417
1418 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1419 (PREPARE_VERSION): Just use assert instead, it will be elided
1420 under [NDEBUG] anyway.
1421
c9009328
L
14222012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1423
1424 * sysdeps/unix/sysv/linux/Makefile: Include
1425 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 1426 (sysdep_routines): Remove sysctl.
c9009328
L
1427 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1428 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1429 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1430 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1431 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1432
73338355
AJ
14332012-05-22 Andreas Jaeger <aj@suse.de>
1434
1435 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1436 that pseudo_end is just ret and the stack pointer is correct also
1437 for static library in error case.
1438
d44638b0
PP
14392012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1440
1441 [BZ #14122]
1442 * nss/nsswitch.c (defconfig_entries): New variable.
1443 (__nss_database_lookup): Don't leak defconfig entries.
1444 (nss_parse_service_list): Don't leak on error paths.
1445 (free_database_entries): New function.
1446 (free_defconfig): New function.
1447 (free_mem): Move common code to free_database_entries.
1448
31a39bd8
L
14492012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1450
da0331a8
L
1451 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1452 Add arch_prctl.
1453 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1454
31a39bd8
L
1455 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1456 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1457 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1458 New macro.
1459 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1460 (INTERNAL_SYSCALL_TYPES): Likewise.
1461 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1462 (LOAD_REGS_TYPES_[1-6]): Likewise.
1463 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1464 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1465
45470df3
AZ
14662012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1467
1468 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1469 copysignl for GLIBC_2_0.
1470 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1471 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1472 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1473 logbl for GLIBC_2_0.
1474 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1475 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1476
98a61bcb
L
14772012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1478
a4f6e481
L
1479 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1480 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1481
f63d5db6
L
1482 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1483 Use "neg %eax".
1484
98a61bcb
L
1485 * time/mktime.c: Update copyright years.
1486
95770f14
PE
14872012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1488
6226efbd
PE
1489 mktime: merge comment-quoting-style change from gnulib
1490 * time/mktime.c: Quote 'like this' in comments.
1491 The GNU coding standards suggest that we no longer quote `like this',
1492 as "`" and "'" are typically rendered asymmetrically nowadays.
1493 The typical gnulib style is to quote 'like this' when quoting
1494 code, and "like this" when quoting English.
1495
b99e4f78
PE
1496 * time/mktime.c (compile-command): Add "-I.".
1497
643e01e6
PE
1498 mktime: merge mktime-internal.h change from gnulib
1499 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1500
2554247d
PE
1501 mktime: merge time_r change from gnulib
1502 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1503
826dd0ab
PE
1504 mktime: merge DEBUG change from gnulib
1505 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1506 case system <time.h> has a #define.
1507
bd83aabe
PE
1508 mktime: merge <sys/types.h> change from gnulib
1509 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1510 since <time.t> is now guaranteed to define time_t.
1511
95770f14
PE
1512 mktime: merge HAVE_CONFIG_H change from gnulib
1513 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1514
5e1a27a9
L
15152012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1516
0e44a77e
L
1517 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1518 Use "neg %eax".
1519
5e1a27a9
L
1520 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1521 __rlim_t cast.
1522 (struct rusage): Use anonymous union to pad each field to
1523 __syscall_slong_t.
1524
46259bec
DM
15252012-05-21 David S. Miller <davem@davemloft.net>
1526
1527 * Makefules (o-iterator): Remove .s cases.
1528 (compile-command.s): Delete.
1529 (COMPILE.s): Delete.
1530 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1531
59f0c22e
JM
15322012-05-21 Joseph Myers <joseph@codesourcery.com>
1533
1534 * configure.in (libc_cv_predef_stack_protector): Only consider
1535 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1536 * configure: Regenerated.
1537
20c07380
L
15382012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1539
bbb3154b
L
1540 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1541 New macro. Use R*LP on int and pointer.
1542 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
1543 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1544 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
1545 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1546
20c07380
L
1547 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1548 [__WORDSIZE_TIME64_COMPAT32] instead of
1549 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1550 (struct utmp): Likewise.
1551 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1552 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1553 Renamed to ...
1554 (__WORDSIZE_TIME64_COMPAT32): This.
1555 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1556 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1557 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1558 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1559 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1560 (__WORDSIZE_TIME64_COMPAT32): New macro.
1561
d8d1017e
AJ
15622012-05-21 Andreas Jaeger <aj@suse.de>
1563
1564 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1565 only if [SHARED]. Add prototype for __wcschr_ia32.
1566
6c7fb145
RM
15672012-05-21 Roland McGrath <roland@hack.frob.com>
1568
1569 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1570 of %rbp unmolested in the jmp_buf while mangling the low bits.
1571 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1572 unmolested high bits of %rbp while demangling the low bits.
1573 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1574
66274218
AJ
15752012-05-21 Andreas Jaeger <aj@suse.de>
1576
07c58f8f
AJ
1577 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1578 * sunrpc/svc_simple.c: Use it for registerrpc.
1579 * sunrpc/xcrypt.c: Use it for passwd2des.
1580
66274218
AJ
1581 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1582
61f65140
L
15832012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1584
1585 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1586 Don't define if [__SYSCALL_WORDSIZE != 32].
1587 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1588 New macro.
1589
5fefb436
AJ
15902012-05-21 Bruno Haible <bruno@clisp.org>
1591 Andreas Jaeger <aj@suse.de>
1592
1593 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1594 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1595 inptr and inend for must_buffer_ch.
1596 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1597 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1598 * stdio-common/Makefile (tests): Remove bug15.
1599 (bug15-ENV): Remove macro.
1600 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1601 anymore.
1602
d8e272ab
AJ
16032012-05-19 Andreas Jaeger <aj@suse.de>
1604 Roland McGrath <roland@hack.frob.com>
1605
1606 * manual/contrib.texi: Completely rewritten. It contains now an
1607 alphabetical list of contributors and their contributions.
1608
4a56a162
RH
16092012-05-21 Richard Henderson <rth@twiddle.net>
1610
1611 * misc/getauxval.c (__getauxval): Use unsigned long int.
1612 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1613 (getauxval): Use unsigned long int.
1614
d024d23c
L
16152012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1616
1617 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1618
cbc00a03
RM
16192012-05-21 Roland McGrath <roland@hack.frob.com>
1620
1621 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1622 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1623 __alignof__ (long double).
1624
478143fa
AZ
16252012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1626
1627 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1628
c7683a6d
RH
16292012-05-20 Richard Henderson <rth@twiddle.net>
1630
1631 * misc/getauxval.c: New file.
1632 * misc/sys/auxv.h: New file.
1633 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1634 (routines): Add getauxval.
1635 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1636 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1637 * elf/dl-sysdep.c (_dl_auxv): Remove.
1638 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1639 * elf/dl-support.c (_dl_auxv): New variable.
1640 (_dl_aux_init): Initialize it.
1641 * manual/startup.texi (Auxiliary Vector): New node.
1642 * sysdeps/generic/bits/hwcap.h: New file.
1643 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1644 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1645 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1646 * sysdeps/sparc/sysdep.h: ... here. Include it.
1647 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1648 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
1649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1650 Update.
c7683a6d
RH
1651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1653 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1654 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1655 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1656 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1658 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1659
a6f1845d
AZ
16602012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1661
1662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1663
cbcbe830
DM
16642012-05-19 David S. Miller <davem@davemloft.net>
1665
1666 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1667
e0b16cc2
JM
16682012-05-19 Joseph Myers <joseph@codesourcery.com>
1669
1670 [BZ #14123]
1671 * math/s_ccosh.c: Include <float.h>
1672 (__ccosh): Avoid internal overflow calculating sinh and cosh
1673 values before multiplying by sin and cos values.
1674 * math/s_ccoshf.c: Likewise.
1675 * math/s_ccoshl.c: Likewise.
1676 * math/s_csin.c: Likewise.
1677 * math/s_csinf.c: Likewise.
1678 * math/s_csinl.c: Likewise.
1679 * math/s_csinh.c: Likewise.
1680 * math/s_csinhf.c: Likewise.
1681 * math/s_csinhl.c: Likewise.
1682 * math/libm-test.inc (ccos_test): Add more tests.
1683 (ccosh_test): Likewise.
1684 (csin_test): Likewise.
1685 (csinh_test): Likewise.
1686 * sysdeps/i386/fpu/libm-test-ulps: Update.
1687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1688
6ad13e08
L
16892012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1690
f66f0ce8
L
1691 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1692 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1693
6ad13e08
L
1694 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1695
b1d072a7
JM
16962012-05-19 Joseph Myers <joseph@codesourcery.com>
1697
1698 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1699 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1700 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1701 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1702 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1703 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1704 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1705 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1706 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1707 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1708 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1709 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1710 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1711 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1712 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1713 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1714 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1715 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1716 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1717 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1718 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1719 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1720 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1721 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1722 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1723 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1724 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1725 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1726 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1727 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1728 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1729
9eae47cb
AJ
17302012-05-18 Andreas Jaeger <aj@suse.de>
1731
1732 * csu/.gitignore: Delete.
1733
bb07f69f
L
17342012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1735
1736 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1737 (timex): Use __syscall_slong_t.
1738
e6bdb741
AJ
17392012-05-18 Andreas Jaeger <aj@suse.de>
1740 Carlos O'Donell <carlos_odonell@mentor.com>
1741
1742 * manual/install.texi (Configuring and compiling): Update
1743 description about files modified in the source directory.
d6c33fda 1744 * INSTALL: Regenerated.
e6bdb741 1745
1b74487e
L
17462012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1747
1748 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1749 value. Use "or" to set return value to -1.
1750 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1751 negate return value.
1752
a88b64b9
TMQMF
17532012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1754
1755 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1756 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1757 failure if the compiler has Graphite support disabled.
1758 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1759 Likewise.
1760 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1761 CFLAGS-memmove.c): Likewise.
1762 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1763 Likewise.
1764
3707636e
L
17652012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1766
610b8622
L
1767 * sysdeps/x86_64/x32/_itoa.h: New file.
1768
7cd195df
L
1769 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1770 getdents system call only if kernel and user dirents have the
1771 same d_ino and d_off.
1772
94b07d20
L
1773 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1774 LLONG_MAX != LONG_MAX.
1775 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1776 (_fitoa_word): Likewise.
1777
18298070
L
1778 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1779 years.
1780 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1781 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1782 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1783
553c7ea4
L
1784 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1785 include <bits/wordsize.h>. Check __x86_64__ instead of
1786 __WORDSIZE.
1787 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1788 if __x86_64__ is defined. Use anonymous union on fpstate.
1789
3707636e
L
1790 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1791 anonymous union.
1792
b53ef01a
AS
17932012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1794
37fb1dc0
AS
1795 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1796 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1797 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1798 Refer to _rtld_local_ro instead of _rtld_global_ro.
1799 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1800 Likewise.
1801 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1802 Likewise.
1803 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1804 Likewise.
1805 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1806 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1807 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1808
b53ef01a
AS
1809 * sysdeps/powerpc/powerpc32/dl-machine.c
1810 (__elf_machine_runtime_setup) [PROF]: Don't reference
1811 _dl_prof_resolve.
1812
7a185db2
AJ
18132012-05-18 Andreas Jaeger <aj@suse.de>
1814
1815 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1816 function only available for GCCs before 3.4 since GCC 3.4
1817 introduced a builtin.
1818 (lrint): Likewise.
1819 (llrintf): Likewise.
1820 (llrint): Likewise.
1821 (fmaxf): Likewise.
1822 (fmax): Likewise.
1823 (fminf): Likewise.
1824 (fmin): Likewise.
1825 (rint): Likewise.
1826 (rintf): Likewise.
1827 (nearbyint): Likewise.
1828 (nearbyintf): Likewise.
1829 (ceil): Likewise.
1830 (ceilf): Likewise.
1831 (floor): Likewise.
1832 (floorf): Likewise.
1833
3e5aef87
L
18342012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1835
428bd707
L
1836 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1837 on both fields and cast pointer to __syscall_ulong_t.
1838
3e5aef87
L
1839 * bits/types.h (__fsword_t): New type.
1840 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1841 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1842 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1843 (__FSWORD_T_TYPE): Likewise.
1844 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1845 (__FSWORD_T_TYPE): Likewise.
1846 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1847 (__FSWORD_T_TYPE): Likewise.
1848 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1849 (__FSWORD_T_TYPE): Likewise.
1850 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1851 __SWORD_TYPE with __fsword_t.
1852 (statfs64): Likewise.
1853
1ba7c3dc
DM
18542012-05-17 David S. Miller <davem@davemloft.net>
1855
1856 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1857
59910343
AJ
18582012-05-17 Andreas Jaeger <aj@suse.de>
1859
1860 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1861 warning.
1862
2e4c1e9e
L
18632012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1864
1865 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1866
de7f5ce7
AJ
18672012-05-17 Andreas Jaeger <aj@suse.de>
1868
1869 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1870 when it is used.
1871
286abc3d
CM
18722012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1873
1874 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1875
477cc68e
L
18762012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1877
1878 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1879 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1880
1a0994f5
CD
18812012-05-17 Andreas Jaeger <aj@suse.de>
1882 Carlos O'Donell <carlos_odonell@mentor.com>
1883
1884 [BZ #14059]
1885 * sysdeps/x86_64/multiarch/init-arch.h
1886 (bit_YMM_Usable): Rename to...
1887 (bit_AVX_Usable): ... this.
1888 (bit_FMA4_Usable): New macro.
1889 (bit_XMM_state): New macro.
1890 (bit_YMM_state): New macro.
1891 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1892 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1893 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1894 (CPUID_OSXSAVE): New macro.
1895 (CPUID_AVX): New macro.
1896 (CPUID_FMA4): New macro.
1897 (index_YMM_Usable): Rename to...
1898 (index_AVX_Usable): ... this.
1899 (HAS_AVX): Use HAS_ARCH_FEATURE.
1900 (HAS_FMA4): Likewise.
1901 (HAS_YMM_USABLE): Remove.
1902 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1903 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1904 are present.
1905 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1906 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1907 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1908 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1909 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1910
0af797de
CM
19112012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1912
1913 * math/libm-test.c: Support platforms without multiple rounding modes.
1914 * math/bug-nextafter.c: Support platforms without FP exceptions.
1915 * math/bug-nexttoward.c: Likewise.
1916 * math/test-fenv.c: Likewise.
1917 * math/test-misc.c: Likewise.
1918 * stdlib/bug-getcontext.c: Likewise.
1919
e39745ff
AJ
19202012-05-17 Andreas Jaeger <aj@suse.de>
1921
1922 * manual/examples/search.c (critter_cmp): Change signature to
1923 avoid warnings.
1924 * manual/string.texi (Collation Functions): Likewise.
1925
48970aba
L
19262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1927
1928 * bits/types.h: Fold copyright years.
1929 * bits/typesizes.h: Likewise.
1930 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1931 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1932 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1933 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1934 * time/time.h: Likewise.
1935
bedee953
PP
19362012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1937
1938 [BZ #208]
1939 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1940 in instead of returning them. Return void.
1941 (__libc_mallinfo): Accumulate over all arenas.
1942 (__malloc_stats): Adjust for change in int_mallinfo interface.
1943
61653dfb
RM
19442012-05-16 Roland McGrath <roland@hack.frob.com>
1945
30b99d79
RM
1946 [BZ #10375]
1947 * configure.in (NM): Add AC_CHECK_TOOL for it.
1948 (libc_extra_cflags): New substituted variable.
1949 Check for -fstack-protector being used implicitly.
1950 * configure: Regenerated.
1951 * config.make.in (config-extra-cflags): New variable,
1952 gets @libc_extra_cflags@.
1953 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1954
61653dfb
RM
1955 [BZ #10375]
1956 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1957 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1958 * configure: Regenerated.
1959 * config.make.in (CPPUNDEFS): New substituted variable.
1960 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1961 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1962 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1963
661768bb
L
19642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1965
1966 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1967 (mq_attr): Use __syscall_slong_t.
1968
d4261567
L
19692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1970
1971 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1972 Check __x86_64__ instead of __WORDSIZE.
1973 (_STAT_VER_LINUX): Likewise.
1974 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1975 __syscall_ulong_t and __syscall_slong_t.
1976 (stat64): Likewise.
1977
cf3ff365
L
19782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1979
1980 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1981
76cf3e4d
L
19822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1983
1984 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1985
a637753a
L
19862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1987
1988 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1989 __syscall_ulong_t.
1990
d5e05119
L
1991 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1992 include <bits/wordsize.h>. Check __x86_64__ instead of
1993 __WORDSIZE.
1994 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1995 defined.
1996 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1997
f62ee380
L
1998 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1999 include <bits/wordsize.h>. Check __x86_64__ instead of
2000 __WORDSIZE.
2001 (user_regs_struct): Use "__extension__ unsigned long long"
2002 instead of "unsigned long" if __x86_64__ is defined.
2003 (user): Likewise. Pad after pointer field if __ILP32__ is
2004 defined.
2005
4e124ced
JM
20062012-05-16 Joseph Myers <joseph@codesourcery.com>
2007
6a3951a0
JM
2008 * configure.in (makeinfo): Require version 4.5 or later. Allow
2009 versions 5 to 9.
2010 * configure: Regenerated.
2011 * manual/install.texi (texinfo): Increase version requirement to
2012 4.5 or later.
2013 * INSTALL: Regenerated.
2014
4e124ced
JM
2015 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
2016
953ca31a
L
20172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2018
2019 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
2020
617aca05
L
2021 * sysdeps/x86_64/x32/ffs.c: New file.
2022
5762f7ae
L
2023 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
2024 __syscall_ulong_t.
2025 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
2026 defined. Use __syscall_ulong_t.
2027 (shminfo): Use __syscall_ulong_t.
2028 (shm_info): Likewise.
2029
a26b6856
L
2030 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
2031 __syscall_ulong_t.
2032
cb2b9ef7
L
2033 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
2034 <bits/wordsize.h>.
2035 (msgqnum_t): Use __syscall_ulong_t.
2036 (msglen_t): Likewise.
2037 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
2038 __syscall_ulong_t.
2039
34683bb0
L
2040 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
2041 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2042
84a68786
L
2043 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
2044
48baa5f1
L
2045 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
2046 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
2047
180be88b
L
2048 * sysvipc/sys/msg.h (msgbuf): Replace long int with
2049 __syscall_slong_t.
2050
5e90c8ad
L
2051 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
2052 include <bits/wordsize.h>. Check __x86_64__ instead of
2053 __WORDSIZE.
2054
23dfb58b
L
2055 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
2056 "unsigned long long int" if __x86_64__ is defined.
2057 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
2058
ce5d54b0
L
2059 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
2060 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2061 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
2062
13dc9eac
L
2063 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
2064 <stdint.h>.
2065 (GET_PC): Cast to uintptr_t first.
2066 (GET_FRAME): Likewise.
2067 (GET_STACK): Likewise.
2068
a7895d15
L
2069 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
2070 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
2071 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
2072 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
2073 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
2074 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
2075 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
2076 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
2077 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2078 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2079 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2080 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2081 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2082 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2083 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2084 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2085 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2086 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2087 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2088 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2089 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2090 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2091 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2092 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2093 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2094 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2095 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2096 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2097 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2098
656416c9
AS
20992012-05-16 Andreas Schwab <schwab@linux-m68k.org>
2100
5bd66283
AS
2101 * Makerules (+depfiles): Also collect depfiles from .oS in
2102 $(extra-objs).
2103 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2104 .oS, $(libnldbl-routines)).
2105
656416c9
AS
2106 * Makerules (native-compile-mkdep-flags): Define.
2107 * sunrpc/Makefile (extra-objs): Add $(addprefix
2108 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2109 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2110 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
2111 calling $(make-target-directory).
2112
a46f2169
L
21132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2114
2115 * bits/types.h (__snseconds_t): Removed.
2116 * time/time.h (struct timespec): Replace __snseconds_t with
2117 __syscall_slong_t.
2118 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2119 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2120 Likewise.
2121 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2122 (__SNSECONDS_T_TYPE): Likewise.
2123 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2124 (__SNSECONDS_T_TYPE): Likewise.
2125 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2126 (__SNSECONDS_T_TYPE): Likewise.
2127
6af6528b
L
21282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2129
2130 * sysdeps/mach/hurd/bits/typesizes.h
2131 (__SYSCALL_SLONG_TYPE): New macro.
2132 (__SYSCALL_ULONG_TYPE): Likewise.
2133
de986b56
L
21342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2135
2136 * bits/types.h (__syscall_slong_t): New type.
2137 (__syscall_ulong_t): Likewise.
2138
2139 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2140 (__SYSCALL_ULONG_TYPE): Likewise.
2141 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2142 (__SYSCALL_SLONG_TYPE): Likewise.
2143 (__SYSCALL_ULONG_TYPE): Likewise.
2144 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2145 (__SYSCALL_SLONG_TYPE): Likewise.
2146 (__SYSCALL_ULONG_TYPE): Likewise.
2147 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2148 (__SYSCALL_SLONG_TYPE): Likewise.
2149 (__SYSCALL_ULONG_TYPE): Likewise.
2150
85736dc7
L
21512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2152
2153 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2154 Add sigaltstack-offsets.sym.
2155 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2156 <sigaltstack-offsets.h>.
2157 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2158 longjmp_msg pointer.
2159 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2160 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2161 signal stack.
2162 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2163
cc03b296
JM
21642012-05-15 Joseph Myers <joseph@codesourcery.com>
2165
a9538892
JM
2166 * elf/stackguard-macros.h: Remove file.
2167 * sysdeps/generic/stackguard-macros.h: New file.
2168 * sysdeps/i386/stackguard-macros.h: Likewise.
2169 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2170 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2171 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2172 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2173 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2174 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2175 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2176 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2177 <elf/stackguard-macros.h>.
2178
cc03b296
JM
2179 [BZ #14109]
2180 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2181 __aligned__ in attribute.
2182 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2183 (gregset_t): Likewise.
2184
93171016
L
21852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2186
2187 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2188 * sysdeps/x86_64/64/Implies-after: Here. New file.
2189 * sysdeps/x86_64/x32/Implies-after: New file.
2190
d86813a0
L
21912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2192
2193 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2194 and access return value for _dl_profile_fixup. Use R10_LP to
2195 load frame size.
2196
2953ec75
L
21972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2198
2199 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2200
3b550e9e
L
22012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2202
2203 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2204 * sysdeps/x86_64/x32/sysdep.h: New file.
2205
eda41706
L
22062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2207
2208 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2209 * sysdeps/x86_64/setjmp.S: Likewise.
2210
9ea01d93
AZ
22112012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2212
2213 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2214 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2215 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2216 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2217 remove unused global constant.
2218
02a91938
CM
22192012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2220
2221 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2222 include of <not-cancel.h>.
2223
6540185f
RM
22242012-05-15 Roland McGrath <roland@hack.frob.com>
2225
2226 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2227
509072a0
AJ
22282012-05-15 Jeff Law <law@redhat.com>
2229 Andreas Jaeger <aj@suse.de>
2230
2231 [BZ #13594]
2232 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2233 out from...
2234 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2235 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2236 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2237 code changing __hst_map_handle.map.
2238
ba75122d
RM
22392012-05-15 Roland McGrath <roland@hack.frob.com>
2240
2241 * configure.in (sysnames): Look for Implies-before and Implies-after
2242 files.
2243 * configure: Regenerated.
2244
890d8bd8
L
22452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2246
2247 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2248 8-byte data alignment with LP_SIZE alignment.
2249
f6ee6623
L
22502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2251
2252 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2253 into R10_LP.
2254
ea2626f6
L
22552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2256
2257 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2258
085f715e
L
22592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2260
2261 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2262 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2263 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2264 Likewise.
2265 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2266
be8498fc
L
22672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2268
2269 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2270 (stackinfo_sub_sp): Likewise.
2271
70bc83b9
L
22722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2273
2274 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2275 RAX_LP.
2276
9bc0b730
L
22772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2278
2279 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2280 into R*_LP.
2281
6d2850e7
L
22822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2283
2284 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2285 sizes into R*_LP.
2286
3cb84561
L
22872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2288
2289 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2290
54e2ed81
L
22912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2292
2293 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2294 into R11_LP and load __x86_64_shared_cache_size_half into
2295 R8_LP.
2296
8a17f349
L
22972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2298
2299 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2300 R8_LP.
2301
777b1eea
AZ
23022012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2303
2304 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2305 logb for POWER7.
2306 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2307 logbf for POWER7.
2308 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2309 logbl for POWER7.
2310 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2311 powerpc32/power7/fpu/s_logb.c via #include.
2312 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2313 powerpc32/power7/fpu/s_logbf.c via #include.
2314 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2315 powerpc32/power7/fpu/s_logbl.c via #include.
2316
d20d4ac2
JM
23172012-05-15 Joseph Myers <joseph@codesourcery.com>
2318
2319 * README.libm: Remove file.
2320
6cdef1ab
L
23212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2322
2323 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2324 count for x32. Use R*_LP and omit operand-size suffix.
2325
0b254d8f
L
23262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2327
2328 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2329 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2330 * sysdeps/x86_64/x32/shlib-versions: New file.
2331
ceb809dc
RM
23322012-05-14 Roland McGrath <roland@hack.frob.com>
2333
2334 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2335 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2336 Use _dl_fatal_printf instead.
2337
37f1abd4
JM
23382012-05-14 Joseph Myers <joseph@codesourcery.com>
2339
2340 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2341 set if not set by the user. Do not allow for being unset.
2342 * sysdeps/unix/sysv/linux/configure: Regenerated.
2343
11de3a33
L
23442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2345
2346 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2347 the `q' suffix from lea and replace .quad with ASM_ADDR.
2348
e02f153a
L
23492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2350
2351 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2352 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2353 instead of $17.
2354 (PTR_DEMANGLE): Likewise.
2355
520ae0fd
L
23562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2357
2358 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2359 (LP_OP): Likewise.
2360 (ASM_ADDR): Likewise.
2361 (RAX_LP): Likewise.
2362 (RBP_LP): Likewise.
2363 (RBX_LP): Likewise.
2364 (RCX_LP): Likewise.
2365 (RDI_LP): Likewise.
2366 (RSI_LP): Likewise.
2367 (RSP_LP): Likewise.
2368 (R8_LP): Likewise.
2369 (R9_LP): Likewise.
2370 (R10_LP): Likewise.
2371 (R10_LP): Likewise.
2372 (R11_LP): Likewise.
2373 (R12_LP): Likewise.
2374 (R13_LP): Likewise.
2375 (R14_LP): Likewise.
2376 (R15_LP): Likewise.
2377
b985be81
L
23782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2379
2380 * sysdeps/x86_64/x32/dl-machine.h: New file.
2381
6a4888ff
AJ
23822012-05-14 Andreas Jaeger <aj@suse.de>
2383
2384 * manual/Makefile (subdir): Remove export of subdir.
2385 (all): Remove target.
2386 (.PHONY): Remove all from list.
2387 (mkinstalldirs): Remove.
2388 (.PHONY): Remove installdirs from list.
2389 ($(inst_infodir)/libc.info): Use make-target-directory.
2390 (installdirs): Remove.
2391 (subdir_%): Remove.
2392 (glibc-targets): Remove.
2393 (lib): Remove.
2394 (stubs): Remove.
2395 ($(objpfx)stubs ../po/manual.pot): Remove.
2396 ($(objpfx)stamp%): Remove.
2397 (make-target-directory): Remove.
2398 (subdir_install): Remove.
2399 (routines): Remove.
2400 (aux): Remove.
2401 (sources): Remove.
2402 (objects): Remove.
2403 (headers): Remove.
2404
2405 [BZ #13750]
2406 * manual/.gitignore: Remove, it's not needed anymore.
2407 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2408 all files in it.
2409 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2410 directory.
2411 (texis): Renamed to $(objpfx)texis.
2412 (texis-path): New, contains path to generated files.
2413 (chapters.%): Use texis-path for complete path, add extra argument
2414 libc-texinfo.sh.
2415 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2416 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2417 (summary,texi, stamp-summary): Use complete path of
2418 files. Generate files in build dir.
2419 (dir-add.texi): Build in build dir.
2420 (libm-err.texi,stamp-libm-err): Likewise.
2421 (version.texi, stamp-version): Likewise.
2422 (.%c.texi): Likewise.
2423 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2424 (mostlyclean): Remove target.
2425 (realclean): Remove target.
2426 (generated): Add new variable with contents from mostlyclean and
2427 realclean, remove entries duplicated in common-mostlyclean, add
2428 stamp-libm-err and stamp-version.
2429 (generated-dirs): Add libc directory.
2430 ($(inst_infodir)/libc.info): Install files from build dir.
2431
2432 * manual/install.texi (Configuring and compiling): Adjust since
2433 the info files are not part of the tar ball anymore.
2434
7ac77294
AJ
24352012-05-14 Andreas Jaeger <aj@suse.de>
2436
2437 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2438 variable.
2439
ffb7875d
JM
24402012-05-14 Joseph Myers <joseph@codesourcery.com>
2441
2442 [BZ #13717]
2443 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2444 to 2.2.0 where earlier.
2445 * sysdeps/unix/sysv/linux/configure: Regenerated.
2446 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2447 Remove conditional code.
2448 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2449 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2450 Remove conditional code.
2451 [!__NR_lchown]: Likewise.
2452 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2453 [__NR_lchown]: Likewise.
2454 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2455 comment referencing __ASSUME_LCHOWN_SYSCALL.
2456 * sysdeps/unix/sysv/linux/i386/sigaction.c
2457 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2458 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2459 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2460 Remove conditional code.
2461 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2462 (__protocol_available): Remove #if 0 code.
2463 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2464 conditional code.
2465 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2466 * sysdeps/unix/sysv/linux/kernel-features.h
2467 (__ASSUME_GETCWD_SYSCALL): Don't define.
2468 (__ASSUME_REALTIME_SIGNALS): Likewise.
2469 (__ASSUME_PREAD_SYSCALL): Likewise.
2470 (__ASSUME_PWRITE_SYSCALL): Likewise.
2471 (__ASSUME_POLL_SYSCALL): Likewise.
2472 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2473 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2474 non-SPARC.
2475 (__ASSUME_SIOCGIFNAME): Don't define.
2476 (__ASSUME_MSG_NOSIGNAL): Likewise.
2477 (__ASSUME_SENDFILE): Define unconditionally.
2478 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2479 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2480 conditional code.
2481 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2482 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2483 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2484 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2485 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2486 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2487 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2489 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2490 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2492 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2493 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2495 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2496 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2498 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2499 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2501 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2502 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2504 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2505 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2507 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2508 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2510 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2511 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2512 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2513 Remove conditional code.
2514 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2515 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2516 Remove conditional code.
2517 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2518 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2519 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2520 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2521 Remove conditional code.
2522 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2523 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2524 Remove conditional code.
2525 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2526 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2527 Remove conditional code.
2528 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2529 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2530 Remove conditional code.
2531 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2532 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2533 Remove conditional code.
2534 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2535 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2536 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2537 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2538 * sysdeps/unix/sysv/linux/sigaction.c
2539 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2540 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2541 * sysdeps/unix/sysv/linux/sigpending.c
2542 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2543 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2544 * sysdeps/unix/sysv/linux/sigprocmask.c
2545 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2546 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2547 * sysdeps/unix/sysv/linux/sigsuspend.c
2548 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2549 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2550 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2551 (__libc_missing_rt_sigs): Remove.
2552 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2553 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2554 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2555 Remove conditional code.
2556 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2557 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2558 return 1.
2559 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2560 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2561 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2562 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2563
1bfb7291
AJ
25642012-05-14 Andreas Jaeger <aj@suse.de>
2565
caae5a81
AJ
2566 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2567 it's not used in glibc.
2568 (__coshm1): Likewise.
2569 (__acosh1p): Likewise.
2570 (__sgn): Likewise.
2571
1bfb7291
AJ
2572 * manual/string.texi (Copying and Concatenation): Add missing
2573 variable in concat example.
2574 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2575
c044d724
L
25762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2577
144c5467 2578 [BZ #14103]
c044d724
L
2579 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2580 __builtin_clzl with __builtin_clzll.
2581
2523c62b
L
25822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2583
2584 [BZ #14104]
2585 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2586 libc_freeres_ptr.
2587
d7bb4c42
LD
25882012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2589
2590 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2591 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2592 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2593 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2594
9dc4e1fb
MF
25952012-05-14 Mike Frysinger <vapier@gentoo.org>
2596
2597 * NEWS: Update ia64 info.
2598
c7df0112
AS
25992012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2600
2601 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2602 used as bcopy.
2603
dc70356c
TS
26042012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2605
2606 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2607 * sysdeps/unix/syscalls.list (dup3): Likewise.
2608 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2609 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2610
9fb1a21f
L
26112012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2612
2613 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2614 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2615
4822a2a5
L
26162012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2617
2618 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2619 thread pointer.
2620 (TLS_IE): Use mov/add instead of movq/addq to load thread
2621 pointer.
2622 (TLS_GD_PREFIX): New.
2623 (TLS_GD): Use it.
2624
842b81d6
DM
26252012-05-11 David S. Miller <davem@davemloft.net>
2626
2627 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2628 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2629 (_FPU_SETCW): Likewise.
2630
1cf463cd
L
26312012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2632
2633 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2634 is 32-byte aligned.
2635
60cc4a18
AS
26362012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2637
2638 [BZ #11837]
2639 * iconvdata/gb18030.c: Update tables.
2640 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2641 characters specially.
2642 (BODY for TO_LOOP): Add encoding of missing ranges.
2643
febb44a4
TS
26442012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2645
2646 [BZ #13673]
2647 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2648 * sysdeps/mach/hurd/dup3.c: Likewise.
2649 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2650 * sysdeps/powerpc/memmove.c:: Likewise.
2651
0a10fb9e
L
26522012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2653
2654 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2655 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2656
df8a552f
L
26572012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2658
2659 * elf/elf.h (R_X86_64_RELATIVE64): New.
2660 (R_X86_64_NUM): Updated.
2661 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2662 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2663 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2664 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2665 tst-quad1pie tst-quad2pie
2666 (modules-names): Add tst-quadmod1 tst-quadmod2.
2667 ($(objpfx)tst-quad1): New dependency.
2668 ($(objpfx)tst-quad2): Likewise.
2669 ($(objpfx)tst-quad1pie): Likewise.
2670 ($(objpfx)tst-quad2pie): Likewise.
2671 * sysdeps/x86_64/tst-quad1.c: New file.
2672 * sysdeps/x86_64/tst-quad1pie.c: New file.
2673 * sysdeps/x86_64/tst-quad2.c: Likewise.
2674 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2675 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2676 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2677 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2678 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2679
f34d6f84
ST
26802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2681
f42d41d1
ST
2682 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2683 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2684 * streams/stropts.h (t_scalar_t): Define type.
2685
3c3571fc
ST
2686 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2687 (_PATH_PRESERVE): Set to "/var/lib".
2688 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2689
61f06bd3
ST
2690 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2691 instead of int.
2692
918d4d71
ST
2693 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2694 if __dir_mkfile succeeded.
2695
f34d6f84
ST
2696 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2697 checking for _hurd_dtablesize. Unlock it right after having
2698 finished _hurd_dtable allocation.
2699
10589b4a
TS
27002012-05-10 Thomas Schwinge <thomas@schwinge.name>
2701
674cdbc7
TS
2702 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2703 * sysdeps/mach/hurd/configure: Regenerated.
2704 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2705 special-casing to...
2706 * sysdeps/gnu/configure.in: ... this new file.
2707 * sysdeps/unix/sysv/linux/configure: Regenerated.
2708 * sysdeps/gnu/configure: New generated file.
2709
8e41b99f
TS
2710 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2711 for Linux: use nsec instead of usec, as well as:
2712 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2713 members of type struct timespec.
2714 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2715 New macros.
2716 (struct stat64): Likewise.
2717 (_STATBUF_ST_NSEC): New macro.
2718 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2719
10589b4a
TS
2720 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2721 __strtoul_internal rather than strtoul.
2722
63643c85
PT
27232012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2724
2725 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2726 and reject them.
2727
3faebe6a
ST
27282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2729
2730 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2731 which preserves existing values.
2732 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2733
c6474b07
PT
27342012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2735
2736 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2737 TIMEOUT values. Return EINVAL for NFDS values either negative or
2738 greater than FD_SETSIZE.
2739
1043890b
ST
27402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2741
2742 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2743 allocated, call __vm_protect to finish enabling the existing space, and
2744 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2745 allocate the remainder.
2746
37ed8b9b
PT
27472012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2748
2749 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2750 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2751
db653660
ST
27522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2753
37ed8b9b
PT
2754 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2755 sysdeps/mach/hurd/readlink.c.
b29d4053 2756
db653660
ST
2757 * posix/tst-sysconf.c (posix_options): Only use
2758 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2759 _POSIX_SYNCHRONIZED_IO when they are defined
2760 * sysdeps/mach/hurd/bits/posix_opt.h:
2761 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2762 (_XOPEN_REALTIME): Undefine macro.
2763 (_XOPEN_REALTIME_THREADS): Undefine macro.
2764 (_XOPEN_SHM): Undefine macro.
2765 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2766 macro to -1.
2767 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2768 macro to -1.
2769 (_POSIX_ASYNC_IO): Undefine macro.
2770 (_POSIX_PRIORITIZED_IO): Undefine macro.
2771 (_POSIX_SPIN_LOCKS): Define macro to -1.
2772
ee16e894
ST
2773 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2774 SA_NODEFER, SA_RESETHAND.
2775 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2776 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2777 F_DUPFD_CLOEXEC.
2778
6103ae3b
TS
27792012-05-10 Thomas Schwinge <thomas@schwinge.name>
2780
2781 * elf/Makefile (pldd-modules): Define unconditionally.
2782
80b4e5f3
TS
27832012-05-10 Thomas Schwinge <thomas@schwinge.name>
2784
2785 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2786
edadcbd6
ST
27872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2788
2789 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2790 Return ENOENT when name is empty.
2791 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2792
80694780
TS
27932012-05-10 Thomas Schwinge <thomas@schwinge.name>
2794
1792c087
TS
2795 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2796
80694780
TS
2797 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2798
6b645f0d
ST
27992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2800
80694780
TS
2801 Fix mlock in all cases except non-readable pages.
2802 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2803 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 2804
6b645f0d
ST
2805 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2806 (__mkdir): When path is `/', just fail with EEXIST.
2807 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2808
e468f8a3
TS
28092012-05-10 Thomas Schwinge <thomas@schwinge.name>
2810
2811 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2812 <sys/uio.h> (for writev).
2813 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2814 and <sys/param.h> (for MIN).
2815
a4186cff
PT
28162012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2817
2818 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2819 REQUESTED_TIME. Properly set the remaining time and return EINTR
2820 if interrupted.
2821
510bbf14
TS
28222012-05-10 Thomas Schwinge <thomas@schwinge.name>
2823
2824 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2825 Depend on against $(link-rpcuserlibs).
2826
5d5722e8
ST
28272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2828
a4186cff
PT
2829 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2830 (__libc_stack_end): Do not use attribute_relro.
2831 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2832 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 2833 to libthread-provided value.
a4186cff
PT
2834 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2835 attribute_relro.
5d5722e8 2836
37233df9
TS
28372012-05-10 Thomas Schwinge <thomas@schwinge.name>
2838
be971a2b
TS
2839 [BZ #3748]
2840 * bits/libc-lock.h (__libc_once_get): New macro.
2841 * sysdeps/mach/bits/libc-lock.h: Likewise.
2842 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2843 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2844 instead of using implementation details.
2845
37233df9
TS
2846 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2847 * libio/freopen.c: Likewise.
2848 * libio/freopen64.c: Likewise.
2849 * misc/syslog.c: Likewise.
2850 * nscd/connections.c: Likewise.
2851 * nscd/netgroupcache.c: Likewise.
2852 * sysdeps/posix/getcwd.c: Likewise.
2853
38de94a5
RM
28542012-05-10 Roland McGrath <roland@hack.frob.com>
2855
2856 * math/w_ilogbf.c: Add #include <limits.h>.
2857
67530489
ST
28582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2859
a4186cff 2860 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
2861 path instead of returning without unlocking.
2862
67530489
ST
2863 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2864 immediate-write ioctls.
2865 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2866
5aa3a74a
TS
28672012-05-10 Thomas Schwinge <thomas@schwinge.name>
2868
18bad2ae
TS
2869 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2870 __builtin_frame_address instead of making assumptions about the
2871 location of the return address relative to DATA. Force early load of
2872 the return address.
2873 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2874 __builtin_frame_address.
2875
5aa3a74a
TS
2876 dup3 for GNU Hurd.
2877 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2878 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2879 implement dup3 and do some further code clean-ups.
2880 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2881 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2882
ecd0de9a
ST
28832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2884
cd9fa985
ST
2885 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2886
a4186cff
PT
2887 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2888 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2889 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2890 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2891 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2892 d->port.lock.
802ca5a5 2893
a4186cff
PT
2894 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2895 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2896 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 2897
bcf55240
TS
28982012-05-10 Thomas Schwinge <thomas@schwinge.name>
2899
6960eb42
TS
2900 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2901 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2902 definitions.
2903
eb43375f
TS
2904 accept4 for GNU Hurd.
2905 * include/sys/socket.h (__libc_accept4): New prototype.
2906 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2907 to implement __libc_accept4.
2908 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2909 __libc_accept4.
2910 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2911
bcf55240
TS
2912 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2913 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2914 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2915 signal-defines.sym.
2916
6178c55b
ST
29172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2918
a4186cff 2919 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 2920
6f080c2f
TS
29212012-05-10 Thomas Schwinge <thomas@schwinge.name>
2922
2923 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2924 assertion on O_CLOEXEC flag.
2925 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2926 * hurd/intern-fd.c: Likewise.
2927 * hurd/port2fd.c: Likewise.
2928
bcfe3a54
ST
29292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2930
2931 [BZ #3906]
2932 * bits/in.h (IPV6_PKTINFO): Define new macro.
2933 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2934
89c9aa49
AZ
29352012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2936
2937 [BZ #13954]
2938 [BZ #13955]
2939 [BZ #13956]
2940 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2941 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2942 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2943 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2944 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2945 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2946 * math/libm-test.inc (logb_test) : Additional logb tests.
2947
021db4be
AJ
29482012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2949 Andreas Jaeger <aj@suse.de>
2950
2951 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2952 * configure: Regenerated.
2953 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2954 * config.make.in (link-obsolete-rpc): New substituted variable.
2955 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2956 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2957 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2958 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2959 so that libc.a contains the symbols.
2960 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2961 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2962 * sunrpc/auth_none.c: Likewise.
2963 * sunrpc/auth_unix.c: Likewise.
2964 * sunrpc/authdes_prot.c: Likewise.
2965 * sunrpc/authuxprot.c: Likewise.
2966 * sunrpc/clnt_gen.c: Likewise.
2967 * sunrpc/clnt_perr.c: Likewise.
2968 * sunrpc/clnt_raw.c: Likewise.
2969 * sunrpc/clnt_simp.c: Likewise.
2970 * sunrpc/clnt_tcp.c: Likewise.
2971 * sunrpc/clnt_udp.c: Likewise.
2972 * sunrpc/clnt_unix.c: Likewise.
2973 * sunrpc/des_crypt.c: Likewise.
2974 * sunrpc/des_soft.c: Likewise.
2975 * sunrpc/get_myaddr.c: Likewise.
2976 * sunrpc/key_call.c: Likewise.
2977 * sunrpc/key_prot.c: Likewise.
2978 * sunrpc/netname.c: Likewise.
2979 * sunrpc/pm_getmaps.c: Likewise.
2980 * sunrpc/pm_getport.c: Likewise.
2981 * sunrpc/pmap_clnt.c: Likewise.
2982 * sunrpc/pmap_prot.c: Likewise.
2983 * sunrpc/pmap_prot2.c: Likewise.
2984 * sunrpc/pmap_rmt.c: Likewise.
2985 * sunrpc/publickey.c: Likewise.
2986 * sunrpc/rpc_cmsg.c: Likewise.
2987 * sunrpc/rpc_common.c: Likewise.
2988 * sunrpc/rpc_dtable.c: Likewise.
2989 * sunrpc/rpc_prot.c: Likewise.
2990 * sunrpc/rpc_thread.c: Likewise.
2991 * sunrpc/rtime.c: Likewise.
2992 * sunrpc/svc.c: Likewise.
2993 * sunrpc/svc_auth.c: Likewise.
2994 * sunrpc/svc_raw.c: Likewise.
2995 * sunrpc/svc_run.c: Likewise.
2996 * sunrpc/svc_tcp.c: Likewise.
2997 * sunrpc/svc_udp.c: Likewise.
2998 * sunrpc/svc_unix.c: Likewise.
2999 * sunrpc/svcauth_des.c: Likewise.
3000 * sunrpc/xcrypt.c: Likewise.
3001 * sunrpc/xdr.c: Likewise.
3002 * sunrpc/xdr_array.c: Likewise.
3003 * sunrpc/xdr_float.c: Likewise.
3004 * sunrpc/xdr_intXX_t.c: Likewise.
3005 * sunrpc/xdr_mem.c: Likewise.
3006 * sunrpc/xdr_rec.c: Likewise.
3007 * sunrpc/xdr_ref.c: Likewise.
3008 * sunrpc/xdr_sizeof.c: Likewise.
3009 * sunrpc/xdr_stdio.c: Likewise.
3010
b5c086a2
RM
30112012-05-10 Roland McGrath <roland@hack.frob.com>
3012
3013 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
3014 change. Update copyright years.
3015
6d74dd09
JM
30162012-05-10 Joseph Myers <joseph@codesourcery.com>
3017
3018 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
3019
28e72501
MK
30202012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
3021 Joseph Myers <joseph@codesourcery.com>
3022 Paul Pluzhnikov <ppluzhnikov@google.com>
3023
3024 [BZ #14012]
3025 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
3026 requiring rpcgen.
3027 [cross-compiling] (extra-libs): Likewise.
3028 [cross-compiling] (extra-libs-others): Likewise.
3029 [cross-compiling] (librpcsvc-routines): Likewise.
3030 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
3031 [cross-compiling] (omit-deps): Likewise.
3032 (sunrpc-CPPFLAGS): New variable.
3033 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
3034 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
3035 (cross-rpcgen-objs): New variable.
3036 (extra-objs): Append $(cross-rpcgen-objs).
3037 ($(cross-rpcgen-objs)): New rule.
3038 ($(objpfx)cross-rpcgen): Likewise.
3039 (rpcgen-cmd): Define to use $(built-program-file). Expand
3040 comment.
3041 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
3042 ($(objpfx)x%.stmp): Likewise.
3043 * sunrpc/proto.h [IS_IN_build] (_): Define.
3044 [IS_IN_build] (_libc_intl_domainname): Likewise.
3045
c8c59454
L
30462012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3047
3048 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
3049 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
3050 and R_X86_64_TPOFF64.
3051
6f27cd16
JM
30522012-05-10 Joseph Myers <joseph@codesourcery.com>
3053
3054 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
3055 sysdeps/unix/sysv/syscalls.list.
3056 (stime): Likewise.
3057 (utime): Likewise.
3058 * sysdeps/unix/sysv/syscalls.list: Remove file.
3059
02467e1c
PE
30602012-05-10 Paul Eggert <eggert@cs.ucla.edu>
3061
3062 [BZ #3440]
3063 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
3064 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
3065 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
3066 (__LC_IDENTIFICATION): Make these macros useful in #if
3067 expressions, as required by C99.
3068
da392631
AS
30692012-05-10 Andreas Schwab <schwab@linux-m68k.org>
3070
3071 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
3072 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
3073 after this.
3074
8115f29b
L
30752012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3076
3077 * stdlib/longlong.h: Updated from GCC.
3078
bdd74070
AJ
30792012-05-09 Andreas Jaeger <aj@suse.de>
3080
edfe0dbe
AJ
3081 * nscd/nscd.c (run_modes): Make named enum, reorder so that
3082 default is first entry.
3083 (run_mode): Set type.
3084 (main): Remove informal message about syslog.
3085 (options): Fix typo.
3086
bcfe3a54
ST
3087 [BZ #14053]
3088 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 3089 to asm.
bcfe3a54
ST
3090 (lrint): Likewise.
3091 (llrintf): Likewise.
3092 (llrint): Likewise.
3093 (rint): Likewise.
3094 (rintf): Likewise.
3095 (nearbyint): Likewise.
3096 (nearbyintf): Likewise.
bdd74070 3097
91d8d69e
AJ
30982012-05-09 Andreas Jaeger <aj@suse.de>
3099 Pedro Alves <palves@redhat.com>
3100
3101 * nscd/nscd.c (run_mode): Use enum.
3102 (main): Cleanup coding style issue.
3103
bb90b80b
AJ
31042012-05-09 Alexandre Oliva <aoliva@redhat.com>
3105 Andreas Jaeger <aj@suse.de>
3106
bcfe3a54
ST
3107 * nscd/nscd.c (go_background): Replaced with...
3108 (run_mode): ... this.
bb90b80b 3109 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
3110 (options): Add -F --foreground.
3111 (main): Implement it.
3112 (parse_opt): Parse it.
bb90b80b 3113
1a4b75a1
AJ
31142012-05-09 Andreas Jaeger <aj@suse.de>
3115
3116 [BZ #14083]
3117 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3118 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3119 -Wconversion warning.
3120 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3121 Likewise.
3122
b1cc2472
JM
31232012-05-09 Joseph Myers <joseph@codesourcery.com>
3124
3125 * conform/data/locale.h-data (NULL): Use macro-constant. Require
3126 == 0.
3127 (LC_ALL): Use macro-int-constant.
3128 (LC_COLLATE): Likewise.
3129 (LC_CTYPE): Likewise.
3130 (LC_MESSAGES): Likewise.
3131 (LC_MONETARY): Likewise.
3132 (LC_NUMERIC): Likewise.
3133 (LC_TIME): Likewise.
3134 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3135 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3136 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3137 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3138 Specify type.
3139 [C99-based standards] (float_t): Expect type.
3140 [C99-based standards] (double_t): Expect type.
3141 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3142 type.
3143 [C99-based standards] (HUGE_VALL): Likewise.
3144 [C99-based standards] (INFINITY): Likewise.
3145 [C99-based standards] (NAN): Likewise.
3146 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3147 [C99-based standards] (FP_NAN): Likewise.
3148 [C99-based standards] (FP_NORMAL): Likewise.
3149 [C99-based standards] (FP_SUBNORMAL): Likewise.
3150 [C99-based standards] (FP_ZERO): Likewise.
3151 [C99-based standards] (FP_FAST_FMA): Use
3152 optional-macro-int-constant. Specify type. Require == 1.
3153 [C99-based standards] (FP_FAST_FMAF): Likewise.
3154 [C99-based standards] (FP_FAST_FMAL): Likewise.
3155 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3156 [C99-based standards] (FP_ILOGBNAN): Likewise.
3157 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3158 Specify type.
3159 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3160 [C99-based standards] (math_errhandling): Specify type.
3161 [ISO99 || ISO11] (signgam): Do not allow.
3162 [non-C99-based standards] (copysignf): Do not allow.
3163 [non-C99-based standards] (exp2f): Likewise.
3164 [non-C99-based standards] (log2f): Likewise.
3165 [non-C99-based standards] (modff): Allow.
3166 [non-C99-based standards] (erff): Do not allow.
3167 [non-C99-based standards] (erfcf): Likewise.
3168 [non-C99-based standards] (gammaf): Likewise.
3169 [non-C99-based standards] (hypotf): Likewise.
3170 [non-C99-based standards] (j0f): Likewise.
3171 [non-C99-based standards] (j1f): Likewise.
3172 [non-C99-based standards] (jnf): Likewise.
3173 [non-C99-based standards] (lgammaf): Likewise.
3174 [non-C99-based standards] (tgammaf): Likewise.
3175 [non-C99-based standards] (y0f): Likewise.
3176 [non-C99-based standards] (y1f): Likewise.
3177 [non-C99-based standards] (ynf): Likewise.
3178 [non-C99-based standards] (isnanf): Likewise.
3179 [non-C99-based standards] (acoshf): Likewise.
3180 [non-C99-based standards] (asinhf): Likewise.
3181 [non-C99-based standards] (atanhf): Likewise.
3182 [non-C99-based standards] (cbrtf): Likewise.
3183 [non-C99-based standards] (expm1f): Likewise.
3184 [non-C99-based standards] (ilogbf): Likewise.
3185 [non-C99-based standards] (log1pf): Likewise.
3186 [non-C99-based standards] (logbf): Likewise.
3187 [non-C99-based standards] (nextafterf): Likewise.
3188 [non-C99-based standards] (remainderf): Likewise.
3189 [non-C99-based standards] (rintf): Likewise.
3190 [non-C99-based standards] (scalbf): Likewise.
3191 [non-C99-based standards] (copysignl): Likewise.
3192 [non-C99-based standards] (exp2l): Likewise.
3193 [non-C99-based standards] (log2l): Likewise.
3194 [non-C99-based standards] (modfl): Allow.
3195 [non-C99-based standards] (erfl): Do not allow.
3196 [non-C99-based standards] (erfcl): Likewise.
3197 [non-C99-based standards] (gammal): Likewise.
3198 [non-C99-based standards] (hypotl): Likewise.
3199 [non-C99-based standards] (j0l): Likewise.
3200 [non-C99-based standards] (j1l): Likewise.
3201 [non-C99-based standards] (jnl): Likewise.
3202 [non-C99-based standards] (lgammal): Likewise.
3203 [non-C99-based standards] (tgammal): Likewise.
3204 [non-C99-based standards] (y0l): Likewise.
3205 [non-C99-based standards] (y1l): Likewise.
3206 [non-C99-based standards] (ynl): Likewise.
3207 [non-C99-based standards] (isnanl): Likewise.
3208 [non-C99-based standards] (acoshl): Likewise.
3209 [non-C99-based standards] (asinhl): Likewise.
3210 [non-C99-based standards] (atanhl): Likewise.
3211 [non-C99-based standards] (cbrtl): Likewise.
3212 [non-C99-based standards] (expm1l): Likewise.
3213 [non-C99-based standards] (ilogbl): Likewise.
3214 [non-C99-based standards] (log1pl): Likewise.
3215 [non-C99-based standards] (logbl): Likewise.
3216 [non-C99-based standards] (nextafterl): Likewise.
3217 [non-C99-based standards] (remainderl): Likewise.
3218 [non-C99-based standards] (rintl): Likewise.
3219 [non-C99-based standards] (scalbl): Likewise.
3220 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3221 [non-C99-based standards] (FP_*): Do not allow.
3222 [C99-based standards] (FP_*): Change to
3223 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3224 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3225 allow.
3226 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3227 (SIG_ERR): Likewise.
3228 [X/Open-based standards] (SIG_HOLD): Likewise.
3229 (SIG_IGN): Likewise.
3230 (SIGABRT): Use macro-int-constant. Specify type. Require
3231 positive value.
3232 (SIGFPE): Likewise.
3233 (SIGILL): Likewise.
3234 (SIGINT): Likewise.
3235 (SIGSEGV): Likewise.
3236 (SIGTER): Likewise.
3237 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3238 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3239 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3240 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3241 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3242 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3243 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3244 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3245 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3246 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3247 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3248 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3249 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3250 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3251 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3252 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3253 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3254 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3255 [X/Open-based standards] (SIGTRAP): Likewise.
3256 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3257 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3258 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3259 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3260 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3261 allow.
3262
b9f1922d
IW
32632012-05-08 Ian Wienand <ianw@vmware.com>
3264
3265 [BZ #14080]
3266 * time/tzset.c (__tzset_parse_tz): Update default rules for
3267 daylight time changes in the Energy Policy Act of 2005.
3268
1db86e88
AJ
32692012-05-09 Andreas Jaeger <aj@suse.de>
3270
3271 [BZ #13983]
3272 * elf/ldconfig.c (parse_conf): Change string to make clear that
3273 ldconfig only issued a warning if ld.so.conf does not exist.
3274
dee4a4e3
DM
32752012-05-08 David S. Miller <davem@davemloft.net>
3276
ee0db190
DM
3277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3278 movxtod instead of popping the value on the stack.
3279
dee4a4e3
DM
3280 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3281
6a43ec98
CD
32822012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3283
3284 * config.h.in: Add HAVE_ARM_PCS_VFP.
3285
05c2c961
RMG
32862012-05-08 Roland Mc Grath <roland@hack.frob.com>
3287
bcfe3a54
ST
3288 [BZ #13979]
3289 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3290 checking but the checks are disabled for any reason.
05c2c961 3291
4b30f61a
L
32922012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3293
3294 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3295 and ELF64_R_TYPE with ELFW(R_TYPE).
3296
eee2bc67
JM
32972012-05-08 Joseph Myers <joseph@codesourcery.com>
3298
7ea5391a
JM
3299 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3300 (ulimit): Likewise.
3301
eee2bc67
JM
3302 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3303 (settimeofday): Likewise.
3304
abb66a67
MF
33052012-05-08 Mike Frysinger <vapier@gentoo.org>
3306
3307 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3308 a struct th_u2 inside the union, and move tu_block/tu_code into
3309 a new th_u3 union of tu_block/tu_code inside of that. Move
3310 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3311 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3312 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3313 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3314 (th_stuff): Change to th_u1.tu_stuff.
3315 (th_data): Define.
3316 (th_msg): Change to th_u1.th_u2.tu_data.
3317
7f18b530
DM
33182012-05-07 David S. Miller <davem@davemloft.net>
3319
05760585
DM
3320 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3321
7f18b530
DM
3322 [BZ #14074]
3323 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3324 (SETUP_PIC_REG): Use it.
3325 (SETUP_PIC_REG_LEAF): Use it.
3326
495fd99f
JM
33272012-05-07 Joseph Myers <joseph@codesourcery.com>
3328
3329 [BZ #13885]
3330 [BZ #13923]
3331 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3332 USE_AS_EXPM1L.
3333 (EXPL_FINITE): Likewise.
3334 (FLDLOG): Likewise.
3335 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3336 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3337 e_expl.S.
3338 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3339 USE_AS_EXPM1L.
3340 (EXPL_FINITE): Likewise.
3341 (FLDLOG): Likewise.
3342 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3343 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3344 e_expl.S.
3345 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3346 test of -max_value argument for long double.
3347 * sysdeps/i386/fpu/libm-test-ulps: Update.
3348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3349
6693d694
DM
33502012-05-06 David S. Miller <davem@davemloft.net>
3351
3352 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3353 quad soft-float symbols whose references which are compiler
3354 generated.
3355 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3356
6c23e11c
JM
33572012-05-06 Joseph Myers <joseph@codesourcery.com>
3358
d8b82cad
JM
3359 [BZ #13884]
3360 [BZ #13914]
3361 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3362 USE_AS_EXP10L.
3363 (EXPL_FINITE): Likewise.
3364 (FLDLOG): Likewise.
3365 (c0): Likewise.
3366 (c1): Likewise.
3367 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3368 Adjust comments for base varying.
3369 (__expl_finite): Change alias to EXPL_FINITE.
3370 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3371 e_expl.S.
3372 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3373 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3374 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3375 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3376 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3377 USE_AS_EXP10L.
3378 (EXPL_FINITE): Likewise.
3379 (FLDLOG): Likewise.
3380 (c0): Likewise.
3381 (c1): Likewise.
3382 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3383 Adjust comments for base varying.
3384 (__expl_finite): Change alias to EXPL_FINITE.
3385 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3386 tests for bugs.
3387 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3388
6c23e11c
JM
3389 [BZ #14064]
3390 * math/libm-test.inc (check_float_internal): Correct ulp
3391 calculation for subnormal expected results.
3392
29ba805c
AJ
33932012-05-06 Andreas Jaeger <aj@suse.de>
3394
3395 * Makeconfig (+math-flags): New, set to -frounding-math.
3396 (+cflags): Add +math-flags so that all of glibc gets compiled with
3397 it.
3398
3399 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3400
7b17aeda
JM
34012012-05-05 Joseph Myers <joseph@codesourcery.com>
3402
5779f134
JM
3403 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3404 Disable one test.
3405
41498f4d
JM
3406 [BZ #13787]
3407 [BZ #13922]
3408 [BZ #14036]
3409 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3410 (__ieee754_expl): Allow for and saturate large arguments.
3411 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3412 (u_threshold): Likewise.
3413 (__exp): Call __ieee754_exp before checking for overflow and
3414 underflow.
3415 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3416 (u_threshold): Likewise.
3417 (__expf): Call __ieee754_expf before checking for overflow and
3418 underflow.
3419 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3420 (u_threshold): Likewise.
3421 (__expl): Call __ieee754_expl before checking for overflow and
3422 underflow.
3423 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3424 (__ieee754_expl): Allow for and saturate large arguments.
3425 * math/libm-test.inc (exp_test): Add another test. Do not allow
3426 missing overflow exception on overflow.
3427 (expm1_test): Do not allow missing overflow exception on overflow.
3428
6698b8bf
JM
3429 * sysdeps/i386/fpu/e_expl.c: Move to ...
3430 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3431 rather than using inline asm.
3432 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3433 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3434 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3435
7b17aeda
JM
3436 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3437 (nice): Likewise.
3438 (poll): Likewise.
3439 (signal): Likewise.
3440 (time): Likewise.
3441 (times): Likewise.
3442
f7c85819
JM
34432012-05-04 Joseph Myers <joseph@codesourcery.com>
3444
3445 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3446 sysdeps/unix/common/syscalls.list.
3447 (fchmod): Likewise.
3448 (fchown): Likewise.
3449 (ftruncate): Likewise.
3450 (getrusage): Likewise.
3451 (gettimeofday): Likewise.
3452 (setpgid): Likewise.
3453 (setregid): Likewise.
3454 (setreuid): Likewise.
3455 (sigaction): Likewise.
3456 (truncate): Likewise.
3457 (vhangup): Likewise.
3458 * sysdeps/unix/common/syscalls.list: Remove file.
3459 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3460 * sysdeps/unix/sysv/linux/Implies: Likewise.
3461
336270d0
L
34622012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3463
3464 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3465 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3466 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3467 Moved to ...
3468 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3469 Here.
3470 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3471 to ...
3472 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3473 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3474 to ...
3475 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3476 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3477 to ...
3478 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3479 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3480 to ...
3481 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3482 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3483 to ...
3484 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3485 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3486 to ...
3487 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3488 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3489 to ...
3490 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3491 Here.
3492 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3493 to ...
3494 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3495 Here.
3496 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3497 to ...
3498 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3499 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3500 Moved to ...
3501 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3502 Here.
3503 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3504 to ...
3505 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3506
d128e450
JM
35072012-05-04 Joseph Myers <joseph@codesourcery.com>
3508
fa8ee516
JM
3509 * sysdeps/unix/common/bits/dirent.h: Remove file.
3510 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3511
d128e450
JM
3512 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3513 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3514 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3515 * sysdeps/unix/bsd/isatty.c: Likewise.
3516 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3517 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3518 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3519
ff8faaf0 35202012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 3521
62881be4 3522 [BZ #13563]
31dc8730
AZ
3523 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3524 long double comparison inaccuracies.
3525 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3527
6fef930c
AS
35282012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3529
3530 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3531 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3532
8f203e6c
JM
35332012-05-04 Joseph Myers <joseph@codesourcery.com>
3534
3535 [BZ #14049]
3536 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3537 nonzero digits before rounding a hex value.
3538 * stdlib/tst-strtod.c (tests): Add another test.
3539
5197d9c2
AK
35402012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3541
3542 * sysdeps/s390/fpu/libm-test-ulps: Update.
3543
f0c1dedf
AJ
35442012-05-03 Andreas Jaeger <aj@suse.de>
3545
3546 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3547 does not get optimized out.
3548 (malloc_opt_barrier): New.
3549
a65ef2ae 35502012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 3551 Roland McGrath <roland@hack.frob.com>
a65ef2ae 3552
2b942cb7 3553 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 3554 intermediate file deletion.
2b942cb7 3555 (generated): Add .symlist files.
a65ef2ae 3556
54b71e02
JM
35572012-05-03 Joseph Myers <joseph@codesourcery.com>
3558
3559 [BZ #13775]
3560 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3561 Redirect under this condition.
3562 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3563 [__USE_GNU] (__dprintf_chk): Not under this condition.
3564 [__USE_GNU] (__vdprintf_chk): Likewise.
3565 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3566 under this condition.
3567 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3568 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3569 [__USE_XOPEN2K8] (vdprintf): Likewise.
3570 [__USE_GNU] (__dprintf_chk): Not under this condition.
3571 [__USE_GNU] (__vdprintf_chk): Likewise.
3572 [__USE_GNU] (dprintf): Likewise.
3573 [__USE_GNU] (vdprintf): Likewise.
3574
d3dfcc41
RM
35752012-05-03 Roland McGrath <roland@hack.frob.com>
3576
3577 * elf/Makefile (common-generated): Set this instead of generated for
3578 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3579 $(all-built-dso)-derived lists.
3580
7ac30cc5
AJ
35812012-05-03 Andreas Jaeger <aj@suse.de>
3582
0c51e550
AJ
3583 * sysdeps/i386/fpu/libm-test-ulps: Update.
3584
7ac30cc5
AJ
3585 * FAQ: Removed.
3586 * FAQ.in: Likewise.
3587 * scripts/gen-FAQ.pl: Likewise.
3588 * manual/install.texi (Installation): Point to online location of
3589 FAQ.
3590 * Makefile (files-for-dist): Remove FAQ.
3591 (FAQ): Remove.
3592
d4c2917f
AM
35932012-05-02 Allan McRae <allan@archlinux.org>
3594
3595 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3596 (LDFLAGS-reldepmod5.so): Likewise.
3597 (LDFLAGS-reldep6mod1.so): Likewise.
3598 (LDFLAGS-reldep6mod4.so): Likewise.
3599 (LDFLAGS-reldep8mod3.so): Likewise.
3600 (LDFLAGS-unload4mod1.so): Likewise.
3601 (LDFLAGS-unload4mod2.so): Likewise.
3602 (LDFLAGS-tst-initorder): Likewise.
3603 (LDFLAGS-tst-initordera2.so): Likewise.
3604 (LDFLAGS-tst-initordera3.so): Likewise.
3605 (LDFLAGS-tst-initordera4.so): Likewise.
3606 (LDFLAGS-tst-initorderb2.so): Likewise.
3607 (LDFLAGS-noload): Likewise.
3608 (LDFLAGS-next): Likewise.
3609 (LDFLAGS-order2mod1.so): Likewise.
3610 (LDFLAGS-order2mod2.so): Likewise.
3611 (LDFLAGS-tst-initorder2): Likewise.
3612 (LDFLAGS-tst-initorder2a.so): Likewise.
3613 (LDFLAGS-tst-initorder2b.so): Likewise.
3614 (LDFLAGS-tst-initorder2c.so): Likewise.
3615 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3616
d77f993f
DM
36172012-05-02 David S. Miller <davem@davemloft.net>
3618
3619 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3620
171a70b4
PP
36212012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3622
3623 [BZ #14055]
3624 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3625
0be196ad
AJ
36262012-05-02 Andreas Jaeger <aj@suse.de>
3627
3628 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3629 since we manipulate rounding mode.
3630 (CPPFLAGS-test-idouble.c): Likewise.
3631 (CPPFLAGS-test-ifloat.c): Likewise.
3632 (CFLAGS-test-ldouble.c): Likewise.
3633 (CFLAGS-test-double.c): Likewise.
3634 (CFLAGS-test-float.c): Likewise.
3635 (CFLAGS-test-misc.c): Likewise.
3636 (CFLAGS-test-test-fenv.c): Likewise.
3637
4f9d04aa
AZ
36382012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3639
2b942cb7
RM
3640 [BZ #2550]
3641 [BZ #2570]
3642 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3643 comparisons to determine direction to adjust input.
4f9d04aa 3644
82a79e7d
RM
36452012-05-01 Roland McGrath <roland@hack.frob.com>
3646
f5a01ca9
RM
3647 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3648 output to the target.
3649
90fe4186
RM
3650 * scripts/localplt.awk: New file.
3651 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3652 (check-localplt-CFLAGS): Variable removed.
3653 ($(all-built-dso:=.jmprel)): New static pattern rule.
3654 (generated): Add those targets.
3655 (localplt-built-dso): New variable.
3656 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3657
3658 * elf/check-localplt.c: File removed.
3659
82397ed6
RM
3660 * scripts/check-execstack.awk: New file.
3661 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3662 (check-execstack-CFLAGS): Variable removed.
3663 ($(objpfx)check-execstack.h): Target removed.
3664 ($(objpfx)execstack-default): New target.
3665 (generated): Add that instead of check-execstack.h.
3666 ($(all-built-dso:=.phdr)): New static pattern rule.
3667 (generated): Add those targets.
3668 * elf/check-execstack.c: File removed.
3669
82a79e7d
RM
3670 * scripts/check-textrel.awk: New file.
3671 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3672 (check-textrel-CFLAGS): Variable removed.
3673 (all-built-dso): Use := to define.o
3674 ($(all-built-dso:=.dyn)): New static pattern rule.
3675 (generated): Add those targets.
3676 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3677 * config.make.in (READELF): New substituted variable.
3678 * elf/check-textrel.c: File removed.
3679
62fde54f 36802012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 3681
615605c9
JM
3682 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3683 allow.
3684 * conform/data/ctype.h-data [C99-based standards] (isblank):
3685 Expect function.
3686 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3687 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3688 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3689 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3690 Specify type. Require positive value.
3691 (EILSEQ): Likewise.
3692 (ERANGE): Likewise.
3693 [ISO || POSIX] (EILSEQ): Do not expect.
3694 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3695 Specify type. Require positive value.
3696 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3697 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3698 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3699 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3700 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3701 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3702 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3703 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3704 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3705 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3706 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3707 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3708 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3709 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3710 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3711 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3712 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3713 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3714 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3715 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3716 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3717 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3718 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3719 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3720 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3721 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3722 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3723 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3724 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3725 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3726 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3727 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3728 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3729 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3730 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3731 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3732 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3733 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3734 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3735 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3736 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3737 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3738 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3739 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3740 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3741 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3742 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3743 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3744 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3745 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3746 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3747 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3748 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3749 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3750 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3751 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3752 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3753 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3754 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3755 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3756 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3757 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3758 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3759 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3760 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3761 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3762 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3763 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3764 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3765 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3766 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3767 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3768 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3769 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3770 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3771 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3772 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3773 Require >= 2.
3774 (FLT_ROUNDS): Expect as macro, not constant.
3775 (FLT_MANT_DIG): Use macro-int-constant.
3776 (DBL_MANT_DIG): Likewise.
3777 (LDBL_MANT_DIG): Likewise.
3778 (FLT_DIG): Likewise.
3779 (DBL_DIG): Likewise.
3780 (LDBL_DIG): Likewise.
3781 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3782 (DBL_MIN_EXP): Likewise.
3783 (LDBL_MIN_EXP): Likewise.
3784 (FLT_MAX_EXP): Use macro-int-constant.
3785 (DBL_MAX_EXP): Likewise.
3786 (LDBL_MAX_EXP): Likewise.
3787 (FLT_MAX_10_EXP): Likewise.
3788 (DBL_MAX_10_EXP): Likewise.
3789 (LDBL_MAX_10_EXP): Likewise.
3790 (FLT_MAX): Use macro-constant.
3791 (DBL_MAX): Likewise.
3792 (LDBL_MAX): Likewise.
3793 (FLT_EPSILON): Use macro-constant. Give upper bound.
3794 (DBL_EPSILON): Likewise.
3795 (LDBL_EPSILON): Likewise.
3796 (FLT_MIN): Likewise.
3797 (DBL_MIN): Likewise.
3798 (LDBL_MIN): Likewise.
3799 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3800 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3801 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3802 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3803 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3804 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3805 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3806 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3807 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3808 [ISO11] (FLT_TRUE_MIN): Likewise.
3809 [ISO11] (LDBL_TRUE_MIN): Likewise.
3810 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3811 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3812 (SCHAR_MIN): Use macro-int-constant. Specify type.
3813 (SCHAR_MAX): Likewise.
3814 (UCHAR_MAX): Likewise.
3815 (CHAR_MIN): Likewise.
3816 (CHAR_MAX): Likewise.
3817 (MB_LEN_MAX): Use macro-int-constant.
3818 (SHRT_MIN): Use macro-int-constant. Specify type.
3819 (SHRT_MAX): Likewise.
3820 (USHRT_MAX): Likewise.
3821 (INT_MAX): Likewise.
3822 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3823 bound negative.
3824 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3825 bound with "U".
3826 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3827 bound with "L".
3828 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3829 bound negative. Suffix upper bound with "L".
3830 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3831 bound with "UL".
3832 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3833 Specify type.
3834 [C99-based standards] (LLONG_MAX): Likewise.
3835 [C99-based standards] (ULLONG_MAX): Likewise.
3836 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3837 == 0.
3838 [ISO11] (max_align_t): Require type.
3839 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3840
c9140a62
JM
3841 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3842 from $CFLAGS, without defining away __attribute__ calls.
3843 (checknamespace): Use $CFLAGS_namespace.
3844
9af0bf29
JM
3845 * conform/conformtest.pl (@keywords): Only include C99 keywords
3846 for standards based on C99 or C11.
3847
343222a2
JM
3848 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3849 Disable tests.
3850 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3851 UNIX98]: Likewise.
3852
661f8cf0
JM
3853 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3854 usability of symbols in #if.
3855
ee74b9cb
JM
3856 * conform/conformtest.pl: If macro or constant types start
3857 "promoted:", expect the symbol to be of the following type
3858 promoted by the integer promotions.
62fde54f 3859
aafc49b3
JM
3860 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3861 in one place. Also handle "macro-constant".
3862
fefdf574
JM
3863 * conform/conformtest.pl: Only accept expected macro values with
3864 "==". Parse all "macro" lines in one place.
3865 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3866
f2d922fe
JM
3867 * conform/conformtest.pl: Handle braced types on "constant" lines
3868 instead of handling "typed-constant".
3869 * conform/data/signal.h-data: Use "constant" instead of
3870 "typed-constant".
3871
d22956c9
JM
3872 * conform/conformtest.pl: Handle "optional-" at start of lines in
3873 one place rather than duplicating several cases. Handle each
3874 format of "macro" line with initial "optional-".
3875
028e2e38
JM
3876 * conform/conformtest.pl: Only accept expected constant or
3877 optional-constant values with "==". Parse all "constant" lines in
3878 one place. Parse all "optional-constant" lines in one place.
3879 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3880 * conform/data/fmtmsg.h-data: Likewise.
3881 * conform/data/netinet/in.h-data: Likewise.
3882 * conform/data/tar.h-data: Likewise.
3883 * conform/data/limits.h-data: Use "==" form on "constant" and
3884 "optional-constant" lines.
3885
1b8f2850
JM
3886 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3887 Use -std=c99 for XOPEN2K.
3888 (@knownproblems): Remove.
3889 (newtoken): Don't check %isknown.
3890
a05a144b
JM
3891 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3892 Do not expect macro.
3893 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3894 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3895 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3896 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3897 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3898 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3899 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3900 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3901 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3902 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3903 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3904 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3905 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3906 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3907 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3908 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3909 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3910 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3911 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3912 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3913 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3914 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3915 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3916 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3917 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3918 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3919 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3920 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3921 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3922 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3923 [XPG3] (acosh): Likewise.
3924 [XPG3] (asinh): Likewise.
3925 [XPG3] (atanh): Likewise.
3926 [XPG3] (cbrt): Likewise.
3927 [XPG3] (expm1): Likewise.
3928 [XPG3] (ilogb): Likewise.
3929 [XPG3] (log1p): Likewise.
3930 [XPG3] (logb): Likewise.
3931 [XPG3] (nextafter): Likewise.
3932 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3933 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3934 [XPG3] (remainder): Likewise.
3935 [XPG3] (rint): Likewise.
3936 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3937 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3938 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3939 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3940 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3941 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3942 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3943 [UNIX98 || XOPEN2K] (scalb): Expect.
3944 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3945 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3946 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3947 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3948 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3949 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3950 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3951 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3952 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3953 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3954 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3955 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3956 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3957 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3958 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3959 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3960 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3961 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3962 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3963 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3964 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3965 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3966 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3967 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3968 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3969 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3970 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3971 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3972 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3973 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3974 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3975 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3976 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3977 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3978 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3979 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3980 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3981 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3982 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3983 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3984 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3985 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3986 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3987 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3988 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3989 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3990 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3991 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3992 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3993 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3994 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3995 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3996 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3997 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3998 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3999 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
4000 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
4001 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
4002 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
4003 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
4004 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
4005 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
4006 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
4007 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
4008 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
4009 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
4010 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
4011 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
4012 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
4013 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
4014 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
4015 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
4016 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
4017 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
4018 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
4019 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
4020 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
4021 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
4022 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
4023 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
4024 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
4025 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
4026 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
4027 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
4028 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
4029 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
4030 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
4031 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
4032 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
4033 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
4034 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
4035 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
4036 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
4037 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
4038 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
4039 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
4040 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
4041 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
4042 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
4043 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
4044 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
4045 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
4046 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
4047 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
4048 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
4049 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
4050 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
4051 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
4052 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
4053 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
4054 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
4055 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
4056 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
4057 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
4058 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
4059 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
4060 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
4061 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
4062 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
4063 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
4064 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
4065 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
4066 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
4067 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
4068 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
4069 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
4070 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
4071 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
4072 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
4073 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
4074 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
4075 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
4076 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
4077 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
4078 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4079 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4080 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4081
73c5ebe3
JM
4082 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4083 _XOPEN_SOURCE_EXTENDED for XPG4.
4084
39c33b6c
JM
4085 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4086
62fde54f
JM
4087 * Makeconfig (localtime): Remove variable.
4088 (inst_localtime-file): Likewise.
4089
0741d64c
AS
40902012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4091
4092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4093 Update.
4094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4095 Update.
4096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4097 Update.
4098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4099 Update.
4100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4101 Update.
4102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4103 Update.
4104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4105 Update.
4106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4107 Update.
4108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4109 Update.
4110
7cb029ee
JM
41112012-05-01 Joseph Myers <joseph@codesourcery.com>
4112
4113 [BZ #2550]
4114 [BZ #2570]
4115 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4116 comparisons to determine direction to adjust input.
4117 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4118 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4119 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4120 Likewise.
4121 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4122 Likewise.
4123 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4124 Likewise.
4125 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4126 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4127 Likewise.
4128 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4129 Likewise.
4130 * math/libm-test.inc (nexttoward_test): Add more tests.
4131
412bd966
AS
41322012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4133
4134 [BZ #14040]
4135 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4136 in version GLIBC_2.1, not GLIBC_2.0.
4137 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4138 Likewise.
4139
9568c0c2
JM
41402012-04-30 Joseph Myers <joseph@codesourcery.com>
4141
adfbc8ac
JM
4142 [BZ #13942]
4143 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4144 (1 - x) * (1 + x).
4145 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4146 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4147 * math/libm-test.inc (acos_test): Add more tests.
4148 (asin_test): Likewise.
4149 * sysdeps/i386/fpu/libm-test-ulps: Update.
4150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4151
5ba3cc69
JM
4152 [BZ #14034]
4153 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4154 of square root.
4155 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4156 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4157 * math/libm-test.inc (acos_test_tonearest): New function.
4158 (acos_test_towardzero): Likewise.
4159 (acos_test_downward): Likewise.
4160 (acos_test_upward): Likewise.
4161 (asin_test_tonearest): Likewise.
4162 (asin_test_towardzero): Likewise.
4163 (asin_test_downward): Likewise.
4164 (asin_test_upward): Likewise.
4165 (main): Call the new functions.
4166 * sysdeps/i386/fpu/libm-test-ulps: Update.
4167 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4168
9568c0c2
JM
4169 [BZ #13884]
4170 [BZ #13924]
4171 * math/e_exp10.c: Include <float.h>.
4172 (__ieee754_exp10): Handle underflow here rather than multiplying
4173 large negative argument by M_LN10.
4174 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4175 of __ieee754_expf.
4176 * math/e_exp10l.c: Include <float.h>.
4177 (__ieee754_exp10l): Handle underflow here rather than multiplying
4178 large negative argument by M_LN10l.
4179 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4180 spurious overflow exception on underflow.
4181
5ac3ea17
MP
41822012-04-29 Marek Polacek <polacek@redhat.com>
4183
4184 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4185 (__fortify_function): New macro.
4186 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4187 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4188 __extern_always_inline.
4189 * libio/bits/stdio2.h: Likewise.
4190 * libio/bits/stdio.h: Likewise.
4191 * string/string.h: Likewise.
4192 * string/bits/string3.h: Likewise.
4193 * include/stdio.h: Likewise.
4194 * stdlib/bits/stdlib.h: Likewise.
4195 * stdlib/stdlib.h: Likewise.
4196 * rt/bits/mqueue2.h: Likewise.
4197 * rt/mqueue.h: Likewise.
4198 * posix/bits/unistd.h: Likewise.
4199 * posix/unistd.h: Likewise.
4200 * io/bits/poll2.h: Likewise.
4201 * io/bits/fcntl2.h: Likewise.
4202 * io/fcntl.h: Likewise.
4203 * io/sys/poll.h: Likewise.
4204 * misc/bits/syslog.h: Likewise.
4205 * misc/bits/syslog-ldbl.h: Likewise.
4206 * misc/sys/syslog.h: Likewise.
4207 * socket/bits/socket2.h: Likewise.
4208 * socket/sys/socket.h: Likewise.
4209 * debug/tst-chk1.c: Likewise.
4210 * wcsmbs/bits/wchar2.h: Likewise.
4211 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4212 * wcsmbs/wchar.h: Likewise.
4213
ecf0ebfb
AJ
42142012-04-29 Andreas Jaeger <aj@suse.de>
4215
4216 * Makerules (tests): Remove enable-check-abi protection.
4217 (check-abi-warn): Remove.
4218 (check-abi-%): Remove check-abi-warn usage.
4219
4220 * configure.in: Remove check-abi configure option.
4221 * configure: Regenerated.
4222 * config.make.in (enable-check-abi): Remove.
4223
6d5c57fa
AS
42242012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4225
24c5d07e 4226 [BZ #14033]
ded5180a
AS
4227 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4228 double functions to double *_finite functions.
4229
7e0d315d
AS
4230 [BZ #13941]
4231 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4232 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4233 LDBL_MIN_EXP.
4234 * stdio-common/Makefile (tests): Add tst-sprintf3.
4235 * stdio-common/tst-sprintf3.c: New file.
4236
6d5c57fa
AS
4237 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4238 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4239
0749ff8b
JM
42402012-04-28 Joseph Myers <joseph@codesourcery.com>
4241
4242 * conform/conformtest.pl: Remove duplicate typed-constant
4243 handling.
4244
8dbd5d7b
DM
42452012-04-28 David S. Miller <davem@davemloft.net>
4246
4247 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4248 (check-abi-%): Remove AWK script prerequisite and explicit
4249 abilist directory.
4250 (check-abi): Rewrite to just diff the symlist with the abilist.
4251 (config-tls, config-abi-config): Delete, no longer used.
4252 (update-abi-%): Remove AWK script and explicit abilist directory.
4253 (update-abi): Rewrite to simply compare and conditionally copy the
4254 symlist and the sysdep abilist file. Remove update-abi-config
4255 checks.
4256 * abilist/ld.abilist: Remove.
4257 * abilist/libBrokenLocale.abilist: Remove.
4258 * abilist/libanl.abilist: Remove.
4259 * abilist/libcrypt.abilist: Remove.
4260 * abilist/libdl.abilist: Remove.
4261 * abilist/librt.abilist: Remove.
4262 * abilist/libthread_db.abilist: Remove.
4263 * abilist/libutil.abilist: Remove.
4264 * scripts/extract-abilist.awk: Remove.
4265 * scripts/merge-abilist.awk: Remove.
4266 * sysdeps/generic/libcidn.abilist: New file.
4267 * sysdeps/generic/libnss_compat.abilist: New file.
4268 * sysdeps/generic/libnss_db.abilist: New file.
4269 * sysdeps/generic/libnss_dns.abilist: New file.
4270 * sysdeps/generic/libnss_files.abilist: New file.
4271 * sysdeps/generic/libnss_hesiod.abilist: New file.
4272 * sysdeps/generic/libnss_nis.abilist: New file.
4273 * sysdeps/generic/libnss_nisplus.abilist: New file.
4274 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4275 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4276 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4277 file.
4278 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4279 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4280 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4281 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4282 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4283 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4284 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4285 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4286 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4287 file.
4288 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4289 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4290 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4291 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4292 file.
4293 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4294 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4295 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4296 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4297 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4298 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4299 file.
4300 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4301 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4302 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4303 file.
4304 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4305 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4306 New file.
4307 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4308 New file.
4309 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4310 New file.
4311 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4312 New file.
4313 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4314 New file.
4315 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4316 New file.
4317 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4318 New file.
4319 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4320 New file.
4321 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4322 New file.
4323 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4324 New file.
4325 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4326 New file.
4327 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4328 New file.
4329 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4330 New file.
4331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4332 file.
4333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4334 New file.
4335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4336 New file.
4337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4338 file.
4339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4340 New file.
4341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4342 New file.
4343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4344 file.
4345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4346 New file.
4347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4348 New file.
4349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4350 New file.
4351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4352 New file.
4353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4354 New file.
4355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4356 New file.
4357 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4359 file.
4360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4361 New file.
4362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4363 file.
4364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4365 file.
4366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4367 file.
4368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4369 file.
4370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4371 file.
4372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4373 New file.
4374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4375 file.
4376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4377 file.
4378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4379 New file.
4380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4381 file.
4382 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4384 file.
4385 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4386 New file.
4387 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4388 file.
4389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4390 file.
4391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4392 file.
4393 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4394 file.
4395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4396 file.
4397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4398 New file.
4399 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4400 file.
4401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4402 file.
4403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4404 New file.
4405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4406 file.
4407 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4408 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4409 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4410 file.
4411 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4412 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4413 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4414 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4415 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4416 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4417 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4418 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4419 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4420 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4421 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4422 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4423 file.
4424 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4425 New file.
4426 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4427 file.
4428 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4429 file.
4430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4431 file.
4432 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4433 file.
4434 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4435 file.
4436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4437 New file.
4438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4439 New file.
4440 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4441 file.
4442 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4443 New file.
4444 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4445 file.
4446 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4447 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4448 file.
4449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4450 New file.
4451 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4452 file.
4453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4454 file.
4455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4456 file.
4457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4458 file.
4459 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4460 file.
4461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4462 New file.
4463 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4464 New file.
4465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4466 file.
4467 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4468 New file.
4469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4470 file.
4471
41d73a1b
JM
44722012-04-28 Joseph Myers <joseph@codesourcery.com>
4473
4474 * conform/conformtest.pl: Fix typo in handling typed-constant from
4475 allow-header.
4476
28aeeda4
JM
44772012-04-27 Joseph Myers <joseph@codesourcery.com>
4478
adae8f5e
JM
4479 * README: Cut down references to pre-2.6 Linux kernels and
4480 Linuxthreads. Update lists of configurations in libc and ports
4481 and sort alphabetically. Say "or newer" with Linux kernel version
4482 requirements.
4483
28aeeda4
JM
4484 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4485
a462cb63
RA
44862012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4487
4488 [BZ #887]
4489 * math/libm-test.inc (logb_test_downward): New test to expose
4490 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4491 rounding mode.
4492
6ad3493e
JM
44932012-04-27 Joseph Myers <joseph@codesourcery.com>
4494
4495 [BZ #14027]
4496 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4497 to be done.
4498 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4499 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4500
2ce4f015
JM
45012012-04-26 Joseph Myers <joseph@codesourcery.com>
4502
5aeb141a
JM
4503 * sysdeps/unix/i386/brk.S: Remove file.
4504 * sysdeps/unix/i386/dl-brk.S: Likewise.
4505 * sysdeps/unix/i386/pipe.S: Likewise.
4506 * sysdeps/unix/i386/sigreturn.S: Likewise.
4507 * sysdeps/unix/i386/syscall.S: Likewise.
4508 * sysdeps/unix/i386/vfork.S: Likewise.
4509 * sysdeps/unix/i386/wait.S: Likewise.
4510
7143acae
JM
4511 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4512 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4513
2ce4f015
JM
4514 * configure.in (arm*-none*): Do not allow without
4515 --enable-hacker-mode.
4516 (netbsd*): Remove case setting base_os.
4517 (386bsd*): Likewise.
4518 (freebsd*): Likewise.
4519 (bsdi*): Likewise.
4520 (osf*): Likewise.
4521 (sunos*): Likewise.
4522 (ultrix*): Likewise.
4523 (newsos*): Likewise.
4524 (dynix*): Likewise.
4525 (*bsd*): Likewise.
4526 (sysv*): Likewise.
4527 (isc*): Likewise.
4528 (esix*): Likewise.
4529 (sco*): Likewise.
4530 (minix*): Likewise.
4531 (irix4*): Likewise.
4532 (irix6*): Likewise.
4533 (solaris[2-9]*): Likewise.
4534 (none): Likewise.
4535 * configure: Regenerated.
4536
0ac229c8
AZ
45372012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4538
4539 [BZ #11521]
4540 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4541 overflow or cancellation in calculating denominator.
4542 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4543 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4544 down expression to avoid unexpected rounding in newer GCCs.
4545 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4546
33f244f4
DM
45472012-04-26 David S. Miller <davem@davemloft.net>
4548
4549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4550 long-double compat symbols.
4551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4564
cfa1f3e8
DM
45652012-04-25 David S. Miller <davem@davemloft.net>
4566
4567 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4568 HWCAP_* values only after the memory barriers have been defined.
4569 (atomic_full_barrier): Define.
4570 (atomic_read_barrier): Define.
4571 (atomic_write_barrier): Define.
4572
6e236b92
SP
45732012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4574
4575 * shlib-versions: Add libgcc_s version information.
4576 * sysdeps/generic/libgcc_s.h: Remove.
4577 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4578 libgcc_s.h.
4579 * sysdeps/gnu/unwind-resume.c: Likewise.
4580 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4581
aab39a09
DM
45822012-04-25 David S. Miller <davem@davemloft.net>
4583
4584 * sysdeps/unix/sparc/brk.S: Delete.
4585 * sysdeps/unix/sparc/dl-brk.S: Delete.
4586 * sysdeps/unix/sparc/pipe.S: Delete.
4587 * sysdeps/unix/sparc/sysdep.S: Delete.
4588 * sysdeps/unix/sparc/sysdep.h: Delete.
4589 * sysdeps/unix/sparc/vfork.S: Delete.
4590 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4591 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4592 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4593 ret_ERRVAL, r0, r1, MOVE): Define.
4594 (JUMPTARGET): Remove.
4595 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4596 sysdeps/unix/sparc/sysdep.h
4597 (ENTRY, END): Remove.
4598 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4599
a3cc4f48
JM
46002012-04-25 Joseph Myers <joseph@codesourcery.com>
4601
2ed8cda2
JM
4602 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4603 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4604 -DIS_IN_build.
4605
35d76d59
JM
4606 * timezone/README: Update upstream location and email address for
4607 tzcode and tzdata.
4608 * timezone/zdump.c: Update from tzcode 2012b.
4609 * timezone/zic.c: Likewise.
4610
a3cc4f48
JM
4611 * configure.in (libc_cv_as_needed): Remove test.
4612 * configure: Regenerated.
4613 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4614 conditional definition.
4615 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4616 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4617 * config.make.in (have-as-needed): Remove variable.
4618
ceab42c3
SP
46192012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4620 Paul Pluzhnikov <ppluzhnikov@google.com>
4621
4622 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4623 strings correctly.
4624
3ce2865f
CLT
46252012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4626
4627 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4628 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4629 * sysdeps/sh/strlen.S: Likewise.
4630
f37e0d68
JM
46312012-04-24 Joseph Myers <joseph@codesourcery.com>
4632
ae186e9a
JM
4633 * sysdeps/unix/fork.S: Remove file.
4634 * sysdeps/unix/i386/fork.S: Likewise.
4635 * sysdeps/unix/sparc/fork.S: Likewise.
4636
b96914af
JM
4637 * sysdeps/unix/system.c: Remove file.
4638 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4639
f37e0d68
JM
4640 * sysdeps/unix/getegid.S: Remove file.
4641 * sysdeps/unix/geteuid.S: Likewise.
4642
87ef29ca
RM
46432012-04-24 Roland McGrath <roland@hack.frob.com>
4644
83bcd236
RM
4645 * scripts/check-localplt.awk: New file.
4646 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4647 of diff.
4648 * scripts/data/localplt-generic.data: Add a comment.
4649
87ef29ca
RM
4650 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4651 NODE when __dir_mkfile failed.
4652 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4653 Reported by Ludovic Courtès <ludo@gnu.org>.
4654
e5a6e567
AJ
46552012-04-24 Andreas Jaeger <aj@suse.de>
4656
4657 * Makerules (common-clean): Also remove gen-as-const-headers
4658 files.
4659
c1820385
JM
46602012-04-24 Joseph Myers <joseph@codesourcery.com>
4661
4662 * Makerules (native-compile): Do not change working directory for
4663 build. Use $(OUTPUT_OPTION) in command.
4664 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4665
94e02fc4
AZ
46662012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4667
4668 [BZ #13886]
4669 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4670 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4671 * math/libm-test.inc (floor_test): Add more tests.
4672 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4673
3a533ca3
JM
46742012-04-24 Joseph Myers <joseph@codesourcery.com>
4675
940ab4b3
JM
4676 * sysdeps/unix/getdents.c: Remove file.
4677 * sysdeps/unix/sysv/getdents.c: Likewise.
4678 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4679
90e037bd
JM
4680 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4681 sysdeps/unix/mman/syscalls.list.
4682 (mmap): Likewise.
4683 (mprotect): Likewise.
4684 (msync): Likewise.
4685 (munmap): Likewise.
4686 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4687 * sysdeps/unix/mman/syscalls.list: Remove.
4688 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4689
3a533ca3
JM
4690 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4691 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4692 * configure: Regenerated.
4693 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4694 $(libgcc_s_suffix).
4695 * config.make.in (libgcc_s_suffix): Remove variable.
4696
1ad743de
JM
46972012-04-23 Joseph Myers <joseph@codesourcery.com>
4698
4ad451e2
JM
4699 * sysdeps/unix/sysv/gethostname.c: Move to ...
4700 * sysdeps/posix/gethostname.c: ... here.
4701
5e37ce39
JM
4702 * sysdeps/unix/execve.S: Remove file.
4703
1ad743de
JM
4704 * sysdeps/unix/_exit.S: Remove file.
4705
4e681b5b
AJ
47062012-04-23 Andreas Jaeger <aj@suse.de>
4707
4708 [BZ #13739]
4709 * manual/Makefile: Remove make dist support, there's no
4710 need for a stand-alone documentation tar ball.
4711 (TEXI2DVI): Define always, it's not in Makeconfig.
4712 (dist): Removed.
4713 (tar-it): Removed.
4714 (edition): Removed.
4715 (glibc-doc-$(edition).tar): Removed
4716 (%.Z): Removed.
4717 (%.gz): Removed.
4718 (%.uu): Removed.
4719 (ETAGS): Remove, it's in Makeconfig.
4720 (move-if-change): Remove, it's in Makeconfig.
4721
c0baea34
PE
47222013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4723
4724 [BZ #13970]
4725 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4726 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4727 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4728 (strtod_l, strtof_l, strtold_l): Remove __wur.
4729 It is not necessarily an error to ignore strtol's return value.
4730 One can reliably look at the stored endptr to decide whether
4731 the number had valid syntax.
4732
7c0616fa
AJ
47332012-04-21 Andreas Jaeger <aj@suse.de>
4734
803cb6b7 4735 [BZ #13739]
7c0616fa
AJ
4736 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4737
b0fe253f
JM
47382012-04-21 Joseph Myers <joseph@codesourcery.com>
4739
4740 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4741 * sysdeps/unix/sysv/Versions: Remove file.
4742
8280f22d
MT
47432012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4744
4745 [BZ #13927]
4746 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4747
75ce411f 47482012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
4749
4750 [BZ #7064]
4751 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4752 version from __vm86.
4753
097d59fa
JM
47542012-04-20 Joseph Myers <joseph@codesourcery.com>
4755
a90f3bcb
JM
4756 * sysdeps/unix/common/lxstat.c: Remove file.
4757 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4758
edc7ea78
JM
4759 * sysdeps/unix/sysv/Makefile: Remove file.
4760
cb78c221
JM
4761 * sysdeps/unix/sysv/direct.h: Remove file.
4762
efa6a45f
JM
4763 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4764 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4765 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4766 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4767 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4768 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4769 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4770
9c9f2d0c
JM
4771 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4772
4541c83b
JM
4773 * sysdeps/unix/xmknod.c: Remove file.
4774 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4775
f5d153a0
JM
4776 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4777
aa746595
JM
4778 * sysdeps/unix/sysv/i386/time.S: Remove file.
4779
cce5905e
JM
4780 * sysdeps/unix/fxstat.c: Remove file.
4781 * sysdeps/unix/xstat.c: Likewise.
4782 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4783
37fa3841
JM
4784 * sysdeps/unix/sysv/sigaction.c: Remove file.
4785
ff1962a3
JM
4786 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4787 (sysdep_headers): Remove variable.
4788 [termio.h not in sysdep_headers] (generated): Likewise.
4789 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4790 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4791 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4792 * sysdeps/unix/sysv/tcflow.c: Likewise.
4793 * sysdeps/unix/sysv/tcflush.c: Likewise.
4794 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4795 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4796 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4797 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4798 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4799
e7740d31
JM
4800 * sysdeps/unix/siglist.c: Remove file.
4801
ee06f18b
JM
4802 * sysdeps/unix/getppid.S: Remove file.
4803
097d59fa
JM
4804 * sysdeps/unix/mkdir.c: Remove file.
4805 * sysdeps/unix/rmdir.c: Likewise.
4806
ff3d51ec
AS
48072012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4808
4809 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4810 ERR_MAX value.
4811 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4812 errlist-compat value.
4813
50f81fd7
DM
48142012-04-18 David S. Miller <davem@davemloft.net>
4815
4816 * sysdeps/generic/memcopy.h (reg_char): Delete.
4817 * debug/strcat_chk.c: Use char, not reg_char.
4818 * debug/strcpy_chk.c: Likewise.
4819 * debug/strncat_chk.c: Likewise.
4820 * debug/strncpy_chk.c: Likewise.
4821 * string/memchr.c: Likewise.
4822 * string/memrchr.c: Likewise.
4823 * string/rawmemchr.c: Likewise.
4824 * string/strcat.c: Likewise.
4825 * string/strchr.c: Likewise.
4826 * string/strchrnul.c: Likewise.
4827 * string/strcmp.c: Likewise.
4828 * string/strcpy.c: Likewise.
4829 * string/strncat.c: Likewise.
4830 * string/strncmp.c: Likewise.
4831 * string/strncpy.c: Likewise.
4832
8ff41c46
WS
48332012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4834
4835 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4836 __builtin_memcopy is called when src and dest ranges are known to not
4837 overlap.
4838
6b652f46
WS
48392012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4840
4841 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4842 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4843 fwd_align_merge macro call.
4844 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4845 bwd_align_merge macro call.
4846 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4847
b282631e
WS
48482012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4849
4850 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4851 bwd_align_merge macros.
4852 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4853 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4854 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4855
95aa737c
DM
48562012-04-18 David S. Miller <davem@davemloft.net>
4857
4858 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4859
7a99a614
AJ
48602012-04-18 Andreas Jaeger <aj@suse.de>
4861
4862 [BZ# 6794]
4863 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4864 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4865 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4866
4867 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4868 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4869 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4870
4871 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4872 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4873 Adjust for changed ldbl-128 files.
4874
4875 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4876 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4877 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4878
e5270c23
DM
48792012-04-17 David S. Miller <davem@davemloft.net>
4880
4881 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4882
fb5e92c9
AS
48832012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4884
4885 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4886 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4887 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4888 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4889 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4890 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4891
76da7265
AZ
48922012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4893
4894 [BZ #6794]
4895 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4896 * math/libm-test.inc: Add ilogb errno and exception tests.
4897 * math/w_ilogb.c: New file: ilogb wrapper.
4898 * math/w_ilogbf.c: New file: ilogbf wrapper.
4899 * math/w_ilogbl.c: New file: ilogbl wrapper.
4900 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4901 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4902 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4903 exception being thrown with 0.0 as argument.
4904 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4905 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4906 exception being thrown with 0.0 as argument.
4907 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4908 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4909 exception being thrown with 0.0 as argument.
4910 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4911 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4912 exception being thrown with 0.0 as argument.
4913 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4914 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 4915 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
4916 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4917 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4918 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4919 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4920 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4921 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4922
0396e69d
PB
49232012-04-17 Petr Baudis <pasky@ucw.cz>
4924
4925 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4926 with altivec.
4927
750b5926
MP
49282012-04-16 Marek Polacek <polacek@redhat.com>
4929
4930 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4931
751728a1
MP
49322012-04-16 Marek Polacek <polacek@redhat.com>
4933
4934 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4935 operands of fdivp instruction.
4936
34a27407
L
49372012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4938
4939 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4940 * elf/tst-auditmod3b.c: Likewise.
4941 * elf/tst-auditmod4b.c: Likewise.
4942 * elf/tst-auditmod5b.c: Likewise.
4943 * elf/tst-auditmod6b.c: Likewise.
4944 * elf/tst-auditmod6c.c: Likewise.
4945 * elf/tst-auditmod7b.c: Likewise.
4946 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4947 * sysdeps/x86_64/preconfigure.in: Likewise.
4948 * sysdeps/x86_64/preconfigure: Regenerated.
4949
7e73e17d
L
49502012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4951
4952 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4953 __ILP32__.
4954
c7a6ab72
AB
49552012-04-13 Antoine Balestrat <merkil33@gmail.com>
4956
4957 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4958 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4959
a9e8e0e0
CL
49602012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4961
4962 [BZ #13973]
4963 * locale/iso-639.def: Fix gl language name. Spotted by
4964 Yaron Shahrabani.
4965
ec98af7d
RM
49662012-04-12 Roland McGrath <roland@hack.frob.com>
4967
4968 [BZ #2074]
4969 * libio/libio.h (__io_write_fn): Update comment.
4970
247c3ede
PB
49712012-04-12 Petr Baudis <pasky@ucw.cz>
4972
4973 [BZ #2074]
4974 * stdio.texi (Hook Functions): The user provided writer function
4975 is not allowed to return -1.
4976
55939d6d
DM
49772012-04-11 David S. Miller <davem@davemloft.net>
4978
4979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4980
90020f5a
MF
49812012-04-11 Mike Frysinger <vapier@gentoo.org>
4982
4983 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4984 Add a leading slash to rtkaio.
4985
288f9098
JM
49862012-04-11 Jim Meyering <meyering@redhat.com>
4987
90020f5a
MF
4988 [BZ #11959]
4989 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4990 It is not necessarily an error to ignore fwrite's return
4991 value. One can reliably use ferror to test for errors after
4992 the fact.
288f9098 4993
4be2b570
L
49942012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4995
4996 * bits/types.h (__snseconds_t): New type.
4997 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4998
4999 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
5000 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5001 (__SNSECONDS_T_TYPE): Likewise.
5002 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5003 (__SNSECONDS_T_TYPE): Likewise.
5004 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5005 (__SNSECONDS_T_TYPE): Likewise.
5006
288f9098 50072012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
5008
5009 [BZ #2636]
5010 * manual/time.texi (Processor Time): Return type of times is
5011 elapsed real time since an arbitrary point in the past.
5012 (CPU Time): Move CLK_TCK from here...
5013 (Processor Time): ...to here. Correct description.
5014 * manual/conf.texi (Constants for Sysconf): Correct description of
5015 _SC_CLK_TCK.
5016
d7dd4413
DM
50172012-04-10 David S. Miller <davem@davemloft.net>
5018
5019 [BZ #13967]
5020 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
5021 where the is a gap between DT_REL(A) and DT_JMPREL.
5022
b46068fc
L
50232012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5024
5025 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
5026 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5027 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5028
73d65cc3
SP
50292012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5030
5031 * elf/dl-support.c (_dl_inhibit_cache): New variable.
5032 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
5033 (dl_main): Handle --inhibit-cache.
5034 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
5035 _dl_inhibit_cache.
5036 * elf/dl-load.c (_dl_map_object): Use it.
5037 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
5038
bcc8d661
JM
50392012-04-09 Joseph Myers <joseph@codesourcery.com>
5040
8f9a2fae
JM
5041 [BZ #13872]
5042 * sysdeps/i386/fpu/e_powl.S (p78): New object.
5043 (__ieee754_powl): Saturate large exponents rather than testing for
5044 overflow of y*log2(x).
5045 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5046 * math/libm-test.inc (pow_test): Do not permit spurious overflow
5047 exceptions.
5048
bcc8d661
JM
5049 [BZ #11521]
5050 * math/s_ctan.c: Include <float.h>.
5051 (__ctan): Avoid internal overflow or cancellation in calculating
5052 denominator.
5053 * math/s_ctanf.c: Likewise.
5054 * math/s_ctanl.c: Likewise.
5055 * math/s_ctanh.c: Likewise.
5056 * math/s_ctanhf.c: Likewise.
5057 * math/s_ctanhl.c: Likewise.
5058 * math/libm-test.inc (ctan_test): Add more tests.
5059 (ctanh_test): Likewise.
5060 * sysdeps/i386/fpu/libm-test-ulps: Update.
5061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5062
823fbbb4
AJ
50632012-04-09 Andreas Jaeger <aj@suse.de>
5064
03879793
AJ
5065 [BZ #6894]
5066 * manual/filesys.texi (Directory Entries): Mention that d_namlen
5067 is an optional BSD extension.
5068
823fbbb4
AJ
5069 [BZ #10254]
5070 * manual/stdio.texi (Opening Streams): Document additional fopen
5071 parameters.
5072
8de131cb
RM
50732012-04-09 Roland McGrath <roland@hack.frob.com>
5074
5075 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
5076 %eax without telling the compiler.
5077
c0ed9d7d
CD
50782012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
5079
5080 [BZ # 13963]
5081 * manual/install.texi: Use sourceware.org.
5082
c483f6b4
JM
50832012-04-09 Joseph Myers <joseph@codesourcery.com>
5084
d7dd9453
JM
5085 [BZ #13873]
5086 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5087 (__ieee754_pow): Generate overflow and underflow using huge*huge
5088 and tiny*tiny rather than just returning constant infinity or zero
5089 for large exponents.
5090 * math/libm-test.inc (pow_test): Require overflow exceptions for
5091 applicable cases of large exponents.
5092
c483f6b4
JM
5093 [BZ #706]
5094 * sysdeps/i386/fpu/e_pow.S (p10): New object.
5095 (__ieee754_pow): Use iterative multiplication algorithm only for
5096 integer exponents with absolute value below 1024. Check for odd
5097 integer exponents when using algorithm for real exponents.
5098 * math/libm-test.inc (pow_test): Add more tests.
5099 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5100
d2de7579
JM
51012012-04-08 Joseph Myers <joseph@codesourcery.com>
5102
5103 [BZ #13705]
5104 * math/libm-test.inc (exp_test): Do not allow overflow exception
5105 on underflow test.
5106
f77f1232
AJ
51072012-04-08 Aurelien Jarno <aurelien@aurel32.net>
5108
5109 [BZ #13705]
5110 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5111 instead of __kernel_standard_f.
5112
3884932b
MF
51132012-04-08 Mike Frysinger <vapier@gentoo.org>
5114
5115 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5116 * sysdeps/x86_64/memset_chk.S: Likewise.
5117
54472e9c
AJ
51182012-04-08 Andreas Jaeger <aj@suse.de>
5119
6ab0fbfc
AJ
5120 [BZ #10153]
5121 * manual/startup.texi (Environment Access): Describe return value
5122 for putenv and setenv.
5123
61efba8c
AJ
5124 [BZ #6895]
5125 * manual/filesys.texi (Directory Entries): Add description for
5126 DT_LNK.
5127
95c3f29a
AJ
5128 [BZ #6890]
5129 * manual/filesys.texi (Directory Entries): Clarify that it's file
5130 system not operating system in the description of DT_UNKNOWN.
5131
54472e9c
AJ
5132 [BZ #6578]
5133 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5134
624254b1
SC
51352012-04-08 Stephen Compall <s11@member.fsf.org>
5136
5137 [BZ #6649]
5138 * manual/llio.texi (Opening and Closing Files): Add cross
5139 reference to explain mode argument.
5140
1e4920e0
MF
51412012-04-07 Mike Frysinger <vapier@gentoo.org>
5142
5143 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5144 * sysdeps/x86_64/memset_chk.S: Likewise.
5145
5ed848f3
DM
51462012-04-07 David S. Miller <davem@davemloft.net>
5147
5148 * elf/elf.h (R_SPARC_WDISP10): Define.
5149 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5150 R_SPARC_SIZE32.
5151 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5152 R_SPARC_SIZE64 and R_SPARC_H34.
5153
96154cd8
CD
51542012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5155
5156 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5157 conditions and remove no longer applicable assertion.
5158
9904dc47
L
51592012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5160
5161 * bits/byteswap.h: Include <features.h>.
5162 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5163 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5164
f8887d0a
L
51652012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5166
5167 * bits/byteswap.h (__bswap_16): Removed.
5168 Include <bits/byteswap-16.h> to get __bswap_16.
5169 * sysdeps/i386/bits/byteswap.h: Likewise.
5170 * sysdeps/s390/bits/byteswap.h: Likewise.
5171 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5172 * bits/byteswap-16.h: New file.
5173 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5174 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5175 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5176 * string/Makefile (headers): Add bits/byteswap-16.h.
5177
62470f60
PP
51782012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5179
5180 [BZ #13895]
5181 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5182 extra indirection.
5183 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5184 * nss/tst-nss-static.c: New.
5185
4dad7bab
RM
51862012-04-06 Robert Millan <rmh@gnu.org>
5187
5188 [BZ #6486]
5189 * manual/llio.texi (File Position Primitive): lseek
5190 refers to WHENCE when it really means OFFSET.
5191
e9142a17
AJ
51922012-04-06 Andreas Jaeger <aj@suse.de>
5193
2c040eff
AJ
5194 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5195 strncmp declarations.
5196
e9142a17
AJ
5197 * abilist/libc.abilist: Add __poll and __ppoll.
5198
ff9f1c5f
DM
51992012-04-05 David S. Miller <davem@davemloft.net>
5200
dcd2ae90
DM
5201 * scripts/check-local-headers.sh: Accept a host triplet in the
5202 path matched by the exclude regexp.
5203
993eb054
DM
5204 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5205 definition.
5206 * sysdeps/powerpc/powerpc32/dl-machine.h
5207 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5208 * sysdeps/s390/s390-32/dl-machine.h
5209 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5210 * sysdeps/sparc/sparc32/dl-machine.h
5211 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5212 * sysdeps/sparc/sparc64/dl-machine.h
5213 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5214
ff9f1c5f
DM
5215 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5216 lazy binding.
48e2e132 5217 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
5218 undefined symbol errors.
5219
48e2e132 5220 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
5221 DT_NEEDED entries.
5222
e80d6f94
MM
52232012-04-05 Michael Matz <matz@suse.de>
5224
5225 [BZ #13592]
5226 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5227
349fa79f
AJ
52282012-04-05 Andreas Jaeger <aj@suse.de>
5229
5230 [BZ #13908]
5231 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5232 comment.
5233
f402708f
KK
52342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5235
5236 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5237 which ROUND is no valid rounding mode.
5238
2ecccfc9
KK
52392012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5240
5241 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5242 read again.
5243 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5244
8a53f50f
KK
52452012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5246
5247 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5248 an exception using FPU order intentionally.
5249
52502012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5251
5252 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5253 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5254 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5255 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5256
d653abb7
SJ
52572012-04-05 Simon Josefsson <simon@josefsson.org>
5258
5259 [BZ #12340]
5260 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5261 EINVAL when BUFLEN is too smal.
5262
c3b1bf7d
TS
52632012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5264
5265 [BZ #13553]
5266 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5267 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5268
b1aa60f3
AJ
52692012-04-03 Andreas Jaeger <aj@suse.de>
5270
c3b1bf7d 5271 [BZ #13938]
67f60a26
AJ
5272 * manual/setjmp.texi (System V contexts): Fix sentence.
5273
b1aa60f3
AJ
5274 [BZ #13926]
5275 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5276 New macro for this case.
5277 [!__GNUC__] (__bswap_64): New inline function for this case.
5278 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5279 * bits/byteswap.h: Likewise.
5280 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5281 ull, guard with __GLIBC_HAVE_LONG_LONG.
5282
5283 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5284 __GLIBC_HAVE_LONG_LONG.
5285
5286 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5287 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5288
39c59c35
TMQMF
52892012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5290
5291 [BZ #13691]
5292 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5293 inptr and inend, rather than using last_ch.
5294
135ffda8
DM
52952012-04-02 David S. Miller <davem@davemloft.net>
5296
5297 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5298 * stdio-common/printf-parse.h (read_int): Change return type to
5299 'int', return -1 on INT_MAX overflow.
5300 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5301 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5302 overflows INT_MAX. Check for overflow of in-format-string precision
5303 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5304 SIZE_MAX not INT_MAX for integer overflow test.
5305 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5306 skip the construct in the format string but do not record anything.
5307 * stdio-common/bug22.c: Adjust to test both width/prevision
5308 INT_MAX overflow as well as total length INT_MAX overflow. Check
5309 explicitly for proper errno values.
5310
228c019e
TS
53112012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5312
302cadd3
TS
5313 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5314 CHAR_MAX.
5315 * string/test-strcmp.c [! WIDE]: Likewise.
5316 * time/tst-mktime2.c: Likewise for INT_MAX.
5317 * string/test-string.h: #include <sys/param.h> for MIN.
5318
228c019e
TS
5319 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5320 * sysdeps/i386/init-first.c (init): Likewise.
5321 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5322 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5323 * sysdeps/sh/init-first.c (init): Likewise.
5324
cfa633f5
UD
53252012-04-01 Ulrich Drepper <drepper@gmail.com>
5326
5327 * po/ru.po: Update from translation team.
d1635ef8 5328 * po/vi.po: Likewise.
cfa633f5 5329
6cd0a5ea
SP
53302012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5331
5332 * resolv/nss_dns/dns-host.c: Merge copyright years.
5333
4b43400f
LD
53342012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5335
5336 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5337 Optimize memcpy with prefetch if
5338 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5339 src, dst pointers have unequal 16 byte alignments.
5340
48c41d04
SP
53412012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5342
5343 [BZ #13928]
5344 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5345 from a CNAME entry and return the minimum ttl for the query.
5346 (gaih_getanswer_slice): Likewise.
5347
b8dc394d
JL
53482012-03-30 Jeff Law <law@redhat.com>
5349
5350 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5351 due to long keys.
5352 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5353 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5354
2f5a5ed0
JL
5355 * resolv/nss_dns/dns-host.c: Update copyright year.
5356
1d39e359
UD
53572012-03-30 Ulrich Drepper <drepper@gmail.com>
5358
c030f70c 5359 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 5360 requests to save a system call. Fix check that all bytes are sent.
c030f70c 5361
1d39e359
UD
5362 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5363 comments for sendmmsg.
5364
53652012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
5366
5367 [BZ #13691]
5368 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5369 with only 1 character between 0x0041 and 0x01b0.
5370 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5371 * wcsmbs/tst-mbsnrtowcs.c: New file.
5372
20fde227
DM
53732012-03-29 David S. Miller <davem@davemloft.net>
5374
5375 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5376 small copies by hand.
5377
984a4237
JL
53782012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5379
5380 [BZ #13761]
5381 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5382 _nss_compat_initgroups_dyn): Fall back to malloc/free
5383 for large group memberships.
5384
18c9d62b
DM
53852012-03-28 David S. Miller <davem@davemloft.net>
5386
88d85d4f
DM
5387 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5388 that branches into memcpy.
5389 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5390 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5391 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5392 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5393 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5394 bits.
5395 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5396 implementation too.
5397 * sysdeps/sparc/mempcpy.S: New file.
5398
e5aa83e1
DM
5399 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5400 the IFUNC routine in the libc case.
5401 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5402
88570753
DM
5403 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5404 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5405 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5406 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5407 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5408 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5409 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5410 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5411
249d7567
DM
5412 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5413 loop to 256 bytes instead of 64 bytes and fix test signedness.
5414
18c9d62b
DM
5415 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5416 * sysdeps/sparc/sparc32/Makefile: rather than here...
5417 * sysdeps/sparc/sparc64/Makefile: and here.
5418
05f3d1f6
UD
54192012-03-28 Ulrich Drepper <drepper@gmail.com>
5420
5421 * malloc/mallocbug.c: Avoid warnings about unused variables.
5422
86ae07a8
JL
54232012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5424
5425 [BZ #13760]
5426 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5427 in the right place. Discard and retry query if response is
5428 larger than input buffer size.
5429
41bf21a1
JM
54302012-03-28 Joseph Myers <joseph@codesourcery.com>
5431
d6270972
JM
5432 [BZ #369]
5433 [BZ #2678]
5434 [BZ #3866]
5435 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5436 x for large integer exponent.
5437 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5438 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5439 sign of result as needed afterwards.
5440 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5441 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5442 result for underflowing pow the same as for overflow.
5443 (__kernel_standard_l): Handle powl overflow and underflow here
5444 rather than calling __kernel_standard.
5445 * math/libm-test.inc (pow_test): Add more tests.
5446
414fca03 5447 [BZ #3868]
41bf21a1
JM
5448 [BZ #13879]
5449 [BZ #13910]
5450 [BZ #13911]
5451 [BZ #13912]
5452 [BZ #13913]
5453 [BZ #13915]
5454 [BZ #13916]
5455 [BZ #13917]
5456 [BZ #13918]
5457 [BZ #13919]
5458 [BZ #13920]
5459 [BZ #13921]
5460 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5461 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5462 (__kernel_standard_l): New function.
5463 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5464 __kernel_standard.
5465 * math/w_acosl.c (__acosl): Likewise.
5466 * math/w_asinl.c (__asinl): Likewise.
5467 * math/w_atan2l.c (__atan2l): Likewise.
5468 * math/w_atanhl.c (__atanhl): Likewise.
5469 * math/w_coshl.c (__coshl): Likewise.
5470 * math/w_exp10l.c (__exp10l): Likewise.
5471 * math/w_exp2l.c (__exp2l): Likewise.
5472 * math/w_fmodl.c (__fmodl): Likewise.
5473 * math/w_hypotl.c (__hypotl): Likewise.
5474 * math/w_j0l.c (__j0l, __y0l): Likewise.
5475 * math/w_j1l.c (__j1l, __y1l): Likewise.
5476 * math/w_jnl.c (__jnl, __ynl): Likewise.
5477 * math/w_lgammal.c (__lgammal): Likewise.
5478 * math/w_log10l.c (__log10l): Likewise.
5479 * math/w_log2l.c (__log2l): Likewise.
5480 * math/w_logl.c (__logl): Likewise.
5481 * math/w_powl.c (__powl): Likewise.
5482 * math/w_remainderl.c (__remainderl): Likewise.
5483 * math/w_scalbl.c (sysv_scalbl): Likewise.
5484 * math/w_sinhl.c (__sinhl): Likewise.
5485 * math/w_sqrtl.c (__sqrtl): Likewise.
5486 * math/w_tgammal.c (__tgammal): Likewise.
5487 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5488 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5489 * math/libm-test.inc (acos_test): Add more tests.
5490 (acosh_test): Likewise.
5491 (asin_test): Likewise.
5492 (atanh_test): Likewise.
5493 (exp_test): Likewise.
5494 (exp10_test): Likewise.
5495 (exp2_test): Likewise.
5496 (expm1_test): Likewise.
5497 (lgamma_test): Likewise.
5498 (log_test): Likewise.
5499 (log10_test): Likewise.
5500 (log1p_test): Likewise.
5501 (log2_test): Likewise.
5502 (pow_test): Do not allow some spurious overflow exceptions.
5503 (sqrt_test): Add more tests.
5504 (tgamma_test): Likewise.
5505 (y0_test): Likewise.
5506 (y1_test): Likewise.
5507 (yn_test): Likewise.
5508
dd62fda6
AB
55092012-03-27 Anton Blanchard <anton@samba.org>
5510
5511 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5512 MAP_HUGETLB.
5513 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5514 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5515 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5516
1e3cdfda
AJ
55172012-03-27 David S. Miller <davem@davemloft.net>
5518
b855ab85
DM
5519 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5520
1e3cdfda
AJ
5521 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5522 have-as-vis3 check.
5523
55242012-03-27 Andreas Jaeger <aj@suse.de>
5525
5526 * sysdeps/x86_64/elf/configure.in: Moved to ...
5527 * sysdeps/x86_64/configure.in: ... here.
5528 * sysdeps/x86_64/elf/start.S: Moved to ...
5529 * sysdeps/x86_64/start.S: ... here.
5530 * sysdeps/x86_64/elf/configure: Delete.
5531
5532 * sysdeps/x86_64/configure.in: Merge contents from
5533 sysdeps/i386/configure.in (without i686 check).
5534
5535 * sysdeps/i386/elf/Versions: Merge into ...
5536 * sysdeps/i386/Versions: ... this.
5537 * sysdeps/i386/elf/Versions: Delete file.
5538 * sysdeps/i386/elf/start.S: Moved to ...
5539 * sysdeps/i386/start.S: ...here.
5540 * sysdeps/i386/elf/configure.in: Merge into...
5541 * sysdeps/i386/configure.in: ...here.
5542 * sysdeps/i386/elf/configure.in: Delete file.
5543 * sysdeps/i386/elf/configure: Delete file.
5544
5545 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5546 * debug/backtracesyms.c: ... here.
5547 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5548 * debug/backtracesymsfd.c: ... here.
5549 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5550 * sysdeps/generic/ifunc-sel.h: ... here.
5551
5552 * sysdeps/unix/i386/start.c: Delete file.
5553 * sysdeps/unix/sparc/start.c: Delete file.
5554 * sysdeps/unix/start.c: Delete file.
5555
5556 * sysdeps/sh/elf/configure.in: Moved to ...
5557 * sysdeps/sh/configure.in: ... here.
5558 * sysdeps/sh/elf/start.S: Moved to ...
5559 * sysdeps/sh/start.S: ... here.
5560 * sysdeps/sh/elf/configure: Delete file.
5561
5562 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5563 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5564 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5565 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5566 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5567 * sysdeps/powerpc/powerpc64/start.S: here.
5568 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5569 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5570 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5571 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5572 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5573
5574 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5575 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5576 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5577 * sysdeps/powerpc/powerpc32/start.S: ... here.
5578 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5579 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5580 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5581
5582 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5583 * sysdeps/powerpc/ifunc-sel.h: ... here.
5584 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5585 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5586
5587 * sysdeps/sparc/elf/configure.in: Moved to ...
5588 * sysdeps/sparc/configure.in: ... here.
5589 * sysdeps/sparc/elf/configure: Delete file.
5590 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5591 * sysdeps/sparc/sparc32/start.S: ... here.
5592 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5593 * sysdeps/sparc/sparc64/start.S: ... here.
5594 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5595 * sysdeps/sparc/sparc32/Makefile: ... this.
5596 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5597 * sysdeps/sparc/sparc64/Makefile: ... this.
5598
5599 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5600 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5601 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5602 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5603 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5604 * sysdeps/s390/s390-32/setjmp.S: ... here.
5605 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5606 * sysdeps/s390/s390-32/configure.in: ... here.
5607 * sysdeps/s390/s390-32/elf/configure: Delete file.
5608 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5609 * sysdeps/s390/s390-32/start.S: ... here.
5610
5611 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5612 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5613 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5614 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5615 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5616 * sysdeps/s390/s390-64/setjmp.S: ... here.
5617 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5618 * sysdeps/s390/s390-64/configure.in: ... here
5619 * sysdeps/s390/s390-64/elf/configure: Delete file.
5620 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5621 * sysdeps/s390/s390-64/start.S: ... here.
5622 * sysdeps/s390/s390-64/elf/configure: Delete.
5623
5624 * configure.in: Remove support for elf directories in sysdeps.
5625
5626 * configure: Regenerated.
5627 * sysdeps/i386/configure: Regenerated.
5628 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5629 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5630 * sysdeps/s390/s390-32/configure: Regenerated.
5631 * sysdeps/s390/s390-64/configure: Regenerated.
5632 * sysdeps/sh/configure: Regenerated.
5633 * sysdeps/sparc/configure: Regenerated.
5634 * sysdeps/x86_64/configure: Regenerated.
5635
a3f61311
AS
56362012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5637
c876e002
AS
5638 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5639
a3f61311
AS
5640 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5641 denormal result into account.
5642
ac4c54f0
RM
56432012-03-25 Roland McGrath <roland@hack.frob.com>
5644
5645 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5646 Reported by Allan McRae <allan@archlinux.org>.
5647
6a9b9c02
JL
56482012-03-23 Jeff Law <law@redhat.com>
5649
5650 * nss/getnssent.c (__nss_getent): Fix typo.
5651
4c42a0c1
DM
56522012-03-23 David S. Miller <davem@davemloft.net>
5653
5654 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5655
1532c7ac
L
56562012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5657
5658 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5659 to pad to uint64_t for each field.
5660 (dl_tls_index): Replace unsigned long with uint64_t.
5661
3ff42526
PP
56622012-03-23 Daniel Jacobowitz <dmj@google.com>
5663 Paul Pluzhnikov <ppluzhnikov@google.com>
5664
5665 [BZ #6528]
5666 * grp/Makefile (otherlibs): Don't set it.
5667 * inet/Makefile (otherlibs): Likewise.
5668 * login/Makefile (otherlibs): Likewise.
5669 * nscd/Makefile (otherlibs): Likewise.
5670 * posix/Makefile (otherlibs): Likewise.
5671 * pwd/Makefile (otherlibs): Likewise.
5672 * rt/Makefile (otherlibs): Likewise.
5673 * sunrpc/Makefile (otherlibs): Likewise.
5674 * nss/Makefile (otherlibs): Likewise.
5675 Add libnss_files to routines and static-only-routines.
5676 ($(objpfx)getent): Remove rule.
5677 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5678 static-only-routines.
5679
7c69cd14
JM
56802012-03-22 Joseph Myers <joseph@codesourcery.com>
5681
5682 [BZ #13892]
5683 * math/s_cexp.c: Include <float.h>.
5684 (__cexp): Handle exp result overflowing not necessarily
5685 overflowing both real and imaginary parts of result.
5686 * math/s_cexpf.c: Likewise.
5687 * math/s_cexpl.c: Likewise.
5688 * math/libm-test.inc (cexp_test): Add more tests.
5689 * sysdeps/i386/fpu/libm-test-ulps: Update.
5690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5691
81b035fe
L
56922012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5693
5694 * include/link.h (ELFW): New macro.
5695 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5696 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5697
1da7940c
L
56982012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5699
5700 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5701 with uint64_t.
5702
b749dbb9
L
57032012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5704
5705 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5706 declaration.
5707 (struct La_x32_retval): Likewise.
5708
2ff87f3f
L
57092012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5710
5711 * sysdeps/x86_64/preconfigure.in: New file.
5712 * sysdeps/x86_64/preconfigure: New generated file.
5713
c0df8e69
JM
57142012-03-22 Joseph Myers <joseph@codesourcery.com>
5715
48e44791
JM
5716 [BZ #13824]
5717 * math/e_exp2l.c: Include <float.h>.
5718 (__ieee754_exp2l): Handle overflow and underflow cases
5719 separately. Only pass fractional part of argument to
5720 __ieee754_expl.
5721 * math/libm-test.inc (exp2_test): Add more tests.
5722
c0df8e69
JM
5723 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5724 negating x to take absolute value.
5725 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5726 Likewise.
5727 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5728 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5729 Likewise.
5730 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5731 computing low part if x was negated.
5732 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5733
c8e43ba7
L
57342012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5735
5736 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5737 la_x32_gnu_pltexit.
5738 (pltexit): Cast int_retval to ptrdiff_t.
5739 * elf/tst-auditmod3b.c: Likewise.
5740 * elf/tst-auditmod4b.c: Likewise.
5741 * elf/tst-auditmod5b.c: Likewise.
5742 * elf/tst-auditmod6b.c: Likewise.
5743 * elf/tst-auditmod6c.c: Likewise.
5744 * elf/tst-auditmod7b.c: Likewise.
5745
5746 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5747 and x32_gnu_pltexit.
5748
5749 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5750 __ELF_NATIVE_CLASS.
5751 (La_x32_regs): New macro.
5752 (La_x32_retval): Likewise.
5753 (la_x32_gnu_pltenter): New function prototype.
5754 (la_x32_gnu_pltexit): Likewise.
5755
7998fa78
AS
57562012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5757
dcb33988
AS
5758 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5759 exponent.
5760
233fc563
AS
5761 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5762
7998fa78
AS
5763 * configure.in (libc_cv_cc_nofma): Check for option to disable
5764 generation of FMA instructions.
5765 * configure: Regenerate.
5766 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5767 * sysdeps/ieee754/dbl-64/Makefile: New file.
5768 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5769 Remove brandred-fma4.
5770 (CFLAGS-brandred-fma4.c): Remove.
5771 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5772 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5773 define.
5774 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5775 define.
5776
8e95c99a
L
57772012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5778
5779 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5780 LLONG_MAX != LONG_MAX.
5781 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5782 (_fitoa_word): Likewise.
5783 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5784 LLONG_MAX != LONG_MAX.
5785 * stdio-common/_itowa.h: Include <_itoa.h>.
5786 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5787 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5788 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5789 only if not defined.
5790 (_ITOA_WORD_TYPE): Likewise.
5791 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5792 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5793
6f4db457
DM
57942012-03-21 David S. Miller <davem@davemloft.net>
5795
5796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5797
7785fe5a
L
57982012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5799
5800 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5801 of x86_64 when setting libc_cv_slibdir, libdir and
5802 libc_cv_localedir.
5803 * sysdeps/unix/sysv/linux/configure: Regenerated.
5804
4535cd55
JM
58052012-03-21 Joseph Myers <joseph@codesourcery.com>
5806
5807 * manual/lang.texi (Old Varargs): Remove section.
5808 (How Variadic): Update menu.
5809 (va_start): Do not mention varargs.h.
5810
17228132
TS
58112012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5812 Joseph Myers <joseph@codesourcery.com>
5813
5814 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5815 link test.
5816 * configure: Regenerated.
5817
8149f976
TS
58182012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5819
05f3d1f6
UD
5820 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5821 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5822 conformtest.pl
8149f976 5823
1a4ac776
JM
58242012-03-21 Joseph Myers <joseph@codesourcery.com>
5825
be22ce65
JM
5826 * NOTES: Remove.
5827 * Makefile (files-for-dist): Remove NOTES.
5828 (NOTES): Remove rule.
5829 * README: Don't refer to NOTES.
5830 * manual/creature.texi: Don't include macros.texi.
5831 * manual/intro.texi (creature.texi): Remove comment referring to
5832 NOTES.
5833
40b601fb
JM
5834 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5835 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5836 * configure: Regenerated.
5837 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5838 LIBC_TRY_CC_OPTION.
5839 (libc_cv_as_i686): Likewise.
5840 (libc_cv_cc_avx): Likewise.
5841 (libc_cv_cc_sse2avx): Likewise.
5842 (libc_cv_cc_fma4): Likewise.
5843 (libc_cv_cc_novzeroupper): Likewise.
5844 * sysdeps/i386/configure: Regenerated.
5845
1a4ac776
JM
5846 [BZ #13883]
5847 * sysdeps/i386/fpu/s_cexp.S: Remove.
5848 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5849 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5850 * math/libm-test.inc (cexp_test): Add more tests.
5851 * sysdeps/i386/fpu/libm-test-ulps: Update.
5852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5853
a458e7fe
AM
58542012-03-21 Allan McRae <allan@archlinux.org>
5855
5856 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5857
0cb7efc5
JM
58582012-03-21 Joseph Myers <joseph@codesourcery.com>
5859
5860 [BZ #13871]
5861 * math/w_exp2.c: Do not include <float.h>.
5862 (o_threshold, u_threshold): Remove.
5863 (__exp2): Calculate result before checking finiteness and calling
5864 __kernel_standard.
5865 * math/w_exp2f.c: Likewise.
5866 * math/w_exp2l.c: Likewise.
5867 * math/libm-test.inc (exp2_test): Require overflow exception for
5868 1e6 input.
2460d3aa
JM
5869
5870 [BZ #3866]
5871 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5872 range of signed 64-bit integers before using fistpll. Remove
5873 checks for whether integers fit in mantissa bits.
5874 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5875 the range of signed 32-bit integers before using fistpl. Remove
5876 checks for whether integers fit in mantissa bits.
5877 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5878 (__ieee754_powl): Test for y outside the range of signed 64-bit
5879 integers before using fistpll. Reduce 64-bit values to 63-bit
5880 ones as needed.
5881 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5882 divide-by-zero is raised for zero to large negative powers.
5883 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5884 (__ieee754_powl): Test for y outside the range of signed 64-bit
5885 integers before using fistpll. Reduce 64-bit values to 63-bit
5886 ones as needed.
5887 * math/libm-test.inc (pow_test): Add more tests.
5888
eb96ffb0
L
58892012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5890
5891 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5892 <stdio-common/_itoa.h>.
5893 * debug/segfault.c: Likewise.
5894 * elf/dl-cache.c: Likewise.
5895 * elf/dl-minimal.c: Likewise.
5896 * elf/dl-misc.c: Likewise.
5897 * elf/dl-sysdep.c: Likewise.
5898 * elf/dl-version.c: Likewise.
5899 * elf/rtld.c: Likewise.
5900 * hurd/hurdsock.c: Likewise.
5901 * hurd/lookup-retry.c: Likewise.
5902 * malloc/malloc.c: Likewise.
5903 * malloc/mtrace.c: Likewise.
5904 * nscd/nscd_getgr_r.c: Likewise.
5905 * nscd/nscd_getpw_r.c: Likewise.
5906 * nscd/nscd_getserv_r.c: Likewise.
5907 * posix/getopt_init.c: Likewise.
5908 * posix/wordexp.c: Likewise.
5909 * stdio-common/_itoa.c: Likewise.
5910 * stdio-common/printf_fphex.c: Likewise.
5911 * stdio-common/vfprintf.c: Likewise.
5912 * string/_strerror.c: Likewise.
5913 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5914 * sysdeps/i386/i686/hp-timing.h: Likewise.
5915 * sysdeps/mach/_strerror.c: Likewise.
5916 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5917 * sysdeps/mach/hurd/sethostid.c: Likewise.
5918 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5919 * sysdeps/mach/xpg-strerror.c: Likewise.
5920 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5921 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5922 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5923 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5924 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5925 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5926 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5927 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5928 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5929 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5930 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5931 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5932 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5933 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5934 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5935 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5936 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5937 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5938 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5939 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5940 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5941
5942 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5943
5944 * stdio-common/_itoa.h: Moved to ...
5945 * sysdeps/generic/_itoa.h: Here.
5946
5947 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5948
5949 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5950 instead of "_itoa.h" and "_itowa.h".
5951 * stdio-common/vfprintf.: Likewise.
5952
d1af992d
L
59532012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5954
5955 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5956 <bits/wordsize.h>.
5957 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5958 (__signbit): Likwise.
5959 (llrintf): Likwise.
5960 (llrint): Likwise.
5961
114883e0
L
59622012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5963
5964 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5965 __WORDSIZE != 64.
5966
c135cc1b
JM
59672012-03-20 Joseph Myers <joseph@codesourcery.com>
5968
5969 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5970 OVERFLOW_EXCEPTION_OK.
5971 * math/libm-test.inc ("Philosophy"): Update comment about
5972 exception testing.
5973 (OVERFLOW_EXCEPTION): Define.
5974 (OVERFLOW_EXCEPTION_OK): Likewise.
5975 (INVALID_EXCEPTION_OK): Renumber.
5976 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5977 (IGNORE_ZERO_INF_SIGN): Likewise.
5978 (test_exceptions): Handle FE_OVERFLOW.
5979 (exp10_test): Expect overflow exceptions.
5980 (exp2_test): Likewise.
5981 (expm1_test): Likewise.
5982 (nextafter_test): Likewise.
5983 (pow_test): Likewise.
5984 (scalbn_test): Likewise.
5985 (scalbln_test): Likewise.
5986
95443d88
L
59872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5988
5989 * sysdeps/x86_64/bits/atomic.h
5990 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5991 64bit integer.
5992 (atomic_exchange_acq): Likewise.
5993 (__arch_exchange_and_add_body): Likewise.
5994 (__arch_add_body): Likewise.
5995 (atomic_add_negative): Likewise.
5996 (atomic_add_zero): Likewise.
5997
490df6c4
L
59982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5999
c2722551 6000 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
6001 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
6002
5e52b189
L
60032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6004
6005 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
6006 Check __x86_64__ instead of __WORDSIZE.
6007
a9879d4c
L
60082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6009
6010 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
6011
5df98260
DM
60122012-03-19 David S. Miller <davem@davemloft.net>
6013
e1497744
DM
6014 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6015
5df98260
DM
6016 * sysdeps/sparc/fpu/fenv_private.h: New file.
6017 * sysdeps/sparc/fpu/math_private.h: Use it.
6018 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
6019 Remove.
6020 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
6021 (libc_feholdexcept_setroundl): Remove.
6022 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
6023 Remove.
6024 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
6025 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
6026
b4c35121
L
60272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6028
6029 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
6030 int64_t instead of long int.
6031 (INSERT_WORDS64): Likwise.
6032
56965fd7
L
60332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6034
6035 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
6036 _Unwind_GetCFA return to _Unwind_Ptr first.
6037
83d1aec8
JM
60382012-03-19 Joseph Myers <joseph@codesourcery.com>
6039
1897ad44
JM
6040 [BZ #13629]
6041 * math/s_clog.c: Include <float.h>.
6042 (__clog): Scale large or subnormal inputs.
6043 * math/s_clogf.c: Likewise.
6044 * math/s_clogl.c: Likewise.
6045 * math/s_clog10.c: Include <float.h>.
6046 (M_LOG10_2): Define.
6047 (__clog10): Scale large or subnormal inputs.
6048 * math/s_clog10f.c: Likewise.
6049 * math/s_clog10l.c: Likewise.
6050 * math/libm-test.inc (clog_test): Add more tests.
6051 (clog10_test): Likewise.
6052 * sysdeps/i386/fpu/libm-test-ulps: Update.
6053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6054
7726d6a9
JM
6055 [BZ #11451]
6056 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
6057 x and y.
6058 * math/libm-test.inc (atan2_test): Add another test.
6059
83d1aec8
JM
6060 * Makerules (common-objdir-compile): Remove.
6061 * sysdeps/unix/Makefile (config-generated): Do not add
6062 $(unix-generated) to variable.
6063 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
6064 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
6065 Remove rule.
6066 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
6067 Likewise.
6068 [generic bits/local_lim.h] (before-compile): Do not append to
6069 variable.
6070 [generic bits/local_lim.h] (common-generated): Likewise.
6071 [generic sys/param.h] (before-compile): Do not append to variable.
6072 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
6073 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
6074 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
6075 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
6076 include.
6077 [generic sys/param.h] (sys/param.h-includes): Remove variable.
6078 [generic sys/param.h] (sys/param.h-includes): Remove rule.
6079 [generic sys/param.h] ($(addprefix
6080 $(common-objpfx),$(sys/param.h-includes))): Likewise.
6081 [generic sys/param.h] (common-generated): Do not append to
6082 variable.
6083 [generic sys/param.h] (sysdep_headers): Likewise.
6084 [generic bits/errno.h] (before-compile): Do not append to
6085 variable.
6086 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6087 rule.
6088 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6089 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6090 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6091 [generic bits/errno.h] (common-generated): Do not append to
6092 variable.
6093 [generic bits/ioctls.h] (before-compile): Do not append to
6094 variable.
6095 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6096 rule.
6097 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6098 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6099 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6100 rule.
6101 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6102 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6103 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6104 [generic bits/ioctls.h] (common-generated): Do not append to
6105 variable.
6106 [generic sys/syscall.h] (syscall.h): Remove variable.
6107 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6108 rule.
6109 [generic sys/syscall.h] (before-compile): Do not append to
6110 variable.
6111 [generic sys/syscall.h] (common-generated): Likewise.
6112 * sysdeps/unix/errnos-tmpl.c: Remove file.
6113 * sysdeps/unix/errnos.awk: Likewise.
6114 * sysdeps/unix/ioctls-tmpl.c: Likewise.
6115 * sysdeps/unix/ioctls.awk: Likewise.
6116 * sysdeps/unix/mk-local_lim.c: Likewise.
6117 * sysdeps/unix/snarf-ioctls: Likewise.
6118
4851a949
RH
61192012-03-19 Richard Henderson <rth@twiddle.net>
6120
bd37f2ee
RH
6121 * sysdeps/i386/fpu/fenv_private.h: New file.
6122 * sysdeps/i386/fpu/math_private.h: Use it.
6123 (math_opt_barrier, math_force_eval): Remove.
6124 (libc_feholdexcept_setround_53bit): Remove.
6125 (libc_feupdateenv_53bit): Remove.
6126 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6127 (math_opt_barrier, math_force_eval): Remove.
6128 (libc_feholdexcept): Remove.
6129 (libc_feholdexcept_setround): Remove.
6130 (libc_fetestexcept, libc_fesetenv): Remove.
6131 (libc_feupdateenv_test): Remove.
6132 (libc_feupdateenv, libc_feholdsetround): Remove.
6133 (libc_feresetround): Remove.
6134
d0adc922
RH
6135 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6136 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6137
0fe0f1f8
RH
6138 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6139 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6140 (libc_feupdateenv_testl): New.
6141 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6142 (libc_feupdateenv_testf): New.
6143 (libc_feupdateenv): Use libc_feupdateenv_test.
6144 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6145 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6146
eb92c487
RH
6147 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6148 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6149 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6150 (libc_feresetround_noex): New.
6151 (libc_feresetround_noexf): New.
6152 (libc_feresetround_noexl): New.
6153 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6154 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6155 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6156 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6157 SET_RESTORE_ROUND.
6158 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6159 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6160 (__cos): Likewise.
6161 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6162 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6163 SET_RESTORE_ROUND_NOEX.
6164 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6165 SET_RESTORE_ROUND_NOEXF.
6166 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6167 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6168 (libc_feholdsetroundf): New.
6169 (libc_feresetround, libc_feresetroundf): New.
6170
7d2e8012
RH
6171 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6172 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6173 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6174
b4dabbb4
RH
6175 * sysdeps/generic/math_private.h: Include <fenv.h>.
6176 (default_libc_feholdexcept): New.
6177 (default_libc_feholdexcept_setround): New.
6178 (default_libc_fesetenv, default_libc_feupdateenv): New.
6179 (libc_feholdexcept): Only define if undefined.
6180 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6181 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6182 (libc_feholdexcept_setroundl): Likewise.
6183 (libc_feholdexcept_setround_53bit): Likewise.
6184 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6185 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6186 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6187 (libc_feupdateenv_53bit): Likewise.
6188 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6189 (libc_feholdexcept): Convert from macro to inline function.
6190 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6191 (libc_fesetenv, libc_feupdateenv): Likewise.
6192
4851a949
RH
6193 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6194 not previously defined.
6195 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6196 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6197 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6198 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6199 * sysdeps/ieee754/flt-32/math_private.h: New file.
6200 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6201 math_private.h below SET_FLOAT_WORD.
6202 (__isnan, __isinf_ns, __finite): Remove.
6203 (__isnanf, __isinf_nsf, __finitef): Remove.
6204
e79d442e
AS
62052012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6206
6207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6208
90b80344
DM
62092012-03-17 David S. Miller <davem@davemloft.net>
6210
6211 [BZ #6471]
6212 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6213 for 2.16.
6214
edc21804
DM
62152012-03-16 David S. Miller <davem@davemloft.net>
6216
77e927af
DM
6217 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6218 warnings.
6219
374976dd
DM
6220 [BZ #6471]
6221 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6222 properly.
6223 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6224 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6225 sysdep_routines when subdir is sysvipc.
6226 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6227 __getshmlba helper.
6228
edc21804
DM
6229 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6230
473c3ef3
L
62312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6232
6233 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6234 [__LP64__].
6235
eb0f39b6
L
62362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6237
6238 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6239 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6240 (__lround): Renamed to ...
6241 (__llround): This. Replace long int with long long int.
6242 Define lround functions as aliases of llround functions.
6243 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6244
6b6cd74b
L
62452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6246
6247 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6248 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6249 adresses to uintptr_t. Replace "long int" and "unsigned long
6250 int" with "greg_t" on va_arg.
6251
f1a77b01
L
62522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6253
6254 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6255 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6256
6257 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6258 Move e_machine check before EI_CLASS check. Handle x32
6259 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6260 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6261 SKIP_EM_IA_64 and include
6262 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6263
6264 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6265 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6266 (add_system_dir): New macro.
6267
6268 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6269 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6270
11b90b9f
JM
62712012-03-16 Joseph Myers <joseph@codesourcery.com>
6272
c36e1d23
JM
6273 [BZ #2551]
6274 [BZ #2552]
6275 [BZ #2553]
6276 [BZ #2554]
6277 [BZ #2562]
6278 [BZ #2563]
6279 [BZ #2565]
6280 [BZ #2566]
6281 [BZ #2576]
6282 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6283 (y0): Likewise.
6284 * math/w_j0f.c (j0f): Likewise.
6285 (y0f): Likewise.
6286 * math/w_j0l.c (__j0l): Likewise.
6287 (__y0l): Likewise.
6288 * math/w_j1.c (j1): Likewise.
6289 (y1): Likewise.
6290 * math/w_j1f.c (j1f): Likewise.
6291 (y1f): Likewise.
6292 * math/w_j1l.c (__j1l): Likewise.
6293 (__y1l): Likewise.
6294 * math/w_jn.c (jn): Likewise.
6295 (yn): Likewise.
6296 * math/w_jnf.c (jnf): Likewise.
6297 (ynf): Likewise.
6298 * math/w_jnl.c (__jnl): Likewise.
6299 (__ynl): Likewise.
6300 * math/libm-test.inc (j0_test): Add more tests.
6301 (j1_test): Likewise.
6302 (jn_test): Likewise. Add trailing semicolon to existing test.
6303 (y0_test): Likewise.
6304 (y1_test): Likewise.
6305 * sysdeps/i386/fpu/libm-test-ulps: Update.
6306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6307
11b90b9f
JM
6308 [BZ #13851]
6309 [BZ #13854]
6310 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6311 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6312 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6313 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6314 (__tanl): Set errno for infinite argument.
6315 * sysdeps/i386/fpu/mptan.c: Remove.
6316 * sysdeps/i386/fpu/s_tan.S: Likewise.
6317 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6318 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6319 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6320 * math/libm-test.inc (tan_test): Add more tests and enable more
6321 tests for double and long double.
6322 * sysdeps/i386/fpu/libm-test-ulps: Update.
6323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6324
6a1bd2a1
JK
63252012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6326
6327 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6328 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6329
10a803e0
RM
63302012-03-16 Roland McGrath <roland@hack.frob.com>
6331
6332 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6333 * configure.in: Use it for both main tree and add-ons.
6334 * configure: Regenerated.
6335
f196c7f7
L
63362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6337
6338 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6339
8848d99d
JM
63402012-03-16 Joseph Myers <joseph@codesourcery.com>
6341
96cbe7f4
JM
6342 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6343 in comment.
6344
8848d99d
JM
6345 [BZ #13851]
6346 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6347 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6348 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6349 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6350 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6351 infinite argument.
6352 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6353 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6354 != 0 for prec == 2.
6355 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6356 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6357 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6358 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6359 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6360 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6361 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6362 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6363 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6364 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6365 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6366 * math/libm-test.inc (cos_test): Add more tests and enable more
6367 tests for long double.
6368 (sin_test): Likewise.
6369 (sincos_test): Likewise.
6370 * sysdeps/i386/fpu/libm-test-ulps: Update.
6371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6372
dd7f4703
DM
63732012-03-16 David S. Miller <davem@davemloft.net>
6374
6375 * sysdeps/sparc/fpu/math_private.h: New file.
6376
006f1daa
DM
63772012-03-15 David S. Miller <davem@davemloft.net>
6378
c0c83bc8
DM
6379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6380 file.
e6a62e18 6381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
6382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6383 file.
e6a62e18
DM
6384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6385 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6386 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6387 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6388 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6389 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6390 sysdep routines.
6391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6392
88cb87d9
DM
6393 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6394 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6395
006f1daa 6396 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
6397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6398 sparc-ifunc.h
006f1daa 6399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
6400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6401 Likewise.
6402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6403 Likewise.
006f1daa
DM
6404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
6407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6408 Likewise.
006f1daa
DM
6409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
6413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6414 Likewise.
6415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6416 Likewise.
006f1daa
DM
6417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6421 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6422 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6423 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6424 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6425 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6426 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6427 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6428 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6429 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6430 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6431 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6432 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6433 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6434 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6435 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6436 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6437 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6438 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6439 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6440 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6441
11e0098e
AS
64422012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6443
6444 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6445 scaling.
6446 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6447
e85b09d0
AJ
64482012-03-15 Andreas Jaeger <aj@suse.de>
6449
6450 [BZ #13852]
6451 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6452 ieee754/flt-32 implementation for sin, cos and sincos.
6453 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6454 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6455 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6456 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6457 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6458 ieee754/flt-32 implementation for tan.
6459
6460 * math/libm-test.inc (cos_test): Enable some large input tests for
6461 float as well
6462 (sin_test): Likewise.
6463 (sincos_test): Likewise.
6464 (tan_test): Add tests for large input.
6465
6466 * sysdeps/i386/fpu/libm-test-ulps: Update.
6467
81c64153
AJ
64682012-03-15 Andreas Jaeger <aj@suse.de>
6469
6470 [BZ #13658]
6471 * math/libm-test.inc (cos_test): Add more test cases.
6472 (sin_test): Likewise.
6473 (sincos_test): Likewise.
6474
7bbfa5c6
AJ
64752012-03-15 Andreas Jaeger <aj@suse.de>
6476
6477 [BZ #13837]
6478 * math/libm-test.inc (cos_test): Add a test case for large input
6479 value.
6480 (sin_test): Likewise.
6481 (sincos_test): Likewise.
6482
64832012-03-15 Andreas Jaeger <aj@suse.de>,
6484 Joseph Myers <joseph@codesourcery.com>
6485
6486 [BZ #13658]
0671f479 6487 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
6488 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6489 * sysdeps/i386/fpu/branred.c: Likewise.
6490 * sysdeps/i386/fpu/dosincos.c: Likewise.
6491 * sysdeps/i386/fpu/mpa.c: Likewise.
6492 * sysdeps/i386/fpu/s_cos.S: Likewise.
6493 * sysdeps/i386/fpu/s_sin.S: Likewise.
6494 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6495 * sysdeps/i386/fpu/sincos32.c: Likewise.
6496
6497 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6498 Define.
6499 (libc_feupdateenv_53bit): Define.
6500 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6501 Define.
6502 (libc_feupdateenv_53bit): Define.
6503
6504 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6505 53 bit (without extend i386 double precision).
6506
6507 * math/libm-test.inc (sincos_test): Add tests for large input.
6508 (sin): Likewise.
6509 (cos): Likewise.
6510
6511 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6512
9cad04ea
AS
65132012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6514
6515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6516
f7062b9a
DM
65172012-03-15 David S. Miller <davem@davemloft.net>
6518
6519 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6520 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6521 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6522 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6527 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6528 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6529 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6530 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6531 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6532 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6533 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
6534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6535 file.
f7062b9a 6536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
6537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6538 file.
f7062b9a 6539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
6540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6541 file.
f7062b9a 6542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
6543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6544 file.
f7062b9a
DM
6545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6546 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6547 fmin/fmax sysdep routines.
6548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6549
7bd951ff
DM
65502012-03-14 David S. Miller <davem@davemloft.net>
6551
559398ab
DM
6552 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6553 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6554 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6555 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6556 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6557 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6558 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6559 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6560 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6561 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6562 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6563 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6564 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6565 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6566 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6567 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6568 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6569 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6570 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6571 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6572 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6573 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6574 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6575 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6576 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6577 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6578 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6579 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6580 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6581 routines.
6582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6583 file.
559398ab 6584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
6585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6586 file.
559398ab 6587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
6588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6589 file.
559398ab 6590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
6591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6592 file.
559398ab 6593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
6594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6595 file.
559398ab 6596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
6597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6598 file.
6599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6600 file.
6601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6602 file.
6603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6604 file.
6605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6606 New file.
6607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6608 file.
6609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6610 file.
559398ab 6611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
6612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6613 file.
559398ab 6614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6616 file.
559398ab 6617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
6618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6619 file.
559398ab 6620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
6621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6622 VIS3 routines.
559398ab
DM
6623
6624 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6625 New file.
6626
5a1c1e32
DM
6627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6628
eae47a36
DM
6629 * sysdeps/sparc/configure.in: New file.
6630 * sysdeps/sparc/configure: Generate.
6631 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6632 * configure: Regenerate.
6633 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6634 * config.make.in (have-as-vis3): New.
6635 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6636 available use -Av9d instead of -Av9a.
6637 * sysdeps/sparc/sparc64/Makefile: Likewise.
6638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
6639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6640 New file.
6641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6642 file.
6643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6644 New file.
6645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6646 file.
eae47a36
DM
6647 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6648 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6649 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6650 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6651 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6652
c0c83bc8
DM
6653 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6654 fzeros/fnegs to load 0x80000000 into a float register instead of
6655 using the stack.
7bd951ff
DM
6656 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6657
bd951ccb
JM
66582012-03-14 Joseph Myers <joseph@codesourcery.com>
6659
6660 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6661 bits/syscall.h.
6662 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6663 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6664 ($(inst_includedir)/bits/syscall.h): Remove rule.
6665 ($(objpfx)bits/syscall.d): Include instead of
6666 $(objpfx)syscall-list.d.
6667 (generated): Change syscall-list.h and syscall-list.d to
6668 bits/syscall.h and bits/syscall.d.
6669
bb4e6db2
RM
66702012-03-14 Roland McGrath <roland@hack.frob.com>
6671
6672 [BZ #13846]
6673 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6674
aa4a2ae1
JM
66752012-03-14 Joseph Myers <joseph@codesourcery.com>
6676
e456826d
JM
6677 [BZ #13841]
6678 * math/s_csqrt.c: Include <float.h>.
6679 (__csqrt): Scale large or subnormal inputs.
6680 * math/s_csqrtf.c: Likewise.
6681 * math/s_csqrtl.c: Likewise.
6682 * math/libm-test.inc (csqrt_test): Add more tests.
6683 * sysdeps/i386/fpu/libm-test-ulps: Update.
6684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6685
aa4a2ae1
JM
6686 [BZ #13840]
6687 * math/libm-test.inc (hypot_test): Add more tests.
6688
7c10fd35
DM
66892012-03-13 David S. Miller <davem@davemloft.net>
6690
6691 [BZ #13840]
6692 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6693 double-precision for the calculation instead of scaling.
6694
f453b98b
JM
66952012-03-13 Joseph Myers <joseph@codesourcery.com>
6696
6697 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6698 manipulate bits before adding and subtracting TWO52[sx].
6699 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6700 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6701 Likewise.
6702 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6703
09a3453f
DM
67042012-03-13 David S. Miller <davem@davemloft.net>
6705
8e59da90
DM
6706 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6707 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6708 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6709 rtld-global-offsets.h
6710 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6711
2a8ab7f2
DM
6712 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6713 large parameters.
6714
10f62770
DM
6715 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6716
5f0bdb18
DM
6717 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6718 'err' in the ifdef scope in which it is actually used.
6719
09a3453f
DM
6720 * nss/nss_db/db-init.c: Include string.h
6721
b4b2eb5e
DM
67222012-03-12 David S. Miller <davem@davemloft.net>
6723
98bb2f1c
DM
6724 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6725 masking out of the most significant byte of random value used.
6726 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6727 Fix coding style in previous change.
6728
b4b2eb5e
DM
6729 * sysdeps/unix/sysv/linux/kernel-features.h
6730 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6731 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6732 expression.
6733 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6734 later.
6735
6e226b09
DM
67362012-03-11 David S. Miller <davem@davemloft.net>
6737
a1bcbd40
DM
6738 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6739 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6740 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6741 for 'resultvar' otherwise things get truncated on 64-bit.
6742
cb9d6174
DM
6743 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6744 Fix masking out of the most significant byte of random value used.
6745
6e226b09
DM
6746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6747
058c132d
AS
67482012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6749
6750 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6751
2d2cd515
DM
67522012-03-09 David S. Miller <davem@davemloft.net>
6753
6754 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6755 variables with appropriate CPP guards.
6756 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6757 frame pointer, not the stack pointer. Correct layout comments. Fix test
6758 on resulting framesize and the management of the outregs buffer for pltexit.
6759 Preserve floating point return values across _dl_call_pltexit call.
6760 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6761 framesize and the management of the outregs buffer for pltexit.
6762 Preserve floating point return values across _dl_call_pltexit
6763 call.
6764 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6765 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6766 (print_exit): Fix format string for return register value.
6767
9a07f9d0
JM
67682012-03-10 Joseph Myers <joseph@codesourcery.com>
6769
6770 * sunrpc/Makefile (others): Add rpcgen.
6771 ($(objpfx)rpcgen): Remove special build rule and dependency on
6772 libc.
6773 * sunrpc/rpcgen.c: New file.
6774
547b5e30
PE
67752012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6776
c524201a
PE
6777 [BZ #13673]
6778 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6779 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6780 * sysdeps/i386/crti.S: Likewise.
6781 * sysdeps/i386/crtn.S: Likewise.
6782 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6783 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6784 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6785 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6786 * sysdeps/sh/crti.S: Likewise.
6787 * sysdeps/sh/crtn.S: Likewise.
6788 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6789
7b6235f2
PE
6790 [BZ #13673]
6791 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6792 with URL.
6793 * locale/programs/locfile-kw.gperf: Likewise.
6794 * locale/programs/charmap-kw.h: Regenerated.
6795 * locale/programs/locfile-kw.h: Likewise.
6796
547b5e30
PE
6797 [BZ #13673]
6798 * intl/plural.y: Replace FSF snail mail address with URL.
6799 * intl/plural.c: Regenerated.
6800
5f0a5dae
RH
68012012-03-09 Richard Henderson <rth@twiddle.net>
6802
6803 * include/math_private.h: Remove file.
6804 * math/math_private.h: Move file ...
6805 * sysdeps/generic/math_private.h: ... here.
6806
b8c03620
RH
6807 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6808 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6809 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6810
4e234f5d 6811 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
6812 and <math_private.h>.
6813 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6814 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6815 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6816 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6817 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6818 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6819 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6820 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6821 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6822 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6823 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6824 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6825 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6826 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6827 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6828 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6829 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6830 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6831 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6832 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6833 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6834 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6835 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6836 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6837 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6838 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6839 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6840 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6841 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6842 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6843 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6844 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6845 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6846 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6847 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6848 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6849 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6850 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6851 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6852 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6853 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6854 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6855 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6856 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6857 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6858 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6859 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6860 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6861 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6862 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6863 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6864 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6865 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6866 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6867 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6868 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6869 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6870 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6871 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6872 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6873 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6874 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6875 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6876 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6877 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6878 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6879 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6880 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6881 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6882 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6883 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6884 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6885 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6886 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6887 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6888 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6889 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6890 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6891 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6892 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6893 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6894 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6895 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6896 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6897 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6898 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6899 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6900 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6901 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6902 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6903 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6904 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6905 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6906 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6907 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6908 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6909 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6910 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6911 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6912 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6913 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6914 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6915 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6916 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6917 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6918 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6919 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6920 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6921 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6922 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6923 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6924 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6925 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6926 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6927 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6928 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6929 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6930 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6931 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6932 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6933 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6934 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6935 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6936 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6937 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6938 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6939 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6940 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6941 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6942 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6943 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6944 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6945 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6946 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6947 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6948 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6949 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6950 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6951 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6952 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6953 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6954 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6955 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6956 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6957 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6958 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6959 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6960 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6961 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6962 * sysdeps/ieee754/k_standard.c: Likewise.
6963 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6964 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6965 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6966 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6967 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6968 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6969 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6970 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6971 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6972 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6973 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6974 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6975 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6976 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6977 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6978 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6979 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6980 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6981 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6982 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6983 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6984 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6985 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6986 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6987 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6988 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6989 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6990 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6991 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6992 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6993 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6994 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6995 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6996 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6997 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6998 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6999 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7000 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
7001 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7002 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7003 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7004 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7005 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7006 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7007 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7008 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7009 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7010 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7011 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7012 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7013 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7014 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7015 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7016 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7017 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7018 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7019 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
7020 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7021 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7022 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7023 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7024 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7025 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7026 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7027 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7028 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7029 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7030 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7031 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7032 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7033 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7034 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7035 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7036 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7037 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7038 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7039 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
7040 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7041 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7042 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7043 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7044 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7045 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7046 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7047 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
7048 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7049 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7050 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7051 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7052 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7053 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
7054 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7055 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7056 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7057 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7058 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7059 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
7060 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7061 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7062 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
7063 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7064 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7065 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7066 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7067 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
7068 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7069 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7070 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7071 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
7072 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7073 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7074 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7075 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7076 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7077 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7078 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7079 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7080 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7081 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7082 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7083 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7084 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7085 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7086 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7087 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7088 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7089 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7090 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7091 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7092 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7093 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7094 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7095 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7096 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7097 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7098 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7099 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7100 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7101 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7102 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7103 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7104 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7105 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7106 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7107 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7108 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7109 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7110 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7111 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7112 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7113 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7114 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7115 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7116 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7117 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7118 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7119 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7120 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7121 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7122 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7123 * sysdeps/ieee754/s_lib_version.c: Likewise.
7124 * sysdeps/ieee754/s_matherr.c: Likewise.
7125 * sysdeps/ieee754/s_signgam.c: Likewise.
7126 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7127 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7128 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7129 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7130 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7131 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7132 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7133 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7134 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7135 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7136 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7137 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7138 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7139 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7140 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7141 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7142 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7143 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7144 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7145 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7146 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 7147
1991fa03
JM
71482012-03-09 Joseph Myers <joseph@codesourcery.com>
7149
7150 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7151 * sunrpc/rpc_main.c: Likewise.
7152 * sunrpc/rpc_svcout.c: Likewise.
7153
60d6f5a6
DM
71542012-03-09 David S. Miller <davem@davemloft.net>
7155
7156 * include/math_private.h: New file.
7157
4962050e
JM
71582012-03-09 Joseph Myers <joseph@codesourcery.com>
7159
02a6f887
JM
7160 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7161 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7162 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7163 from <bits/socket_type.h>.
7164 (enum __socket_type): Don't define here.
7165 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7166 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7167 bits/socket_type.h.
7168
c6e013c1
JM
7169 [BZ #13566]
7170 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7171 checking __USE_GNU.
7172
4962050e
JM
7173 * Makerules ($(inst_includedir)/%.h): New rule.
7174 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7175 (install-others): Remove variable setting.
7176 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7177
38842f45
RH
71782012-03-08 Richard Henderson <rth@twiddle.net>
7179
67bb6da6
RH
7180 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7181 from macro to inline function; merge with the
7182 !__LIBC_INTERNAL_MATH_INLINES version.
7183 (__ieee754_sqrtf): Likewise.
7184
15194b4b
RH
7185 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7186 to inline function.
7187 (__rintf, __floor, __floorf): Likewise.
7188
64e21ede
RH
7189 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7190 macro to inline function.
7191 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7192
38842f45
RH
7193 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7194 not <math/math_private.h>.
7195
c64bf5fe
DM
71962012-03-08 David S. Miller <davem@davemloft.net>
7197
7198 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7199 copyright year.
7200 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7201
82d86f28
TS
72022012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7203
7204 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7205 normalization.
7206 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7207 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7208
aea5d727
UD
72092012-03-08 Ulrich Drepper <drepper@gmail.com>
7210
7211 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7212 be defined individually, they must be defined as a block. Define
7213 S for printing a string instead of hidint the different by using a
7214 macro for adding the 'l'.
7215 * stdio-common/tst-fphex-wide.c: Adjust.
7216
70bca0a3
MP
72172012-03-07 Marek Polacek <polacek@redhat.com>
7218
7219 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7220
65b81130
MP
72212012-03-08 Marek Polacek <polacek@redhat.com>
7222
7223 [BZ #13806]
7224 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7225 * stdio-common/tst-fphex.c: Define a few macros to make the
7226 test reusable. Use them.
7227 * stdio-common/tst-fphex-wide.c: New file.
7228
07037eeb
JM
72292012-03-08 Joseph Myers <joseph@codesourcery.com>
7230
a7a93d50
JM
7231 [BZ #6911]
7232 * manual/macros.texi (gnusystems): New macro.
7233 (nongnusystems): Likewise.
7234 (gnulinuxhurdsystems): Likewise.
7235 (gnuhurdsystems): Likewise..
7236 (gnulinuxsystems): Likewise.
7237 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7238 variants of the GNU system, not "GNU system".
7239 * manual/conf.texi: Likewise.
7240 * manual/errno.texi: Likewise. Update example of errno macro
7241 expansion.
7242 * manual/filesys.texi: Likewise.
7243 (getumask): Document as specific to GNU/Hurd.
7244 * manual/install.texi: Likewise. Reword some references to
7245 GNU/Linux.
7246 * manual/intro.texi: Likewise.
7247 * manual/io.texi: Likewise.
7248 (File Name Portability): Detail which constraints are inapplicable
7249 to all GNU systems and which are only inapplicable to GNU/Hurd.
7250 * manual/job.texi: Likewise.
7251 * manual/llio.texi: Likewise.
7252 (O_NOCTTY): Document as present on GNU/Linux.
7253 * manual/maint.texi: Likewise.
7254 * manual/memory.texi: Likewise.
7255 * manual/pattern.texi: Likewise.
7256 * manual/pipe.texi: Likewise.
7257 * manual/process.texi: Likewise.
7258 * manual/resource.texi: Likewise.
7259 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7260 child on GNU/Hurd.
7261 * manual/setjmp.texi: Likewise.
7262 * manual/signal.texi: Likewise.
7263 * manual/startup.texi: Likewise.
7264 * manual/stdio.texi: Likewise.
7265 * manual/terminal.texi: Likewise.
7266 (ONLCR): Document as POSIX.
7267 (OXTABS): Document availability on GNU/Linux as XTABS.
7268 (ONOEOT): Document availability separately from other bits.
7269 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7270 * manual/time.texi: Likewise.
7271 * manual/users.texi: Likewise.
7272 * INSTALL: Regenerated.
7273 * sysdeps/gnu/errlist.c: Regenerated.
7274
07037eeb
JM
7275 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7276 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7277 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7278 puts.
7279 * configure: Regenerated.
7280
d1d3431a
JM
72812012-03-07 Joseph Myers <joseph@codesourcery.com>
7282
af6a1e37
JM
7283 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7284 default includes instead of AC_HEADER_CHECK.
7285 * sysdeps/i386/configure: Regenerated.
7286
d1d3431a
JM
7287 [BZ #10716]
7288 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7289 * math/s_cacoshf.c (__cacoshf): Likewise.
7290 * math/s_cacoshl.c (__cacoshl): Likewise.
7291 * math/s_casinh.c (__casinh): Set signs of result from argument.
7292 * math/s_casinhf.c (__casinhf): Likewise.
7293 * math/s_casinhl.c (__casinhl): Likewise.
7294 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7295 (casinh_test): Add more tests.
7296 * sysdeps/i386/fpu/libm-test-ulps: Update.
7297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7298
482ff4da
UD
72992012-03-07 Ulrich Drepper <drepper@gmail.com>
7300
872fda05
UD
7301 * po/zh_TW.po: Update from translation team.
7302
a4300c7a
UD
7303 * login/Makefile (distribute): Remove variable.
7304 * catgets/Makefile: Likewise.
7305 * mach/Makefile: Likewise.
7306 * malloc/Makefile: Likewise.
7307 * misc/Makefile: Likewise.
7308 * iconv/Makefile: Likewise.
7309 * nscd/Makefile: Likewise.
7310 * hurd/Makefile: Likewise.
7311 * manual/Makefile: Likewise.
7312 * locale/Makefile: Likewise.
7313 * intl/Makefile: Likewise.
7314 * conform/Makefile: Likewise.
7315 * nss/Makefile: Likewise.
7316 * time/Makefile: Likewise.
7317 * soft-fp/Makefile: Likewise.
7318 * dirent/Makefile: Likewise.
7319 * gmon/Makefile: Likewise.
7320 * po/Makefile: Likewise.
7321 * rt/Makefile: Likewise.
7322 * socket/Makefile: Likewise.
7323 * math/Makefile: Likewise.
7324 * signal/Makefile: Likewise.
7325 * debug/Makefile: Likewise.
7326 * elf/Makefile: Likewise.
7327 * timezone/Makefile: Likewise.
7328 * stdlib/Makefile: Likewise.
7329 * iconvdata/Makefile: Likewise.
7330 * sunrpc/Makefile: Likewise.
7331 * io/Makefile: Likewise.
7332 * argp/Makefile: Likewise.
7333 * inet/Makefile: Likewise.
7334 * hesiod/Makefile: Likewise.
7335 * grp/Makefile: Likewise.
7336 * csu/Makefile: Likewise.
7337 * wctype/Makefile: Likewise.
7338 * crypt/Makefile: Likewise.
7339 * libio/Makefile: Likewise.
7340 * string/Makefile: Likewise.
7341 * nis/Makefile: Likewise.
7342 * resolv/Makefile: Likewise.
7343 * stdio-common/Makefile: Likewise.
7344 * wcsmbs/Makefile: Likewise.
7345 * dlfcn/Makefile: Likewise.
7346 * posix/Makefile: Likewise.
7347
3b7c4e74 7348 [BZ #6959]
482ff4da
UD
7349 * timezone/Makefile: Don't install timezone files, just the programs
7350 and scripts.
7351
f72ed77d
UD
73522012-03-06 Ulrich Drepper <drepper@gmail.com>
7353
a000466f
UD
7354 * nss/databases.def: Add missing gshadow entry.
7355
f72ed77d
UD
7356 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7357
a53b7a4e
MP
73582012-03-06 Marek Polacek <polacek@redhat.com>
7359
7360 [BZ #13726]
7361 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7362 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7363 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7364 * stdio-common/tst-long-dbl-fphex.c: New file.
7365
e9258400
DM
73662012-03-06 David S. Miller <davem@davemloft.net>
7367
7368 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7369 (set_obp_int): New function.
7370 (get_obp_int): New function.
7371 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
7372 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7373 Avoid unused variable warnings on 'val' and use builtin_expect.
7374 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7375 __builtin_expect.
e9258400
DM
7376 (INLINE_CLONE_SYSCALL): Likewise.
7377
3bd2c723
DM
73782012-03-05 David S. Miller <davem@davemloft.net>
7379
7380 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7381
bbb78d03
AS
73822012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7383
884c5db4
AS
7384 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7385
bbb78d03
AS
7386 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7387 only for |x| >= 40.
7388 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7389
1c9f702a 73902012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
7391
7392 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7393 Replace gettimeofday with __vdso_gettimeofday.
7394
7be16f82
RM
7395 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7396 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7397 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
7398
7399 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7400 time with __vdso_time.
7401
ed58a00f
JM
74022012-03-05 Joseph Myers <joseph@codesourcery.com>
7403
7404 * manual/lang.texi (size_t): Note types to which size_t may be
7405 equivalent with the GNU C Library, but do not describe when
7406 differences between them are significant.
7407
30ee4ced
AJ
74082012-03-05 Andreas Jaeger <aj@suse.de>
7409
7410 * sysdeps/i386/fpu/libm-test-ulps: Update.
7411
b7cd39e8
JM
74122012-03-05 Joseph Myers <joseph@codesourcery.com>
7413
7414 [BZ #3976]
7415 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7416 (__ieee754_pow): Save and restore rounding mode and use
7417 round-to-nearest for main computations.
7418 * math/libm-test.inc (pow_test_tonearest): New function.
7419 (pow_test_towardzero): Likewise.
7420 (pow_test_downward): Likewise.
7421 (pow_test_upward): Likewise.
7422 (main): Call the new functions.
7423 * sysdeps/i386/fpu/libm-test-ulps: Update.
7424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
7425
7426 [BZ #3976]
7427 * math/libm-test.inc (cosh_test_tonearest): New function.
7428 (cosh_test_towardzero): Likewise.
7429 (cosh_test_downward): Likewise.
7430 (cosh_test_upward): Likewise.
7431 (sinh_test_tonearest): Likewise.
7432 (sinh_test_towardzero): Likewise.
7433 (sinh_test_downward): Likewise.
7434 (sinh_test_upward): Likewise.
7435 (main): Call the new functions.
7436 * sysdeps/i386/fpu/libm-test-ulps: Update.
7437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7438
6c6a98c9
TV
74392012-03-05 Tom de Vries <tom@codesourcery.com>
7440
7441 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7442 default stack guard is set in last bytes.
7443 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7444
21bb2d2e 74452012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 7446
21bb2d2e 7447 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 7448
21bb2d2e
AJ
7449 [BZ #13656]
7450 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7451 possibly allocate from heap instead of stack.
7452 * stdio-common/bug-vfprintf-nargs.c: New file.
7453 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 7454
c6922934
AS
74552012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7456
7457 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7458
bc957d53
MP
74592012-03-03 Marek Polacek <polacek@redhat.com>
7460
7461 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7462 * math/math_private.h: Likewise.
7463 * stdlib/tst-strtod.c: Likewise.
7464 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7465 * sysdeps/x86_64/bits/atomic.h: Likewise.
7466
6358490d
DM
74672012-03-02 David S. Miller <davem@davemloft.net>
7468
7469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7470 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7473 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7474 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7475 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7476 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7477
01ae168d
RM
74782012-03-02 Roland McGrath <roland@hack.frob.com>
7479
d9a17c07
RM
7480 [BZ #13792]
7481 * manual/examples/README: New file, says the example source files
7482 can be used under GPL>=2.
7483 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7484 line containing just "*/".
7485 * manual/examples/add.c: Add copyright header (GPL>=2).
7486 * manual/examples/argp-ex1.c: Likewise.
7487 * manual/examples/argp-ex2.c: Likewise.
7488 * manual/examples/argp-ex3.c: Likewise.
7489 * manual/examples/argp-ex4.c: Likewise.
7490 * manual/examples/atexit.c: Likewise.
7491 * manual/examples/db.c: Likewise.
7492 * manual/examples/dir.c: Likewise.
7493 * manual/examples/dir2.c: Likewise.
7494 * manual/examples/execinfo.c: Likewise.
7495 * manual/examples/filecli.c: Likewise.
7496 * manual/examples/filesrv.c: Likewise.
7497 * manual/examples/fmtmsgexpl.c: Likewise.
7498 * manual/examples/genpass.c: Likewise.
7499 * manual/examples/inetcli.c: Likewise.
7500 * manual/examples/inetsrv.c: Likewise.
7501 * manual/examples/isockad.c: Likewise.
7502 * manual/examples/longopt.c: Likewise.
7503 * manual/examples/memopen.c: Likewise.
7504 * manual/examples/memstrm.c: Likewise.
7505 * manual/examples/mkfsock.c: Likewise.
7506 * manual/examples/mkisock.c: Likewise.
7507 * manual/examples/mygetpass.c: Likewise.
7508 * manual/examples/pipe.c: Likewise.
7509 * manual/examples/popen.c: Likewise.
7510 * manual/examples/rprintf.c: Likewise.
7511 * manual/examples/search.c: Likewise.
7512 * manual/examples/select.c: Likewise.
7513 * manual/examples/setjmp.c: Likewise.
7514 * manual/examples/sigh1.c: Likewise.
7515 * manual/examples/sigusr.c: Likewise.
7516 * manual/examples/stpcpy.c: Likewise.
7517 * manual/examples/strdupa.c: Likewise.
7518 * manual/examples/strftim.c: Likewise.
7519 * manual/examples/strncat.c: Likewise.
7520 * manual/examples/subopt.c: Likewise.
7521 * manual/examples/swapcontext.c: Likewise.
7522 * manual/examples/termios.c: Likewise.
7523 * manual/examples/testopt.c: Likewise.
7524 * manual/examples/testpass.c: Likewise.
7525 * manual/examples/timeval_subtract.c: Likewise.
7526
01ae168d
RM
7527 [BZ #13792]
7528 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7529 function to ...
7530 * manual/timeval_subtract.c.texi: ... here, new file.
7531
49efa33d
DM
75322012-03-02 David S. Miller <davem@davemloft.net>
7533
7534 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7535
28afd92d
JM
75362012-03-02 Joseph Myers <joseph@codesourcery.com>
7537
804360ed
JM
7538 [BZ #3976]
7539 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7540 (__sin): Save and restore rounding mode and use round-to-nearest
7541 for all computations.
7542 (__cos): Save and restore rounding mode and use round-to-nearest
7543 for all computations.
7544 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7545 <fenv.h>.
7546 (tan): Save and restore rounding mode and use round-to-nearest for
7547 all computations.
7548 * math/libm-test.inc (cos_test_tonearest): New function.
7549 (cos_test_towardzero): Likewise.
7550 (cos_test_downward): Likewise.
7551 (cos_test_upward): Likewise.
7552 (sin_test_tonearest): Likewise.
7553 (sin_test_towardzero): Likewise.
7554 (sin_test_downward): Likewise.
7555 (sin_test_upward): Likewise.
7556 (tan_test_tonearest): Likewise.
7557 (tan_test_towardzero): Likewise.
7558 (tan_test_downward): Likewise.
7559 (tan_test_upward): Likewise.
7560 (main): Call the new functions.
7561 * sysdeps/i386/fpu/libm-test-ulps: Update.
7562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7563
a6d06d7b
JM
7564 [BZ #10135]
7565 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7566 small n, then large n, before computing and testing k+n.
7567 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7568 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7569 Likewise.
7570 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7571 Likewise.
7572 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7573 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7574 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7575 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7576 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7577 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7578 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7579 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7580 * math/libm-test.inc (scalbn_test): Add more tests.
7581 (scalbln_test): Likewise.
7582
07e12bb3
JM
7583 * manual/filesys.texi (mode_t): Describe constraints on size and
7584 signedness, not exact equivalence to a particular type.
7585 (ino_t): Likewise.
7586 (ino64_t): Likewise.
7587 (dev_t): Likewise.
7588 (nlink_t): Likewise.
7589 (blkcnt_t): Likewise.
7590 (blkcnt64_t): Likewise.
7591 * manual/llio.texi (off_t): Likewise.
7592
28afd92d
JM
7593 [BZ #3976]
7594 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7595 (__ieee754_exp): Save and restore rounding mode and use
7596 round-to-nearest for all computations.
7597 * math/libm-test.inc (exp_test_tonearest): New function.
7598 (exp_test_towardzero): Likewise.
7599 (exp_test_downward): Likewise.
7600 (exp_test_upward): Likewise.
7601 (main): Call the new functions.
7602 * sysdeps/i386/fpu/libm-test-ulps: Update.
7603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7604
b1eeb65d
CD
76052012-03-01 Chris Demetriou <cgd@google.com>
7606
7607 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7608 have predictable order.
7609
53362a4b
DM
76102012-03-01 David S. Miller <davem@davemloft.net>
7611
3c969083
DM
7612 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7613
759707de
DM
7614 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7615 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7616 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7617 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7618
dfdb8ff2
DM
7619 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7620 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7621 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7623 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7624 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7625 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7626 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7627 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7628
ead89f96
DM
7629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7630
7f66bd07
DM
7631 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7632 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7633 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7634
53362a4b
DM
7635 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7636 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7637 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7638 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7639 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7640 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7641 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7642 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7643 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7644 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7645 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7646 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7647 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7648 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7649 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7650 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7651 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7652 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7653 * sysdeps/sparc/elf/configure: Regenerated.
7654
7b1902cb
JM
76552012-03-01 Joseph Myers <joseph@codesourcery.com>
7656
bec039bc
JM
7657 * configure.in (AS, LD): Require binutils 2.20 or later.
7658 * configure: Regenerated.
7659 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7660 as required minimum version.
7661 * INSTALL: Regenerated.
7662
7b1902cb
JM
7663 [BZ #2541]
7664 [BZ #4108]
7665 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7666 before squaring exponent.
7667 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7668 bottom long double and 27 bits of top long double before squaring
7669 exponent.
7670 * math/libm-test.inc (erfc_test): Add more tests.
7671 * sysdeps/i386/fpu/libm-test-ulps: Update.
7672 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7674
f775c276
KT
76752012-03-01 Kai Tietz <ktietz@redhat.com>
7676
7677 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7678 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7679 containing bit-fields.
7680 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7681 * soft-fp/single.h (_FP_UNION_S): Likewise.
7682 * soft-fp/double.h (_FP_UNION_D): Likewise.
7683
5b8a4d4a
JM
76842012-02-29 Joseph Myers <joseph@codesourcery.com>
7685
0bab47b6
JM
7686 [BZ #13786]
7687 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7688 not include ../strcmp.S.
7689 [USE_AS_STRNCASECMP_L]: Likewise.
7690 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7691 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7692 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7693 (__strncasecmp_l_ia32): Define as alias to
7694 __strncasecmp_l_nonascii.
7695
0fcad3e2
JM
7696 [BZ #5794]
7697 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7698 * sysdeps/i386/fpu/libm-test-ulps: Update.
7699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7700
5b8a4d4a
JM
7701 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7703
8fdceb2e
JL
77042012-02-29 Jeff Law <law@redhat.com>
7705
7706 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7707 out of bounds read.
7708
1f393a11
MP
77092012-02-29 Marek Polacek <polacek@redhat.com>
7710
7711 [BZ #13706]
7712 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7713 * elf/Makefile: Add rules to run tst-unused-dep.out.
7714
8847f037
DM
77152012-02-28 David S. Miller <davem@davemloft.net>
7716
7717 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7718 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7719 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7720 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7721 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7722 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7723
169d7f11
JM
77242012-02-29 Joseph Myers <joseph@codesourcery.com>
7725
7726 * math/libm-test.inc (llround_test): Move one test from
7727 lround_test. Use TEST_f_L in moved test.
7728 (lround_test): Move misplaced test to llround_test. Add testcase
7729 from bug 2561.
7730
39adf059
UD
77312012-02-28 Ulrich Drepper <drepper@gmail.com>
7732
7733 * sysdeps/x86_64/fpu/e_expf.S: New file.
7734 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7735
71b5d1c5
SB
77362012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7737
7738 [BZ #13637]
7739 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7740 of remain_len that may cause incomplete multi-byte character and
7741 false match.
7742 * posix/bug-regex33.c: New file.
7743 * posix/Makefile (tests): Add bug-regex33.
7744
1f77f049
JM
77452012-02-28 Joseph Myers <joseph@codesourcery.com>
7746
7747 * manual/macros.texi: New file.
7748 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7749 * manual/libc.texinfo: Include macros.texi.
7750 * manual/creatute.texi: Likewise.
7751 * manual/install.texi: Likewise.
7752 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7753 @glibcadj{} in references to the GNU C Library.
7754 * manual/charset.texi: Likewise.
7755 * manual/conf.texi: Likewise.
7756 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7757 when not using those macros.
7758 * manual/creature.texi: Likewise.
7759 * manual/crypt.texi: Likewise.
7760 * manual/errno.texi: Likewise.
7761 * manual/filesys.texi: Likewise.
7762 * manual/header.texi: Likewise.
7763 * manual/install.texi: Likewise.
7764 * manual/intro.texi: Likewise.
7765 * manual/io.texi: Likewise.
7766 * manual/job.texi: Likewise.
7767 * manual/lang.texi: Likewise.
7768 * manual/libc.texiinfo: Likewise.
7769 * manual/llio.texi: Likewise.
7770 * manual/locale.texi: Likewise.
7771 * manual/maint.texi: Likewise.
7772 * manual/math.texi: Likewise.
7773 * manual/memory.texi: Likewise.
7774 * manual/message.texi: Likewise.
7775 * manual/nss.texi: Likewise.
7776 * manual/pattern.texi: Likewise.
7777 * manual/process.texi: Likewise.
7778 * manual/resource.texi: Likewise.
7779 * manual/search.texi: Likewise.
7780 * manual/setjmp.texi: Likewise.
7781 * manual/signal.texi: Likewise.
7782 * manual/socket.texi: Likewise.
7783 * manual/startup.texi: Likewise.
7784 * manual/stdio.texi: Likewise.
7785 * manual/string.texi: Likewise.
7786 * manual/sysinfo.texi: Likewise.
7787 * manual/syslog.texi: Likewise.
7788 * manual/terminal.texi: Likewise.
7789 * manual/time.texi: Likewise.
7790 * manual/users.texi: Likewise.
7791 * INSTALL: Regenerated.
7792 * NOTES: Regenerated.
d40c5d54 7793 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 7794
450bf206
AS
77952012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7796
7797 * include/dirent.h: Include <dirstream.h> before
7798 <dirent/dirent.h>.
7799
741a235b
DM
78002012-02-28 David S. Miller <davem@davemloft.net>
7801
7802 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7803 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7804 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7805 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7806
d6b5aa58
DM
78072012-02-27 David S. Miller <davem@davemloft.net>
7808
1aff59a3
DM
7809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7811 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7812 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7813
d6b5aa58
DM
7814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7815 frame pointer instead of stack pointer relative arg slot.
7816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7817 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7818 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7819
433f48bf
CD
78202012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7821
7822 [BZ #3992]
7823 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7824
d674b76d
DM
78252012-02-27 David S. Miller <davem@davemloft.net>
7826
7827 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7831 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7832 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7833 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7834 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7835
0e7727f7
JM
78362012-02-27 Joseph Myers <joseph@codesourcery.com>
7837
7838 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7839 later. Allow versions 5-9.
43be4ca2 7840 * configure: Regenerated.
0e7727f7
JM
7841 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7842 required minimum version and 4.6 as recommended version. Do not
7843 mention bugs in GCC 2.7 and 2.8.
43be4ca2 7844 * INSTALL: Regenerated.
0e7727f7 7845
a78bc654
DM
78462012-02-27 David S. Miller <davem@davemloft.net>
7847
428d5830
DM
7848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7852 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7853 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7854 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7855 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7856
a78bc654
DM
7857 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7858 manipulate bits before adding and subtracting TWO112[sx].
7859 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7860
4579f81c
RM
78612012-02-27 Roland McGrath <roland@hack.frob.com>
7862
36c8acb4
RM
7863 [BZ #13775]
7864 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7865 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7866 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7867 being in POSIX, because they are in 1003.1-2008.
7868
84ad622b
RM
7869 * rt/tst-aio.c: Include <fcntl.h>.
7870 * rt/tst-aio7.c: Likewise.
7871 * rt/tst-aio64.c: Likewise.
7872
4579f81c
RM
7873 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7874
abd923db
JM
78752012-02-27 Joseph Myers <joseph@codesourcery.com>
7876
7877 * manual/install.texi (--with-headers): Describe headers as
7878 interface headers, not private headers.
7879 (Specific advice for GNU/Linux systems): Describe use of headers
7880 from "make headers_install", not private headers from older
7881 kernels.
43be4ca2 7882 * INSTALL: Regenerated.
abd923db
JM
7883 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7884 Change to 2.6.19.
7885 * sysdeps/unix/sysv/linux/configure: Regenerated.
7886
6664049b
JM
7887 * manual/llio.texi (fclean): Remove documentation.
7888
bb8b6697
JM
7889 * manual/Makefile (libc-texi-generated): New variable. Include
7890 version.texi.
7891 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7892 $(libc-texi-generated), not duplicated list of files.
7893 (version.texi, stamp-version): New rules.
7894 (realclean): Remove $(libc-texi-generated), not individual files
7895 from that list. Do not remove dir-add.texinfo.
7896 * manual/libc.texinfo: Comment out uses of edition numbers and
7897 references to printed manual. Remove last-updated dates.
7898 (EDITION): Comment out.
7899 (ISBN): Likewise.
7900 (VERSION, UPDATED): Remove.
7901 (version.texi): Include.
7902
12e5c3b9
AS
79032012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7904
7905 * sysdeps/posix/spawni.c: Include <signal.h>.
7906 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7907 * sysdeps/pthread/aio_fsync.c: Likewise.
7908
4efeffc1 79092012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 7910
ba63ba08
UD
7911 * conform/Makefile (tests): Run only when not cross-compiling and
7912 when fast-check is not defined.
7913
d94a4670
UD
7914 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7915 * conform/data/limits.h-data: Fixes for POSIX2008.
7916 * conform/run-conformtest.sh: Run all tests.
7917 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7918 headers.
7919 * include/bits/dlfcn.h: Likewise.
7920 * include/langinfo.h: Likewise.
7921 * include/monetary.h: Likewise.
7922 * include/sys/poll.h: Likewise.
7923
7924 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7925 for __USE_GNU.
7926 * posix/spawn.h: Define __need_sigset_t.
7927 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7928 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7929 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7930 to get sigevent_t only.
7931 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7932 only for __USE_GNU.
7933 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7934 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7935 process_vm_writev only for __USE_GNU.
7936 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
7937
7938 * conform/Makefile: For now ignore errors from run-conformtest.
7939 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7940 POSIX to avoid namespace pollution. Don't prepend headers.
7941 * conform/data/aio.h-data: Fixes for POSIX testing.
7942 * conform/data/fcntl.h-data: Likewise.
7943 * conform/data/glob.h-data: Likewise.
7944 * conform/data/grp.h-data: Likewise.
7945 * conform/data/pthread.h-data: Likewise.
7946 * conform/data/pwd.h-data: Likewise.
7947 * conform/data/signal.h-data: Likewise.
7948 * conform/data/spawn.h-data: Likewise.
7949 * conform/data/stdio.h-data: Likewise.
7950 * conform/data/stdlib.h-data: Likewise.
7951 * conform/data/stropts.h-data: Likewise.
7952 * conform/data/sys/mman.h-data: Likewise.
7953 * conform/data/sys/stat.h-data: Likewise.
7954 * conform/data/sys/types.h-data: Likewise.
7955 * conform/data/sys/wait.h-data: Likewise.
7956 * conform/data/time.h-data: Likewise.
7957 * conform/data/unistd.h-data: Likewise.
7958 * conform/data/utime.h-data: Likewise.
7959
7960 * io/sys/stat.h: fchmod was always in POSIX.
7961 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7962 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7963 * rt/aio.h: Define __need_timespec before including <time.h>.
7964 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7965 struct. Add forward declaration of pthread_attr_t and use it in
7966 sigevent.
7967 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7968 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7969 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7970 always remove CLK_TCK definition.
7971
c20105c3
AS
79722012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7973
7974 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7975
7a270350
UD
79762012-02-25 Ulrich Drepper <drepper@gmail.com>
7977
31341567
UD
7978 * conform/run-conformtest.sh: New file.
7979 * conform/Makefile: Run run-conformtest for tests.
7980 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7981 support.
7982
7983 * conform/data/uchar.h-data: New file.
7984 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7985 * conform/data/arpa/inet.h-data: Likewise.
7986 * conform/data/assert.h-data: Likewise.
7987 * conform/data/complex.h-data: Likewise.
7988 * conform/data/cpio.h-data: Likewise.
7989 * conform/data/ctype.h-data: Likewise.
7990 * conform/data/dirent.h-data: Likewise.
7991 * conform/data/dlfcn.h-data: Likewise.
7992 * conform/data/errno.h-data: Likewise.
7993 * conform/data/fcntl.h-data: Likewise.
7994 * conform/data/float.h-data: Likewise.
7995 * conform/data/fmtmsg.h-data: Likewise.
7996 * conform/data/fnmatch.h-data: Likewise.
7997 * conform/data/ftw.h-data: Likewise.
7998 * conform/data/glob.h-data: Likewise.
7999 * conform/data/grp.h-data: Likewise.
8000 * conform/data/iconv.h-data: Likewise.
8001 * conform/data/inttypes.h-data: Likewise.
8002 * conform/data/langinfo.h-data: Likewise.
8003 * conform/data/libgen.h-data: Likewise.
8004 * conform/data/limits.h-data: Likewise.
8005 * conform/data/locale.h-data: Likewise.
8006 * conform/data/math.h-data: Likewise.
8007 * conform/data/monetary.h-data: Likewise.
8008 * conform/data/mqueue.h-data: Likewise.
8009 * conform/data/ndbm.h-data: Likewise.
8010 * conform/data/net/if.h-data: Likewise.
8011 * conform/data/netdb.h-data: Likewise.
8012 * conform/data/netinet/in.h-data: Likewise.
8013 * conform/data/nl_types.h-data: Likewise.
8014 * conform/data/poll.h-data: Likewise.
8015 * conform/data/pthread.h-data: Likewise.
8016 * conform/data/pwd.h-data: Likewise.
8017 * conform/data/regex.h-data: Likewise.
8018 * conform/data/sched.h-data: Likewise.
8019 * conform/data/search.h-data: Likewise.
8020 * conform/data/semaphore.h-data: Likewise.
8021 * conform/data/setjmp.h-data: Likewise.
8022 * conform/data/signal.h-data: Likewise.
8023 * conform/data/spawn.h-data: Likewise.
8024 * conform/data/stdarg.h-data: Likewise.
8025 * conform/data/stdio.h-data: Likewise.
8026 * conform/data/stdlib.h-data: Likewise.
8027 * conform/data/string.h-data: Likewise.
8028 * conform/data/strings.h-data: Likewise.
8029 * conform/data/stropts.h-data: Likewise.
8030 * conform/data/sys/ipc.h-data: Likewise.
8031 * conform/data/sys/mman.h-data: Likewise.
8032 * conform/data/sys/msg.h-data: Likewise.
8033 * conform/data/sys/resource.h-data: Likewise.
8034 * conform/data/sys/select.h-data: Likewise.
8035 * conform/data/sys/sem.h-data: Likewise.
8036 * conform/data/sys/shm.h-data: Likewise.
8037 * conform/data/sys/socket.h-data: Likewise.
8038 * conform/data/sys/stat.h-data: Likewise.
8039 * conform/data/sys/statvfs.h-data: Likewise.
8040 * conform/data/sys/time.h-data: Likewise.
8041 * conform/data/sys/timeb.h-data: Likewise.
8042 * conform/data/sys/times.h-data: Likewise.
8043 * conform/data/sys/types.h-data: Likewise.
8044 * conform/data/sys/uio.h-data: Likewise.
8045 * conform/data/sys/un.h-data: Likewise.
8046 * conform/data/sys/utsname.h-data: Likewise.
8047 * conform/data/sys/wait.h-data: Likewise.
8048 * conform/data/syslog.h-data: Likewise.
8049 * conform/data/tar.h-data: Likewise.
8050 * conform/data/termios.h-data: Likewise.
8051 * conform/data/utime.h-data: Likewise.
8052 * conform/data/utmpx.h-data: Likewise.
8053 * conform/data/varargs.h-data: Likewise.
8054 * conform/data/wchar.h-data: Likewise.
8055 * conform/data/wctype.h-data: Likewise.
8056 * conform/data/wordexp.h-data: Likewise.
8057
8058 * include/stropts.h: New file.
8059 * include/uchar.h: New file.
8060 * include/aio.h: Changes to allow conformtest.pl to use the headers.
8061 * include/assert.h: Likewise.
8062 * include/ctype.h: Likewise.
8063 * include/dirent.h: Likewise.
8064 * include/dlfcn.h: Likewise.
8065 * include/fcntl.h: Likewise.
8066 * include/fnmatch.h: Likewise.
8067 * include/glob.h: Likewise.
8068 * include/grp.h: Likewise.
8069 * include/libio.h: Likewise.
8070 * include/locale.h: Likewise.
8071 * include/math.h: Likewise.
8072 * include/net/if.h: Likewise.
8073 * include/netdb.h: Likewise.
8074 * include/netinet/in.h: Likewise.
8075 * include/pthread.h: Likewise.
8076 * include/pwd.h: Likewise.
8077 * include/regex.h: Likewise.
8078 * include/sched.h: Likewise.
8079 * include/search.h: Likewise.
8080 * include/setjmp.h: Likewise.
8081 * include/signal.h: Likewise.
8082 * include/stdio.h: Likewise.
8083 * include/stdlib.h: Likewise.
8084 * include/string.h: Likewise.
8085 * include/sys/cdefs.h: Likewise.
8086 * include/sys/mman.h: Likewise.
8087 * include/sys/msg.h: Likewise.
8088 * include/sys/resource.h: Likewise.
8089 * include/sys/select.h: Likewise.
8090 * include/sys/socket.h: Likewise.
8091 * include/sys/stat.h: Likewise.
8092 * include/sys/statvfs.h: Likewise.
8093 * include/sys/time.h: Likewise.
8094 * include/sys/times.h: Likewise.
8095 * include/sys/uio.h: Likewise.
8096 * include/sys/utsname.h: Likewise.
8097 * include/sys/wait.h: Likewise.
8098 * include/termios.h: Likewise.
8099 * include/time.h: Likewise.
8100 * include/ulimit.h: Likewise.
8101 * include/unistd.h: Likewise.
8102 * include/utime.h: Likewise.
8103 * include/wchar.h: Likewise.
8104 * include/wctype.h: Likewise.
8105 * include/wordexp.h: Likewise.
8106
8107 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8108
7a270350
UD
8109 * time/time.h: TIME_UTC must be a macro.
8110 Make timespec_get available for ISO C11 only as well.
8111
7724defc
UD
81122012-02-24 Ulrich Drepper <drepper@gmail.com>
8113
8114 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8115 Reported by Peng Haitao <penght@cn.fujitsu.com>.
8116
6b1d1d46
JM
81172012-02-24 Joseph Myers <joseph@codesourcery.com>
8118
8119 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 8120
0f8bbd69
JM
81212012-02-24 Joseph Myers <joseph@codesourcery.com>
8122
8123 * manual/texinfo.tex: Update to version 2012-01-19.16.
8124
66ab80bc
JM
81252012-02-24 Joseph Myers <joseph@codesourcery.com>
8126
8127 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8128
74981cc5
RM
81292012-02-24 Roland McGrath <roland@hack.frob.com>
8130
ee968201
RM
8131 [BZ #13738]
8132 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8133 * manual/fdl-1.3.texi: New file.
8134 * manual/fdl-1.1.texi: File removed.
8135
74981cc5
RM
8136 [BZ #13738]
8137 * manual/libc.texinfo (FDL_VERSION): New @set.
8138 Use it for mention of FDL in cover text.
8139 (Documentation License): Use it in @include file name.
8140
7bb764bc
JM
81412012-02-22 Joseph Myers <joseph@codesourcery.com>
8142 Roland McGrath <roland@hack.frob.com>
8143
8144 [BZ #5461]
8145 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8146 not LONG_LONG_MAX and LONG_LONG_MIN.
8147 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8148 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8149 name.
8150 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8151
6cbeae47
JM
81522012-02-22 Joseph Myers <joseph@codesourcery.com>
8153
8154 [BZ #2547]
8155 [BZ #11365]
8156 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8157 manipulate bits before adding and subtracting TWO23[sx].
8158 * math/libm-test.inc (nearbyint_test): Add more tests.
8159
fe45ce09
JM
81602012-02-22 Joseph Myers <joseph@codesourcery.com>
8161
8162 [BZ #2548]
8163 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8164 bits before adding and subtracting TWO23[sx].
8165 * math/libm-test.inc (rint_test): Add more tests.
8166 (rint_test_tonearest): Likewise.
8167 (rint_test_towardzero): Likewise.
8168 (rint_test_downward): Likewise.
8169 (rint_test_upward: Likewise.
8170
ff3b3d82
JM
81712012-02-22 Joseph Myers <joseph@codesourcery.com>
8172
8173 [BZ #10110]
8174 * include/stdc-predef.h: New file. Extracted from features.h.
8175 * include/features.h: Include stdc-predef.h.
8176 * Makefile (headers): Add stdc-predef.h.
8177 * CONFORMANCE (Compiler limitations): Update.
8178
ef0aab35
JM
81792012-02-22 Joseph Myers <joseph@codesourcery.com>
8180
8181 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8182
58639409
DM
81832012-02-21 David S. Miller <davem@davemloft.net>
8184
8185 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8186 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8187
c0e70b25
DM
81882012-02-20 David S. Miller <davem@davemloft.net>
8189
8190 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8191 using a normal save/restore sequence, rather than allocating a
8192 dummy stack frame just to store a frame pointer and restore.
8193 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8194
fb06851d
JM
81952012-02-21 Joseph Myers <joseph@codesourcery.com>
8196
8197 * manual/install.texi: Fix stray word in line-wrapped comment.
8198
7a8b71c3
DM
81992012-02-20 David S. Miller <davem@davemloft.net>
8200
d510c123
DM
8201 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8202 both binutils and gcc support GOTDATA.
8203
0722d7c2
DM
8204 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8205 "rd %pc" in the PIC register setup sequences.
8206
3d2b3019
DM
8207 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8208 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8209 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8210 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8211 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8212 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8213 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8214 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8215 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8216 (SYSCALL_ERROR_HANDLER): Likewise.
8217 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8218 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8219 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8220 (SYSCALL_ERROR_HANDLER): Likewise.
8221
c80098a9
DM
8222 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8223 (HAVE_GCC_GOTDATA): New.
8224 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8225 relocation support in both binutils and gcc.
8226 * sysdeps/sparc/elf/configure: Regenerate.
8227
3a2545a0
DM
8228 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8229 * sysdeps/sparc/sparc32/elf/configure: Delete.
8230 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8231 * sysdeps/sparc/sparc64/elf/configure: Delete.
8232 * sysdeps/sparc/elf/configure.in: New file.
8233 * sysdeps/sparc/elf/configure: Generate.
8234
7a8b71c3
DM
8235 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8236 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8237 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8238 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8239 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8240
f1e86fca
JM
82412012-02-21 Joseph Myers <joseph@codesourcery.com>
8242
8243 * manual/install.texi: Do not mention specific glibc version
8244 numbers.
8245 * manual/libc.texinfo (VERSION, UPDATED): Update.
8246 (@copying): Use @copyright{} and range of years.
8247
0e7dfaef
JM
82482012-02-21 Joseph Myers <joseph@codesourcery.com>
8249
8250 [BZ #13695]
8251 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8252 [crti.S not in sysdirs] (generated): Do not append.
8253 [crti.S not in sysdirs] (omit-deps): Likewise.
8254 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8255 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8256 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8257 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8258 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8259 Likewise.
8260 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8261 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8262 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8263 * csu/defs.awk: Remove file.
8264 * sysdeps/generic/initfini.c: Likewise.
8265 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8266 variable.
8267 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8268 Likewise.
8269
599af3ca
JM
82702012-02-20 Joseph Myers <joseph@codesourcery.com>
8271
8272 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8273 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8274 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8275 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8276 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8277 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8278 <bits/epoll.h>.
8279 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8280 (__EPOLL_PACKED): Define to empty if not defined by
8281 <bits/epoll.h>.
8282 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8283 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8284 bits/epoll.h.
8285
0e499750
JM
82862012-02-20 Joseph Myers <joseph@codesourcery.com>
8287
8288 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8289 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8290 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8291 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8292 <bits/timerfd.h>.
8293 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8294 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8295 bits/timerfd.h.
8296
5ad91f6e
JM
82972012-02-20 Joseph Myers <joseph@codesourcery.com>
8298
8299 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8300 in C locale.
8301 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8302 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8303 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8305
06b99b02
AJ
83062012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8307
8308 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8309 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8310
7638c0fd
AS
83112012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8312
8313 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8314 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8315 defined.
8316 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8317 Likewise.
8318 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8319 entry for 2.16.
8320
92221550
AJ
83212012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8322
8323 * math/w_acos.c: Use non-signaling floating-point comparisons.
8324 * math/w_acosf.c: Likewise.
8325 * math/w_acosh.c: Likewise.
8326 * math/w_acoshf.c: Likewise.
8327 * math/w_acoshl.c: Likewise.
8328 * math/w_acosl.c: Likewise.
8329 * math/w_asin.c: Likewise.
8330 * math/w_asinf.c: Likewise.
8331 * math/w_asinl.c: Likewise.
8332 * math/w_atanh.c: Likewise.
8333 * math/w_atanhf.c: Likewise.
8334 * math/w_atanhl.c: Likewise.
8335 * math/w_exp2.c: Likewise.
8336 * math/w_exp2f.c: Likewise.
8337 * math/w_exp2l.c: Likewise.
8338 * math/w_j0.c: Likewise.
8339 * math/w_j0f.c: Likewise.
8340 * math/w_j0l.c: Likewise.
8341 * math/w_j1.c: Likewise.
8342 * math/w_j1f.c: Likewise.
8343 * math/w_j1l.c: Likewise.
8344 * math/w_jn.c: Likewise.
8345 * math/w_jnf.c: Likewise.
8346 * math/w_log.c: Likewise.
8347 * math/w_log10.c: Likewise.
8348 * math/w_log10f.c: Likewise.
8349 * math/w_log10l.c: Likewise.
8350 * math/w_log2.c: Likewise.
8351 * math/w_log2f.c: Likewise.
8352 * math/w_log2l.c: Likewise.
8353 * math/w_logf.c: Likewise.
8354 * math/w_logl.c: Likewise.
8355 * math/w_sqrt.c: Likewise.
8356 * math/w_sqrtf.c: Likewise.
8357 * math/w_sqrtl.c: Likewise.
8358 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8359 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8360 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8361 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8362 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8363
ebaf36eb
JM
83642012-02-19 Joseph Myers <joseph@codesourcery.com>
8365
8366 [BZ #9739]
8367 * manual/string.texi (strnlen): Use correct parameter name in
8368 equivalent expression.
8369
71c254a6
JM
83702012-02-19 Joseph Myers <joseph@codesourcery.com>
8371
8372 [BZ #11174]
8373 * manual/users.texi (seteuid): Consistently use neweuid for
8374 argument name.
8375
16d2c631
JM
83762012-02-19 Joseph Myers <joseph@codesourcery.com>
8377
8378 [BZ #13704]
8379 * manual/nss.texi (Services in the NSS configuration): Correct
8380 list of services in example configuration file.
8381
cd837b09
NB
83822012-02-19 Nick Bowler <nbowler@draconx.ca>
8383
8384 [BZ #11322]
8385 * manual/arith.texi: Remove statements about negative zero
8386 behaving identically to zero.
8387
02c4bbad
JM
83882012-02-18 Joseph Myers <joseph@codesourcery.com>
8389
8390 [BZ #5993]
8391 * manual/install.texi: Do not document upgrading from libc5.
8392
366842e7
JM
83932012-02-18 Joseph Myers <joseph@codesourcery.com>
8394
8395 [BZ #4596]
8396 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8397
dd54084d
DM
83982012-02-18 David S. Miller <davem@davemloft.net>
8399
8400 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8401 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8402 %o7 across the call.
8403 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8404 instead.
8405 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8406 SETUP_PIC_REG_LEAF.
8407 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8408 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8409 * sysdeps/sparc/crtn.S: Likewise.
8410
2bcc53a3
UD
84112012-02-17 Ulrich Drepper <drepper@gmail.com>
8412
8413 * aout/Makefile: Remove.
8414
09c093b5
RK
84152012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8416
8417 [BZ #13058]
8418 * manual/examples/argp-ex1.c (main): Format definition in GNU
8419 style.
8420 * manual/examples/argp-ex2.c (main): Likewise.
8421 * manual/examples/argp-ex3.c (main): Likewise.
8422 * manual/examples/argp-ex4.c (main): Likewise.
8423 * manual/examples/longopt.c (main): Use new-style prototype
8424 definition.
8425 * manual/examples/strncat.c (main): Specify return type and use
8426 (void) for arguments.
8427 * manual/examples/subopt.c (main): Use char **argv argument.
8428
2ee633a2
JM
84292012-02-17 Joseph Myers <joseph@codesourcery.com>
8430
8431 [BZ #5077]
8432 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8433 rounding modes.
8434
0520adde
FB
84352012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8436
8437 [BZ #6907]
8438 * manual/string.texi (strchr): Change when strchrnul is
8439 recommended.
8440
3f4081cd
DGM
84412012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8442
8443 [BZ #174]
8444 * manual/locale.texi (setlocale): Document LOCPATH.
8445
d1b10e78
JM
84462012-02-17 Joseph Myers <joseph@codesourcery.com>
8447
8448 [BZ #10210]
8449 * manual/process.texi (execle): Move @dots{} before last argument.
8450
79c6869c
PB
84512012-02-17 Paul Bolle <pebolle@tiscali.nl>
8452
8453 [BZ #12047]
8454 * manual/charset.texi (Generic Charset Conversion): Fix typo
8455 (LC_TYPE -> LC_CTYPE).
8456
cc6e48bc
NB
84572012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8458
8459 [BZ #5805]
8460 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8461 (scalbnf): Likewise.
8462 (scalbnl): Likewise.
8463 (scalbln): Likewise.
8464 (scalblnf): Likewise.
8465 (scalblnl): Likewise.
8466 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8467 (vwarnx): Likewise.
8468 (verr): Likewise.
8469 (verrx): Likewise.
8470 * manual/filesys.texi (telldir): Use braces around return type.
8471 * manual/llio.texi (mmap): Add space after comma.
8472 (mmap64): Likewise.
8473 * manual/math.texi (jn): Use @var{} on parameter names.
8474 (jnf): Likewise.
8475 (jnl): Likewise.
8476 (yn): Likewise.
8477 (ynf): Likewise.
8478 (ynl): Likewise.
8479 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8480 line.
8481 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8482 "...".
8483 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8484 (sched_get_priority_max): Likewise.
8485 * manual/signal.texi (sigvec): Add space after comma.
8486 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8487 names.
8488 (if_indextoname): Likewise.
8489 (if_freenameindex): Likewise.
8490 (sendto): Use ',' instead of '.' in prototype.
8491 * manual/startup.texi (syscall): Use @dots{} instead of literal
8492 "...".
8493 * manual/stdio.texi (__fpending): Separate initial words of
8494 paragraph from @deftypefun line.
8495 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8496 "...".
8497 (vsyslog): Use @var{} on parameter names.
8498 * manual/terminal.texi (stty): Use @var{} on parameter names.
8499 * manual/users.texi (getutmp): Use @var{} on parameter names.
8500 (getutmpx): Likewise.
8501
5b23062f
JM
85022012-02-17 Joseph Myers <joseph@codesourcery.com>
8503
8504 [BZ #6884]
8505 * manual/stdio.texi (fopen): Fix typos in description of
8506 ",ccs=STRING".
8507
8dee4833
AJ
85082012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8509
8510 [BZ #4026]
8511 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8512 get clock_id definition.
8513
9078ce93
TS
85142012-02-17 Thomas Schwinge <thomas@schwinge.name>
8515
8516 [BZ #4822]
8517 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8518 (madvise): Cast every argument to void on its own.
8519
3835c55f
JM
85202012-02-17 Joseph Myers <joseph@codesourcery.com>
8521
8522 [BZ #9902]
8523 * manual/startup.texi (Exit Status): Fix typo.
8524
35c47e37
JM
85252012-02-17 Joseph Myers <joseph@codesourcery.com>
8526
8527 [BZ #10140]
8528 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8529 * manual/examples/argp-ex2.c: Likewise.
8530 * manual/examples/argp-ex3.c: Likewise.
8531
e3b69ca7
RH
85322012-02-16 Richard Henderson <rth@redhat.com>
8533
8534 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8535 * sysdeps/s390/s390-32/initfini.c: Remove.
8536 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8537 * sysdeps/s390/s390-64/initfini.c: Remove.
8538
df83af67
KK
85392012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8540
8541 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8542 compiler output for sysdeps/generic/initfini.c.
8543 * sysdeps/sh/elf/initfini.c: Remove file.
8544
f63f3380
DM
85452012-02-16 David S. Miller <davem@davemloft.net>
8546
fb59b3a4
DM
8547 [BZ #11494]
8548 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8549
f63f3380
DM
8550 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8551 * sysdeps/sparc/crti.S: New file.
8552 * sysdeps/sparc/crtn.S: New file.
8553 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8554 * sysdeps/sparc/sparc64/Makefile: Likewise.
8555
df6a4a4a
MF
85562012-02-15 Mike Frysinger <vapier@gentoo.org>
8557
6dd8f3dc 8558 [BZ #3335]
df6a4a4a
MF
8559 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8560
1cac7236
RM
85612012-02-15 Roland McGrath <roland@hack.frob.com>
8562
d2c736f8
RM
8563 [BZ #4822]
8564 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8565
1cac7236
RM
8566 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8567 (write, read, close): Likewise.
8568 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8569
8e475601
JM
85702012-02-15 Joseph Myers <joseph@codesourcery.com>
8571
8572 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8573 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8574 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8575 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8576 <bits/signalfd.h>.
8577 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8578 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8579 bits/signalfd.h.
8580
ed656b40
MP
85812012-02-14 Marek Polacek <polacek@redhat.com>
8582
8583 * sysdeps/x86_64/crti.S: New file.
8584 * sysdeps/x86_64/crtn.S: New file.
8585 * sysdeps/x86_64/elf/initfini.c: Remove file.
8586
2a979d3a
JM
85872012-02-13 Joseph Myers <joseph@codesourcery.com>
8588
8589 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8590 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8591 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8592 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8593 <bits/inotify.h>.
8594 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8595 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8596 bits/inotify.h.
8597
2a418ac3
JM
85982012-02-13 Joseph Myers <joseph@codesourcery.com>
8599
8600 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8601 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8602 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8603 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8604 <bits/eventfd.h>.
8605 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8606 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8607 bits/eventfd.h.
8608
fb779be7
TS
86092012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8610
e19e83c5
RM
8611 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8612 __feraiseexcept instead of feraiseexcept.
7c35ffed 8613
fb779be7
TS
8614 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8615 nanosleep invocations.
8616 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8617 strings, and add error checking for a nanosleep invocations.
8618
59ba27a6
PE
86192012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8620
8621 Replace FSF snail mail address with URLs, as per GNU coding standards.
8622 Most of the snail mail addresses were wrong anyway, and omitting
8623 them makes the source code easier to maintain. Almost all of the
8624 changes are to license notices and to locale LC_IDENTIFICATION
8625 addresses, except for this one:
8626 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8627 not its snail mail address.
8628
57b957eb
RH
86292012-02-09 Richard Henderson <rth@twiddle.net>
8630
af850b1c
RH
8631 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8632 of kernel-features.h.
8633
57b957eb
RH
8634 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8635
6b73181a
MP
86362012-02-08 Marek Polacek <polacek@redhat.com>
8637
8638 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8639 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8640 * sysdeps/gnu/_G_config.h: Likewise.
8641 * sysdeps/generic/_G_config.h: Likewise.
8642
26ecc33a
AS
86432012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8644
6c6dbc63
AS
8645 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8646 tests.
8647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8648
e216c012
AS
8649 * sysdeps/powerpc/powerpc32/crti.S: New file.
8650 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8651 * sysdeps/powerpc/powerpc64/crti.S: New file.
8652 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8653
26ecc33a
AS
8654 * Makeconfig (have-initfini): Don't set.
8655 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8656 * configure.in (nopic_initfini): Don't substitute.
8657 * config.h.in (HAVE_INITFINI): Don't #undef.
8658 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8659 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8660
3add8e13
JM
86612012-02-08 Joseph Myers <joseph@codesourcery.com>
8662
8663 Support crti.S and crtn.S provided directly by architectures.
8664 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8665 [crti.S in sysdirs] (omit-deps): Likewise.
8666 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8667 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8668 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8669 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8670 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8671 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8672 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8673 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8674 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8675 compiler output for sysdeps/generic/initfini.c.
8676 * sysdeps/i386/elf/Makefile: Remove file.
8677 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8678
a22f12b4
MP
86792012-02-07 Marek Polacek <polacek@redhat.com>
8680
8681 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8682 * sysdeps/gnu/_G_config.h: Likewise.
8683 * sysdeps/mach/hurd/_G_config.h: Likewise.
8684
148cf100
MP
86852012-02-07 Marek Polacek <polacek@redhat.com>
8686
8687 * math/Makefile (tests): Add tst-CMPLX2.
8688 * math/tst-CMPLX2.c: New file.
8689
cfdc0dd7
AS
86902012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8691
84ba42c4
AS
8692 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8693
cfdc0dd7
AS
8694 * math/libm-test.inc (jn_test): Add missing L suffix.
8695
622c86f4
MP
86962012-02-06 Marek Polacek <polacek@redhat.com>
8697
8698 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8699 * sysdeps/i386/fpu/e_powf.S: Likewise.
8700 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8701 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8702 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8703 * sysdeps/i386/fpu/e_pow.S: Likewise.
8704 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8705 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8706 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8707 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8708 * sysdeps/i386/fpu/e_log2.S: Likewise.
8709 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8710 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8711 * sysdeps/i386/fpu/e_powl.S: Likewise.
8712 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8713 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8714 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8715 * sysdeps/i386/fpu/e_logl.S: Likewise.
8716 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8717 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8718 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8719 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8720 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8721 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8722 * sysdeps/i386/fpu/e_log.S: Likewise.
8723 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8724 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8725 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8726 * sysdeps/i386/fpu/e_logf.S: Likewise.
8727 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8728 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8729 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8730 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8731 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8732 * sysdeps/i386/fpu/e_log10.S: Likewise.
8733 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8734 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8735 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8736 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8737 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8738 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8739 * sysdeps/i386/asm-syntax.h: Likewise.
8740 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8741 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8742 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8743 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8744 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8745 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8746 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8747 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8748 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8749 * sysdeps/powerpc/sysdep.h: Likewise.
8750 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8751 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8752
d4a54ac6
JM
87532012-02-06 Joseph Myers <joseph@codesourcery.com>
8754
8755 [BZ #411]
8756 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8757
314054ea
JM
87582012-02-06 Joseph Myers <joseph@codesourcery.com>
8759
8760 * sysdeps/i386/sysdep.h: Include <features.h>.
8761 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8762 version.
8763
d8e0ca50
JM
87642012-02-05 Joseph Myers <joseph@codesourcery.com>
8765
8766 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8767 Define.
8768 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8769 LOAD_PIC_REG_STR.
8770
b1da7dd9
JM
87712012-02-03 Joseph Myers <joseph@codesourcery.com>
8772
8773 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8774 (SETUP_PIC_REG): Use GET_PC_THUNK.
8775 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8776 macro.
8777
9a1d9254
JM
87782012-02-03 Joseph Myers <joseph@codesourcery.com>
8779
8780 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8781 for non-PIC compilation.
8782 (SETUP_PIC_REG): Add .p2align directive.
8783 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8784 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8785 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8786 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8787 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8788 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8789 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8790 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8791 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8792 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8793 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8794 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8795 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8796 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8797 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8798 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8799 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8800 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8801 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8802 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8803 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8804 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8805 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8806 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8807 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8808 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8809 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8810 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8811 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8812 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8813 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8814 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8815 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8816 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8817 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8818 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8819 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8820 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8821 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8822 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8823 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8824
65dc3b75
JM
88252012-02-03 Joseph Myers <joseph@codesourcery.com>
8826
8827 * math/tst-CMPLX.c: Include <stdio.h>.
8828
d55bf177
JM
88292012-01-31 Joseph Myers <joseph@codesourcery.com>
8830
8831 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8832 float.
8833 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8834 * sysdeps/sparc/bits/mathdef.h: Likewise.
8835
69db4f8f
MP
88362012-01-31 Marek Polacek <polacek@redhat.com>
8837
8838 * libio/libio.h: Don't define _PARAMS.
8839 * locale/programs/config.h: Don't define PARAMS.
8840 * stdlib/strtol_l.c: Likewise.
8841 (__strtol_l): Remove PARAMS from the prototype.
8842
41b81892
UD
88432012-01-31 Ulrich Drepper <drepper@gmail.com>
8844
3b49edc0
UD
8845 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8846 names. Just use the correct names. Remove unnecessary wrapper
8847 functions.
8848 * malloc/arena.c: Likewise.
8849 * malloc/hooks.c: Likewise.
8850
41b81892
UD
8851 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8852 ARENA_TEST says not to. Simplify test for creation of a new arena.
8853 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8854
27a25b6e
UD
88552012-01-30 Ulrich Drepper <drepper@gmail.com>
8856
8857 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8858 into tail calls.
8859 (update_get_addr): New function.
8860 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8861 GET_ADDR_MODULE parameter.
8862
c8a89e7d
JM
88632012-01-30 Joseph Myers <joseph@codesourcery.com>
8864
8865 * crypt/cert.c: Remove __STDC__ conditionals.
8866 * crypt/crypt-entry.c: Likewise.
8867 * crypt/crypt_util.c: Likewise.
8868 * libio/filedoalloc.c: Likewise.
8869 * libio/fileops.c: Likewise.
8870 * libio/genops.c: Likewise.
8871 * libio/iofclose.c: Likewise.
8872 * libio/iofdopen.c: Likewise.
8873 * libio/iofopen.c: Likewise.
8874 * libio/iofopen64.c: Likewise.
8875 * libio/iogetdelim.c: Likewise.
8876 * libio/iopopen.c: Likewise.
8877 * libio/obprintf.c: Likewise.
8878 * libio/oldfileops.c: Likewise.
8879 * libio/oldiofclose.c: Likewise.
8880 * libio/oldiofdopen.c: Likewise.
8881 * libio/oldiofopen.c: Likewise.
8882 * libio/oldiopopen.c: Likewise.
8883 * libio/wfiledoalloc.c: Likewise.
8884 * libio/wgenops.c: Likewise.
8885 * locale/programs/xmalloc.c: Likewise.
8886 * misc/syslog.c: Likewise.
8887 * stdio-common/xbug.c: Likewise.
8888 * string/memchr.c: Likewise.
8889 * string/memcmp.c: Likewise.
8890 * string/memrchr.c: Likewise.
8891 * string/rawmemchr.c: Likewise.
8892 * sysdeps/posix/getcwd.c: Likewise.
8893 * time/strftime_l.c: Likewise.
8894
3b100462
JM
88952012-01-30 Joseph Myers <joseph@codesourcery.com>
8896
8897 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
8898 * config.make.in (config-cflags-sse2avx): Define.
8899 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8900 Fix typo.
8901
607998af
CM
89022012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8903
8904 * scripts/config.guess: Update from upstream config git repository.
8905 * scripts/config.sub: Likewise.
8906
3601428f
CM
89072012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8908
3ac8b282
CM
8909 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8910 (EM_NUM): Update.
8911 (R_TILEPRO_*, R_TILEGX_*): New macros.
8912
e034841e
CM
8913 * scripts/firstversions.awk: Fix bug in version range handling.
8914
540d7568
CM
8915 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8916
3601428f
CM
8917 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8918
463de862
CM
8919 * include/sys/epoll.h: New file.
8920 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8921 libc_hidden_def.
8922
73139a76
UD
89232012-01-28 Ulrich Drepper <drepper@gmail.com>
8924
96bc5b45
UD
8925 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8926 Avoid unnecessary __WORDSIZE == 64 test.
8927 (fmaxf): Use VEX format if possible.
8928 (fmax): Likewise.
8929 (fminf): Likewise.
8930 (fmin): Likewise.
8931
56f6f6a2
UD
8932 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8933 * math/math_private.h: Remove libc_fegetround* and
8934 libc_fesetround*.
8935 * sysdeps/i386/configure.in: Check for -msse2avx.
8936 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8937 also if SSE2AVX is defined.
8938 Remove libc_fegetround* and libc_fesetround*.
8939 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8940 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8941 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8942 of HAS_YMM_USABLE.
8943 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8944 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8945 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8946 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8947 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8948
73139a76
UD
8949 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8950
d73f93a4
AZ
89512012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8952
8953 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8954 size is not set.
8955 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8956
6ee65ed6
UD
89572012-01-27 Ulrich Drepper <drepper@gmail.com>
8958
8959 [BZ #13618]
8960 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8961 relocation.
8962 * Makeconfig (libm): Define.
8963 * elf/Makefile: Add rules to build and run tst-relsort1.
8964 * elf/tst-relsort1.c: New file.
8965 * elf/tst-relsort1mod1.c: New file.
8966 * elf/tst-relsort1mod2.c: New file.
8967
8db21882
JM
89682012-01-27 Joseph Myers <joseph@codesourcery.com>
8969
8970 * math/s_ldexp.c: Remove __STDC__ conditionals.
8971 * math/s_ldexpf.c: Likewise.
8972 * math/s_ldexpl.c: Likewise.
8973 * math/s_nextafter.c: Likewise.
8974 * math/s_nexttowardf.c: Likewise.
8975 * math/s_significand.c: Likewise.
8976 * math/s_significandf.c: Likewise.
8977 * math/s_significandl.c: Likewise.
8978 * math/w_jnl.c: Likewise.
8979 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8980 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8981 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8982 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8983 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8984 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8985 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8986 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8987 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8988 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8989 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8990 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8991 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8992 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8993 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8994 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8995 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8996 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8997 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8998 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8999 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9000 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9001 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9002 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9003 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9004 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9005 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9006 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9007 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9008 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9009 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9010 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9011 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9012 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9013 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9014 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9015 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9016 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9017 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9018 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9019 * sysdeps/ieee754/k_standard.c: Likewise.
9020 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9021 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9022 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9023 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9024 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9025 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9026 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9027 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9028 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9029 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9030 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9031 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9032 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9033 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9034 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9035 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9036 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9037 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9038 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9039 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9040 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9041 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9042 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9043 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9044 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9045 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9046 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9047 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9048 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9049 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9050 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9051 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9052 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9053 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9054 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9055 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9056 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9057 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9058 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9059 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9060 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9061 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9062 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9063 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9064 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9065 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9066 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9067 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9068 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9069 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9070 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9071 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9072 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9073 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9074 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9075 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9076 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9077 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9078 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9079 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9080 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9081 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9082 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9083 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9084 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9085 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9086 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9087 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9088 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9089 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9090 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9091 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9092 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9093 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9094 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9095 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9096 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9097 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9098 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9099 * sysdeps/ieee754/s_matherr.c: Likewise.
9100 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9101 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9102 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9103 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9104
965a54a4
JM
91052012-01-26 Joseph Myers <joseph@codesourcery.com>
9106
9107 * crypt/md5.h: Remove __STDC__ conditionals.
9108 * libio/libioP.h: Likewise.
9109 * locale/programs/config.h: Likewise.
9110 * sysdeps/generic/sysdep.h: Likewise.
9111 * sysdeps/i386/asm-syntax.h: Likewise.
9112 * sysdeps/s390/asm-syntax.h: Likewise.
9113 * sysdeps/unix/sysdep.h: Likewise.
9114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9116
7071ad79
JM
91172012-01-26 Joseph Myers <joseph@codesourcery.com>
9118
9119 * libio/libio.h: Remove __STDC__ conditionals.
9120 * malloc/obstack.h: Likewise.
9121 * math/complex.h: Likewise.
9122 * math/math.h: Likewise.
9123 * sysdeps/generic/_G_config.h: Likewise.
9124 * sysdeps/gnu/_G_config.h: Likewise.
9125 * sysdeps/mach/hurd/_G_config.h: Likewise.
9126 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9127 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9128 * sysdeps/sparc/bits/mathdef.h: Likewise.
9129
afc5ed09
UD
91302012-01-26 Ulrich Drepper <drepper@gmail.com>
9131
9132 [BZ #13583]
9133 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 9134 Clean up HAS_* macros.
afc5ed09 9135 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
9136 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9137 possible.
9138 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9139 HAS_AVX.
9140 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9141 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9142 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9143 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9144 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 9145
bdb6de1d
JM
91462012-01-25 Joseph Myers <joseph@codesourcery.com>
9147
9148 * elf/tst-unique3.cc (gets): Remove declaration.
9149 * elf/tst-unique3lib.cc (gets): Likewise.
9150 * elf/tst-unique3lib2.cc (gets): Likewise.
9151 * elf/tst-unique4.cc (gets): Likewise.
9152
b15549e6
UD
91532012-01-24 Ulrich Drepper <drepper@gmail.com>
9154
9155 * include/stdio.h: Add C++ protection. Add gets declarations and
9156 definitions.
9157 * debug/tst-chk1.c: Don't declare gets here.
9158 * stdio-common/tst-gets.c: Likewise.
9159
a037381f
JM
91602012-01-24 Joseph Myers <joseph@codesourcery.com>
9161
9162 * posix/glob: Remove directory.
9163
f1d4aa75
JM
91642012-01-24 Joseph Myers <joseph@codesourcery.com>
9165
9166 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9167
81c0c964
PT
91682012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9169
9170 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9171 of the non-standard EPFNOSUPPORT.
9172
0ea698ae
ST
91732011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9174
9175 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9176 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9177 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9178
d220b117
UD
91792012-01-21 Ulrich Drepper <drepper@gmail.com>
9180
9181 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9182
3e1aa84e
UD
91832012-01-20 Ulrich Drepper <drepper@gmail.com>
9184
9185 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9186 transient errors.
9187 * nscd/grpcache.c (cache_addgr): Likewise.
9188 * nscd/hstcache.c (cache_addhst): Likewise.
9189 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9190 * nscd/pwdcache.c (cache_addpw): Likewise.
9191 * nscd/servicescache.c (cache_addserv): Likewise.
9192
400aa020
UD
91932012-01-16 Ulrich Drepper <drepper@gmail.com>
9194
d77e7869
UD
9195 * malloc/malloc.c: Various cleanups.
9196 * malloc/hooks.c: Likewise.
9197
400aa020
UD
9198 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9199 * stdlib/bug-fmtmsg1.c: New file.
9200
9201 * stdlib/fmtmsg.c (init): Add missing unlock.
9202 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9203
e0a309cf
MP
92042012-01-12 Marek Polacek <polacek@redhat.com>
9205
9206 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9207 and _GNU_SOURCE.
9208
929d11c7
WS
92092012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9210
9211 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9212 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9213 macro to ensure uniqueness of label name.
9214 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9215 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9216
41d0e869
UD
92172012-01-11 Ulrich Drepper <drepper@gmail.com>
9218
0cc5ed3b
UD
9219 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9220
41d0e869
UD
9221 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9222 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9223 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9224 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9225
a47a831a
UD
92262012-01-10 Ulrich Drepper <drepper@gmail.com>
9227
daa891c0
UD
9228 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9229
9230 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9231 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9232 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9233
e58ef0f2
UD
9234 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9235
a47a831a 9236 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
9237 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9238 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 9239 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
9240
9241 * math/bits/math-finite.h: Add ldexp support.
9242
a0bfc9c7
MP
92432012-01-10 Marek Polacek <polacek@redhat.com>
9244
9245 * locale/programs/localedef.h (show_archive_content): Add noreturn
9246 attribute.
9247
d6e97a1d
UD
92482012-01-09 Ulrich Drepper <drepper@gmail.com>
9249
9250 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9251
d5835c26
UD
92522012-01-08 Ulrich Drepper <drepper@gmail.com>
9253
e5f484c6
UD
9254 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9255
d5835c26
UD
9256 * io/Makefile (headers): Add bits/poll2.h.
9257
d1f741e9
WS
92582011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9259
9260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9261 typo #include statement.
9262
ec09c1c4
UD
92632012-01-08 Ulrich Drepper <drepper@gmail.com>
9264
9265 * include/sys/cdefs.h: Define __attribute_alloc_size.
9266 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9267 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9268 * elf/pldd.c: Likewise.
9269 * iconv/iconv_charmap.c: Likewise.
9270 * iconv/iconvconfig.c: Likewise.
9271 * iconv/strtab.c: Likewise.
9272 * locale/programs/locale.c: Likewise.
9273 * locale/programs/localedef.h: Likewise.
9274 * locale/programs/simple-hash.c: Likewise.
9275 * nscd/nscd.h: Likewise.
9276 * nss/makedb.c: Likewise.
9277 * sysdeps/generic/ldconfig.h: Likewise.
9278 * locale/programs/localedef.c: Remove xmalloc prototype.
9279 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9280
20b38e03
PP
92812012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9282
9283 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9284 appropriate.
9285
a0da5fe1
UD
92862012-01-08 Ulrich Drepper <drepper@gmail.com>
9287
1d5a644a 9288 * math/Makefile (tests): Add tst-CMPLX.
669704fd 9289 * math/tst-CMPLX.c: New file.
1d5a644a 9290
8784a6db
UD
9291 * math/complex.h (CMPLXL): Fix typo.
9292
d9a216c0
UD
9293 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9294 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9295 GLIBC_2.16.
9296 * debug/tst-chk1.c: Add poll and ppoll tests.
9297 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9298 * include/sys/poll.h: Add hidden proto for ppoll.
9299 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9300 * sysdeps/mach/hurd/ppoll.c: Likewise.
9301 * io/ppoll.c: Likewise.
9302 * debug/poll_chk.c: New file.
9303 * debug/ppoll_chk.c: New file.
9304 * include/bits/poll2.h: New file.
9305 * io/bits/poll2.h: New file.
9306
ac097f5c
UD
9307 [BZ #1350]
9308 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9309
2119dcfa
UD
9310 * configure.in: static is always set to yes. Remove.
9311 * config.make.in: Don't set build-static.
9312 * Makeconfig: Remove use of build-static.
9313 * dlfcn/Makefile: Likewise.
9314 * elf/Makefile: Likewise.
9315 * math/Makefile: Likewise.
9316 * misc/Makefile: Likewise.
9317 * nptl/Makefile: Likewise.
9318 * sysdeps/mach/hurd/Makefile: Likewise.
9319
121766a9
UD
9320 * configure.in: PWD_P is not used anymore.
9321 * config.make.in: Remove PWD_P entry.
9322
51a1d39c 9323 * configure.in: Remove last remnants of RANLIB.
8720d066 9324 No need to check for signed size_t anymore.
215f4bdc
UD
9325 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9326 and IA-64.
3857022a 9327 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
9328 * aclocal.m4: Likewise.
9329
d3ed7225
UD
9330 * wcsmbs/mbrtoc16.c: Implement using towc function.
9331 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9332 * wcsmbs/wcsmbsload.c: Likewise.
9333 * iconv/gconv_simple.c: Likewise.
9334 * iconv/gconv_int.h: Likewise.
9335 * iconv/gconv_builtin.h: Likewise.
9336 * iconv/iconv_prog.c: Remove CHAR16 handling.
9337
9338 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9339
9340 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9341
a0da5fe1
UD
9342 * configure.in: Remove --with-elf and --enable-bounded options.
9343 Dont set base_machine for ia64. More non-ELF conditions removed.
9344 Remove testing and setting of leading underscore information.
9345 * config.make.in (build-bounded): Set to no.
9346 * config.h.in: Remove NO_UNDERSCORES entry.
9347 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9348 them.
9349 * csu/start.c: Remove !NO_UNDERSCORE code.
9350 * locale/localeinfo.h: Likewise.
9351 * sysdeps/generic/machine-gmon.h: Likewise.
9352 * sysdeps/generic/sysdep.h: Likewise.
9353 * sysdeps/i386/sysdep.h: Likewise.
9354 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9355 * sysdeps/mach/sysdep.h: Likewise.
9356 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9357 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9358 * sysdeps/sh/sysdep.h: Likewise.
9359 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9360 * sysdeps/unix/i386/sysdep.S: Likewise.
9361 * sysdeps/unix/sparc/start.c: Likewise.
9362 * sysdeps/unix/sparc/sysdep.S: Likewise.
9363 * sysdeps/unix/sparc/sysdep.h: Likewise.
9364 * sysdeps/unix/start.c: Likewise.
9365 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9366 * sysdeps/x86_64/sysdep.h: Likewise.
9367
df78418a
UD
93682012-01-07 Ulrich Drepper <drepper@gmail.com>
9369
a784e502
UD
9370 [BZ #13553]
9371 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9372 for non-gcc.
9373 * argp/argp-fmtstream.h: Use const instead __const.
9374 * argp/argp.h: Likewise.
9375 * assert/assert.h: Likewise.
9376 * bits/fenv.h: Likewise.
9377 * bits/sched.h: Likewise.
9378 * bits/sigset.h: Likewise.
9379 * bits/sigthread.h: Likewise.
9380 * catgets/nl_types.h: Likewise.
9381 * conform/data/pthread.h-data: Likewise.
9382 * crypt/crypt-private.h: Likewise.
9383 * crypt/crypt.h: Likewise.
9384 * crypt/crypt_util.c: Likewise.
9385 * ctype/ctype.h: Likewise.
9386 * debug/execinfo.h: Likewise.
9387 * debug/mbsnrtowcs_chk.c: Likewise.
9388 * debug/mbsrtowcs_chk.c: Likewise.
9389 * debug/wcsnrtombs_chk.c: Likewise.
9390 * debug/wcsrtombs_chk.c: Likewise.
9391 * debug/wcstombs_chk.c: Likewise.
9392 * dirent/dirent.h: Likewise.
9393 * dlfcn/dlfcn.h: Likewise.
9394 * elf/neededtest4.c: Likewise.
9395 * grp/grp.h: Likewise.
9396 * gshadow/gshadow.h: Likewise.
9397 * iconv/gconv.h: Likewise.
9398 * iconv/gconv_int.h: Likewise.
9399 * iconv/gconv_simple.c: Likewise.
9400 * iconv/iconv.h: Likewise.
9401 * iconv/loop.c: Likewise.
9402 * iconv/skeleton.c: Likewise.
9403 * include/aio.h: Likewise.
9404 * include/aliases.h: Likewise.
9405 * include/argz.h: Likewise.
9406 * include/arpa/inet.h: Likewise.
9407 * include/assert.h: Likewise.
9408 * include/dirent.h: Likewise.
9409 * include/dlfcn.h: Likewise.
9410 * include/execinfo.h: Likewise.
9411 * include/fcntl.h: Likewise.
9412 * include/fenv.h: Likewise.
9413 * include/glob.h: Likewise.
9414 * include/grp.h: Likewise.
9415 * include/libintl.h: Likewise.
9416 * include/mntent.h: Likewise.
9417 * include/netdb.h: Likewise.
9418 * include/pwd.h: Likewise.
9419 * include/rpc/netdb.h: Likewise.
9420 * include/sched.h: Likewise.
9421 * include/search.h: Likewise.
9422 * include/shadow.h: Likewise.
9423 * include/signal.h: Likewise.
9424 * include/stdio.h: Likewise.
9425 * include/stdlib.h: Likewise.
9426 * include/string.h: Likewise.
9427 * include/sys/socket.h: Likewise.
9428 * include/sys/stat.h: Likewise.
9429 * include/sys/statfs.h: Likewise.
9430 * include/sys/statvfs.h: Likewise.
9431 * include/sys/syslog.h: Likewise.
9432 * include/sys/time.h: Likewise.
9433 * include/sys/uio.h: Likewise.
9434 * include/time.h: Likewise.
9435 * include/unistd.h: Likewise.
9436 * include/utmp.h: Likewise.
9437 * include/wchar.h: Likewise.
9438 * include/wctype.h: Likewise.
9439 * inet/aliases.h: Likewise.
9440 * inet/arpa/inet.h: Likewise.
9441 * inet/netinet/ether.h: Likewise.
9442 * inet/netinet/in.h: Likewise.
9443 * intl/libintl.h: Likewise.
9444 * io/bits/fcntl2.h: Likewise.
9445 * io/fcntl.h: Likewise.
9446 * io/ftw.h: Likewise.
9447 * io/sys/poll.h: Likewise.
9448 * io/sys/stat.h: Likewise.
9449 * io/sys/statfs.h: Likewise.
9450 * io/sys/statvfs.h: Likewise.
9451 * io/utime.h: Likewise.
9452 * libio/bits/stdio.h: Likewise.
9453 * libio/bits/stdio2.h: Likewise.
9454 * libio/libio.h: Likewise.
9455 * libio/libioP.h: Likewise.
9456 * libio/stdio.h: Likewise.
9457 * locale/lc-ctype.c: Likewise.
9458 * locale/locale.h: Likewise.
9459 * login/utmp.h: Likewise.
9460 * malloc/arena.c: Likewise.
9461 * malloc/malloc.c: Likewise.
9462 * malloc/malloc.h: Likewise.
9463 * malloc/mcheck.c: Likewise.
9464 * malloc/mtrace.c: Likewise.
9465 * math/bits/mathcalls.h: Likewise.
9466 * math/fenv.h: Likewise.
9467 * math/math_private.h: Likewise.
9468 * misc/bits/error.h: Likewise.
9469 * misc/bits/syslog.h: Likewise.
9470 * misc/err.h: Likewise.
9471 * misc/error.h: Likewise.
9472 * misc/fstab.h: Likewise.
9473 * misc/mntent.h: Likewise.
9474 * misc/regexp.h: Likewise.
9475 * misc/search.h: Likewise.
9476 * misc/sgtty.h: Likewise.
9477 * misc/sys/mman.h: Likewise.
9478 * misc/sys/syslog.h: Likewise.
9479 * misc/sys/uio.h: Likewise.
9480 * misc/sys/xattr.h: Likewise.
9481 * misc/ttyent.h: Likewise.
9482 * nis/rpcsvc/ypclnt.h: Likewise.
9483 * nss/nss.h: Likewise.
9484 * posix/bits/unistd.h: Likewise.
9485 * posix/fnmatch.h: Likewise.
9486 * posix/glob.h: Likewise.
9487 * posix/sched.h: Likewise.
9488 * posix/spawn.h: Likewise.
9489 * posix/sys/wait.h: Likewise.
9490 * posix/unistd.h: Likewise.
9491 * posix/wordexp.h: Likewise.
9492 * pwd/pwd.h: Likewise.
9493 * resolv/netdb.h: Likewise.
9494 * resource/sys/resource.h: Likewise.
9495 * rt/aio.h: Likewise.
9496 * rt/bits/mqueue2.h: Likewise.
9497 * rt/mqueue.h: Likewise.
9498 * shadow/shadow.h: Likewise.
9499 * signal/signal.h: Likewise.
9500 * socket/send.c: Likewise.
9501 * socket/sendto.c: Likewise.
9502 * socket/sys/socket.h: Likewise.
9503 * stdio-common/printf.h: Likewise.
9504 * stdlib/bits/stdlib.h: Likewise.
9505 * stdlib/fmtmsg.h: Likewise.
9506 * stdlib/monetary.h: Likewise.
9507 * stdlib/stdlib.h: Likewise.
9508 * stdlib/ucontext.h: Likewise.
9509 * streams/stropts.h: Likewise.
9510 * string/argz.h: Likewise.
9511 * string/bits/string2.h: Likewise.
9512 * string/string.h: Likewise.
9513 * string/strings.h: Likewise.
9514 * sunrpc/rpc/auth.h: Likewise.
9515 * sunrpc/rpc/auth_des.h: Likewise.
9516 * sunrpc/rpc/clnt.h: Likewise.
9517 * sunrpc/rpc/netdb.h: Likewise.
9518 * sunrpc/rpc/pmap_clnt.h: Likewise.
9519 * sunrpc/rpc/xdr.h: Likewise.
9520 * sysdeps/generic/inttypes.h: Likewise.
9521 * sysdeps/generic/net/if.h: Likewise.
9522 * sysdeps/generic/sys/swap.h: Likewise.
9523 * sysdeps/gnu/net/if.h: Likewise.
9524 * sysdeps/gnu/utmpx.h: Likewise.
9525 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9526 * sysdeps/i386/i486/bits/string.h: Likewise.
9527 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9528 * sysdeps/s390/bits/string.h: Likewise.
9529 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9530 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9531 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9532 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9533 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9534 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9535 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9536 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9537 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9538 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9539 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9540 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9541 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9542 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9543 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9544 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9545 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9546 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9547 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9548 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9549 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9550 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9551 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9552 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9553 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9554 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9555 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9556 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9557 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9558 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9559 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9560 * sysvipc/sys/ipc.h: Likewise.
9561 * sysvipc/sys/msg.h: Likewise.
9562 * sysvipc/sys/sem.h: Likewise.
9563 * sysvipc/sys/shm.h: Likewise.
9564 * termios/termios.h: Likewise.
9565 * time/sys/time.h: Likewise.
9566 * time/time.h: Likewise.
9567 * wcsmbs/bits/wchar2.h: Likewise.
9568 * wcsmbs/uchar.h: Likewise.
9569 * wcsmbs/wchar.h: Likewise.
9570 * wctype/wctype.h: Likewise.
9571
0269750c
UD
9572 [BZ #13551]
9573 * Makeconfig: Remove all but ELF support including AIX support.
9574 * Makerules: Likewise.
9575 * config.h.in: Likewise.
9576 * config.make.in: Likewise.
9577 * configure: Likewise.
9578 * configure.in: Likewise.
9579 * csu/Makefile: Likewise.
9580 * csu/version.c: Likewise.
9581 * debug/Makefile: Likewise.
9582 * dlfcn/Makefile: Likewise.
9583 * elf/Makefile: Likewise.
9584 * extra-lib.mk: Likewise.
9585 * iconv/Makefile: Likewise.
9586 * include/libc-symbols.h: Likewise.
9587 * include/shlib-compat.h: Likewise.
9588 * resolv/Makefile: Likewise.
9589 * resolv/res_libc.c: Likewise.
9590 * rt/Makefile: Likewise.
9591 * sysdeps/i386/asm-syntax.h: Likewise.
9592 * sysdeps/i386/sysdep.h: Likewise.
9593 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9594 * sysdeps/mach/sysdep.h: Likewise.
9595 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9596 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9597 * sysdeps/s390/asm-syntax.h: Likewise.
9598 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9599 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9600 * sysdeps/sh/sysdep.h: Likewise.
9601 * sysdeps/unix/sparc/sysdep.h: Likewise.
9602 * sysdeps/wordsize-32/divdi3.c: Likewise.
9603 * sysdeps/x86_64/sysdep.h: Likewise.
9604
00bbd29b
UD
9605 * argp/Versions: Remove _argp_unlock_xxx.
9606
9607 [BZ #13559]
9608 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9609 * abilist/libBrokenLocale.abilist: Likewise.
9610 * abilist/libanl.abilist: Likewise.
9611 * abilist/libc.abilist: Likewise.
9612 * abilist/libcrypt.abilist: Likewise.
9613 * abilist/libdl.abilist: Likewise.
9614 * abilist/libm.abilist: Likewise.
9615 * abilist/libnsl.abilist: Likewise.
9616 * abilist/libpthread.abilist: Likewise.
9617 * abilist/libresolv.abilist: Likewise.
9618 * abilist/librt.abilist: Likewise.
9619 * abilist/libthread_db.abilist: Likewise.
9620 * abilist/libutil.abilist: Likewise.
9621 * abilist/libnss_db.abilist: New file.
9622
9623 * scripts/abilist.awk: Add support for indirect functions.
9624
a2693a0e
UD
9625 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9626
3f05895f
UD
9627 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9628
ecb6fb48
UD
9629 * shlib-versions: Remove entries for ports architectures.
9630
664f8cb9
UD
9631 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9632 files in ports.
9633 * elf/stackguard-macros.h: Remove support for IA-64.
9634 * elf/tst-auditmod1.c: Likewise.
9635 * sysdeps/generic/ldsodefs.h: Likewise.
9636
7ae81d88
UD
9637 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9638 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9639 configure files.
9640
bdeba135
UD
9641 [BZ #13552]
9642 * configure.in: Remove --enable-omitfp support.
9643 * FAQ.in: Adjust.
9644 * config.make.in: Likewise.
9645 * Makeconfig: Likewise.
9646 * manual/install.texi: Likewise.
9647
d75a0a62
UD
9648 In case anyone cares, the IA-64 architecture could move to ports.
9649 * sysdeps/ia64/*: Removed.
9650 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 9651 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 9652
dcc9756b
UD
9653 [BZ #13555]
9654 * configure.in: Remove entries for unsupported architectures.
9655
d3761ebc 9656 [BZ #13533]
9954432e
UD
9657 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9658 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9659 routines.
9660 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9661 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9662 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9663 fall back to using wcrtomb.
9664 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9665 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9666 renaming.
9667 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9668 * wcsmbs/tst-c16c32-1.c: New file.
9669
9670 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9671 local variable.
9672
c3a87236
UD
9673 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9674
28926a1b
UD
9675 * elf/tst-unique3.cc: Add explicit declaration of gets.
9676 * elf/tst-unique3lib.cc: Likewise.
9677 * elf/tst-unique3lib2.cc: Likewise.
9678 * elf/tst-unique4.cc: Likewise.
9679
df78418a
UD
9680 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9681
8ecd6b2a
JM
96822012-01-06 Joseph Myers <joseph@codesourcery.com>
9683
9684 [BZ #13566]
9685 * assert/assert.h (static_assert): Don't define for C++.
9686 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9687 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9688
9f115170
UD
96892012-01-03 Ulrich Drepper <drepper@gmail.com>
9690
5e0d0300
UD
9691 * iconv/loop.c (single loop): Fix assertion in storing of
9692 remaining bytes.
9693
9f115170
UD
9694 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9695
81fb02b0
UD
96962012-01-01 Ulrich Drepper <drepper@gmail.com>
9697
9698 * posix/getconf.c: Update copyright year.
9699 * nss/getent.c: Likewise.
a316c1f6 9700 * nss/makedb.c: Likewise.
81fb02b0
UD
9701 * iconv/iconvconfig.c: Likewise.
9702 * iconv/iconv_prog.c: Likewise.
9703 * elf/ldconfig.c: Likewise.
a316c1f6
UD
9704 * elf/pldd.c: Likewise.
9705 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
9706 * catgets/gencat.c: Likewise.
9707 * csu/version.c: Likewise.
9708 * elf/ldd.bash.in: Likewise.
9709 * elf/sprof.c (print_version): Likewise.
9710 * locale/programs/locale.c: Likewise.
9711 * locale/programs/localedef.c: Likewise.
a316c1f6 9712 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
9713 * nscd/nscd.c (print_version): Likewise.
9714 * debug/xtrace.sh: Likewise.
9715 * malloc/memusage.sh: Likewise.
9716 * malloc/mtrace.pl: Likewise.
9717 * debug/catchsegv.sh: Likewise.
9718
2ba92745
JJ
97192011-12-30 Jakub Jelinek <jakub@redhat.com>
9720
9721 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9722 pure attribute.
9723
dadebdae
UD
97242011-12-24 Ulrich Drepper <drepper@gmail.com>
9725
d3761ebc 9726 [BZ #13533]
db6af3eb
UD
9727 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9728 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9729 transformations.
9730 * iconv/gconv_int.h: Likewise.
9731 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9732 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9733 from libc for GLIBC_2.16.
9734 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9735 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9736 * wcsmbs/uchar.h: Really define mbstate_t.
9737 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9738 * wcsmbs/c16rtomb.c: New file.
9739 * wcsmbs/mbrtoc16.c: New file.
9740 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9741 for C/POSIX locale.
9742 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9743 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9744
dadebdae
UD
9745 * wcsmbs/wchar.h: Add missing __restrict.
9746
67371b56
UD
97472011-12-23 Ulrich Drepper <drepper@gmail.com>
9748
74033a25
UD
9749 [BZ #13532]
9750 * time/Makefile (routines): Add timespec_get.
9751 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9752 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9753 timespec for ISO C11.
9754 * time/timespec_get.c: New file.
9755 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9756 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9757
380d7e87
UD
9758 [BZ #13531]
9759 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9760 * stdlib/stdlib.h: Declare aligned_alloc.
9761 * Versions.def: Add GLIBC_2.16 for libc.
9762 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9763
4e9e7a35
UD
9764 [BZ 13527]
9765 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9766 ISO C11.
9767
380d7e87 9768 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
9769 code.
9770
03a71829
UD
9771 [BZ #13528]
9772 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9773
839e283e
UD
9774 [BZ #13529]
9775 * assert/assert.h (static_assert): Define.
9776
ce5294e2 9777 * version.h: Update for 2.16 development version.
90fa7312 9778
8d44e150 9779 [BZ #13526]
d7809905
UD
9780 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9781 _ISOC11_SOURCE.
9782
c0da14cd
UD
9783 * version.h (RELEASE): Bump for 2.15 release.
9784 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9785
530a3249
MP
9786 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9787 Patch by Marek Polacek <mpolacek@redhat.com>.
9788
67371b56
UD
9789 * bits/byteswap.h: Protect long long constants with __extension__.
9790 * sysdeps/i386/bits/byteswap.h: Likewise.
9791 * sysdeps/ia64/bits/byteswap.h: Likewise.
9792 * sysdeps/s390/bits/byteswap.h: Likewise.
9793 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9794
15db4de1
LD
97952011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9796
9797 [BZ #13540]
bbe315ea
LD
9798 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9799 destination buffer.
15db4de1
LD
9800 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9801
2b2596b1
MP
98022011-12-23 Marek Polacek <polacek@redhat.com>
9803
9804 * elf/dl-addr.c (determine_info): Add inline keyword.
9805 * elf/tst-auditmod4b.c (check_avx): Likewise.
9806 * elf/tst-auditmod6b.c (check_avx): Likewise.
9807 * elf/tst-auditmod6c.c (check_avx): Likewise.
9808 * elf/tst-auditmod7b.c (check_avx): Likewise.
9809
70c6c246
UD
98102011-12-23 Ulrich Drepper <drepper@gmail.com>
9811
9812 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9813 !__SSE_MATH__.
9814
c044cf14
LD
98152011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9816
15db4de1 9817 [BZ #13540]
c044cf14
LD
9818 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9819 processing for last bytes.
9820
6b13d9d9
BH
98212011-08-06 Bruno Haible <bruno@clisp.org>
9822
d455f537
BH
9823 [BZ #13061]
9824 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9825 U+0385, not to U+1FEE.
9826
6b13d9d9
BH
9827 [BZ #13062]
9828 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9829 entry for U+00A5 U+0301.
9830
db910efd
UD
98312011-12-22 Ulrich Drepper <drepper@gmail.com>
9832
27deeafc
UD
9833 [BZ #13166]
9834 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9835 buffer for the output is too small.
9836
aed9d171
UD
9837 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9838 optimization.
9839
db910efd
UD
9840 [BZ #13185]
9841 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9842 SSE flags if possible.
9843
2bd779ae
LD
98442011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9845
e7f9dac3 9846 [BZ #13540]
2bd779ae
LD
9847 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9848 processing for last bytes.
9849
154bfc16
JM
98502011-12-22 Joseph Myers <joseph@codesourcery.com>
9851
9852 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9853 (syscall-list-default-options, syscall-list-default-condition)
9854 (syscall-list-includes): Define.
9855 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9856 list of ABIs and options and #if conditions for each ABI. Do not
9857 handle common syscalls between ABIs specially.
9858 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9859 Remove.
9860 (syscall-list-variants, syscall-list-32bit-options)
9861 (syscall-list-32bit-condition, syscall-list-64bit-options)
9862 (syscall-list-64bit-condition): Define.
9863 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9864 (syscall-list-variants, syscall-list-32bit-options)
9865 (syscall-list-32bit-condition, syscall-list-64bit-options)
9866 (syscall-list-64bit-condition): Define.
9867 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9868 Remove.
9869 (syscall-list-variants, syscall-list-32bit-options)
9870 (syscall-list-32bit-condition, syscall-list-64bit-options)
9871 (syscall-list-64bit-condition): Define.
9872 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9873 Remove.
9874 (syscall-list-variants, syscall-list-32bit-options)
9875 (syscall-list-32bit-condition, syscall-list-64bit-options)
9876 (syscall-list-64bit-condition): Define.
9877
21eaf3a5
UD
98782011-12-22 Ulrich Drepper <drepper@gmail.com>
9879
16c6f992
UD
9880 * locale/iso-639.def: Add brx entry.
9881
41043168
UD
9882 [BZ #13328]
9883 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9884 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9885
21eaf3a5
UD
9886 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9887 __feraiseexcept_renamed.
9888
e3a851a2
UD
98892011-12-21 Ulrich Drepper <drepper@gmail.com>
9890
4920765e
UD
9891 [BZ #13538]
9892 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9893 EPOLLET with unsigned values.
9894 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9895 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9896
e3a851a2
UD
9897 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9898 to large cancellation.
9899 * math/s_cacoshf.c: Likewise.
9900 * math/s_cacoshl.c: Likewise.
9901
b27e24b8
RK
99022011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9903
9904 [BZ #13305]
aebefeee 9905 [BZ #12786]
b27e24b8
RK
9906 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9907 * math/s_cacoshf.c: Likewise.
9908 * math/s_cacoshl.c: Likewise.
9909
ee190f67
UD
99102011-12-21 Ulrich Drepper <drepper@gmail.com>
9911
9912 [BZ #13439]
9913 * iconv/gconv.h: Define __GCONV_SWAP.
9914 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9915 * iconvdata/utf-16.c: Likewise.
9916 * iconvdata/utf-32.c: Likewise.
9917
707f25df
AS
99182011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9919
9920 [BZ #13524]
9921 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9922 numerator after shifting it by one limb.
9923
d2daaa1e
RÁE
99242011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9925
9926 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9927 under [__USE_EXTERN_INLINES].
9928
a4647e72
UD
99292011-12-17 Ulrich Drepper <drepper@gmail.com>
9930
9931 [BZ #13446]
9932 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9933
f0b264f1
AZ
99342011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9935
9936 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9937 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9938 optimized code.
9939 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9940 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9941 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9942 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9943 for strncasecmp/strncasecmp_l compilation.
9944 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9945 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9946
8ef4f244
MP
99472011-12-08 Marek Polacek <mpolacek@redhat.com>
9948
9949 [BZ #13484]
9950 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9951 of __asm__.
9952
97ac2654
UD
99532011-12-17 Ulrich Drepper <drepper@gmail.com>
9954
9955 [BZ #13506]
9956 * time/tzfile.c (__tzfile_read): Check values from file header.
9957
91d2a845
WS
99582011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9959
9960 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9961 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9962 * powerpc/powerpc32/dl-start.S: Likewise.
9963 * powerpc/powerpc32/elf/start.S: Likewise.
9964 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9965 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9966 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9967 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9968 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9969 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9970 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9971 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9972 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9973 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9974 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9975 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9976 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9977 * powerpc/powerpc32/memset.S: Likewise.
9978 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9979 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9980 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9981 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9982 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9983 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9984 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9985 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9986 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9987 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9988 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9989 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9990 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9991
a1267ba1
AZ
99922011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9993
9994 * math/libm-test.inc: Added more nearbyint tests.
9995 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9996 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9997 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9998 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9999
ad8ac1bd
RL
100002011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
10001
10002 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
10003 FD_CLOEXEC.
10004
1d3e4b61
UD
100052011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10006
10007 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
10008 Add wcscpy-ssse3 wcscpy-c.
10009 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
10010 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
10011 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
10012 * sysdeps/x86_64/wcschr.S: New file.
10013 * sysdeps/x86_64/wcsrchr.S: New file.
10014 * string/test-strcmp.c: Remove checking of wcscmp function for
10015 wrong alignments.
10016 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
10017 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
10018 wcsrchr-sse2 wcsrchr-c.
10019 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
10020 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
10021 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
10022 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
10023 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
10024 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
10025 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
10026 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
10027 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
10028 * wcsmbc/wcschr.c (WCSCHR): New macro.
10029
5b330a2d
UD
100302011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10031
10032 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
10033 * wcsmbs/test-wcsrchr.c: New file.
10034 * string/test-strrchr.c: Add wcsrchr support.
10035 (WIDE): New macro.
10036 * wcsmbs/test-wcscpy.c: New file.
10037 * string/test-strcpy.c: Add wcscpy support.
10038 (WIDE): New macro.
26428b7c 10039
f039c043
UD
100402011-12-10 Ulrich Drepper <drepper@gmail.com>
10041
10042 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
10043 the inner loop.
10044
850fb039
AS
100452011-12-06 Andreas Schwab <schwab@linux-m68k.org>
10046
10047 [BZ #13472]
10048 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
10049
4efbd5cb
UD
100502011-12-04 Ulrich Drepper <drepper@gmail.com>
10051
52ff5dd0 10052 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 10053 Minor optimizations.
52ff5dd0 10054
4efbd5cb
UD
10055 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
10056 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
10057 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10058
8a426e12
UD
100592011-12-03 Ulrich Drepper <drepper@gmail.com>
10060
aff2453d
UD
10061 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
10062 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
10063 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
10064 for gcc to avoid warnings.
10065 * inet/Makefile (tests): Add tst-checks.
10066 * inet/tst-checks.c: New file.
10067
10068 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
10069 warning.
10070
10071 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
10072 __wmemcmp_sse2.
10073
10074 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
10075 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
10076
8a426e12
UD
10077 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
10078
9bea3473
UD
100792011-12-02 Ulrich Drepper <drepper@gmail.com>
10080
3a965496
UD
10081 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10082 problem.
10083
9bea3473
UD
10084 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10085
f101631b
UD
100862011-11-29 Joseph Myers <joseph@codesourcery.com>
10087
10088 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10089 conditional on GCC version.
10090 (__arch_compare_and_exchange_val_8_acq)
10091 (__arch_compare_and_exchange_val_16_acq)
10092 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10093 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10094 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10095
a98275aa
UD
100962011-12-02 Joseph Myers <joseph@codesourcery.com>
10097
10098 * sysdeps/sh/backtrace.c: New file.
10099
d4cc29a2
AS
101002011-12-02 Andreas Schwab <schwab@redhat.com>
10101
10102 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
10103 parenthesis.
10104
6257af2d
AS
101052011-12-01 Andreas Schwab <schwab@redhat.com>
10106
10107 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10108 falling back to utime.
10109
b5f44c1a
AS
101102011-11-30 Andreas Schwab <schwab@redhat.com>
10111
10112 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10113 expectations for float.
10114
f3a6cc0a
AS
101152011-11-29 Andreas Schwab <schwab@redhat.com>
10116
10117 * locale/weight.h (findidx): Add parameter len.
10118 * locale/weightwc.h (findidx): Likewise.
10119 * posix/fnmatch_loop.c (FCT): Adjust caller.
10120 * posix/regcomp.c (build_equiv_class): Likewise.
10121 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10122 * posix/regexec.c (check_node_accept_bytes): Likewise.
10123 * string/strcoll_l.c (STRCOLL): Likewise.
10124 * string/strxfrm_l.c (STRXFRM): Likewise.
10125
9d65ea3a
UD
101262011-11-17 Ulrich Drepper <drepper@gmail.com>
10127
10128 * Makefile.in: Remove CVSOPT handling.
10129 * configure.in: Remove use of AC_REVISION.
10130 * iconvdata/Makefile (distribute): No need to filter out CVS.
10131 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10132 handling.
10133
5583a086
AS
101342011-11-16 Andreas Schwab <schwab@redhat.com>
10135
10136 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10137 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10138 [USE_AS_STRNCASECMP_L]: Likewise.
10139 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10140 NO_TLS_DIRECT_SEG_REFS.
10141 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10142 Fix argument offsets for non-PIC.
10143 [USE_AS_STRNCASECMP_L]: Likewise.
10144 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10145 NO_TLS_DIRECT_SEG_REFS.
10146
d62a8200
UD
101472011-11-15 Ulrich Drepper <drepper@gmail.com>
10148
9d65ea3a 10149 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
10150 O_CLOEXEC.
10151 * locale/loadlocale.c (_nl_load_locale): Likewise.
10152
09f93bd3
AS
101532011-11-15 Andreas Schwab <schwab@redhat.com>
10154
446514f9
AS
10155 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10156 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10157 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10158 (SYSCALL_GETTIME): Set errno on error.
10159
09f93bd3
AS
10160 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10161 count references to noai6ai_cached.
10162
312be3f9
UD
101632011-11-15 Ulrich Drepper <drepper@gmail.com>
10164
10165 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10166
10167 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10168 FD_CLOEXEC for /proc/self/maps.
10169
10170 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10171 FD_CLOEXEC for /proc/meminfo.
10172
10173 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10174 gai.conf.
10175
10176 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10177 FD_CLOEXEC for given file.
10178
10179 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10180
10181 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10182 FD_CLOEXEC for /etc/hosts.
10183 (_gethtent): Likewise.
10184
10185 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10186
10187 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10188 cancellation and set FD_CLOEXEC for /etc/netgroup.
10189
10190 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10191 reading /etc/publickey.
10192
10193 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10194 allow cancellation when reading /etc/group.
10195
10196 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10197 cancellation.
10198 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10199
10200 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10201 when using data file.
10202
10203 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10204
10205 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10206 (write_nis_obj): Use "c" and "e" in fopen.
10207
10208 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10209
10210 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10211
10212 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10213
10214 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10215
10216 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10217 locale.alias.
10218
10219 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10220
10221 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10222
10223 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10224
10225 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10226 file parsing and set FD_CLOEXEC.
10227
82af0fa8
UD
102282011-11-14 Ulrich Drepper <drepper@gmail.com>
10229
10230 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10231
a5fb313c
AS
102322011-11-14 Andreas Schwab <schwab@redhat.com>
10233
10234 * malloc/arena.c (arena_get2): Don't call reused_arena when
10235 _int_new_arena failed.
10236
6abf3465
UD
102372011-11-14 Ulrich Drepper <drepper@gmail.com>
10238
10239 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10240 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10241 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10242 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10243 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10244 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10245 to compile strcasecmp and strncasecmp.
10246 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10247 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10248
10249 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10250
76e3966e
UD
102512011-11-13 Ulrich Drepper <drepper@gmail.com>
10252
10253 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10254 locale-defines.sym to gen-as-const-headers.
10255 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10256 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10257 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10258 to compile strcasecmp and strncasecmp.
10259 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10260 strcasecmp_l and strncasecmp_l.
10261 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10262 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10263 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10264 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10265 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10266 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10267 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10268 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10269 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10270 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10271 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10272
ab26144e
UD
102732011-11-12 Ulrich Drepper <drepper@gmail.com>
10274
7edb22ef
UD
10275 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10276 result of SYSDEP_GETTIME_CPU to retval.
10277 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10278 parameter list to macro. Remove trailing semicolon. Adjust users.
10279
9694fc44
UD
10280 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10281 variable.
10282
8ad89ef8
UD
10283 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10284 mantissa words.
10285 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10286
0c822ef9
UD
10287 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10288 from unused variable.
10289
874e0564
UD
10290 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10291 DWARF definitions.
10292 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10293 for assembling.
10294
3a2edc79
UD
10295 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10296 over namespaces.
10297
f3c2577f
UD
10298 * sunrpc/rpc_prot.c (rejected): Fix case value.
10299
294ce126
UD
10300 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10301 unsigned long long int to avoid warnings in shift.
10302
5e2b63c6
UD
10303 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10304 of use of trans.
10305 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10306 variable tmp.
10307
e7f4b08e
UD
10308 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10309 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10310 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10311
ab26144e
UD
10312 * nis/nis_table.c (nis_list): Use variable of correct type for
10313 result of __follow_path call.
10314
8a6d5255
AZ
103152011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10316
10317 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10318 of math functions ceil, trunc, floor, round, and sqrt, when
10319 avaliable on the platform.
10320 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10321 name clash.
10322 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10323 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10324 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10325
aaddc98c
MP
103262011-10-30 Marek Polacek <mpolacek@redhat.com>
10327
10328 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10329 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10330
95b7042b
RM
103312011-11-11 Roland McGrath <roland@hack.frob.com>
10332
10333 * include/unistd.h: Fix __readlink return type.
10334 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10335
57769839
UD
103362011-11-11 Ulrich Drepper <drepper@gmail.com>
10337
10338 * stdlib/ucontext.h: Undo last change for makecontext.
10339
edc5984d
AS
103402011-11-11 Andreas Schwab <schwab@redhat.com>
10341
98591e58
AS
10342 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10343
edc5984d
AS
10344 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10345 * setjmp/setjmp.h: Mark functions as non-leaf.
10346 * setjmp/bits/setjmp2.h: Likewise.
10347 * stdlib/ucontext.h: Likewise.
10348
77cdc054
AS
103492011-11-10 Andreas Schwab <schwab@redhat.com>
10350
10351 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10352 (reused_arena): Don't check arena limit.
10353 (arena_get2): Atomically check arena limit.
10354
fe72eebd
UD
103552011-11-08 Ulrich Drepper <drepper@gmail.com>
10356
5f078c32
UD
10357 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10358 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10359
fe72eebd
UD
10360 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10361 instructions.
10362
ae1bc2fa
AS
103632011-11-07 Andreas Schwab <schwab@redhat.com>
10364
7583a88d
AS
10365 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10366 handler when locking.
10367
ae1bc2fa
AS
10368 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10369 Fix size of allocated buffer.
10370
10fb0bfa
AS
103712011-11-04 Andreas Schwab <schwab@redhat.com>
10372
998832a4
AS
10373 [BZ #10103]
10374 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10375 declarations for long double functions.
10376 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10377
10fb0bfa
AS
10378 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10379
3d7ba52b
AS
103802011-11-03 Andreas Schwab <schwab@redhat.com>
10381
a9ae54a1
AS
10382 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10383 installed.
10384
3d7ba52b
AS
10385 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10386 is disabled.
10387
bc8db248
ST
103882011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10389
10390 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10391
45b96dd6
AS
103922011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10393
647776f6
AS
10394 * include/alloca.h (stackinfo_alloca_round): Define.
10395 (extend_alloca): Use it.
10396 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10397 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10398 here.
10399
d91a8b93
AS
10400 * scripts/check-local-headers.sh: Ignore libaudit.h.
10401
45b96dd6
AS
10402 * nscd/Makefile (extra-objs): Make recursively expanded.
10403
432d41ce
UD
104042011-11-01 Ulrich Drepper <drepper@gmail.com>
10405
34372fc6
UD
10406 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10407 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10408
fadb59f8
UD
10409 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10410 * posix/tst-rfc3484-2.c: Likewise.
10411 * posix/tst-rfc3484-3.c: Likewise.
10412
78239589
UD
10413 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10414 process_vm_writev.
10415 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10416 process_vm_writev.
10417 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10418 process_vm_writev from libc using GLIBC_2.15 version.
10419
432d41ce
UD
10420 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10421
02f9c6cf
PP
104222011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10423
10424 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10425 stack usage.
10426
3a2c0242
UD
104272011-10-31 Ulrich Drepper <drepper@gmail.com>
10428
f4ec4833
UD
10429 [BZ #13367]
10430 * nss/getent.c (initgroups_keys): Show error message in case no group
10431 names are given.
10432
3a2c0242
UD
10433 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10434 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10435 __bump_nl_timestamp.
10436 * nscd/connections (nscd_init): When host database is served open
10437 netlink socket and request notification about configuration changes.
10438 (main_loop_poll): Track netlink file descriptor and bump timestamp
10439 in case data becomes available.
10440 (main_loop_epoll): Likewise.
10441 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10442 (database_pers_head): Add extra_data fileds.
10443 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10444 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10445 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10446 Adjust caller.
10447 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10448 in6ai data, call __free_in6ai.
10449 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10450 Add -DHAVE_NETLINK.
10451 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10452 interface information. Reuse previous data if netlink timestamp
10453 is not changed.
10454 (__bump_nl_timestamp): New function.
10455 (__free_in6ai): New function.
10456
636064eb
UD
104572011-10-30 Ulrich Drepper <drepper@gmail.com>
10458
10459 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10460 close_not_cancel_no_status here.
10461 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10462
9beb2334
UD
104632011-10-29 Ulrich Drepper <drepper@gmail.com>
10464
6ef76f3b
UD
10465 [BZ #13276]
10466 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10467 return value.
10468
0ffc4f3e 10469 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
10470 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10471 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10472
cb95113e
UD
104732011-07-03 Andreas Jaeger <aj@suse.de>
10474
10475 [BZ #10709]
10476 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10477 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10478 * math/libm-test.inc (sin_test): Add test case.
10479
a1b560ff
UD
104802011-10-29 Ulrich Drepper <drepper@gmail.com>
10481
c9aaface
UD
10482 [BZ #13337]
10483 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10484 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10485
d272e7f1
UD
10486 * elf/chroot_canon.c (chroot_canon): Cleanups.
10487
1bc33071
UD
10488 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10489
1760874d
TJ
10490 [BZ #13335]
10491 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10492 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10493
51d91b18
UD
10494 * string/test-strchr.c: Make usable for strchrnul testing.
10495 * string/test-strchrnul.c: New file.
10496 * string/Makefile (strop-tests): Add strchrnul.
10497
a1b560ff 10498 * po/it.po: Update from translation team.
b611fb81 10499 * po/es.po: Likewise.
a1b560ff 10500
a5b81e1f
UD
105012011-10-28 Ulrich Drepper <drepper@gmail.com>
10502
fd52bc6d
UD
10503 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10504 the three constants needed as parameters. Drop the others.
10505 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10506 __m128i_strloadu_tolower.
52e4b9eb
UD
10507 Create and initialize variable zero and use it in all the places
10508 where _mm_setzero_si128 was used.
fd52bc6d 10509
a5b81e1f
UD
10510 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10511 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10512 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10513 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10514 anymore.
10515 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10516 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10517 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10518 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10519 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10520 __mpranred, __mptan.
10521 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10522 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10523 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10524 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10525 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10526 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10527 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10528 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10529 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10530
b4343346
AS
105312011-10-28 Andreas Schwab <schwab@redhat.com>
10532
0c92d8a8
AS
10533 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10534 redefine if SHARED.
10535 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10536
b4343346
AS
10537 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10538 wide char related routines to wcsmbs subdir.
10539
3871f58f
AS
105402011-10-27 Andreas Schwab <schwab@redhat.com>
10541
10542 [BZ #13344]
10543 * misc/sys/cdefs.h (__THROWNL): Define.
10544 * posix/unistd.h: Use __THREADNL instead of __THREAD
10545 for memory synchronization functions.
10546
94d44d9f
RM
105472011-10-26 Roland McGrath <roland@hack.frob.com>
10548
21b64b15 10549 [BZ #13349]
94d44d9f
RM
10550 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10551 doesn't exist.
10552 * manual/stdio.texi (Obstack Streams): Node removed.
10553
f6ce9294
AS
105542011-10-26 Andreas Schwab <schwab@redhat.com>
10555
80479147
AS
10556 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10557 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10558 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10559
f6ce9294
AS
10560 * math/math_private.h (math_force_eval): Allow non-addressable
10561 arguments.
10562 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10563
618280a1
UD
105642011-10-25 Ulrich Drepper <drepper@gmail.com>
10565
e0016b11
UD
10566 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10567 file is not needed.
10568
10569 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10570 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10571 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10572 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10573 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10574 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10575 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10576 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10577 Add AVX variants.
10578 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10579 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10580 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10581 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10582 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10583 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10584 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10585 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10586 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10587 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10588 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10589 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10590 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10591 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10592 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10593 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10594 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10595 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10596 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10597
10598 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10599 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10600
618280a1
UD
10601 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10602 place. Use VEX encoding when compiling for AVX.
10603
37822576
AS
106042011-10-25 Andreas Schwab <schwab@redhat.com>
10605
1f1e1947
AS
10606 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10607 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10608
37822576
AS
10609 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10610
31ea014d
UD
106112011-10-25 Ulrich Drepper <drepper@gmail.com>
10612
d7826aa1 10613 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 10614 useless if() expression.
d7826aa1
UD
10615 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10616 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10617 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10618 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10619 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10620 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10621 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10622 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10623 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10624 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10625 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10626 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10627 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10628 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10629 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10630 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10631 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10632 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10633 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10634
31ea014d
UD
10635 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10636
16437fec
AS
106372011-10-25 Andreas Schwab <schwab@redhat.com>
10638
10639 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10640 condition.
10641 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10642
31d3cc00
UD
106432011-10-25 Ulrich Drepper <drepper@gmail.com>
10644
10645 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10646 .text section. Avoid duplicate constants.
10647 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10648 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10649 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10650 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10651 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10652 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10653 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10654 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10655 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10656 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10657 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10658 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10659 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10660 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10661 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10662 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10663 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10664 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10665 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10666 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10667 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10668 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10669 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10670 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10671 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10672 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10673 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10674 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10675 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10676 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10677 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10678 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10679 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10680 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10681 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10682 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10683 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10684 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10685 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10686 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10687 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10688 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10689 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10690 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10691 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10692
58985aa9
UD
106932011-10-24 Ulrich Drepper <drepper@gmail.com>
10694
202c9deb
UD
10695 * sysdeps/x86_64/dla.h: Move to ...
10696 * sysdeps/x86_64/fpu/dla.h: ...here.
10697 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10698 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 10699
af968f62
UD
10700 * config.make.in: Add have-mfma4 entry.
10701 * configure.in: Substitute libc_cv_cc_fma4.
10702 * math/Makefile (dbl-only-routines): Add sincostab.
10703 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10704 Use __sincostab not sincos.
10705 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10706 name is a macro.
10707 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10708 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10709 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10710 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10711 using __copysign.
10712 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10713 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10714 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10715 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10716 and __inv.
10717 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10718 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10719 __copysign.
10720 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10721 define aliases when function name is a macro.
10722 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10723 sysdeps/ieee754/dbl-64/sincos.tbl.
10724 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10725 fma4-enabled routines.
10726 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10727 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10728 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10729 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10730 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10731 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10732 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10733 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10734 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10735 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10736 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10737 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10738 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10739 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10740 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10741 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10742 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10743 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10744 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10745 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10746 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10747 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10748 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10749 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10750 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10751 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10752 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10753 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10754 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10755 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10756
58985aa9
UD
10757 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10758 rename.
10759 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10760 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10761 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10762 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10763 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10764 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10765 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10766 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10767
a201fbcf
AS
107682011-10-24 Andreas Schwab <schwab@redhat.com>
10769
10770 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10771
fc2ee42a
LD
107722011-10-23 Ulrich Drepper <drepper@gmail.com>
10773
bb3129bd
UD
10774 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10775
0275fff8
UD
10776 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10777 prediction.
10778 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10779
2fa2ae85
UD
10780 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10781 Remove unused variable magic_bits.
10782 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10783
fc2ee42a
LD
10784 * string/strnlen.c: Define and use STRNLEN macro.
10785 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10786 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10787 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10788 * wcsmbs/wcslen.c: Define and use WCSLEN.
10789 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10790 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10791 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10792 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10793 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10794 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10795 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10796
ce7dd29f
LD
107972011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10798
10799 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10800 strnlen-sse2-no-bsf.
10801 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10802 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10803 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10804 Add strnlen support.
10805 (USE_AS_STRNLEN): New macro.
10806 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10807 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10808 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10809 * sysdeps/x86_64/wcslen.S: New file.
10810
979c70a3
MZ
108112011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10812
10813 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10814 XMM-moves are used for copying on small sizes.
10815
2d09f82f
LD
108162011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10817
10818 * wcsmbs/Makefile (strop-tests): Add wcschr.
10819 * wcsmbs/test-wcschr.c: New file.
10820 * string/test-strchr.c: Update.
10821 Add wcschr support.
10822 (WIDE): New macro.
10823
619fccca
LD
108242011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10825
2d09f82f 10826 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
10827 * wcsmbs/test-wcslen.c: New file.
10828 * string/test-strlen.c: Update.
10829 Add wcslen support.
10830 (WIDE): New macro.
10831
09f699ea
UD
108322011-10-23 Ulrich Drepper <drepper@gmail.com>
10833
10834 * po/it.po: Update from translation team.
10835
95584d3b
LD
108362011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10837
10838 * sysdeps/x86_64/wcscmp.S: Update.
10839 Fix wrong comparison semantics.
10840 wcscmp shall use signed comparison not unsigned.
10841 Don't use substraction to avoid overflow bug.
10842 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10843 * wcsmbc/wcscmp.c: Likewise.
10844 * string/test-strcmp.c: Likewise.
10845 Add new tests to check cases with negative values.
10846
c8b3296b
UD
108472011-10-23 Ulrich Drepper <drepper@gmail.com>
10848
10849 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10850 * sysdeps/x86_64/dla.h: ...here. New file.
10851 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10852 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10853 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10854 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10855 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10856 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10857 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10858 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10859 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10860
246ad57a
AS
108612011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10862
10863 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10864 __ynl_finite aliases.
10865
a1a87169
UD
108662011-10-22 Ulrich Drepper <drepper@gmail.com>
10867
0d355eb7
UD
10868 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10869
a1a87169
UD
10870 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10871 define DLA_FMA.
10872 [DLA_FMA] (EMULV): Use DLA_FMA.
10873 [DLA_FMA] (MUL12): Use EMULV.
10874 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10875 that are not needed.
10876 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10877 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10878 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10879 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10880 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10881 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10882 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10883
ee2aafe0
AS
108842011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10885
10886 * math/s_nan.c: Undef __nan.
10887 * math/s_nanf.c: Undef __nanf.
10888 * math/s_nanl.c: Undef __nanl.
10889 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10890 "math_private.h".
10891
bc62c2fb
UD
108922011-10-22 Ulrich Drepper <drepper@gmail.com>
10893
77425c63
UD
10894 * math/s_catan.c: Add branch predictions.
10895 * math/s_catanf.c: Likewise.
10896 * math/s_catanh.c: Likewise.
10897 * math/s_catanhf.c: Likewise.
10898 * math/s_catanhl.c: Likewise.
10899 * math/s_catanl.c: Likewise.
10900 * math/s_cexp.c: Likewise.
10901 * math/s_cexpf.c: Likewise.
10902 * math/s_cexpl.c: Likewise.
10903 * math/s_clog.c: Likewise.
10904 * math/s_clog10.c: Likewise.
10905 * math/s_clog10f.c: Likewise.
10906 * math/s_clog10l.c: Likewise.
10907 * math/s_clogf.c: Likewise.
10908 * math/s_clogl.c: Likewise.
10909 * math/s_csqrt.c: Likewise.
10910 * math/s_csqrtf.c: Likewise.
10911 * math/s_csqrtl.c: Likewise.
10912 * math/s_ctanf.c: Likewise.
10913 * math/s_ctanh.c: Likewise.
10914 * math/s_ctanhf.c: Likewise.
10915 * math/s_ctanhl.c: Likewise.
10916 * math/s_ctanl.c: Likewise.
10917
bc62c2fb
UD
10918 * math/math_private.h: Define __nan, __nanf, __nanl.
10919 * math/s_cacosh.c: Include <math_private.h>.
10920 * math/s_cacoshl.c: Likewise.
10921 * math/s_casinh.c: Likewise.
10922 * math/s_casinhf.c: Likewise.
10923 * math/s_casinhl.c: Likewise.
10924 * math/s_ccos.c: Rely entire on ccosh.
10925 * math/s_ccosf.c: Rely entire on ccoshf.
10926 * math/s_ccosl.c: Rely entirely on ccoshl.
10927 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10928 Remove tests for FE_INVALID.
10929 * math/s_ccoshf.c: Likewise.
10930 * math/s_ccoshl.c: Likewise.
10931 * math/s_csin.c: Likewise.
10932 * math/s_csinf.c: Likewise.
10933 * math/s_csinh.c Likewise.
10934 * math/s_csinhf.c: Likewise.
10935 * math/s_csinhl.c: Likewise.
10936 * math/s_csinl.c: Likewise.
10937 * math/s_ctan.c: Likewise.
10938 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10939 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10940 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10941
8ec250a4
UD
109422011-10-21 Ulrich Drepper <drepper@gmail.com>
10943
c196fed8
UD
10944 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10945 compilation problems.
10946
8ec250a4
UD
10947 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10948 __builtin_expect.
10949
8d4f46c6
UD
109502011-10-20 Ulrich Drepper <drepper@gmail.com>
10951
ed72b654
UD
10952 * sysdeps/i386/configure.in: Test for -mfma4 option.
10953 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10954 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10955 COMMON_CPUID_INDEX_80000001.
10956 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10957 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10958 use it if FMA3 is not supported.
10959 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10960
8d4f46c6
UD
10961 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10962 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10963
d45c60c2
AS
109642011-10-20 Andreas Schwab <schwab@redhat.com>
10965
10966 [BZ #12892]
10967 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10968 it would create a cycle with a link time dependency.
10969
d9a4d2ab
UD
109702011-10-19 Ulrich Drepper <drepper@gmail.com>
10971
855d1560
UD
10972 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10973 instruction.
10974 * string/Makefile (strop-tests): Add rawmemchr.
10975 * string/test-rawmemchr.c: New file.
10976
d9a4d2ab
UD
10977 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10978 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10979 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10980 when compiling str{,n}casecmp and when AVX is available. Hook up
10981 new optimized code in initializers.
10982
8f3b1ffe
AS
109832011-10-19 Andreas Schwab <schwab@redhat.com>
10984
10985 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10986 __feraiseexcept instead of feraiseexcept.
10987
d38f1dba
UD
109882011-10-18 Ulrich Drepper <drepper@gmail.com>
10989
d9a8d0ab
UD
10990 * math/math_private.h: Define defaults for libc_fetestexcept and
10991 libc_feupdateenv.
10992 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10993 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10994 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10995 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10996 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10997 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10998 libc_fetestexcept and libc_feupdateenv.
10999
4855e3dd
UD
11000 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
11001 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
11002 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
11003 * sysdeps/x86_64/fpu/math_private.h: Define special version of
11004 libc_feholdexcept_setround.
11005
581d30e3
UD
11006 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
11007 Add s_nearbyint-c and s_nearbyintf-c.
11008 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
11009 nearbyintf inlines.
11010 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
11011 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
11012 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
11013 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
11014
d38f1dba
UD
11015 * math/math_private.h: Define defaults for libc_fegetround,
11016 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
11017 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
11018 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
11019 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
11020 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
11021 standard functions.
11022 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11023 Remove comments and hacks for old compiler versions.
11024 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11025 libc_fegetround, libc_fesetround, libc_feholdexcept, and
11026 libc_feholdexceptl.
11027
caa6c9d8
AS
110282011-10-18 Andreas Schwab <schwab@redhat.com>
11029
11030 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
11031 (__feraiseexcept_renamed): Add __NTH.
11032 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
11033 namespace violations.
11034
97c066e6
UD
110352011-10-17 Ulrich Drepper <drepper@gmail.com>
11036
99ce7b04
UD
11037 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
11038
1004d182
UD
11039 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
11040
228a984d
UD
11041 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
11042 recently added interfaces.
11043 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
11044
c8553a6a
UD
11045 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
11046 about macro parameter expansion.
11047
ed22dcf6
UD
11048 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
11049 __NO_MATH_INLINES is defined. Cleanups.
11050
11051 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
11052 and __floorf is target has SSE4.1.
11053 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
11054 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
11055 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
11056 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
11057
b171c137
UD
11058 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
11059 name.
11060 (floorf): Likewise.
11061
97c066e6
UD
11062 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
11063
629f62ef
AS
110642011-10-17 Andreas Schwab <schwab@redhat.com>
11065
49a43d80
AS
11066 * misc/sys/cdefs.h: Fix last change.
11067
629f62ef
AS
11068 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
11069 database lookup.
11070
e453f6cd
UD
110712011-10-16 Ulrich Drepper <drepper@gmail.com>
11072
aa78043a
UD
11073 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
11074
ad0f5cad
UD
11075 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
11076 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11077 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11078 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11079 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11080 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11081 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11082 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11083 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11084 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11085 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11086 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11087 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11088 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11089 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11090 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11091 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11092 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11093 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11094 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11095 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11096 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11097
11098 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11099 ceil, ceilf, floor, floorf.
11100
11101 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11102 Perform IRELATIVE relocations last.
11103
e453f6cd
UD
11104 * elf/do-rel.h: Add another parameter nrelative, replacing the
11105 local variable with the same name. Change name of the function
11106 to end in Rel or Rela (uppercase).
11107 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11108 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
11109 elf_dynamic_do_##reloc function.
11110
fd5bdc09
UD
111112011-10-15 Ulrich Drepper <drepper@gmail.com>
11112
79b195b5
UD
11113 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11114 is sufficient, at least on modern CPUs.
11115
d4a28569
UD
11116 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11117
b61099b5
UD
11118 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11119 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11120
bcf01e6d
UD
11121 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11122 __expl_finite.
11123 * math/bits/math-finite.h: Add entries for exp.
11124 * math/e_expl.c: Add __*_finite alias.
11125 * sysdeps/i386/fpu/e_exp.S: Likewise.
11126 * sysdeps/i386/fpu/e_expf.S: Likewise.
11127 * sysdeps/i386/fpu/e_expl.c: Likewise.
11128 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11129 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11130 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11131 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11132 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11133 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11134 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11135
ba1a0d59
UD
11136 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11137 is sufficient, at least on modern CPUs.
11138
fd5bdc09
UD
11139 * ctype/ctype-info.c (__ctype_init): Define.
11140 * include/ctype.h (__ctype_init): Declare.
11141 (__ctype_b_loc): The variable is always initialized.
11142 (__ctype_toupper_loc): Likewise.
11143 (__ctype_tolower_loc): Likewise.
11144 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11145 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11146
7872cfb0
AS
111472011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11148
b468825a
AS
11149 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11150
7872cfb0
AS
11151 * configure.in: Also look in $cxxmachine/include for C++ system
11152 headers.
11153
be13f7bf
LD
111542011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11155
11156 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11157 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11158 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11159 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11160 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11161 (USE_AS_WMEMCMP): New macro.
11162 Fixing indents.
11163 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11164 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11165 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11166 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11167 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11168 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11169 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11170 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11171 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11172 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11173 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11174 (USE_AS_WMEMCMP): New macro.
11175 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11176 * sysdeps/string/test-memcmp.c: Update.
11177 Fix simple_wmemcmp.
11178 Add new tests.
11179 * wcsmbs/wmemcmp.c: Update.
11180 (WMEMCMP): New macro.
11181 Fix overflow bug.
11182
556a2007
AJ
111832011-10-12 Andreas Jaeger <aj@suse.de>
11184
11185 [BZ #13268]
11186 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11187
538faaa7
UD
111882011-10-15 Ulrich Drepper <drepper@gmail.com>
11189
ab6737ff
UD
11190 * libio/iofwide.c (do_length): Avoid warning.
11191
538faaa7
UD
11192 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11193
396a21b1
UD
111942011-10-14 Ulrich Drepper <drepper@gmail.com>
11195
cdf2901f
UD
11196 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11197
38ad40ce
UD
11198 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11199 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11200 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11201 * sysdeps/i386/i686/fpu/e_log.S: New file.
11202 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11203 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11204
396a21b1
UD
11205 * ctype/ctype.h: Add support for inlined isXXX functions when
11206 compiling C++ code.
11207
6b1f68c9
AS
112082011-10-14 Andreas Schwab <schwab@redhat.com>
11209
349290c0
AS
11210 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11211
6b1f68c9
AS
11212 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11213
f2282d42
RM
112142011-10-13 Roland McGrath <roland@hack.frob.com>
11215
11216 [BZ #13291]
11217 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11218
5298ffa8
AS
112192011-10-13 Andreas Schwab <schwab@redhat.com>
11220
714fad23
AS
11221 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11222 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11223 feraiseexcept.
11224
81dcc7fb
AS
11225 * sysdeps/x86_64/memrchr.S: Check for zero size.
11226
5298ffa8
AS
11227 * string/stratcliff.c: Add memrchr tests.
11228
951fbcec
LD
112292011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11230
11231 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11232 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11233 rawmemchr-sse2 rawmemchr-sse2-bsf.
11234 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11235 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11236 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11237 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11238 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11239 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11240 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11241 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11242 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11243 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11244 * string/memrchr.c (MEMRCHR): New macro.
11245
0ac5ae23
UD
112462011-10-12 Ulrich Drepper <drepper@gmail.com>
11247
11248 Add integration with gcc's -ffinite-math-only and optimize wrapper
11249 functions in libm.
11250 * Versions.def: Define GLIBC_2.15 version for libm.
11251 * math/Makefile (headers): Add bits/math-finite.h.
11252 * math/bits/math-finite.h: New file.
11253 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11254 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11255 * math/e_acoshl.c: Add __*_finite alias.
11256 * math/e_acosl.c: Likewise.
11257 * math/e_asinl.c: Likewise.
11258 * math/e_atan2l.c: Likewise.
11259 * math/e_atanhl.c: Likewise.
11260 * math/e_coshl.c: Likewise.
11261 * math/e_exp10.c: Likewise.
11262 * math/e_exp10f.c: Likewise.
11263 * math/e_exp10l.c: Likewise.
11264 * math/e_exp2l.c: Likewise.
11265 * math/e_fmodl.c: Likewise.
11266 * math/e_gammal_r.c: Likewise.
11267 * math/e_hypotl.c: Likewise.
11268 * math/e_j0l.c: Likewise.
11269 * math/e_j1l.c: Likewise.
11270 * math/e_jnl.c: Likewise.
11271 * math/e_lgammal_r.c: Likewise.
11272 * math/e_log10l.c: Likewise.
11273 * math/e_log2l.c: Likewise.
11274 * math/e_logl.c: Likewise.
11275 * math/e_powl.c: Likewise.
11276 * math/e_sinhl.c: Likewise.
11277 * math/e_sqrtl.c: Likewise.
11278 * math/e_scalb.c: Completely rewritten and optimized.
11279 * math/e_scalbf.c: Likewise.
11280 * math/e_scalbl.c: Likewise.
11281 * math/w_acos.c: Likewise.
11282 * math/w_acosf.c: Likewise.
11283 * math/w_acosl.c: Likewise.
11284 * math/w_acosh.c: Likewise.
11285 * math/w_acoshf.c: Likewise.
11286 * math/w_acoshl.c: Likewise.
11287 * math/w_asin.c: Likewise.
11288 * math/w_asinf.c: Likewise.
11289 * math/w_asinl.c: Likewise.
11290 * math/w_atan2.c: Likewise.
11291 * math/w_atan2f.c: Likewise.
11292 * math/w_atan2l.c: Likewise.
11293 * math/w_atanh.c: Likewise.
11294 * math/w_atanhf.c: Likewise.
11295 * math/w_atanhl.c: Likewise.
11296 * math/w_exp10.c: Likewise.
11297 * math/w_exp10f.c: Likewise.
11298 * math/w_exp10l.c: Likewise.
11299 * math/w_fmod.c: Likewise.
11300 * math/w_fmodf.c: Likewise.
11301 * math/w_fmodl.c: Likewise.
11302 * math/w_j0.c: Likewise.
11303 * math/w_j0f.c: Likewise.
11304 * math/w_j0l.c: Likewise.
11305 * math/w_j1.c: Likewise.
11306 * math/w_j1f.c: Likewise.
11307 * math/w_j1l.c: Likewise.
11308 * math/w_jn.c: Likewise.
11309 * math/w_jnf.c: Likewise.
11310 * math/w_log.c: Likewise.
11311 * math/w_logf.c: Likewise.
11312 * math/w_logl.c: Likewise.
11313 * math/w_log10.c: Likewise.
11314 * math/w_log10f.c: Likewise.
11315 * math/w_log10l.c: Likewise.
11316 * math/w_log2.c: Likewise.
11317 * math/w_log2f.c: Likewise.
11318 * math/w_log2l.c: Likewise.
11319 * math/w_pow.c: Likewise.
11320 * math/w_powf.c: Likewise.
11321 * math/w_powl.c: Likewise.
11322 * math/w_remainder.c: Likewise.
11323 * math/w_remainderf.c: Likewise.
11324 * math/w_remainderl.c: Likewise.
11325 * math/w_scalb.c: Likewise.
11326 * math/w_scalbf.c: Likewise.
11327 * math/w_scalbl.c: Likewise.
11328 * math/w_sqrt.c: Likewise.
11329 * math/w_sqrtf.c: Likewise.
11330 * math/w_sqrtl.c: Likewise.
11331 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11332 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11333 used.
11334 * math/math_private.h: Declare __kernel_standard_f.
11335 * math/w_cosh.c: Remove cruft and optimize a bit.
11336 * math/w_coshf.c: Likewise.
11337 * math/w_coshl.c: Likewise.
11338 * math/w_exp2.c: Likewise.
11339 * math/w_exp2f.c: Likewise.
11340 * math/w_exp2l.c: Likewise.
11341 * math/w_hypot.c: Likewise.
11342 * math/w_hypotf.c: Likewise.
11343 * math/w_hypotl.c: Likewise.
11344 * math/w_lgamma.c: Likewise.
11345 * math/w_lgamma_r.c: Likewise.
11346 * math/w_lgammaf.c: Likewise.
11347 * math/w_lgammaf_r.c: Likewise.
11348 * math/w_lgammal.c: Likewise.
11349 * math/w_lgammal_r.c: Likewise.
11350 * math/w_sinh.c: Likewise.
11351 * math/w_sinhf.c: Likewise.
11352 * math/w_sinhl.c: Likewise.
11353 * math/w_tgamma.c: Likewise.
11354 * math/w_tgammaf.c: Likewise.
11355 * math/w_tgammal.c: Likewise.
11356 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11357 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11358 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11359 Minor optimizations. Pretty printing. Remove cruft.
11360 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11361 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11362 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11363 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11364 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11365 * sysdeps/i386/fpu/e_asin.S: Likewise.
11366 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11367 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11368 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11369 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11370 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11371 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11372 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11373 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11374 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11375 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11376 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11377 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11378 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11379 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11380 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11381 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11382 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11383 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11384 * sysdeps/i386/fpu/e_log.S: Likewise.
11385 * sysdeps/i386/fpu/e_log10.S: Likewise.
11386 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11387 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11388 * sysdeps/i386/fpu/e_log2.S: Likewise.
11389 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11390 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11391 * sysdeps/i386/fpu/e_logf.S: Likewise.
11392 * sysdeps/i386/fpu/e_logl.S: Likewise.
11393 * sysdeps/i386/fpu/e_pow.S: Likewise.
11394 * sysdeps/i386/fpu/e_powf.S: Likewise.
11395 * sysdeps/i386/fpu/e_powl.S: Likewise.
11396 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11397 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11398 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11399 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11400 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11401 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11402 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11403 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11404 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11405 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11406 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11407 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11408 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11409 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11410 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11411 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11412 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11413 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11414 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11415 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11416 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11417 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11418 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11419 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11420 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11421 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11422 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11423 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11424 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11425 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11426 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11427 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11428 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11429 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11430 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11431 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11432 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11433 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11434 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11435 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11436 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11437 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11438 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11439 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11440 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11441 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11442 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11443 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11444 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11445 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11446 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11447 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11448 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11449 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11450 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11451 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11452 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11453 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11454 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11455 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11456 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11457 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11458 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11459 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11460 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11461 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11462 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11463 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11464 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11465 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11466 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11467 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11468 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11469 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11470 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11471 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11472 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11473 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11474 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11475 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11476 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11477 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11478 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11479 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11480 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11481 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11482 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11483 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11484 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11485 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11486 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11487 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11488 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11489 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11490 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11491 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11492 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11493 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11494 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11495 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11496 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11497 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11498 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11499 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11500 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11501 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11502 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11503 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11504 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11505 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11506 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11507 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11508 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11509 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11510 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11511 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11512 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11513 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11514 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11515 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11516 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11517 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11518 (__isnanf): Likewise.
11519 (__isinf_ns): Likewise.
11520 (__isinf_nsf): Likewise.
11521 (__finite): Likewise.
11522 (__finitef): Likewise.
11523 (__ieee754_sqrt): Define as macro.
11524 (__ieee754_sqrtf): Define as macro.
11525 (__ieee754_sqrtl): Define as macro.
11526 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11527 inlined copy.
11528 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11529 __FINITE_MATH_ONLY__ consistent.
11530 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11531
12cc2fcd
AS
115322011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11533
a843a204
AS
11534 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11535 of rawmemchr.
11536
12cc2fcd
AS
11537 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11538
c853acd5
UD
115392011-10-09 Ulrich Drepper <drepper@gmail.com>
11540
11541 * po/ja.po: Update from translation team.
11542
c658d255
RM
115432011-10-08 Roland McGrath <roland@hack.frob.com>
11544
110946e4
RM
11545 * locale/programs/locarchive.c (prepare_address_space): New function.
11546 (create_archive, enlarge_archive, open_archive): Use it.
11547
50604220
RM
11548 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11549 inside [SHARED], where it is used.
11550
c658d255
RM
11551 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11552
11553 * nss/getent.c (netgroup_keys): Remove unused variable.
11554 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11555
6a621eb7
UD
115562011-10-08 Ulrich Drepper <drepper@gmail.com>
11557
7edb55ce
UD
11558 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11559 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11560 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11561 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11562 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11563 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11564 * math/Makefile (libm-calls): Add s_isinf_ns.
11565 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11566 * math/multc3.c: Likewise.
11567 * math/s_casin.c: Likewise.
11568 * math/s_casinf.c: Likewise.
11569 * math/s_casinl.c: Likewise.
11570 * math/s_ccos.c: Likewise.
11571 * math/s_ccosf.c: Likewise.
11572 * math/s_ccosl.c: Likewise.
11573 * math/s_ctan.c: Likewise.
11574 * math/s_ctanf.c: Likewise.
11575 * math/s_ctanh.c: Likewise.
11576 * math/s_ctanhf.c: Likewise.
11577 * math/s_ctanhl.c: Likewise.
11578 * math/s_ctanl.c: Likewise.
11579 * math/w_fmod.c: Likewise.
11580 * math/w_fmodf.c: Likewise.
11581 * math/w_fmodl.c: Likewise.
11582 * math/w_remainder.c: Likewise.
11583 * math/w_remainderf.c: Likewise.
11584 * math/w_remainderl.c: Likewise.
11585 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11586 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11587 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11588 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11589 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11590 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11591 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11592 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11593
187da0ae
UD
11594 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11595 of the number.
11596 * stdio-common/printf_fphex.c: Likewise.
11597 * stdio-common/printf_size.c: Likewise.
11598
9277c064
UD
11599 * math/e_exp10.c: Include math_private.h using <...> not "...".
11600 * math/e_exp10f.c: Likewise.
11601 * math/e_exp10l.c: Likewise.
11602 * math/e_exp2l.c: Likewise.
11603 * math/e_j0l.c: Likewise.
11604 * math/e_j1l.c: Likewise.
11605 * math/e_jnl.c: Likewise.
11606 * math/e_lgammal_r.c: Likewise.
11607 * math/e_rem_pio2l.c: Likewise.
11608 * math/e_scalb.c: Likewise.
11609 * math/e_scalbf.c: Likewise.
11610 * math/e_scalbl.c: Likewise.
11611 * math/k_cosl.c: Likewise.
11612 * math/k_sinl.c: Likewise.
11613 * math/k_tanl.c: Likewise.
11614 * math/s_cacoshf.c: Likewise.
11615 * math/s_catan.c: Likewise.
11616 * math/s_catanf.c: Likewise.
11617 * math/s_catanh.c: Likewise.
11618 * math/s_catanhf.c: Likewise.
11619 * math/s_catanhl.c: Likewise.
11620 * math/s_catanl.c: Likewise.
11621 * math/s_ccosh.c: Likewise.
11622 * math/s_ccoshf.c: Likewise.
11623 * math/s_ccoshl.c: Likewise.
11624 * math/s_cexp.c: Likewise.
11625 * math/s_cexpf.c: Likewise.
11626 * math/s_cexpl.c: Likewise.
11627 * math/s_clog.c: Likewise.
11628 * math/s_clog10.c: Likewise.
11629 * math/s_clog10f.c: Likewise.
11630 * math/s_clog10l.c: Likewise.
11631 * math/s_clogf.c: Likewise.
11632 * math/s_clogl.c: Likewise.
11633 * math/s_csin.c: Likewise.
11634 * math/s_csinf.c: Likewise.
11635 * math/s_csinh.c: Likewise.
11636 * math/s_csinhf.c: Likewise.
11637 * math/s_csinhl.c: Likewise.
11638 * math/s_csinl.c: Likewise.
11639 * math/s_csqrt.c: Likewise.
11640 * math/s_csqrtf.c: Likewise.
11641 * math/s_csqrtl.c: Likewise.
11642 * math/s_ctan.c: Likewise.
11643 * math/s_ctanf.c: Likewise.
11644 * math/s_ctanh.c: Likewise.
11645 * math/s_ctanhf.c: Likewise.
11646 * math/s_ctanhl.c: Likewise.
11647 * math/s_ctanl.c: Likewise.
11648 * math/s_ldexp.c: Likewise.
11649 * math/s_ldexpf.c: Likewise.
11650 * math/s_ldexpl.c: Likewise.
11651 * math/s_significand.c: Likewise.
11652 * math/s_significandf.c: Likewise.
11653 * math/s_significandl.c: Likewise.
11654 * math/w_acos.c: Likewise.
11655 * math/w_acosf.c: Likewise.
11656 * math/w_acosh.c: Likewise.
11657 * math/w_acoshf.c: Likewise.
11658 * math/w_acoshl.c: Likewise.
11659 * math/w_acosl.c: Likewise.
11660 * math/w_asin.c: Likewise.
11661 * math/w_asinf.c: Likewise.
11662 * math/w_asinl.c: Likewise.
11663 * math/w_atan2.c: Likewise.
11664 * math/w_atan2f.c: Likewise.
11665 * math/w_atan2l.c: Likewise.
11666 * math/w_atanh.c: Likewise.
11667 * math/w_atanhf.c: Likewise.
11668 * math/w_atanhl.c: Likewise.
11669 * math/w_cosh.c: Likewise.
11670 * math/w_coshf.c: Likewise.
11671 * math/w_coshl.c: Likewise.
11672 * math/w_dremf.c: Likewise.
11673 * math/w_exp10.c: Likewise.
11674 * math/w_exp10f.c: Likewise.
11675 * math/w_exp10l.c: Likewise.
11676 * math/w_exp2.c: Likewise.
11677 * math/w_exp2f.c: Likewise.
11678 * math/w_fmod.c: Likewise.
11679 * math/w_fmodf.c: Likewise.
11680 * math/w_fmodl.c: Likewise.
11681 * math/w_hypot.c: Likewise.
11682 * math/w_hypotf.c: Likewise.
11683 * math/w_hypotl.c: Likewise.
11684 * math/w_j0.c: Likewise.
11685 * math/w_j0f.c: Likewise.
11686 * math/w_j0l.c: Likewise.
11687 * math/w_j1.c: Likewise.
11688 * math/w_j1f.c: Likewise.
11689 * math/w_j1l.c: Likewise.
11690 * math/w_jn.c: Likewise.
11691 * math/w_jnf.c: Likewise.
11692 * math/w_jnl.c: Likewise.
11693 * math/w_lgamma.c: Likewise.
11694 * math/w_lgamma_r.c: Likewise.
11695 * math/w_lgammaf.c: Likewise.
11696 * math/w_lgammaf_r.c: Likewise.
11697 * math/w_lgammal.c: Likewise.
11698 * math/w_lgammal_r.c: Likewise.
11699 * math/w_log.c: Likewise.
11700 * math/w_log10.c: Likewise.
11701 * math/w_log10f.c: Likewise.
11702 * math/w_log10l.c: Likewise.
11703 * math/w_log2.c: Likewise.
11704 * math/w_log2f.c: Likewise.
11705 * math/w_log2l.c: Likewise.
11706 * math/w_logf.c: Likewise.
11707 * math/w_logl.c: Likewise.
11708 * math/w_pow.c: Likewise.
11709 * math/w_powf.c: Likewise.
11710 * math/w_powl.c: Likewise.
11711 * math/w_remainder.c: Likewise.
11712 * math/w_remainderf.c: Likewise.
11713 * math/w_remainderl.c: Likewise.
11714 * math/w_scalb.c: Likewise.
11715 * math/w_scalbf.c: Likewise.
11716 * math/w_scalbl.c: Likewise.
11717 * math/w_sinh.c: Likewise.
11718 * math/w_sinhf.c: Likewise.
11719 * math/w_sinhl.c: Likewise.
11720 * math/w_sqrt.c: Likewise.
11721 * math/w_sqrtf.c: Likewise.
11722 * math/w_sqrtl.c: Likewise.
11723 * math/w_tgamma.c: Likewise.
11724 * math/w_tgammaf.c: Likewise.
11725 * math/w_tgammal.c: Likewise.
11726
6a621eb7
UD
11727 * po/ja.po: Update from translation team.
11728
bf582445
AJ
117292011-09-29 Andreas Jaeger <aj@suse.de>
11730
f9efbf3a
AJ
11731 [BZ #13179]
11732 * sunrpc/netname.c (netname2host): Fix logic.
11733
bf582445
AJ
11734 [BZ #6779]
11735 [BZ #6783]
11736 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11737 correctly.
11738 * math/w_remainder.c (__remainder): Likewise.
11739 * math/w_remainderf.c (__remainderf): Likewise.
11740 * math/libm-test.inc (remainder_test): Add test cases.
11741
48693bea
AK
117422011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11743
11744 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11745 sdiv_qrnnd.
11746
42622229
LD
117472011-10-07 Ulrich Drepper <drepper@gmail.com>
11748
11749 * string/test-memcmp.c: Avoid unncessary #defines.
11750 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11751
093ecf92
LD
117522011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11753
11754 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11755 Use new sse2 version for core i3 - i7 as it's faster
11756 than sse42 version.
11757 (bit_Prefer_PMINUB_for_stringop): New.
11758 * sysdeps/x86_64/rawmemchr.S: Update.
11759 Replace with faster SSE2 version.
11760 * sysdeps/x86_64/memrchr.S: New file.
11761 * sysdeps/x86_64/memchr.S: Update.
11762 Replace with faster SSE2 version.
11763
fde56e5c
MP
117642011-09-12 Marek Polacek <mpolacek@redhat.com>
11765
11766 * elf/dl-load.c (lose): Add cast to avoid warning.
11767
21fd49a9
UD
117682011-10-07 Ulrich Drepper <drepper@gmail.com>
11769
5a06e643
UD
11770 * po/ca.po: Update from translation team.
11771
684ae515
UD
11772 * inet/getnetgrent_r.c: Hook up nscd.
11773 * nscd/Makefile (routines): Add nscd_netgroup.
11774 (nscd-modules): Add netgroupcache.
11775 (CFLAGS-netgroupcache.c): Define.
11776 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11777 (cache_search): Add const to second parameter.
11778 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11779 INNETGR.
11780 (dbs): Add netgrdb entry.
11781 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11782 (verify_persistent_db): Handle netgrdb.
11783 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11784 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11785 GETFDNETGR.
11786 (netgroup_response_header): Define.
11787 (innetgroup_response_header): Define.
11788 (datahead): Add netgroup_response_header and innetgroup_response_header
11789 elements.
11790 * nscd/nscd.conf: Add entries for netgroup cache.
11791 * nscd/nscd.h (dbtype): Add netgrdb.
11792 (_PATH_NSCD_NETGROUP_DB): Define.
11793 (netgroup_iov_disabled): Declare.
11794 (xmalloc, xcalloc, xrealloc): Move declarations here.
11795 (cache_search): Adjust prototype.
11796 Add netgroup-related prototypes.
11797 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11798 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11799 (__nscd_innetgr): Declare.
11800 * nscd/selinux.c (perms): Use access_vector_t as element type and
11801 add netgroup-related initializers.
11802 * nscd/netgroupcache.c: New file.
11803 * nscd/nscd_netgroup.c: New file.
11804 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11805 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11806 For four parameters use innetgr.
11807 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11808 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11809 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11810 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11811
21fd49a9
UD
11812 * nscd/connections.c (register_traced_file): Don't register file
11813 for disabled databases.
11814
054c0457
UD
118152011-10-06 Ulrich Drepper <drepper@gmail.com>
11816
32b63198
UD
11817 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11818
054c0457
UD
11819 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11820 from tree and freeing node.
11821
64031225
JO
118222011-09-25 Jiri Olsa <jolsa@redhat.com>
11823
11824 * nss/nsswitch.c (__nss_database_lookup): Handle
11825 nss_parse_service_list out of memory case.
11826
0490345c
JO
118272011-09-15 Jiri Olsa <jolsa@redhat.com>
11828
11829 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11830 out of memory case.
11831
3a62d00d
AS
118322011-10-04 Andreas Schwab <schwab@redhat.com>
11833
11834 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11835 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11836 pass it down.
11837 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11838 elf_machine_rela, elf_machine_lazy_rel.
11839 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11840 (ELF_DYNAMIC_DO_REL): Likewise.
11841 (ELF_DYNAMIC_DO_RELA): Likewise.
11842 (ELF_DYNAMIC_RELOCATE): Likewise.
11843 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11844 to ELF_DYNAMIC_DO_REL.
11845 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11846 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11847 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11848 elf_machine_rela.
11849 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11850 skip_ifunc, don't call ifunc function if non-zero.
11851 (elf_machine_rela): Likewise.
11852 (elf_machine_lazy_rel): Likewise.
11853 (elf_machine_lazy_rela): Likewise.
11854 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11855 (elf_machine_lazy_rel): Likewise.
11856 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11857 Likewise.
11858 (elf_machine_lazy_rel): Likewise.
11859 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11860 Likewise.
11861 (elf_machine_lazy_rel): Likewise.
11862 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11863 (elf_machine_lazy_rel): Likewise.
11864 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11865 (elf_machine_lazy_rel): Likewise.
11866 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11867 (elf_machine_lazy_rel): Likewise.
11868 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11869 (elf_machine_lazy_rel): Likewise.
11870 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11871 (elf_machine_lazy_rel): Likewise.
11872 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11873 (elf_machine_lazy_rel): Likewise.
11874
68577918
UD
118752011-09-28 Ulrich Drepper <drepper@gmail.com>
11876
11877 * nss/nss_files/files-init.c (_nss_files_init): Use static
11878 initialization for all the *_traced_file variables.
11879
68822d74
AS
118802011-09-28 Andreas Schwab <schwab@redhat.com>
11881
11882 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11883
2056100b
RM
118842011-09-27 Roland McGrath <roland@hack.frob.com>
11885
11886 [BZ #13226]
11887 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11888
32c76b63
AS
118892011-09-27 Andreas Schwab <schwab@redhat.com>
11890
11891 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11892 Reread the line before reparsing it.
11893
bf972c9d
AS
118942011-09-26 Andreas Schwab <schwab@redhat.com>
11895
11896 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11897
e057a1b5
JM
118982011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11899 Maxim Kuvyrkov <maxim@codesourcery.com>
11900 Joseph Myers <joseph@codesourcery.com>
11901
11902 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11903 if needed for __stack_chk_guard.
11904
bc7e1c36
RM
119052011-09-19 Roland McGrath <roland@hack.frob.com>
11906
ecb1482f
RM
11907 * sysdeps/posix/spawni.c (script_execute): Always define it.
11908 It will be optimized away if unused.
11909 (maybe_script_execute): New function.
11910 (__spawni): Call it.
11911
bc7e1c36
RM
11912 * Makerules: Don't include tls.make.
11913 (config-tls): Always set to thread.
11914 * tls.make.c: File removed.
11915
1c3b002b
MF
119162011-09-19 Mike Frysinger <vapier@gentoo.org>
11917
11918 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11919 * config.make.in (CPPFLAGS-config): New substituted variable.
11920
2840865d
UD
119212011-09-15 Ulrich Drepper <drepper@gmail.com>
11922
88738eb6
UD
11923 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11924
cbf645a6 11925 [BZ #13192]
2840865d
UD
11926 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11927 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11928
b402e91a
RM
119292011-09-15 Roland McGrath <roland@hack.frob.com>
11930
11931 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11932 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11933 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11934 (CALL_FAIL): Likewise.
11935 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11936 (CALL_FAIL): Macro removed.
11937 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11938
4c1a1f71
UD
119392011-09-15 Ulrich Drepper <drepper@gmail.com>
11940
11941 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11942 for __FINITE_MATH_ONLY__ == 1.
11943
edc121be
AS
119442011-09-15 Andreas Schwab <schwab@redhat.com>
11945
11946 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11947 __ieee754_sqrt instead of sqrt.
11948 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11949 __ieee754_sqrtf instead of sqrtf.
11950 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11951 __floorf instead of floorf.
11952 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11953 __floorf, __truncf instead of floorf, truncf.
11954
cd205654
UD
119552011-09-14 Ulrich Drepper <drepper@gmail.com>
11956
ee4d0315
UD
11957 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11958
cd205654
UD
11959 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11960 __extern_always_inline.
11961 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11962 32-bit.
11963
48b67d71
AS
119642011-09-14 Andreas Schwab <schwab@redhat.com>
11965
11966 * elf/rtld.c (dl_main): Also relocate in dependency order when
11967 doing symbol dependency testing.
11968
1ae12c75
AS
119692011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11970
11971 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11972 Always define `refsym'.
11973
995a80df
AS
119742011-09-13 Andreas Schwab <schwab@redhat.com>
11975
e529793b
AS
11976 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11977 (__FD_ELT): Renamed from __FDELT.
11978 * misc/bits/select2.h (__FD_ELT): Likewise.
11979 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11980 __FD_MASK instead of __FDELT, __FDMASK.
11981 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11982 Likewise.
11983 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11984 Likewise.
11985
52d4fef8
AS
11986 * elf/Makefile (gen-ldd): Fix pattern.
11987
995a80df
AS
11988 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11989 (init_tls): Likewise.
11990
8682f8b0
UD
119912011-09-12 Ulrich Drepper <drepper@gmail.com>
11992
11993 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11994
de82006d
AS
119952011-09-12 Andreas Schwab <schwab@redhat.com>
11996
a7c8e6a1
AS
11997 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11998 `struct cmsghdr *' instead of `void *'.
11999 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
12000 Likewise.
12001
0f31fe77
AS
120022011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12003
12004 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
12005 if non-absolute.
12006 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
12007 ldd_rewrite_script.
0f31fe77 12008
32b4c839
UD
120092011-09-11 Ulrich Drepper <drepper@gmail.com>
12010
83cd1420
UD
12011 * configure.in: Remove --with-tls option.
12012 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
12013 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
12014 out in case it is missing.
12015 * sysdeps/ia64/elf/configure.in: Likewise.
12016 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
12017 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
12018 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
12019 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
12020 * sysdeps/sh/elf/configure.in: Likewise.
12021 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
12022 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12023 * sysdeps/x86_64/elf/configure.in: Likewise.
12024 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
12025 * sysdeps/mach/hurd/tls.h: Likewise.
12026
633f745d
UD
12027 [BZ #13067]
12028 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
12029
f318beb8
UD
12030 [BZ #13090]
12031 * configure.in: Fix use of AC_INIT.
12032
32b4c839
UD
12033 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
12034
3ce1f295
UD
120352011-09-10 Ulrich Drepper <drepper@gmail.com>
12036
bb016596
UD
12037 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
12038 __set_errno.
8e58439c
UD
12039 * malloc/hooks.c: Likewise.
12040
aebae053 12041 [BZ #11929]
02d46fc4
UD
12042 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
12043 variables statically.
12044 (narenas): Initialize.
12045 (list_lock): Initialize.
bb016596
UD
12046 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
12047 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
12048 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
12049 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
12050 Add initializers to main_arena and mp_.
12051 (malloc_state): Remove pagesize member. Change all users to use
12052 GLRO(dl_pagesize).
12053
12054 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
12055 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
12056 is always initialized.
12057
22a89187
UD
12058 * malloc/malloc.c: Removed unused configurations and dead code.
12059 * malloc/arena.c: Likewise.
12060 * malloc/hooks.c: Likewise.
02d46fc4 12061 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 12062
d063d164
UD
12063 * include/tls.h: Removed. USE___THREAD must always be defined.
12064 * bits/libc-tsd.h: Don't handle !USE___THREAD.
12065 * elf/dl-libc.c: Likewise.
12066 * elf/dl-tsd.c: Likewise.
12067 * include/errno.h: Likewise.
12068 * include/netdb.h: Likewise.
12069 * include/resolv.h: Likewise.
12070 * inet/herrno-loc.c: Likewise.
12071 * inet/herrno.c: Likewise.
12072 * malloc/arena.c: Likewise.
12073 * malloc/hooks.c: Likewise.
12074 * malloc/malloc.c: Likewise.
12075 * resolv/res-state.c: Likewise.
12076 * resolv/res_libc.c: Likewise.
12077 * sysdeps/i386/dl-machine.h: Likewise.
12078 * sysdeps/ia64/dl-machine.h: Likewise.
12079 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12080 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12081 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12082 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12083 * sysdeps/sh/dl-machine.h: Likewise.
12084 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12085 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12086 * sysdeps/unix/i386/sysdep.S: Likewise.
12087 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12088 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12089 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12090 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12091 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12092 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12093 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12094 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12095 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12096 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12097 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12098 * sysdeps/x86_64/dl-machine.h: Likewise.
12099 * tls.make.c: Likewise.
12100
3ce1f295
UD
12101 * configure.in: Remove --with-__thread option. Make tests for
12102 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12103 tls_model attribute fail if no support is available. Remove
12104 USE_IN_LIBIO.
12105 * Makeconfig: Adjust for dropped configure option. All features are
12106 now mandatory.
12107 * Makerules: Likewise.
12108 * Versions.def: Likewise.
12109 * argp/argp-fmtstream.c: Likewise.
12110 * argp/argp-fmtstream.h: Likewise.
12111 * argp/argp-help.c: Likewise.
12112 * assert/assert.c: Likewise.
12113 * config.h.in: Likewise.
12114 * config.make.in: Likewise.
12115 * configure: Likewise.
12116 * configure.in: Likewise.
12117 * csu/Versions: Likewise.
12118 * csu/init.c: Likewise.
12119 * elf/tst-audit2.c: Likewise.
12120 * elf/tst-tls10.c: Likewise.
12121 * elf/tst-tls10.h: Likewise.
12122 * elf/tst-tls11.c: Likewise.
12123 * elf/tst-tls12.c: Likewise.
12124 * elf/tst-tls14.c: Likewise.
12125 * elf/tst-tlsmod11.c: Likewise.
12126 * elf/tst-tlsmod12.c: Likewise.
12127 * elf/tst-tlsmod13.c: Likewise.
12128 * elf/tst-tlsmod13a.c: Likewise.
12129 * elf/tst-tlsmod14a.c: Likewise.
12130 * elf/tst-tlsmod15b.c: Likewise.
12131 * elf/tst-tlsmod16a.c: Likewise.
12132 * elf/tst-tlsmod16b.c: Likewise.
12133 * elf/tst-tlsmod7.c: Likewise.
12134 * elf/tst-tlsmod8.c: Likewise.
12135 * elf/tst-tlsmod9.c: Likewise.
12136 * gmon/gmon.c: Likewise.
12137 * grp/fgetgrent_r.c: Likewise.
12138 * grp/putgrent.c: Likewise.
12139 * hurd/fopenport.c: Likewise.
12140 * include/libc-symbols.h: Likewise.
12141 * include/tls.h: Likewise.
12142 * intl/gettextP.h: Likewise.
12143 * intl/loadinfo.h: Likewise.
12144 * locale/global-locale.c: Likewise.
12145 * locale/localeinfo.h: Likewise.
12146 * mach/devstream.c: Likewise.
12147 * malloc/arena.c: Likewise.
12148 * malloc/set-freeres.c: Likewise.
12149 * misc/err.c: Likewise.
12150 * misc/getttyent.c: Likewise.
12151 * misc/mntent_r.c: Likewise.
12152 * posix/getopt.c: Likewise.
12153 * posix/wordexp.c: Likewise.
12154 * pwd/fgetpwent_r.c: Likewise.
12155 * resolv/Versions: Likewise.
12156 * resolv/res_hconf.c: Likewise.
12157 * shadow/fgetspent_r.c: Likewise.
12158 * shadow/putspent.c: Likewise.
12159 * stdio-common/printf_fphex.c: Likewise.
12160 * stdio-common/tmpfile.c: Likewise.
12161 * stdlib/abort.c: Likewise.
12162 * stdlib/fmtmsg.c: Likewise.
12163 * sunrpc/auth_unix.c: Likewise.
12164 * sunrpc/clnt_perr.c: Likewise.
12165 * sunrpc/clnt_tcp.c: Likewise.
12166 * sunrpc/clnt_udp.c: Likewise.
12167 * sunrpc/clnt_unix.c: Likewise.
12168 * sunrpc/openchild.c: Likewise.
12169 * sunrpc/svc_simple.c: Likewise.
12170 * sunrpc/svc_tcp.c: Likewise.
12171 * sunrpc/svc_udp.c: Likewise.
12172 * sunrpc/svc_unix.c: Likewise.
12173 * sunrpc/xdr.c: Likewise.
12174 * sunrpc/xdr_array.c: Likewise.
12175 * sunrpc/xdr_rec.c: Likewise.
12176 * sunrpc/xdr_ref.c: Likewise.
12177 * sunrpc/xdr_stdio.c: Likewise.
12178
1248c1c4
PB
121792011-09-09 Ulrich Drepper <drepper@gmail.com>
12180
12181 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12182
121832011-07-03 Andreas Jaeger <aj@suse.de>
12184
12185 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12186 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12187 regenerate with gen-libm-tests.pl.
12188
121892010-05-12 Petr Baudis <pasky@suse.cz>
12190
12191 [BZ #11589]
12192 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12193 around j0() zero points by switching to j1().
12194 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12195 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12196 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12197 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12198
f22e1074
UD
121992011-09-09 Ulrich Drepper <drepper@gmail.com>
12200
f19009c1
UD
12201 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12202 instead of 0.
12203 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12204 instead of 0. .
12205 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12206 Patch in part by Pavel Roskin <proski@gnu.org>.
12207
3f8cc204
UD
12208 [BZ #13138]
12209 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12210 realloc.
12211 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12212 Free memory block if necessary.
12213
f22e1074
UD
12214 [BZ #12847]
12215 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12216 be NULL. Don't lock in this case.
12217
0a2349f9
RM
122182011-09-09 Roland McGrath <roland@hack.frob.com>
12219
12220 * elf/elf.h (ELFOSABI_GNU): New macro.
12221 (ELFOSABI_LINUX): Define to that.
12222
f3cdd467
DZ
122232011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12224
12225 * string/strncat.c (strncat): Undef the symbol in case it has been
12226 defined in bits/string.h.
12227
74718d13
UD
122282011-09-09 Ulrich Drepper <drepper@gmail.com>
12229
633e9e0f
UD
12230 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12231
0a2349f9 12232 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
12233 link map.
12234
f9924780
AJ
122352011-08-17 Andreas Jaeger <aj@suse.de>
12236
12237 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12238
7f5517aa
PP
122392011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12240 Ian Lance Taylor <iant@google.com>
12241
12242 * math/libm-test.inc (lround_test): New testcase.
12243 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12244
762011fe
UD
122452011-09-08 Ulrich Drepper <drepper@gmail.com>
12246
92963737
UD
12247 * Makefile: Remove support for automatic cvs check-ins.
12248 * Makerules: Likewise.
12249 * config.make.in: Likewise.
12250 * configure.in: Likewise.
12251 * intl/Makefile: Likewise.
12252 * locale/Makefile: Likewise.
12253 * po/Makefile: Likewise.
12254 * posix/Makefile: Likewise.
12255 * sysdeps/gnu/Makefile: Likewise.
12256 * sysdeps/mach/hurd/Makefile: Likewise.
12257 * sysdeps/sparc/sparc32/Makefile: Likewise.
12258
b0727fd8
JS
12259 [BZ #13118]
12260 * posix/Makefile (bug-regex32-ENV): Define.
12261 Patch by John Stanley <jpsinthemix@verizon.net>.
12262
a0f33f99
UD
12263 * misc/Makefile (headers): Add bits/select2.h.
12264 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12265 * misc/bits/select2.h: New file.
12266 * include/bits/select2.h: New file.
12267 * debug/Makefile (routines): Add fdelt_chk.
12268 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12269 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12270 FD_ISSET.
12271 * debug/fdelt_chk.c: New file.
12272
762011fe
UD
12273 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12274 * wcsmbs/test-wmemcmp.c: Likewise.
12275 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 12276 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
12277
122782011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12279
12280 * string/Makefile (strop-tests): Add memcmp.
12281 * string/test-wmemcmp.c: New file.
12282 * string/test-memcmp.c: Add wmemcmp support.
12283
7f513ec8
RM
122842011-09-08 Roland McGrath <roland@hack.frob.com>
12285
0442afb4
RM
12286 [BZ #13153]
12287 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12288 2011-07-19 change.
12289
7f513ec8
RM
12290 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12291 garbage value in a __mach_port_mod_refs call in the cases of the
12292 task-self and thread-self ports.
12293
a12b2239
ST
122942011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12295
12296 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12297
610f9ab4
AS
122982011-09-08 Andreas Schwab <schwab@redhat.com>
12299
7f513ec8 12300 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 12301
48882a1a
LD
123022011-09-07 Ulrich Drepper <drepper@gmail.com>
12303
b49865be
UD
12304 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12305
fdc86bc9
UD
12306 * elf/dl-libc.c (dlerror_run): Pass back error code from
12307 dl_catch_error.
12308
c966526a
UD
12309 [BZ #13123]
12310 * elf/dl-load.c (lose): Free l_origin if it is valid.
12311
48882a1a
LD
12312 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12313 names.
12314 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12315 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12316 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12317 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12318 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12319 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12320
77a2a8b4
AZ
123212011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12322
12323 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12324 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12325 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12326 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12327 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12328 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12329 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12330 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12331 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12332 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12333
24f579d8
AM
123342011-08-15 Alan Modra <amodra@gmail.com>
12335
12336 [BZ #13092]
12337 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12338 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12339 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12340 ppc_mcount to static-only-routines.
12341 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12342 __mcount_internal.
12343 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12344 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12345
3d4837df
UD
123462011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12347
12348 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12349 for finite and infinity parameters.
12350
22700377
WS
123512011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12352
12353 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12354 and add nop instructions for throughput optimization.
12355 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12356
5025581e
WS
123572011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12358
12359 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12360 aligned copy for power7 with vector-scalar instructions.
12361 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12362
08a300c9
L
123632011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12364
12365 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12366 AVX check.
12367
59178ef9
AS
123682011-09-07 Andreas Schwab <schwab@redhat.com>
12369
12370 [BZ #13144]
12371 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12372 last change.
12373
e38ba7ab
UD
123742011-09-07 Ulrich Drepper <drepper@gmail.com>
12375
12376 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12377 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12378 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12379 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12380 clock_gettime.
12381
d53a73ac
UD
123822011-09-06 Ulrich Drepper <drepper@gmail.com>
12383
fc8bffcc
UD
12384 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12385 Forgot to demangle the pointer.
12386
ceaa0c5d
UD
12387 * sysdeps/i386/sysdep.h: Define atom_text_section.
12388 * sysdeps/x86_64/sysdep.h: Likewise.
12389 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12390 section with atom_text_section.
12391 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12392 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12393 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12394 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12395 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12396
a77d3c17
UD
12397 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12398 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12399 already be defined. Change to take two parameters and don't assign
12400 result to variable. Adjust all users.
12401 Define INTERNAL_GETTIME if not already defined.
12402 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12403 call.
12404 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12405 HAVE_CLOCK_GETTIME_VSYSCALL.
12406 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12407
d53a73ac
UD
12408 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12409 gettimeofday vsyscall, just use time.
12410
a8f84144
AS
124112011-09-06 Andreas Schwab <schwab@redhat.com>
12412
12413 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12414 <errno.h>.
12415
ef606249
UD
124162011-09-06 Ulrich Drepper <drepper@gmail.com>
12417
12418 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12419 syscall on x86-64.
12420 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12421 syscall.
12422 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12423 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12424 syscall if possible.
12425
6585cb60
UD
124262011-09-05 Ulrich Drepper <drepper@gmail.com>
12427
12428 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12429 e_ident. Don't pass to find_mapsXX.
12430 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12431
a5f524e4
LD
124322011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12433
12434 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12435 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12436 * sysdeps/x86_64/multiarch/strchr.S: Update.
12437 Check bit_slow_BSF bit.
12438 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12439 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12440 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12441
554881ef
UD
124422011-09-05 Ulrich Drepper <drepper@gmail.com>
12443
d96de963
UD
12444 [BZ #13134]
12445 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12446 before glibc 2.15.
12447 (tryshell): Define.
12448 (__spawni): Change last parameter to be flag. Test
12449 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12450 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12451 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12452 * posix/spawni.c: Likewise.
12453 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12454 * posix/spawnp.c: Likewise. Change normal version to use
12455 SPAWN_XFLAGS_USE_PATH.
12456 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12457 SPAWN_XFLAGS_TRY_SHELL.
12458
d48e5868
UD
12459 [BZ #13150]
12460 * posix/glob.h: Remove gcc 1.x support.
12461
554881ef
UD
12462 [BZ #13068]
12463 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12464
693fb948
LD
124652011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12466
12467 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12468 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12469 strrchr-sse2-bsf
12470 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12471 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12472 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12473 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12474 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12475 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12476
1b48c537
UD
124772011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12478
49d42c37
UD
12479 * sysdeps/x86_64/wcscmp.S: New file.
12480
1b48c537
UD
12481 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12482 wcscmp-c wcscmp-sse2
12483 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12484 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12485 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12486 * wcsmbs/wcscmp.c: Allow renaming.
12487
15c95c5d
DM
124882011-09-05 David S. Miller <davem@davemloft.net>
12489
12490 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12491 stack slot, rather than the struct return pointer slot.
12492 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12493 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12495 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12496
2f0ad8f3
UD
124972011-09-05 Ulrich Drepper <drepper@gmail.com>
12498
d88ae418
UD
12499 * po/ja.po: Update from translation team.
12500
2f0ad8f3
UD
12501 [BZ #13144]
12502 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12503 kernel in 64-bit binaries.
12504
5f4318d1
DM
125052011-09-01 David S. Miller <davem@davemloft.net>
12506
12507 * elf/elf.h (HWCAP_SPARC_*): Move to..
12508 * sysdeps/sparc/sysdep.h: this new file and add new values.
12509 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12510 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12511 _DL_HWCAP_COUNT to 24.
12512 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12513 entries.
12514 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12515 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12516 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12517 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12518 instead of magic constants.
12519 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12520
3ba57516
DM
125212011-08-31 David S. Miller <davem@davemloft.net>
12522
12523 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12524 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12525 Reimplement to do errno handling inline.
12526 (SYSCALL_ERROR_HANDLER): New macro.
12527 (__SYSCALL_STRING): Do not do errno handling in asm.
12528 (__CLONE_SYSCALL_STRING): Delete.
12529 (__INTERNAL_SYSCALL_STRING): Delete.
12530 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12531 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12532 (PSEUDO): Reimplement to do errno handling inline.
12533 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12534 (SYSCALL_ERROR_HANDLER): New macro.
12535 (__SYSCALL_STRING): Do not do errno handling in asm.
12536 (__CLONE_SYSCALL_STRING): Delete.
12537 (__INTERNAL_SYSCALL_STRING): Delete.
12538 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12539 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12540 i386.
12541 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12542 (inline_syscall*): Add 'err' argument.
12543 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12544 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12545 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12546 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12547
12548 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12549 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12550
2bc17433
AS
125512011-08-30 Andreas Schwab <schwab@redhat.com>
12552
12553 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12554
fbeb5f4d
JO
125552011-08-29 Jiri Olsa <jolsa@redhat.com>
12556
12557 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12558 directive.
12559
ad69cc26
DM
125602011-08-24 David S. Miller <davem@davemloft.net>
12561
12562 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12563
39dd69df
AS
125642011-08-24 Andreas Schwab <schwab@redhat.com>
12565
12566 * elf/Makefile: Add rules to build and run unload8 test.
12567 * elf/unload8.c: New file.
12568 * elf/unload8mod1.c: New file.
12569 * elf/unload8mod1x.c: New file.
12570 * elf/unload8mod2.c: New file.
12571 * elf/unload8mod3.c: New file.
12572
12573 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12574 it wasn't used.
12575
2c0b250a
DM
125762011-08-23 David S. Miller <davem@davemloft.net>
12577
12578 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12579 subtract stack bias.
12580 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12581 %sp not %fp in calculations.
12582 (_JMPBUF_UNWINDS_ADJ): Likewise.
12583
22044b48
DM
12584 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12585 (aio_suspend): Call it to force an exception region around the
12586 AIO_MISC_WAIT() invocation.
12587
2cae4995
AS
125882011-08-23 Andreas Schwab <schwab@redhat.com>
12589
12590 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12591 backslash.
12592
873a772e
AJ
125932011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12594
12595 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12596 protection macro.
12597 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12598 and <dl-machine.h>.
12599 (Elf64_FuncDesc): Remove.
12600
25ad0df1
DM
126012011-08-22 David S. Miller <davem@davemloft.net>
12602
12603 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12604 sigaltstack check, add missing cfi directives.
12605 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12606 missing cfi directives, and sigaltstack handling.
12607
e888bcbe
AS
126082011-08-16 Andreas Schwab <schwab@redhat.com>
12609
12610 [BZ #11724]
12611 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12612 object is seen twice.
12613 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12614
12615 * elf/Makefile (distribute): Add tst-initorder2.c.
12616 (tests): Add tst-initorder2.
12617 (modules-names): Add tst-initorder2a tst-initorder2b
12618 tst-initorder2c tst-initorder2d. Add rules to build them.
12619 ($(objpfx)tst-initorder2.out): New rule.
12620 * elf/tst-initorder2.c: New file.
12621 * elf/tst-initorder2.exp: New file.
12622
87162f46
AS
126232011-08-22 Andreas Schwab <schwab@redhat.com>
12624
70538b7f
AS
12625 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12626
f55ffe58
AS
12627 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12628 dependencies back to end of function.
12629
87162f46
AS
12630 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12631 $(elfobjdir)/ld.so.
12632
91b392a4
UD
126332011-08-21 Ulrich Drepper <drepper@gmail.com>
12634
12635 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12636 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12637 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12638 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12639 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12640 of __vdso_gettimeofday.
12641 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12642 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12643 attribute_hidden.
12644 (_libc_vdso_platform_setup): Remove initialization of
12645 __vdso_gettimeofday and __vdso_time.
12646
5c43483f
UD
126472011-08-20 Ulrich Drepper <drepper@gmail.com>
12648
775a77e7
UD
12649 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12650 and fgetc_unlocked.
12651 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12652 getc_unlocked.
89f447ed 12653
49c74ba9
UD
12654 * elf/dl-open.c (add_to_global): Report additions to the global scope
12655 for LD_DEBUG=scopes.
12656 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 12657 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 12658
5c43483f
UD
12659 [BZ #13114]
12660 * stdio-common/Makefile (tests): Add bug24.
12661 * stdio-common/bug24.c: New file.
12662
a101b025
AJ
126632011-08-19 Andreas Jaeger <aj@suse.de>
12664
12665 [BZ #13114]
12666 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12667 non-existant file when using close-on-exec mode.
12668
c88f1766
UD
126692011-08-20 Ulrich Drepper <drepper@gmail.com>
12670
0276a718
UD
12671 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12672 the very first instruction.
12673
c88f1766
UD
12674 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12675 the CFI state in the end.
12676 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12677 inclusion of dl-trampoline.h.
12678 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12679
51ccffa0
AS
126802011-08-19 Andreas Schwab <schwab@redhat.com>
12681
94d7165f
AS
12682 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12683 expectations for long double.
12684
51ccffa0
AS
12685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12686 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12687
fd708658 126882011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
12689
12690 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12691 artificual limit depends upon the system page size.
12692
44f0a71e
UD
126932011-08-17 Ulrich Drepper <drepper@gmail.com>
12694
12695 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12696 * resolv/Makefile: Define CFLAGS-libresolv.
12697
8de79a24
AS
126982011-08-17 Andreas Schwab <schwab@redhat.com>
12699
12700 * nss/makedb.c (compute_tables): Make variables used in nested
12701 function static.
12702
27724598
UD
127032011-08-17 Ulrich Drepper <drepper@gmail.com>
12704
c5305d88
UD
12705 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12706 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12707 if buffer was too small.
12708
27724598
UD
12709 * elf/pldd.c (main): Attach to all threads in the process.
12710 Rewrite /proc handling to use *at functions.
12711
076fe015
UD
127122011-08-16 Ulrich Drepper <drepper@gmail.com>
12713
174baab3
UD
12714 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12715 specifies first scope to show.
12716 (dl_open_worker): Update callers. Move printing scope of new
12717 object to before the relocation.
44f0a71e 12718 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
12719 * sysdeps/generic/ldsodefs.h: Update declaration.
12720
076fe015
UD
12721 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12722 string for the scope number.
12723
a60df2c3
UD
127242011-08-14 Ulrich Drepper <drepper@gmail.com>
12725
12726 * nscd/servicescache.c (cache_addserv): Make sure written is always
12727 initialized.
12728
5e4287d1
RM
127292011-08-14 Roland McGrath <roland@hack.frob.com>
12730
85ae0589
RM
12731 * sysdeps/i386/i486/bits/atomic.h
12732 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12733 statement expression, so as to suppress "set but not used" warning.
12734 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12735
69f63097
RM
12736 * string/strncat.c (STRNCAT): Use prototype definition.
12737
675456ef
RM
12738 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12739 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12740 -Iprograms here.
12741 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12742 (localedef-modules): Add localedef.
12743 (locale-modules): Add locale.
12744
5e4287d1
RM
12745 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12746 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12747 to avoid a warning.
12748
9c96ff23
DM
127492011-08-14 David S. Miller <davem@davemloft.net>
12750
12751 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12752 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12753
f9ddf089
UD
127542011-08-13 Ulrich Drepper <drepper@gmail.com>
12755
44f0a71e 12756 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
12757 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12758 * elf/rtld.c (dl_main): Set l_name of vDSO.
12759 Call _dl_show_scope when DL_DEBUG_SCOPES.
12760 (process_dl_debug): Recognize scopes flag and also set it for all.
12761 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12762 Declare _dl_show_scope.
12763
1dc27704
UD
12764 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12765 (do_dlopen): Pass caller_dlopen to dl_open.
12766 (__libc_dlopen_mode): Initialize caller_dlopen.
12767
f9ddf089
UD
12768 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12769 of libc. Make tolower call locale-independent. Optimize a bit by
12770 using isdigit instead of isalnum.
12771 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12772
9ac533d3
UD
127732011-08-12 Ulrich Drepper <drepper@gmail.com>
12774
12775 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12776 was a dependency or dynamically loaded.
12777
89edf2e9
UD
127782011-08-11 Ulrich Drepper <drepper@gmail.com>
12779
8e999d29
UD
12780 * intl/l10nflist.c: Allow architecture-specific pop function.
12781 * sysdeps/x86_64/l10nflist.c: New file.
12782
89edf2e9
UD
12783 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12784 classification.
12785
14d96785
AS
127862011-08-10 Andreas Schwab <schwab@redhat.com>
12787
12788 * include/dirent.h: Add libc_hidden_proto for scandirat and
12789 scandirat64. Don't declare __scandirat64.
12790 * dirent/scandirat.c: Add libc_hidden_def.
12791 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12792 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12793
6761ac04
DM
127942011-08-10 David S. Miller <davem@davemloft.net>
12795
12796 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12797 enum.
12798 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12799 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12800 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12801
c55fbd1e
UD
128022011-08-09 Ulrich Drepper <drepper@gmail.com>
12803
12804 * Versions.def [libc]: Add GLIBC_2.15.
12805 * dirent/Makefile (routines): Add scandirat and scandirat64.
12806 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12807 GLIBC_2.15.
12808 * dirent/dirent.h: Declare scandirat and scandirat64.
12809 * dirent/scandirat.c: New file.
12810 * dirent/scandirat64.c: New file.
12811 * sysdeps/wordsize-64/scandirat.c: New file.
12812 * sysdeps/wordsize-64/scandirat64.c: New file.
12813 * dirent/opendir.c: Define opendirat.
12814 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12815 using scandirat.
12816 * dirent/scandir64.c: Adjust for scandir.c change.
12817 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12818 __scandirat64, and __scandir_cancel_handler.
12819 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12820 additional parameter and use openat instead of open (outside of ld.so).
12821 Add new __opendir as wrapper around __opendirat.
12822 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12823 here without requiring old scandirat implementation.
12824
879165f2
UD
128252011-08-08 Ulrich Drepper <drepper@gmail.com>
12826
12827 * dirent/scandir.c (cancel_handler): Renamed to
12828 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12829 defined. Adjust users.
12830 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12831 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12832
cb7e923b
UD
128332011-08-04 Ulrich Drepper <drepper@gmail.com>
12834
16292edd
UD
12835 * string/test-string.h (IMPL): Use __STRING to expand name and then
12836 stringify it.
12837
cb7e923b
UD
12838 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12839 of cleanups.
12840
cff82933
LD
128412011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12842
12843 * string/Makefile: Update.
12844 (strop-tests): Append strncat.
12845 * string/test-wcscmp.c: New file.
12846 New comprehensive test for wcscmp.
12847 * string/test-strcmp.c: Update.
12848 (WIDE): New define.
12849
9be9bfcc
AS
128502011-07-22 Andreas Schwab <schwab@redhat.com>
12851
12852 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12853 line.
12854
2e96f1c7
AS
128552011-07-26 Andreas Schwab <schwab@redhat.com>
12856
12857 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12858 encoding to ACE if AI_IDN.
12859
85188888
JJ
128602011-08-01 Jakub Jelinek <jakub@redhat.com>
12861
12862 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12863 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12864
5fa16e9b
LD
128652011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12866
12867 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12868 Fix overflow bug in strncat.
12869 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12870
12871 * string/test-strncat.c: Update.
12872 Add new tests for checking overflow bugs.
12873
128742011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12875
12876 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12877 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12878 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12879 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12880 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12881 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12882 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12883 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12884 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12885
12886 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12887 (USE_AS_STRCAT): Define.
12888 Add strcat and strncat support.
12889 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12890
8c1a459f
AS
128912011-07-25 Andreas Schwab <schwab@redhat.com>
12892
12893 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12894 __n bigger than INT_MAX+1.
12895 (__strncmp_g): Likewise.
12896
bba33c28
UD
128972011-07-23 Ulrich Drepper <drepper@gmail.com>
12898
798be72d
UD
12899 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12900 * libio/stido.h: Likewise.
12901
8accd4dc
UD
12902 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12903 (AF_NFC): Define.
12904 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12905 (AF_NFC): Define.
12906
cbff0d96
UD
12907 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12908 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12909 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12910 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12911 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12912
9191c04a
UD
12913 [BZ #13021]
12914 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12915 installed.
12916
bba33c28
UD
12917 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12918 typo.
12919 (_dl_x86_64_save_sse): Likewise.
12920
90f139dd
UD
129212011-07-22 Ulrich Drepper <drepper@gmail.com>
12922
1aae088a
UD
12923 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12924 OSXSAVE.
12925 (_dl_x86_64_save_sse): Likewise.
12926
8e2045f5
UD
12927 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12928
90f139dd
UD
12929 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12930
1d002f25
AS
129312011-07-21 Andreas Schwab <schwab@redhat.com>
12932
12933 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12934 change.
12935 (_dl_x86_64_save_sse): Use correct AVX check.
12936
21137f89
UD
129372011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12938
12939 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12940 bug in strncpy/strncat.
12941 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12942
a65c0b7a
UD
129432011-07-21 Ulrich Drepper <drepper@gmail.com>
12944
12945 * string/tester.c (test_strcat): Add tests for different alignments
12946 of source and destination.
12947 (test_strncat): Likewise.
12948
6986b98a
UD
129492011-07-20 Ulrich Drepper <drepper@gmail.com>
12950
90bb2039
UD
12951 [BZ #12852]
12952 * posix/glob.c (glob): Check passed in values before using them in
12953 expressions to avoid some overflows.
12954 (glob_in_dir): Likewise.
12955
5644ef54
UD
12956 [BZ #13007]
12957 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12958 check for AVX enablement so that we don't crash with old kernels and
12959 new hardware.
12960 * elf/tst-audit4.c: Add same checks here.
12961 * elf/tst-audit6.c: Likewise.
12962
12963 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 12964
bfc9dc9b
AS
129652011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12966
12967 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12968
702e64bb
UD
129692011-07-20 Ulrich Drepper <drepper@gmail.com>
12970
12971 * po/cs.po: Update from translation team.
12972 * po/bg.po: Likewise.
12973
295e904f
MP
129742011-07-12 Marek Polacek <mpolacek@redhat.com>
12975
12976 * misc/sys/cdefs.h: Add support for const attribute.
12977 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12978 to gnu_dev_{major,minor,makedev} functions.
12979
3ff94596
MP
129802011-07-20 Marek Polacek <mpolacek@redhat.com>
12981
12982 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12983
28b59fca
AS
129842011-07-20 Andreas Schwab <schwab@redhat.com>
12985
12986 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12987 strlen results.
12988
19df733e
AK
129892011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12990
12991 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12992 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12993 register in order to avoid conflicts with the soft frame pointer
12994 being held in r11 when necessary.
12995 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12996 (INTERNAL_VSYSCALL_NCS): Likewise.
12997
c8835729
MP
129982011-07-14 Marek Polacek <mpolacek@redhat.com>
12999
13000 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
13001 * elf/dl-fini.c (_dl_fini): Adjust caller.
13002 * elf/dl-close.c (_dl_close_worker): Likewise.
13003 * sysdeps/generic/ldsodefs.h: Adjust declaration.
13004
b902330c
MP
130052011-07-15 Marek Polacek <mpolacek@redhat.com>
13006
8991e135
MP
13007 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
13008 "aux_cache->nlibs < 0".
13009
b902330c
MP
13010 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
13011 in the reload-count case.
13012
99710781
LD
130132011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13014
13015 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13016 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
13017 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
13018 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
13019 * sysdeps/x86_64/multiarch/strcat.S: New file.
13020 * sysdeps/x86_64/multiarch/strncat.S: New file.
13021 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
13022 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
13023 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
13024 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
13025 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
13026 (USE_AS_STRCAT): Define.
13027 Add strcat and strncat support.
13028 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13029 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13030 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
13031 * string/strncat.c: Update.
13032 (USE_AS_STRNCAT): Define.
13033 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13034 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
13035 and i7.
13036 * sysdeps/x86_64/multiarch/init-arch.h
13037 (bit_Prefer_PMINUB_for_stringop): New.
13038 (index_Prefer_PMINUB_for_stringop): Likewise.
13039 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
13040 bit_Prefer_PMINUB_for_stringop.
13041
7dc6bd90
UD
130422011-07-19 Ulrich Drepper <drepper@gmail.com>
13043
13044 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
13045 buffer64.
13046 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
13047 of casting of buffer.
13048 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
13049 buffer32 and buffer64.
13050 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
13051 writes instead of casting of buffer.
13052 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
13053 buffer32.
13054 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
13055 casting of buffer.
13056
e0e72284
AS
130572011-07-19 Andreas Schwab <schwab@redhat.com>
13058
13059 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
13060
feb1eb0b
UD
130612011-07-19 Ulrich Drepper <drepper@gmail.com>
13062
13063 * nscd/nscd.c (termination_handler): Don't do anything for a database
13064 if it has not yet been initialized.
13065
298711ff
UD
130662011-07-18 Ulrich Drepper <drepper@gmail.com>
13067
13068 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13069
130702011-07-15 Marek Polacek <mpolacek@redhat.com>
13071
13072 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13073
f9d68389
UD
130742011-07-18 Ulrich Drepper <drepper@gmail.com>
13075
13076 * po/nl.po: Update from translation team.
13077 * po/sv.po: Likewise.
13078
db290cf5
RM
130792011-07-16 Roland McGrath <roland@hack.frob.com>
13080
13081 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13082 now disallowed by GCC.
5c550700 13083
fd5e21c7
RM
13084 * configure.in (use-default-link): Default to yes if a test -shared
13085 link meets our qualifications.
13086 * configure: Regenerated.
13087
5c550700
RM
13088 * config.make.in (output-format): New variable.
13089 * configure.in: Check for ld --print-output-format support.
13090 * configure: Regenerated.
13091 * Makerules ($(common-objpfx)format.lds)
13092 [$(output-format) != unknown]: Just use $(output-format),
13093 instead of the linker-script munging.
13094
9fa2c032
RM
130952011-07-14 Roland McGrath <roland@hack.frob.com>
13096
a6928d51
RM
13097 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13098 of $(common-objpfx)shlib.lds.
13099 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13100
661607b3
RM
13101 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13102 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13103
9fa2c032
RM
13104 * configure.in (-z relro check): Adjust test code to add a large
13105 writable data section after it.
13106 * configure: Regenerated.
13107
defe9061
RM
131082011-07-11 Roland McGrath <roland@hack.frob.com>
13109
13110 * configure.in (-z relro check): Fix test code to make the variable
13111 truly const.
13112 * configure: Regenerated.
13113
319b9ad4
UD
131142011-07-11 Ulrich Drepper <drepper@gmail.com>
13115
13116 * nscd/nscd.h (struct traced_file): Define.
13117 (struct database_dyn): Remove inotify_descr, reset_res, and filename
13118 elements. Add traced_files.
13119 (inotify_fd): Declare.
13120 (register_traced_file): Declare.
13121 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13122 (inotify_fd): Export.
13123 (resolv_conf_descr): Remove.
13124 (nscd_init): Move inotify descriptor creation to main.
13125 Don't register files for notification here.
13126 (register_traced_file): New function.
13127 (invalidate_cache): Don't use reset_res to determine whether to call
13128 res_init, go through the list of registered files.
13129 (main_loop_poll): The inotify descriptors are now stored in the
13130 structures for the traced files.
13131 (main_loop_epoll): Likewise
13132 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13133 to __nss_disable_nscd.
13134 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13135 for a database anymore. Check the records for all the registered
13136 files instead.
13137 * nss/Makefile (libnss_files-routines): Add files-init.
13138 (libnss_db-routines): Add db-init.
13139 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13140 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13141 * nss/nss_db/db-init.c: New file.
13142 * nss/nss_files/files-init.c: New file.
13143 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13144 __nss_lookup_function.
13145 (__nss_lookup_function): Call nss_load_library.
13146 (nss_load_all_libraries): New function.
13147 (__nss_disable_nscd): Take parameter with callback function for files
13148 to register. Set is_nscd. Load all the DSOs for the NSS modules
13149 used for the cached services.
13150 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13151 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13152 options for features to all the files in nscd.
13153
13154 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13155
23bee3e8
RM
131562011-07-10 Roland McGrath <roland@hack.frob.com>
13157
13158 * csu/elf-init.c (__libc_csu_init): Comment typo.
13159
46a5b7f0
UD
131602011-07-09 Ulrich Drepper <drepper@gmail.com>
13161
13162 * po/pl.po: Update from translation team.
13163 * po/ja.po: Likewise.
13164 * po/ru.po: Likewise.
13165 * po/ko.po: Likewise.
13166 * po/fr.po: Likewise.
13167
d30cf5bb
RM
131682011-07-09 Roland McGrath <roland@hack.frob.com>
13169
113ddea4
RM
13170 * configure.in (.ctors/.dtors header and trailer check):
13171 Use an empirical test on a built program.
13172 * configure: Regenerated.
13173
574920b4
RM
13174 * configure.in (-z relro check): Use an empirical test on a built DSO.
13175 Detect, but do not require, on ia64.
13176 * configure: Regenerated.
13177
d30cf5bb
RM
13178 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13179 Update tests that use readelf to use $READELF instead.
13180 * configure: Regenerated.
13181
8538fdb3
UD
131822011-07-08 Ulrich Drepper <drepper@gmail.com>
13183
13184 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13185 if the result is not used.
13186
04d08991
AJ
131872011-07-05 Andreas Jaeger <aj@suse.de>
13188
13189 [BZ#9696]
13190 * stdlib/tst-strtod.c: Add testcase.
13191
de283087
AD
131922011-07-07 Ulrich Drepper <drepper@gmail.com>
13193
4e5f31c8 13194 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 13195 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
13196 The latter has a higher limit. Take additional parameter to pass to
13197 the new function.
13198 (__pathconf): Pass file to __statfs_link_max.
13199 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13200 __statfs_link_max.
13201 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13202 __statfs_link_max.
13203
de283087
AD
13204 [BZ #12868]
13205 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13206 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13207 Handle Lustre.
13208 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13209 (__statfs_filesize_max): Likewise.
13210 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13211
c75fa153
AJ
132122011-07-05 Andreas Jaeger <aj@suse.de>
13213
13214 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13215
1a544854
UD
132162011-07-06 Marek Polacek <mpolacek@redhat.com>
13217
13218 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13219 `status' variable.
13220 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13221 Likewise.
13222
6f0eec67
UD
132232011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13224
13225 * Makefile (strop-tests): Add strncat.
13226 * string/test-strncat.c: New file.
13227
aae30307
UD
132282011-06-30 Marek Polacek <mpolacek@redhat.com>
13229
13230 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13231
c0cfb5eb
UD
132322011-06-21 Andreas Jaeger <aj@suse.de>
13233
13234 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13235 Copy rule from iconvdata/Makefile.
13236
01636b21
UD
132372011-07-06 Ulrich Drepper <drepper@gmail.com>
13238
13239 [BZ #12922]
13240 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13241 but no long options are defined, just return 'W'.
13242
9895c8bc
UD
132432011-06-22 Marek Polacek <mpolacek@redhat.com>
13244
13245 [BZ #9696]
13246 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13247
5d4cf042
UD
132482011-07-06 Ulrich Drepper <drepper@gmail.com>
13249
13250 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13251 netgroups to read.
960e5535 13252 (innetgr): Likewise.
5d4cf042 13253
751eb97e
RM
132542011-07-05 Roland McGrath <roland@hack.frob.com>
13255
13256 * config.make.in (install_root): Default to $(DESTDIR).
13257
f15f1e45
UD
132582011-07-05 Ulrich Drepper <drepper@gmail.com>
13259
13260 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13261
4e34ac6a
RM
132622011-07-02 Roland McGrath <roland@hack.frob.com>
13263
5e9b6af4
RM
13264 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13265
84f9ea0f
RM
13266 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13267 containing directory rather than embedding absolute directory names.
13268
ea5ee9f7
RM
13269 * scripts/check-local-headers.sh: Rewritten using awk.
13270 Match by word, not by line. Print error messages for matches.
13271 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13272
1b74661a
RM
13273 * Makerules [shlib-lds-flags empty]:
13274 ($(common-objpfx)libc_pic.opts): New target.
13275 ($(common-objpfx)libc_pic.os.clean): New target.
13276 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13277
13278 * config.make.in (OBJCOPY): New variable.
13279 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13280 * configure: Regenerated.
13281
f781ef40
RM
13282 * config.make.in (use-default-link): New variable.
13283 * configure.in (use_default_link): Grok --with-default-link to set it.
13284 * configure: Regenerated.
13285 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13286 (shlib-lds, shlib-lds-flags): Define to empty.
13287
2d4fa81e
RM
13288 * Makerules (shlib-lds): New variable.
13289 (shlib-lds-flags): New variable.
13290 (build-shlib, build-moduile, build-module-asneeded): Use it.
13291 ($(common-objpfx)libc.so): Use $(shlib-lds).
13292 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13293 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13294
31fffa6b
RM
13295 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13296 DT_FLAGS/DT_FLAGS_1 with zero flags.
13297
4e34ac6a
RM
13298 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13299 linker script munging.
13300
fcfc776b
UD
133012011-07-02 Ulrich Drepper <drepper@gmail.com>
13302
13303 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13304 as 128-bit value.
13305 * crypt/sha512.c (sha512_process_block): Perform total addition using
13306 128-bit if possible.
13307 (__sha512_finish_ctx): Likewise.
13308 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13309 as 64-bit value.
13310 * crypt/sha256.c (SWAP64): Define.
13311 (sha256_process_block): Perform total addition using 64-bit if
13312 possible.
13313 (__sha256_finish_ctx): Likewise.
13314
99231d9a
UD
133152011-07-01 Ulrich Drepper <drepper@gmail.com>
13316
13317 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13318 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13319 * nscd/hstcache.c (cache_addhst): Likewise.
13320 * nscd/grpcache.c (cache_addgr): Likewise.
13321 * nscd/aicache.c (addhstaiX): Likewise
13322 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13323
445b4a53
TK
133242011-07-01 Thorsten Kukuk <kukuk@suse.de>
13325
13326 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13327 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13328 * nscd/hstcache.c (cache_addhst): Likewise.
13329 * nscd/grpcache.c (cache_addgr): Likewise.
13330 * nscd/aicache.c (addhstaiX): Likewise
13331
6d4d8e8e
AS
133322011-07-01 Andreas Schwab <schwab@redhat.com>
13333
13334 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13335 domain only when needed.
13336
89f654c5
AS
133372011-06-30 Andreas Schwab <schwab@redhat.com>
13338
13339 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13340 is always restored.
13341
cf3b23ff
UD
133422011-06-29 Ulrich Drepper <drepper@gmail.com>
13343
13344 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13345 are re-adding the entry.
13346 * nscd/servicescache.c (cache_addserv): Likewise.
13347
751626f9
AJ
133482011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13349
13350 * sysdeps/generic/dl-irel.h: fix protection against multiple
13351 inclusions.
13352 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13353
9113ea1f
UD
133542011-06-28 Ulrich Drepper <drepper@gmail.com>
13355
5c0b8d90
UD
13356 [BZ #12935]
13357 * malloc/memusage.sh: Fix quoting in message.
13358 * debug/xtrace.sh: Likewise.
13359
9113ea1f
UD
13360 * configure.in: Remove support for --experimental-malloc option, make
13361 it the default.
13362 * config.make.in: Likewise.
13363 * malloc/Makefile: Likewise.
13364
a4172181
AS
133652011-06-27 Andreas Schwab <schwab@redhat.com>
13366
13367 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13368 two-byte characters.
13369
78a7eee7
RM
133702011-06-27 Roland McGrath <roland@hack.frob.com>
13371
62bede13
RM
13372 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13373 AC_CACHE_CHECK invocation.
13374 * configure: Regenerated.
13375
78a7eee7
RM
13376 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13377
5ce33a62
UD
133782011-06-27 Ulrich Drepper <drepper@gmail.com>
13379
034807a9
UD
13380 [BZ #12350]
13381 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13382 bit from old_res_options.
13383
4902da17
UD
13384 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13385
5ce33a62
UD
13386 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13387 value type for setfct.
13388
c2344f56
L
133892011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13390
13391 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13392 __gettimeofday instead of gettimeofday.
13393
68468076
UD
133942011-06-26 Ulrich Drepper <drepper@gmail.com>
13395
13396 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13397
acb0d739
L
133982011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13399
13400 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13401
13402 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13403 info.
13404
8912479f
L
134052011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13406
13407 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13408 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13409 strcpy-sse2-unaligned strncpy-sse2-unaligned
13410 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13411 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13412 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13413 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13414 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13415 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13416 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13417 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13418 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13419 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13420 (STRCPY): Support SSE2 and SSSE3 versions.
13421
d5495a11
UD
134222011-06-24 Ulrich Drepper <drepper@gmail.com>
13423
13424 [BZ #12874]
13425 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13426 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13427 kernels which artificially limit size of requests.
13428
0b1cbaae
L
134292011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13430
13431 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13432 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13433 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13434 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13435 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13436 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13437 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13438 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13439 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13440 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13441 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13442 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13443 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13444 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13445 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13446 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13447 Enable unaligned load optimization for Intel Core i3, i5 and i7
13448 processors.
13449 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13450 Define.
13451 (index_Fast_Unaligned_Load): Define.
13452 (HAS_FAST_UNALIGNED_LOAD): Define.
13453
07f494a0
MP
134542011-06-23 Marek Polacek <mpolacek@redhat.com>
13455
13456 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13457
fa3fc0fe
UD
134582011-06-22 Ulrich Drepper <drepper@gmail.com>
13459
13460 [BZ #12907]
13461 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13462 until it is clear that the information is realy needed.
13463 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13464
e12df166
AS
134652011-06-22 Andreas Schwab <schwab@redhat.com>
13466
13467 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13468
852eb34d
UD
134692011-06-22 Ulrich Drepper <drepper@gmail.com>
13470
84e2a551
UD
13471 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13472 /sys/devices/system/cpu/online if it is usable.
13473
852eb34d
UD
13474 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13475 reading the information from the /proc filesystem to once a second.
13476
6e502e19
UD
134772011-06-21 Andreas Jaeger <aj@suse.de>
13478
13479 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13480 NULL after inclusion of kernel headers.
13481
75d39ff2
UD
134822011-06-21 Ulrich Drepper <drepper@gmail.com>
13483
51f9aa6a
UD
13484 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13485 calls to internal_setent.
13486
c0244a9d
UD
13487 [BZ #12885]
13488 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13489 addresses using gethostbyname4_r ignore IPv4 addresses.
13490
c5e3c2ae
UD
13491 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13492 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13493
75d39ff2
UD
13494 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13495
42675c6f
DM
134962011-06-20 David S. Miller <davem@davemloft.net>
13497
13498 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13499 inclusions.
13500 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13501
13502 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13503 (elf_irel): Use it.
13504 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13505 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13506 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13507 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13508 * sysdeps/x86_64/dl-irel.h: Likewise.
13509
13510 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13511 * elf/dl-sym.c: Likewise.
13512
57912a71
UD
135132011-06-15 Ulrich Drepper <drepper@gmail.com>
13514
13515 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13516 need to dereference resplen2.
13517
ee22793d
AS
135182011-06-14 Andreas Schwab <schwab@redhat.com>
13519
13520 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13521
a9e836b0
UD
135222011-06-15 Ulrich Drepper <drepper@gmail.com>
13523
77fb9117
UD
13524 * Makeconfig: Define vardbdir and inst_vardbdir.
13525 * nss/Makefile: Add rules to install db-Makefile.
13526
40c1b22c
UD
13527 * nss/nss_db/db-XXX.c: Cleanup.
13528
9f2da732
UD
13529 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13530 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13531 GLIBC_PRIVATE.
13532 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13533 * nss/makedb.c: Implement -g option to specify that value strings
13534 are generated and should not be added to table iterated over for
13535 get*ent calls.
13536 * nss/nss_db/db-initgroups.c: New file.
13537
82e9a1f7
UD
13538 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13539 interface.
13540
c41af17e
UD
13541 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13542 (internal_getgrouplist): Adjust to name change.
13543 Update use_initgroups_entry if this is not the first call.
13544 * nss/databases.def: Add initgroups entry.
13545
a9e836b0
UD
13546 * nss/makedb.c (compute_tables): Check result of multiple hash table
13547 sizes to minimize maximum chain length.
13548
2666d441
UD
135492011-06-14 Ulrich Drepper <drepper@gmail.com>
13550
13551 * Versions.def: Add entry for libnss_db.
13552 * shlib-versions: Likewise.
13553 * nss/Makefile: Add rules to build libnss_db.
13554 * nss/Versions: Add libnss_db information. Organize libnss_files
13555 entries better.
13556 * nss/db-Makefile: Add gshadow support. Change rules for the new
13557 makedb progra. Some minor improvements to generate smaller files.
13558 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13559 here from...
13560 * nss/makedb.c: ...here.
13561 Improve database format to be smaller and require less memory at
13562 runtime.
13563 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13564 db anymore.
13565 * nss/nss_db/db-netgrp.c: Likewise.
13566 * nss/nss_db/db-open.c: Likewise.
13567 * nss/nss_files/flies-XXX.x: Adjust comments.
13568 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13569 * nss/nss_files/files-grp.c: Likewise.
13570 * nss/nss_files/files-hosts.c: Likewise.
13571 * nss/nss_files/files-network.c: Likewise.
13572 * nss/nss_files/files-proto.c: Likewise.
13573 * nss/nss_files/files-pwd.c: Likewise.
13574 * nss/nss_files/files-rpc.c: Likewise.
13575 * nss/nss_files/files-service.c: Likewise.
13576 * nss/nss_files/files-sgrp.c: Likewise.
13577 * nss/nss_files/files-spwd.c: Likewise.
13578 * nss/nss_db/db-alias.c: Removed.
13579 * nss/nss_db/dummy-db.h: Removed.
13580
9ee76b5a
UD
135812011-06-02 Ulrich Drepper <drepper@gmail.com>
13582
13583 * nss/makedb.c: Rewritten to not use database library.
13584 * nss/Makefile: Update to build new makedb program.
13585
c71ca1f8
AJ
135862011-06-14 Andreas Jaeger <aj@suse.de>
13587
13588 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13589 memset declaration.
13590
3154bfb8
UD
135912011-06-10 Andreas Schwab <schwab@redhat.com>
13592
13593 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13594 tmpbuf.
13595
b350afab
RM
135962011-06-10 Roland McGrath <roland@hack.frob.com>
13597
decd4e50
RM
13598 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13599 * elf/Makefile ($(objpfx)ld.so): Likewise.
13600
5615eaf2
RM
13601 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13602 Don't list ld.so twice in dependencies.
13603
13604 * posix/bug-regex31.c: Include <stdlib.h>.
13605
13606 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13607
13608 * nis/nss_compat/compat-spwd.c
13609 (getspent_next_nss_netgr): Remove unused variable.
13610 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13611
13612 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13613 nonmembers" output to use the right array.
13614
13615 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13616
13617 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13618
13619 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13620 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13621 * catgets/gencat.c (read_input_file): Likewise.
13622 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13623
13624 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13625 variable definition inside #if's controlling its use.
13626
13627 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13628
13629 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13630
13631 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13632
13633 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13634 unreachable code.
13635
13636 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13637
b68e08db
RM
13638 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13639 * configure: Regenerated.
13640
b350afab
RM
13641 * Makerules: Revert last change.
13642 * elf/Makefile: Likewise.
13643
28368601
RM
136442011-06-09 Roland McGrath <roland@hack.frob.com>
13645
13646 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13647 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13648 (reloc-link): Likewise.
13649
11988f8f
UD
136502011-06-09 Ulrich Drepper <drepper@gmail.com>
13651
13652 * elf/Makefile: Add rules to build pldd.
13653 * elf/pldd.c: New file.
13654 * elf/pldd-xx.c: New file.
13655
e80fab37
UD
136562011-06-07 Ulrich Drepper <drepper@gmail.com>
13657
13658 * version.h: Update for 2.15 development version.
13659
9b849836
DM
136602011-06-07 David S. Miller <davem@davemloft.net>
13661
13662 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13663 ifuncs.
13664 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13665 elf_machine_lazy_rel): Likewise.
13666 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13667 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13668 elf_machine_lazy_rel): Likewise.
13669 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13670 dl_hwcap via passed in argument.
13671 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13672 Likewise.
13673
5a31b283
AK
136742011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13675
13676 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13677
069e52f8
RM
136782011-06-06 Roland McGrath <roland@hack.frob.com>
13679
13680 [BZ #12849]
13681 * manual/fdl-1.1.texi: New file, verbatim from:
13682 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13683 * manual/lgpl-2.1.texi: New file, verbatim from:
13684 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13685 * manual/Makefile (licenses): New variable, list those new file names.
13686 (texis): Use it.
13687 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13688
13689 * manual/fdl.texi: File removed.
13690 * manual/lesser.texi: File removed.
13691 * manual/libc.texinfo (Copying, Documentation License):
13692 Use new @include file names, put @appendix directive before @include.
13693
f16846a5
JJ
136942011-06-04 Jakub Jelinek <jakub@redhat.com>
13695
13696 [BZ #12841]
13697 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13698 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13699 (mq_open): Add __NTH.
13700
3d29045b
L
137012011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13702
13703 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13704 Assume Intel Core i3/i5/i7 processor if AVX is available.
13705
8c297311
UD
137062011-05-31 Ulrich Drepper <drepper@gmail.com>
13707
13708 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13709 typo.
13710
c8fc0c91
UD
137112011-05-31 Andreas Schwab <schwab@redhat.com>
13712
13713 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13714 memory. Use alloca_account. Fix memory leak when retrying.
13715
5b27a807
UD
137162011-05-31 Ulrich Drepper <drepper@gmail.com>
13717
356f8bc6
UD
13718 * version.h (RELEASE): Bump for 2.14 release.
13719 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13720
5b27a807
UD
13721 * config.make.in (RANLIB): Remove entry.
13722
01f16ab0
UD
137232011-05-30 Ulrich Drepper <drepper@gmail.com>
13724
41fce8bd
UD
13725 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13726 (libc.pot): Work around missing support for .ksh extension in xgettext.
13727
4769ae77
UD
13728 [BZ #12684]
13729 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13730 if both request failed.
13731 (send_dg): In case of server errors clear resplen or *resplen2.
13732
6b1e7d19
UD
13733 [BZ #12454]
13734 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13735 when there are multiple maps.
13736 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13737 (_dl_fini): Remove test here.
13738
01f16ab0
UD
13739 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13740
b1ebd700
UD
137412011-05-29 Ulrich Drepper <drepper@gmail.com>
13742
7ae22829
UD
13743 [BZ #12350]
13744 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13745 bit from old_res_options.
13746 (gaih_inet): Likewise.
13747
553149f6 13748 [BZ #11099]
18a84741 13749 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
13750 as signed.
13751
652ffab1
UD
13752 * resolv/res_init.c (res_setoptions): Make the code more compact.
13753
16985fd0
UD
13754 [BZ #11558]
13755 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13756 set RES_USEVC.
13757
0464f746
UD
13758 [BZ #11634]
13759 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13760
7d17596c
UD
13761 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13762
cf6bbbd7
UD
13763 [BZ #11781]
13764 * malloc/malloc.h: Declare malloc hook variables as volatile.
13765
13f1ab36
UD
13766 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13767 in last patch.
13768
b1ebd700
UD
13769 [BZ #11799]
13770 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 13771 raise in the comment.
80e2212d
UD
13772 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13773 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13774 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 13775
ce67228d
UD
137762011-05-28 Ulrich Drepper <drepper@gmail.com>
13777
8887a920
UD
13778 [BZ #12811]
13779 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13780 grow the buffers more if it already has to be sufficient.
13781 (build_wcs_upper_buffer): Likewise.
13782 * posix/regexec.c (check_matching): Likewise.
13783 (clean_state_log_if_needed): Likewise.
13784 (extend_buffers): Don't enlarge buffers beyond size of the input
13785 buffer.
13786 Patches mostly by Emil Wojak <emil@wojak.eu>.
13787 * posix/bug-regex32.c: New file.
13788 * posix/Makefile (tests): Add bug-regex32.
13789
4f031072
UD
13790 * locale/findlocale.c (_nl_find_locale): Return right away if
13791 _nl_explode_name failed.
13792 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13793
d0478f0c
UD
13794 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13795
de81b246
UD
13796 * debug/xtrace.sh: Unify messages.
13797 * malloc/memusage.sh: Likewise.
13798
c738465a
UD
13799 [BZ #12813]
13800 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13801 time symbol from vDSO. Substitute with vsyscall if not available.
13802 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13803 __vdso_time.
13804
f1f929d7
UD
13805 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13806 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13807 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13808 Add sendmmsg and internal_sendmmsg.
13809 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13810 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13811 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13812
ce67228d
UD
13813 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13814 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13815 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13816
e57420c6
UD
138172011-05-27 Ulrich Drepper <drepper@gmail.com>
13818
a8509ca5
UD
13819 [BZ #12813]
13820 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13821 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13822 available.
13823 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13824 __vdso_getcpu.
13825
e57420c6
UD
13826 [BZ #12814]
13827 * iconvdata/Makefile (tests): Add bug-iconv9.
13828 * iconvdata/bug-iconv9.c: New file.
13829
4d07db15
AS
138302011-05-27 Andreas Schwab <schwab@redhat.com>
13831
13832 [BZ #12814]
13833 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13834
ea486f69
JJ
138352011-05-25 Jakub Jelinek <jakub@redhat.com>
13836
13837 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13838 (struct user_regs_struct): Change intcs field back to cs.
13839
6f038433
UD
138402011-05-25 Ulrich Drepper <drepper@gmail.com>
13841
13842 * po/ja.po: Update from translation team.
13843
67f86a25
UD
138442011-05-23 Ulrich Drepper <drepper@gmail.com>
13845
13846 [BZ #12795]
13847 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13848 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13849
def7fbd6
AS
138502011-05-20 Andreas Schwab <schwab@redhat.com>
13851
13852 * stdlib/longlong.h: Update from GCC.
13853
f50ef8f1
AS
138542011-05-23 Andreas Schwab <schwab@redhat.com>
13855
13856 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13857 parameter name.
13858 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13859 Add parameter name.
13860 (__sysconf): Pass it down.
13861
de7ce8f1
UD
138622011-05-22 Ulrich Drepper <drepper@gmail.com>
13863
f2962a71
UD
13864 [BZ #12671]
13865 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13866 some situations.
13867 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13868 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13869 add in in __libc_use_alloca calls. Adjust callers.
13870 (glob): Use malloc in some situations.
13871
de7ce8f1
UD
13872 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13873 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13874 pltexit.
13875
aec84f53
UD
138762011-05-21 Ulrich Drepper <drepper@gmail.com>
13877
05bb4a68
UD
13878 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13879 and CLOCK_BOOTTIME_ALARM.
13880
7ea72f99
UD
13881 [BZ #12782]
13882 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13883 is returned.
13884
7e4afad5
UD
13885 * string/_strerror.c (__strerror_r): Print negative errors as signed
13886 numbers.
13887
8e211fec
UD
13888 [BZ #12777]
13889 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13890 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13891 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13892
f7d82dc9
UD
13893 * configure.in: Fix typo in redirection and correct removal of test
13894 files in two cases.
13895
cc9e536d
UD
13896 [BZ #12788]
13897 * locale/setlocale.c (new_composite_name): Fix test to check for
13898 identical name of all categories.
13899
aec84f53
UD
13900 [BZ #12792]
13901 * libio/filedoalloc.c (local_isatty): New function.
13902 (_IO_file_doallocate): Use local_isatty.
13903 * stdio-common/perror.c (perror): In case a new stream is used
13904 forward the stream error.
13905 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13906 error flag.
13907
78e64fdc
RT
139082011-05-20 Ulrich Drepper <drepper@gmail.com>
13909
34a9094f
UD
13910 [BZ #11869]
13911 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13912 alloca.
13913 * include/alloca.h (extend_alloca_account): Define.
13914
78e64fdc
RT
13915 [BZ #11857]
13916 * posix/regex.h: Fix comments with documentation of user-accessible
13917 fields after compilation and describe correct free'ing of pattern
13918 after re_compile_pattern.
13919 Patch by Reuben Thomas <rrt@sc3d.org>.
13920
457bddfc
RA
139212011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13922
13923 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13924 and -mno-altivec to prevent the compiler from using Altivec and/or
13925 VSX instructions when the corresponding registers are not available.
13926
a4527b51
AS
139272011-05-19 Andreas Schwab <schwab@redhat.com>
13928
13929 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13930
ed690b2f
UD
139312011-05-19 Ulrich Drepper <drepper@gmail.com>
13932
13933 * libio/freopen.c (freopen): Use __dup2, not dup2.
13934 * libio/freopen64.c (freopen64): Likewise.
13935
8db73634
L
139362011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13937
13938 [BZ #12775]
13939 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13940 * math/Makefile (tests): Add test-powl.
13941 (CFLAGS-test-powl.c): Define.
13942 * math/test-powl.c: New file.
13943
0a197a9d
L
139442011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13945
13946 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13947
ee30c380
UD
139482011-05-17 Ulrich Drepper <drepper@gmail.com>
13949
13950 [BZ #11837]
13951 * iconvdata/gb18030.c: Update to GB18020-2005.
13952
6ce75379
UD
139532011-05-16 Ulrich Drepper <drepper@gmail.com>
13954
a4b89fd8
AR
13955 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13956 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13957 Patch by Aharon Robbins <arnold@skeeve.com>.
13958
ea389b12
UD
13959 [BZ #11892]
13960 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13961 on the stack.
13962
68a3f91f
UD
13963 [BZ #11895]
13964 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13965 through underflows.
13966
15cc7dd1
UD
13967 [BZ #12766]
13968 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13969 point to strings before performing equality test for error_one_per_line
13970 mode.
13971
f3799213
UD
13972 [BZ #11697]
13973 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13974
d79a9c94
UD
13975 [BZ #11820]
13976 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13977 (struct user_fpregs_struct): Avoid __uint*_t types.
13978
56e5eb46
UD
13979 [BZ #6420]
13980 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13981 symbol info. Use it instead of calling _dl_addr locally.
13982 (lock_and_info): New function.
13983 (tr_freehook): Call lock_and_info and pass symbol info as additional
13984 parameter to tr_where.
13985 (tr_mallochook): Likewise.
13986 (tr_reallochook): Likewise.
13987 (tr_memalignhook): Likewise.
13988
6ce75379
UD
13989 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13990 used and couldn't be at all thread-safe.
13991
f8a3b5bf
UD
139922011-05-15 Ulrich Drepper <drepper@gmail.com>
13993
94b7cc37
UD
13994 * libio/freopen.c (freopen): Don't close old file descriptor
13995 before the new one is opened. Instead dup the new file descriptor
13996 to the old one after the new stream is created.
13997 * libio/freopen64.c (freopen64): Likewise.
13998 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13999 * libio/fileops.c (_IO_new_file_close_it): Handle new
14000 _IO_FLAGS2_NOCLOSE flag.
14001 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
14002 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
14003 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
14004 _IO_FLAGS2_NOCLOSE flag.
14005 * include/unistd.h: Add hidden_proto for dup3.
14006 Define __have_dup3.
14007 * io/dup3.c: Define hidden symbol.
14008 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
14009
bd25564e
UD
14010 [BZ #7101]
14011 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
14012 when an incomplete long option is used.
14013 * posix/tst-getopt_long1.c: New file.
14014 * posix/Makefile (tests): Add tst-getopt_long1.
14015
c84cfef4
UD
14016 [BZ #10138]
14017 * scripts/config.guess: Update from autoconf-2.68.
14018 * scripts/config.sub: Likewise.
14019
3b85df27
UD
14020 [BZ #10157]
14021 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
14022 tests into ...
14023 (has_cpuclock): ...this. New function.
14024 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
14025 macro here based on has_cpuclock code.
14026
15a856b1
UD
14027 [BZ #10149]
14028 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14029 First byte (not low byte) is now always NUL.
14030 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
14031
05f399e6
UD
14032 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14033 Use non-cancelable interfaces.
14034
10a52685 14035 [BZ #9809]
94ecc67d
UD
14036 * locale/iso-639.def: Add entry for Sorani.
14037
f8a3b5bf
UD
14038 [BZ #11901]
14039 * include/stdlib.h: Move include protection to the right place.
14040 Define abort_msg_s. Declare __abort_msg with it.
14041 * stdlib/abort.c (__abort_msg): Adjust type.
14042 * assert/assert.c (__assert_fail_base): New function. Majority
14043 of code from __assert_fail. Allocate memory for __abort_msg with
14044 mmap.
14045 (__assert_fail): Now call __assert_fail_base.
14046 * assert/assert-perr.c: Remove bulk of implementation. Use
14047 __assert_fail_base.
14048 * include/assert.hL Declare __assert_fail_base.
14049 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
14050 mmap.
14051 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
14052
1af4e298
UD
140532011-05-14 Ulrich Drepper <drepper@gmail.com>
14054
f8a3b5bf 14055 [BZ #11952]
d26dfc60
MG
14056 [BZ #12453]
14057 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
14058 until all modules are registered in the DTV.
14059 * elf/Makefile: Add rules to build and run tst-tls19.
14060 * elf/tst-tls19.c: New file.
14061 * elf/tst-tls19mod1.c: New file.
14062 * elf/tst-tls19mod2.c: New file.
14063 * elf/tst-tls19mod3.c: New file.
14064 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
14065
2fc54d6f
UD
14066 [BZ #12083]
14067 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
14068 correctly.
14069
98d76b46
UD
14070 [BZ #12601]
14071 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
14072 two-byte sequence errors.
14073 * iconvdata/Makefile (tests): Add bug-iconv8.
14074 * iconvdata/bug-iconv8.c: New file.
14075
da3c19ef
UD
14076 [BZ #12626]
14077 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
14078 buf2 definition.
14079
ca408c15
UD
14080 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14081
d6f67f7d
UD
14082 [BZ #12432]
14083 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14084 (dummy_getcfa): New function.
14085 (init): Get _Unwind_GetCFA address, use dummy if not found.
14086 (backtrace_helper): In recursion check, also check whether CFA changes.
14087 (__backtrace): Completely initialize arg.
14088
1af4e298 14089 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
14090 storing incomplete byte sequence in state object. Avoid testing for
14091 guaranteed too small input if we know there is enough data available.
1af4e298 14092
da62f81b
AS
140932011-05-11 Andreas Schwab <schwab@redhat.com>
14094
14095 * Makeconfig (+link-pie): Indent.
14096 * Rules (binaries-pie): Define if $(have-fpie) and
14097 $(build-shared).
14098 (binaries-shared): Also filter out $(binaries-pie).
14099 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14100 * nscd/Makefile (others-pie): Add nscd.
14101 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14102 ($(objpfx)nscd): Remove command override.
14103 * login/Makefile (others-pie): Add pt_chown.
14104 ($(objpfx)pt_chown): Remove command override.
14105 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14106 remove command overrides.
14107
fcabc0f8
UD
141082011-05-13 Ulrich Drepper <drepper@gmail.com>
14109
20030ae6
UD
14110 * libio/tst_putwc.c: Fix error messages.
14111
fcabc0f8
UD
14112 [BZ #12724]
14113 * libio/fileops.c (_IO_new_file_close_it): Always flush when
14114 currently writing and seek to current position when not.
14115 * libio/Makefile (tests): Add bug-fclose1.
14116 * libio/bug-fclose1.c: New file.
14117
320a5dc0
PB
141182011-05-12 Ulrich Drepper <drepper@gmail.com>
14119
14120 [BZ #12511]
14121 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14122 don't set DF_1_NODELETE here.
14123 (do_lookup_x): When entering new entry test for copy relocation
14124 and if necessary set DF_1_NODELETE flag.
14125 * elf/tst-unique4.cc: New file.
14126 * elf/tst-unique4.h: New file.
14127 * elf/tst-unique4lib.cc: New file.
14128 * elf/Makefile: Add rules to build and run tst-unique4.
14129 Patch by Piotr Bury <pbury@goahead.com>.
14130
22836f52
UD
141312011-05-11 Ulrich Drepper <drepper@gmail.com>
14132
f574184a
UD
14133 [BZ #12052]
14134 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14135
e1fb097f
UD
14136 [BZ #12625]
14137 * misc/mntent_r.c (addmntent): Flush the stream after the output
14138
22836f52
UD
14139 [BZ #12393]
14140 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14141 (is_trusted_path_normalize): Skip initial colon. Append slash
14142 to empty buffer. Duplicate is_trusted_path code but allow
14143 constructed patch to be prefix.
14144 (is_dst): Allow $ORIGIN followed by /.
14145 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14146 Correct testing of result of is_trusted_path_normalize
14147 (decompose_rpath): Fix warning.
14148
7b3b0b2a
UD
141492011-05-10 Ulrich Drepper <drepper@gmail.com>
14150
14151 [BZ #11257]
14152 * grp/initgroups.c (internal_getgrouplist): When we found the service
14153 list through the initgroups entry in nsswitch.conf do not always
14154 continue on a successful lookup. Don't always use the
eac80ce2 14155 __nss_group_database value if it is set.
7b3b0b2a
UD
14156 * nss/nsswitch.conf (initgroups): Change action for successful db
14157 lookup to continue for compatibility.
14158
2a81eaa5
UD
141592011-05-09 Ulrich Drepper <drepper@gmail.com>
14160
be97a69e
UD
14161 [BZ #11532]
14162 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14163 and CP774 modules.
14164 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14165 and CP774 modules.
14166 * iconvdata/tst-tables.sh: Likewise.
14167 * iconvdata/cp770.c: New file.
14168 * iconvdata/cp771.c: New file.
14169 * iconvdata/cp772.c: New file.
14170 * iconvdata/cp773.c: New file.
14171 * iconvdata/cp774.c: New file.
14172 * iconvdata/testdata/CP770: New file.
14173 * iconvdata/testdata/CP770..UTF8: New file.
14174 * iconvdata/testdata/CP771: New file.
14175 * iconvdata/testdata/CP771..UTF8: New file.
14176 * iconvdata/testdata/CP772: New file.
14177 * iconvdata/testdata/CP772..UTF8: New file.
14178 * iconvdata/testdata/CP773: New file.
14179 * iconvdata/testdata/CP773..UTF8: New file.
14180 * iconvdata/testdata/CP774: New file.
14181 * iconvdata/testdata/CP774..UTF8: New file.
14182
14183 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14184 END CHARMAP line.
14185 * iconvdata/gen-8bit-gap.sh: Likewise.
14186 * iconvdata/gen-8bit.sh: Likewise.
14187
c1e9e399
UD
14188 * locale/iso-639.def: Add ary entry.
14189
24c55fb3 14190 [BZ #11258]
96b4b1b0
UD
14191 * locale/C-translit.h.in: Add U20A1 transliteration.
14192
bdc2f971
KB
14193 [BZ #12178]
14194 * locale/iso-639.def: Add wae entry.
14195 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14196
2952b117
UD
14197 [BZ #12545]
14198 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14199 for n.
14200
2a81eaa5
UD
14201 [BZ #12711]
14202 * locale/C-translit.h.in: Add entry for U20B9.
14203 Patch by pravin.d.s@gmail.com.
14204
28377d1b
UD
142052011-05-08 Ulrich Drepper <drepper@gmail.com>
14206
7fb90fb8
UD
14207 [BZ #12713]
14208 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14209 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
14210 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14211 in rtld. Use *stat64.
7fb90fb8 14212 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 14213 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 14214 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
14215 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14216 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14217 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14218 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14219 __fstatat64 macros.
7fb90fb8
UD
14220 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14221 * dirent/rewinddir.c: Add libc_hidden_def.
14222 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 14223 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 14224
28377d1b
UD
14225 * include/dirent.h (__alloc_dir): Add flags parameter.
14226 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14227 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14228 __alloc_dir.
14229 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14230 from fdopendir if O_CLOEXEC is already set.
14231
66bdbaa4
AM
142322011-03-15 Alan Modra <amodra@gmail.com>
14233
14234 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14235 l_tls_firstbyte_offset non-zero. Save padding offset in
14236 l_tls_firstbyte_offset for later use.
14237 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14238 freeing static tls block.
14239
95721191
JN
142402011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14241
14242 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14243 where #ifdef was intended. The intent is to prevent ARG_MAX from
14244 being defined by the kernel headers.
14245
f87dfb1f
UD
142462011-05-07 Ulrich Drepper <drepper@gmail.com>
14247
14248 [BZ #12734]
14249 * resolv/resolv.h: Define RES_NOTLDQUERY.
14250 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14251 no-tld-query and set RES_NOTLDQUERY.
14252 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14253 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14254 modern BIND to search name as TLD unless forbidden.
14255
47c3cd7a
UD
142562011-05-07 Petr Baudis <pasky@suse.cz>
14257 Ulrich Drepper <drepper@gmail.com>
14258
14259 [BZ #12393]
14260 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14261 (is_trusted_path): ...to here.
c1e9ea35 14262 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 14263 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 14264 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 14265
8a35c912
PP
142662011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14267
14268 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14269 __BEGIN/__END_DECLS.
14270
acd41f47
UD
142712011-05-06 Ulrich Drepper <drepper@gmail.com>
14272
14273 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14274 NSS_STATUS_NOTFOUND if no record was found.
14275
597df647
AS
142762011-05-05 Andreas Schwab <schwab@redhat.com>
14277
14278 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14279 (headers-not-in-tirpc): Remove rpc/netdb.h
14280 * resolv/netdb.h: Revert last change.
14281
b9af1301
PP
142822011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14283
14284 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14285 circular dependency between libgcc.a and libc.a.
14286
4e34d5f5
AS
142872011-05-05 Andreas Schwab <schwab@redhat.com>
14288
14289 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14290 * nis/Makefile: Don't install rpcsvc/*.
14291 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14292 instead of <rpc/types.h>.
14293 (MAXHOSTNAMELEN): Define.
14294
00ee369c
AS
142952011-05-03 Andreas Schwab <schwab@redhat.com>
14296
14297 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14298
0b592a30
MB
142992011-04-28 Maciej Babinski <mbabinski@google.com>
14300
14301 [BZ #12714]
14302 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14303 gethostbyname4_r when IPv6 results are possible.
14304
6e04cbbe
UD
143052011-05-02 Ulrich Drepper <drepper@gmail.com>
14306
14307 [BZ #12723]
14308 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14309 _PC_PIPE_BUF handling.
14310
e4ecafe0
BH
143112011-04-30 Bruno Haible <bruno@clisp.org>
14312
14313 [BZ #12717]
14314 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14315 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14316 to 'int'.
14317 * inet/getnameinfo.c (getnameinfo): Likewise.
14318
125ee683
UD
143192011-04-29 Ulrich Drepper <drepper@gmail.com>
14320
14321 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14322 to groups setting in database lookup.
14323 * nss/nsswitch.conf: Add initgroups entry.
14324
b722481a
EB
143252011-04-22 Ulrich Drepper <drepper@gmail.com>
14326
14327 [BZ #12685]
14328 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14329 mode string.
14330 Patch by Eric Blake <eblake@redhat.com>.
14331
4df46dbd
L
143322011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14333
14334 * sunrpc/Makefile (need-export-routines): Add svc_run.
14335 (routines): Remove svc_run.
14336 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14337 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14338 * sunrpc/svc_run.c (svc_run): Likewise.
14339 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14340
e84142d2
UD
143412011-04-21 Ulrich Drepper <drepper@gmail.com>
14342
14343 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14344 problem in reallocation in last patch.
14345
877175d8
UD
143462011-04-20 Ulrich Drepper <drepper@gmail.com>
14347
14348 * sunrpc/Makefile: Move inclusion of Rules.
14349
ab8eed78
UD
143502011-04-19 Ulrich Drepper <drepper@gmail.com>
14351
14352 * nss/nss_files/files-initgroups.c: New file.
14353 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14354 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14355 _nss_files_initgroups_dyn.
14356
e3d8f584
RS
143572011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14358
14359 * elf/elf.h (R_ARM_IRELATIVE): Define.
14360
af190f45
UD
143612011-04-19 Ulrich Drepper <drepper@gmail.com>
14362
14363 * po/ru.po: Update from translation team.
14364
53cf59ef
UD
143652011-04-17 Ulrich Drepper <drepper@gmail.com>
14366
14367 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14368 dependencies.
14369
4c559bcd
MF
143702011-02-06 Mike Frysinger <vapier@gentoo.org>
14371
14372 [BZ #12653]
14373 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14374 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14375 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14376 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14377 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14378
4420675c
AS
143792011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14380
14381 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14382 differing bytes.
14383 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14384 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14385 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14386
75ea32ab
UD
143872011-04-17 Ulrich Drepper <drepper@gmail.com>
14388
14389 [BZ #12420]
14390 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14391 storing it.
14392 * stdlib/bug-getcontext.c: New file.
14393 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14394
27390476
AK
143952011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14396
14397 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14398 instructions into .machine "z9-109".
14399 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14400 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14401
10442705
AK
144022011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14403
14404 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14405 between environment variables and auxiliary vector.
14406
7b57bfe5
UD
144072011-04-16 Ulrich Drepper <drepper@gmail.com>
14408
14409 * Makefile: Add rules to build linkobj/libc.so.
14410 * include/libc-symbols.h: Define libc_hidden_nolink.
14411 * include/rpc/auth.h: Mark functions which are to be hidden.
14412 * include/rpc/auth_des.h: Likewise.
14413 * include/rpc/auth_unix.h: Likewise.
14414 * include/rpc/clnt.h: Likewise.
14415 * include/rpc/des_crypt.h: Likewise.
14416 * include/rpc/key_prot.h: Likewise.
14417 * include/rpc/pmap_clnt.h: Likewise.
14418 * include/rpc/pmap_prot.h: Likewise.
14419 * include/rpc/pmap_rmt.h: Likewise.
14420 * include/rpc/rpc_msg.h: Likewise.
14421 * include/rpc/svc.h: Likewise.
14422 * include/rpc/svc_auth.h: Likewise.
14423 * include/rpc/xdr.h: Likewise.
14424 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14425 * nss/Makefile: Likewise.
14426 * sunrpc/Makefile: Don't install headers. Build library with normal
14427 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14428 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14429 for the compat linking library. Remove use of INTDEF/INTUSE.
14430 * sunrpc/auth_none.c: Likewise.
14431 * sunrpc/auth_unix.c: Likewise.
14432 * sunrpc/authdes_prot.c: Likewise.
14433 * sunrpc/authuxprot.c: Likewise.
14434 * sunrpc/clnt_gen.c: Likewise.
14435 * sunrpc/clnt_perr.c: Likewise.
14436 * sunrpc/clnt_raw.c: Likewise.
14437 * sunrpc/clnt_simp.c: Likewise.
14438 * sunrpc/clnt_tcp.c: Likewise.
14439 * sunrpc/clnt_udp.c: Likewise.
14440 * sunrpc/clnt_unix.c: Likewise.
14441 * sunrpc/des_crypt.c: Likewise.
14442 * sunrpc/des_soft.c: Likewise.
14443 * sunrpc/get_myaddr.c: Likewise.
14444 * sunrpc/key_call.c: Likewise.
14445 * sunrpc/key_prot.c: Likewise.
14446 * sunrpc/netname.c: Likewise.
14447 * sunrpc/pm_getmaps.c: Likewise.
14448 * sunrpc/pm_getport.c: Likewise.
14449 * sunrpc/pmap_clnt.c: Likewise.
14450 * sunrpc/pmap_prot.c: Likewise.
14451 * sunrpc/pmap_prot2.c: Likewise.
14452 * sunrpc/pmap_rmt.c: Likewise.
14453 * sunrpc/publickey.c: Likewise.
14454 * sunrpc/rpc_cmsg.c: Likewise.
14455 * sunrpc/rpc_common.c: Likewise.
14456 * sunrpc/rpc_dtable.c: Likewise.
14457 * sunrpc/rpc_prot.c: Likewise.
14458 * sunrpc/rpc_thread.c: Likewise.
14459 * sunrpc/rtime.c: Likewise.
14460 * sunrpc/svc.c: Likewise.
14461 * sunrpc/svc_auth.c: Likewise.
14462 * sunrpc/svc_authux.c: Likewise.
14463 * sunrpc/svc_raw.c: Likewise.
14464 * sunrpc/svc_run.c: Likewise.
14465 * sunrpc/svc_simple.c: Likewise.
14466 * sunrpc/svc_tcp.c: Likewise.
14467 * sunrpc/svc_udp.c: Likewise.
14468 * sunrpc/svc_unix.c: Likewise.
14469 * sunrpc/svcauth_des.c: Likewise.
14470 * sunrpc/xcrypt.c: Likewise.
14471 * sunrpc/xdr.c: Likewise.
14472 * sunrpc/xdr_array.c: Likewise.
14473 * sunrpc/xdr_float.c: Likewise.
14474 * sunrpc/xdr_intXX_t.c: Likewise.
14475 * sunrpc/xdr_mem.c: Likewise.
14476 * sunrpc/xdr_rec.c: Likewise.
14477 * sunrpc/xdr_ref.c: Likewise.
14478 * sunrpc/xdr_sizeof.c: Likewise.
14479 * sunrpc/xdr_stdio.c: Likewise.
14480
e6c61494
UD
144812011-04-10 Ulrich Drepper <drepper@gmail.com>
14482
14483 [BZ #12650]
14484 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14485 * sysdeps/ia64/dl-tls.h: Likewise.
14486 * sysdeps/powerpc/dl-tls.h: Likewise.
14487 * sysdeps/s390/dl-tls.h: Likewise.
14488 * sysdeps/sh/dl-tls.h: Likewise.
14489 * sysdeps/sparc/dl-tls.h: Likewise.
14490 * sysdeps/x86_64/dl-tls.h: Likewise.
14491 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14492
34fe483e
AS
144932011-03-14 Andreas Schwab <schwab@redhat.com>
14494
14495 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14496 rpath element also skip the following colon.
14497 (expand_dynamic_string_token): Add is_path parameter and pass
14498 down to DL_DST_REQUIRED and _dl_dst_substitute.
14499 (decompose_rpath): Call expand_dynamic_string_token with
14500 non-zero is_path. Ignore empty rpaths.
14501 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14502 with zero is_path.
14503
f12a32e6
AS
145042011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14505
14506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14507 Make cancelable.
14508
38a7d692
UD
145092011-04-09 Ulrich Drepper <drepper@gmail.com>
14510
14511 [BZ #12655]
14512 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14513 Patch by Filipe David Manana <fdmanana@apache.org>.
14514
e451d22b
AS
145152011-04-07 Andreas Schwab <schwab@redhat.com>
14516
14517 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14518 Maintain aligned stack.
14519 (CHECK_RSP): Remove unused macro.
14520
dedc7c7b
UD
145212011-04-03 Ulrich Drepper <drepper@gmail.com>
14522
14523 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14524 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14525
94521213
UD
145262011-04-02 Ulrich Drepper <drepper@gmail.com>
14527
14528 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14529
8cb700c0 14530 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 14531
0354e355
L
145322011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14533
14534 [BZ #12518]
14535 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14536 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14537 * sysdeps/x86_64/memmove.c: New file.
14538 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14539 (memcpy): Renamed to ...
14540 (__new_memcpy): This.
14541 (memcpy): Provide GLIBC_2_14 memcpy.
14542 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14543 (memcpy): Provide GLIBC_2_2_5 memcpy.
14544
8593482f
UD
145452011-04-01 Ulrich Drepper <drepper@gmail.com>
14546
14547 [BZ #12631]
14548 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14549
81a5726b
AS
145502011-03-30 Andreas Schwab <schwab@redhat.com>
14551
14552 * misc/syncfs.c: New file.
14553 * misc/Makefile (routines): Add syncfs.
14554 * posix/unistd.h: Declare syncfs.
14555 * sysdeps/unix/syscalls.list: Add syncfs.
14556
00e5419f
AS
145572011-04-01 Andreas Schwab <schwab@redhat.com>
14558
14559 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14560 open_by_handle_at.
14561 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14562 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14563 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14564 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14565 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14566 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14567 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14568
748876bf
UD
145692011-04-01 Ulrich Drepper <drepper@gmail.com>
14570
658e451d
UD
14571 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14572 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14573 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14574 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14575 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14576 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14577 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14578
748876bf
UD
14579 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14580 sync_file_range.c with -fexceptions.
14581 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14582 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14583 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14584 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14585 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14586 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14587 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
14588 sync_file_range as cancellation point
14589 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14590 now a wrapper around __call_sync_file_range with cancellation handling.
14591 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14592 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14593 function name to __call_sync_file_range.
14594 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14595 Add call_sync_file_range.
748876bf 14596
6e63d5e1
AS
145972011-04-01 Andreas Schwab <schwab@redhat.com>
14598
14599 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 14600 bits/timex.h.
6e63d5e1 14601
46998f74
UD
146022011-04-01 Ulrich Drepper <drepper@gmail.com>
14603
4c1423ed
UD
14604 * iconv/iconv.h: Fix typo in comment.
14605 * io/fcntl.h: Likewise.
14606 * libio/stdio.h: Likewise.
14607 * posix/spawn.h: Likewise.
14608 * posix/unistd.h: Likewise.
14609 * stdlib/stdlib.h: Likewise.
14610 * time/time.h: Likewise.
14611 * wcsmbs/wchar.h: Likewise.
14612
158648c0
UD
14613 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14614 open_by_handle): Add.
14615 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14616 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14617 Augment a few comments.
14618 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14619 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14620 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14621 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14622 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14623 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14624 open_by_handle.
14625
46998f74
UD
14626 * io/fcntl.h (AT_EMPTY_PATH): Define.
14627
83fe108b
UD
146282011-03-30 Ulrich Drepper <drepper@gmail.com>
14629
14630 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14631 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14632 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14633 to...
14634 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
14635 * Versions.def: Add GLIBC_2.14.
14636 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14637 Export.
83fe108b 14638
bb242059
UD
146392011-03-22 Ulrich Drepper <drepper@gmail.com>
14640
14641 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14642 round counter.
14643 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14644
c97a1282
L
146452011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14646
14647 [BZ #12597]
14648 * string/test-strncmp.c (do_page_test): New function.
14649 (check2): Likewise.
14650 (test_main): Call check2.
14651 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14652
2a115601
UD
146532011-03-20 Ulrich Drepper <drepper@gmail.com>
14654
14655 [BZ #12587]
14656 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14657 Handle cache information in CPU leaf 4.
14658 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14659
8126d904
UD
146602011-03-18 Ulrich Drepper <drepper@gmail.com>
14661
042c49c6 14662 [BZ #12583]
8126d904
UD
14663 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14664 character representation.
14665 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14666
ccfe366e
RA
146672011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14668
14669 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14670 END(__isnan) to END(__isnanf) to match function entry point/label
14671 EALIGN(__isnanf,...).
14672
c6e13027
JJ
146732011-03-10 Jakub Jelinek <jakub@redhat.com>
14674
14675 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14676
33f85a3f
UD
146772011-03-10 Ulrich Drepper <drepper@gmail.com>
14678
028478fa
UD
14679 [BZ #12510]
14680 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14681 copy from the symbol referenced in the relocation to initialize the
14682 used variable.
14683 Patch by Piotr Bury <pbury@goahead.com>.
14684 * elf/Makefile: Add rules to build and tst-unique3.
14685 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14686 * elf/tst-unique3.cc: New file.
14687 * elf/tst-unique3.h: New file.
14688 * elf/tst-unique3lib.cc: New file.
14689 * elf/tst-unique3lib2.cc: New file.
14690
33f85a3f
UD
14691 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14692
03592fc7
MF
146932011-03-10 Mike Frysinger <vapier@gentoo.org>
14694
14695 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14696 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14697 to _start.
03592fc7 14698
6a5ee102
UD
146992011-03-06 Ulrich Drepper <drepper@gmail.com>
14700
14701 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14702 to-be-loaded object along a path to loader is ld.so.
14703
7e4ba49c
HJ
147042011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14705 Ulrich Drepper <drepper@gmail.com>
14706
14707 * sysdeps/x86_64/memset.S: After aligning destination, code
14708 branches to different locations depending on the value of
14709 misalignment, when multiarch is enabled. Fix this.
14710
147112011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14712
14713 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14714 Set _x86_64_preferred_memory_instruction for AMD processsors.
14715 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14716 Set bit_Prefer_SSE_for_memop for AMD processors.
14717
13a804de
UD
147182011-03-04 Ulrich Drepper <drepper@gmail.com>
14719
14720 * libio/fmemopen.c (fmemopen): Optimize a bit.
14721
9d25c392
AS
147222011-03-03 Andreas Schwab <schwab@redhat.com>
14723
14724 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14725
a5543c6a
RM
147262011-03-03 Roland McGrath <roland@redhat.com>
14727
14728 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14729
012d35f7
DM
147302011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14731
7e4ba49c 14732 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
14733 __bzero_ultra1 instead of __memset_ultra1.
14734
4bff6e01
AS
147352011-02-23 Andreas Schwab <schwab@redhat.com>
14736 Ulrich Drepper <drepper@gmail.com>
14737
14738 [BZ #12509]
14739 * include/link.h (struct link_map): Add l_orig_initfini.
14740 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14741 returning unsuccessfully.
14742 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14743 close of a file loaded at startup, restore the original l_initfini
14744 list.
14745 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14746 list, store the pointer.
14747 * elf/Makefile ($(objpfx)noload-mem): New rule.
14748 (noload-ENV): Define.
14749 (tests): Add $(objpfx)noload-mem.
14750 * elf/noload.c: Include <memcheck.h>.
14751 (main): Call mtrace. Close all opened handles.
14752
f2092faf
AS
147532011-02-17 Andreas Schwab <schwab@redhat.com>
14754
14755 [BZ #12454]
14756 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14757 dependencies are missing.
14758
6c8a2e88
ST
147592011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14760
f2092faf 14761 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
14762 Hurd needs munmap.
14763 * sysdeps/mach/hurd/ifreq.h: New file.
14764
84a42118
PB
147652011-01-27 Petr Baudis <pasky@suse.cz>
14766 Ulrich Drepper <drepper@gmail.com>
14767
071f805e 14768 [BZ 12445]#
84a42118
PB
14769 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14770 to extend_alloca().
14771 * stdio-common/bug23.c: New file.
14772 * stdio-common/Makefile (tests): Add bug23.
14773
e23fe25b
AS
147742010-09-28 Andreas Schwab <schwab@redhat.com>
14775 Ulrich Drepper <drepper@gmail.com>
14776
14777 [BZ #12489]
14778 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14779 before performing relro protection. At old place add assertion
14780 to make sure nothing changed.
14781
d3f02e10
NS
147822011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14783 Glauber de Oliveira Costa <glommer@gmail.com>
14784
14785 * elf/elf.h: Add new ARM TLS relocs.
14786
d55fd7a5
RA
147872011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14788
14789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14790 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14791 cast from r3.
14792 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14793 'tests' variable.
14794 * sysdeps/wordsize-64/tst-writev.c: New file.
14795
2206397e
RA
147962011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14797
14798 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14799 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14800 insns in _dl_start to prevent a TOC reference before relocs are
14801 resolved.
14802
e9433893
UD
148032011-02-15 Ulrich Drepper <drepper@gmail.com>
14804
14805 [BZ #12469]
14806 * Makeconfig: Remove RANLIB definition.
14807 * Makerules: Don't use RANLIB.
14808 * aclocal.m4: Remove ranlib test.
14809 * configure.in: No need to check for ranlib.
14810 * elf/rtld-Rules: Don't use RANLIB.
14811
f75286c6
ST
148122011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14813
8e31c82d
ST
14814 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14815 protection macro.
14816 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14817 inclusion protection macro.
14818
f75286c6
ST
14819 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14820 SIGRTMIN and SIGRTMAX and print information in that case only when
14821 SIGRTMIN is defined.
14822
c1d0e639
JJ
148232011-02-11 Jakub Jelinek <jakub@redhat.com>
14824
14825 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14826 arginfo fn returning -1.
14827
14828 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14829 and thousands string is zero terminated.
14830
edf9294e
AS
148312011-02-03 Andreas Schwab <schwab@redhat.com>
14832
14833 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14834 sysdeps/unix/sysv/linux/bits/socket.h.
14835
2b7e92df
ST
148362011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14837
edf9294e
AS
14838 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14839 (__CPU_COUNT): Remove old macros.
14840 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14841 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14842 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
14843 (__sched_cpualloc, __sched_cpufree): Add declarations.
14844
a4c7ea7b
UD
148452011-02-05 Ulrich Drepper <drepper@gmail.com>
14846
14847 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14848 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14849 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14850 (readdhstai): Return value of addhstaiX call.
14851 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14852 (addgrbyX): Return value returned by cache_addgr.
14853 (readdgrbyname): Return value returned by addgrbyX.
14854 (readdgrbygid): Likewise.
14855 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14856 (addpwbyX): Return value returned by cache_addpw.
14857 (readdpwbyname): Return value returned by addhstbyX.
14858 (readdpwbyuid): Likewise.
14859 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14860 (addservbyX): Return value returned by cache_addserv.
14861 (readdservbyname): Return value returned by addservbyX:
14862 (readdservbyport): Likewise.
14863 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14864 (addhstbyX): Return value returned by cache_addhst.
14865 (readdhstbyname): Return value returned by addhstbyX.
14866 (readdhstbyaddr): Likewise.
14867 (readdhstbynamev6): Likewise.
14868 (readdhstbyaddrv6): Likewise.
14869 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14870 (readdinitgroups): Return value returned by addinitgroupsX.
14871 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14872 (prune_cache): Keep track of timeout value of re-added entries.
14873 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14874 * nscd/nscd.h: Adjust prototypes of readd* functions.
14875
a0bf67cc
RM
148762011-02-04 Roland McGrath <roland@redhat.com>
14877
14878 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14879 (nis_stats): Likewise.
14880 * nis/nis_modify.c (nis_modify): Likewise.
14881 * nis/nis_remove.c (nis_remove): Likewise.
14882 * nis/nis_add.c (nis_add): Likewise.
14883
14884 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14885
14886 * posix/fnmatch_loop.c: Add some consts.
14887
14888 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14889
435b95eb
L
148902011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14891
14892 [BZ #12460]
14893 * config.make.in (config-cflags-novzeroupper): Define.
14894 * configure.in: Substitute libc_cv_cc_novzeroupper.
14895 * elf/Makefile (AVX-CFLAGS): Define.
14896 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14897 (CFLAGS-tst-auditmod4a.c): Likewise.
14898 (CFLAGS-tst-auditmod4b.c): Likewise.
14899 (CFLAGS-tst-auditmod6b.c): Likewise.
14900 (CFLAGS-tst-auditmod6c.c): Likewise.
14901 (CFLAGS-tst-auditmod7b.c): Likewise.
14902 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14903
8517b15e
UD
149042011-02-02 Ulrich Drepper <drepper@gmail.com>
14905
14906 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14907 function to the callback.
14908 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14909
10a656fe
AS
149102011-02-02 Andreas Schwab <schwab@redhat.com>
14911
14912 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14913 of errno.
14914
968dad0a
UD
149152011-01-19 Ulrich Drepper <drepper@gmail.com>
14916
9f94d2ea 14917 [BZ #11724]
968dad0a
UD
14918 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14919 of constructors.
14920 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14921 of destructors.
14922 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14923
14924 [BZ #11724]
14925 * elf/Makefile: Add rules to build and run new test.
14926 * elf/tst-initorder.c: New file.
14927 * elf/tst-initorder.exp: New file.
14928 * elf/tst-initordera1.c: New file.
14929 * elf/tst-initordera2.c: New file.
14930 * elf/tst-initordera3.c: New file.
14931 * elf/tst-initordera4.c: New file.
14932 * elf/tst-initorderb1.c: New file.
14933 * elf/tst-initorderb2.c: New file.
14934 * elf/tst-order-a1.c: New file.
14935 * elf/tst-order-a2.c: New file.
14936 * elf/tst-order-a3.c: New file.
14937 * elf/tst-order-a4.c: New file.
14938 * elf/tst-order-b1.c: New file.
14939 * elf/tst-order-b2.c: New file.
14940 * elf/tst-order-main.c: New file.
14941 New test case by George Gensure <werkt0@gmail.com>.
14942
86e92359
UD
149432010-10-01 Andreas Schwab <schwab@redhat.com>
14944
14945 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14946 decoding ACE if AI_CANONIDN.
14947
5d5732b0
UD
149482011-01-18 Ulrich Drepper <drepper@gmail.com>
14949
14950 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14951
a77e8cbc
UD
149522011-01-17 Ulrich Drepper <drepper@gmail.com>
14953
6392473f
UD
14954 * version.h (RELEASE): Bump for 2.13 release.
14955 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14956
620a0529
UD
14957 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14958
18ba70a5
UD
14959 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14960 MADV_NOHUGEPAGE.
32465c3e
UD
14961 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14962 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14963 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14964 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14965 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14966 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14967
c0dafcf1
UD
14968 * posix/getconf.c: Update copyright year.
14969 * catgets/gencat.c: Likewise.
14970 * csu/version.c: Likewise.
14971 * debug/catchsegv.sh: Likewise.
14972 * debug/xtrace.sh: Likewise.
14973 * elf/ldconfig.c: Likewise.
14974 * elf/ldd.bash.in: Likewise.
14975 * elf/sprof.c (print_version): Likewise.
14976 * iconv/iconv_prog.c: Likewise.
14977 * iconv/iconvconfig.c: Likewise.
14978 * locale/programs/locale.c: Likewise.
14979 * locale/programs/localedef.c: Likewise.
14980 * malloc/memusage.sh: Likewise.
14981 * malloc/mtrace.pl: Likewise.
14982 * nscd/nscd.c (print_version): Likewise.
14983 * nss/getent.c: Likewise.
14984
a77e8cbc
UD
14985 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14986 PF_CAIF, and PF_ALG.
14987 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14988
77e8bddf
AS
149892011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14990
1f20b93a
AS
14991 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14992 (modules-names): Use them.
14993 (ifunc-test-modules, ifunc-pie-tests): Define.
14994 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14995 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14996 (test-extras): Likewise.
14997 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14998 $(compile-command.c).
14999 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
15000 (all-built-dso): Define.
15001 (check-textrel.out, check-execstack.out): Depend on it.
15002
77e8bddf
AS
15003 * configure.in: Don't override --enable-multi-arch.
15004
bc425b33
UD
150052011-01-15 Ulrich Drepper <drepper@gmail.com>
15006
15007 [BZ #6812]
15008 * nscd/hstcache.c (tryagain): Define.
15009 (cache_addhst): Return tryagain not notfound for temporary errors.
15010 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
15011 failed.
15012
794c3ad3
UD
150132011-01-14 Ulrich Drepper <drepper@gmail.com>
15014
70181fdd
UD
15015 [BZ #10563]
15016 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
15017 to make the syscall.
15018 * sysdeps/unix/sysv/linux/setgroups.c: New file.
15019
794c3ad3
UD
15020 [BZ #12378]
15021 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
15022 and fall back to matching as normal character if the string ends before
15023 the matching ']' is found. This is what POSIX requires.
15024 * posix/testfnm.c: Adjust test result.
15025 * posix/globtest.sh: Adjust test result. Add new test.
15026 * posix/tst-fnmatch.input: Likewise.
15027 * posix/tst-fnmatch2.c: Add new test.
15028
68dc9497
AS
150292010-12-28 Andreas Schwab <schwab@linux-m68k.org>
15030
15031 * elf/Makefile (check-execstack): Revert last change. Depend on
15032 check-execstack.h.
15033 (check-execstack.h): New target.
15034 (generated): Add check-execstack.h.
15035 * elf/check-execstack.c: Include "check-execstack.h".
15036 (main): Revert last change.
15037 (handle_file): Return zero if GNU_STACK is absent and
15038 DEFAULT_STACK_PERMS doesn't include PF_X.
15039
451f001b
UD
150402011-01-13 Ulrich Drepper <drepper@gmail.com>
15041
cfa28e56
UD
15042 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
15043 in child fails because the descriptor is already closed.
8cf8ce17
UD
15044 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
15045 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
15046 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 15047
1086d70d
UD
15048 [BZ #12397]
15049 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
15050 syscall.
15051
451f001b
UD
15052 [BZ #10484]
15053 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
15054 temporary buffer used to handle multi lookups locally.
a85b5cb4 15055 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 15056
08769175
UD
150572011-01-12 Ulrich Drepper <drepper@gmail.com>
15058
15059 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
15060 loader is ld.so.
15061
5e49c52e
UD
150622011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
15063
15064 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
15065 alignment for SSE2.
15066
60522a5f
UD
150672011-01-12 Ulrich Drepper <drepper@gmail.com>
15068
15069 [BZ #12394]
15070 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
15071 characters. When rounding increased number of integer digits recompute
15072 number of groups.
15073 * stdio-common/tst-grouping.c: New file.
15074 * stdio-common/Makefile: Add rules to build and run tst-grouping.
15075
f257bbd7
UD
150762011-01-09 Ulrich Drepper <drepper@gmail.com>
15077
15078 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15079 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
15080
15081 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15082 void.
15083 * bits/select.h: Likewise.
15084
fa9c15cb
UD
150852011-01-08 Ulrich Drepper <drepper@gmail.com>
15086
15087 * po/ja.po: Update from translation team.
15088
16c2895f
DM
150892011-01-04 David S. Miller <davem@sunset.davemloft.net>
15090
15091 [BZ #11155]
15092 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15093 implementation just like for lxstat, fxstatat, et al.
15094
2543fef2
JM
150952010-12-27 Jim Meyering <meyering@redhat.com>
15096
15097 [BZ #12348]
15098 * posix/regexec.c (build_trtable): Return failure indication upon
15099 calloc failure. Otherwise, re_search_internal could infloop on OOM.
15100
98727dbe
UD
151012010-12-25 Ulrich Drepper <drepper@gmail.com>
15102
5bd6dc5c
UD
15103 [BZ #12201]
15104 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15105 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15106 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15107 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15108
97983464
UD
15109 [BZ #12207]
15110 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15111
98727dbe
UD
15112 [BZ #12204]
15113 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15114 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15115
4a531bb0
L
151162010-12-15 H.J. Lu <hongjiu.lu@intel.com>
15117
15118 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15119 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15120 script has SORT_BY_INIT_PRIORITY.
15121 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15122 NO_CTORS_DTORS_SECTIONS is defined.
15123 * elf/soinit.c: Likewise.
15124 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15125 NO_CTORS_DTORS_SECTIONS is defined.
15126 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15127 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15128 * sysdeps/sh/init-first.c: Likewise.
15129 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15130
07eb4b71
UD
151312010-12-24 Ulrich Drepper <drepper@gmail.com>
15132
15133 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15134 always use the slow path.
15135
30950a5f
RA
151362010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15137
15138 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15139 similar rule which adds the sysdep directories to the header search in
15140 order to pick up the correct platform stackinfo.h.
15141 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15142 perform test if it is, otherwise return successfully without testing.
15143 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15144 DEFAULT_STACK_PERMS define in stackinfo.h.
15145 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15146 defined in stackinfo.h.
15147 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15148 DEFAULT_STACK_PERMS defined in stackinfo.h.
15149 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15150 * sysdeps/ia64/stackinfo.h: Likewise.
15151 * sysdeps/s390/stackinfo.h: Likewise.
15152 * sysdeps/sh/stackinfo.h: Likewise.
15153 * sysdeps/sparc/stackinfo.h: Likewise.
15154 * sysdeps/x86_64/stackinfo.h: Likewise.
15155 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15156 PF_X for powerpc64. Retain PF_X for powerpc32.
15157
db753e2c
UD
151582010-12-19 Ulrich Drepper <drepper@gmail.com>
15159
14b697f7
UD
15160 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15161 accurately.
db753e2c
UD
15162 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15163 GETDENTS_64BIT_ALIGNED.
15164
28300719
UD
151652010-12-14 Ulrich Drepper <dreper@gmail.com>
15166
14b697f7 15167 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 15168
4f197237
AS
151692010-12-10 Andreas Schwab <schwab@redhat.com>
15170
dbb0472f
AS
15171 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15172 _GNU_SOURCE.
15173
4f197237
AS
15174 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15175 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15176 Remove __restrict.
15177 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15178 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15179
fb88ac72
UD
151802010-12-09 Ulrich Drepper <drepper@gmail.com>
15181
15182 [BZ #11655]
15183 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15184 are initialized.
15185
42acbb92
JJ
151862010-12-09 Jakub Jelinek <jakub@redhat.com>
15187
15188 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15189
c038d98d
UD
151902010-12-03 Ulrich Drepper <drepper@gmail.com>
15191
15192 * po/it.po: Update from translation team.
15193
3a4a2499
L
151942010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15195
15196 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15197 unused codes.
15198
1e24cf6e
UD
151992010-11-30 Ulrich Drepper <drepper@gmail.com>
15200
15201 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15202
a7690819
AS
152032010-11-24 Andreas Schwab <schwab@redhat.com>
15204
15205 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15206 specially.
15207 (gaih_getanswer_slice): Likewise.
15208
3bf8d1b1
JJ
152092010-10-20 Jakub Jelinek <jakub@redhat.com>
15210
15211 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15212
6db52fbb
PB
152132010-05-31 Petr Baudis <pasky@suse.cz>
15214
15215 [BZ #11149]
15216 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15217 silently even in the chroot mode.
15218
eaca7569
UD
152192010-11-22 Ulrich Drepper <drepper@gmail.com>
15220
15221 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15222 last patch a bit. Pretty printing
15223
3056dcdb
UD
152242010-05-31 Petr Baudis <pasky@suse.cz>
15225
15226 [BZ #10085]
15227 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15228 initialization of skip_initgroups_dyn.
15229
cf7c9078
UD
152302010-11-19 Ulrich Drepper <drepper@gmail.com>
15231
15232 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15233 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15234
a1fb5e3e
UD
152352010-11-16 Ulrich Drepper <drepper@gmail.com>
15236
15237 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15238
3540d66b
AS
152392010-11-11 Andreas Schwab <schwab@redhat.com>
15240
15241 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15242 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15243 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15244 ($(objpfx)tst-fnmatch-mem): New rule.
15245 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15246 * posix/tst-fnmatch.c (main): Call mtrace.
15247
13b69574
L
152482010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15249
15250 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15251 Support Intel processor model 6 and model 0x2c.
15252
da93d214
LM
152532010-11-10 Luis Machado <luisgpm@br.ibm.com>
15254
15255 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15256 signed comparison.
15257
8ca52c6e
L
152582010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15259
15260 [BZ #12205]
15261 * string/test-strncasecmp.c (check_result): New function.
15262 (do_one_test): Use it.
15263 (check1): New function.
15264 (test_main): Use it.
15265 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15266 Support strcasecmp and strncasecmp.
15267
69da074d
UD
152682010-11-08 Ulrich Drepper <drepper@gmail.com>
15269
15270 [BZ #12194]
15271 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15272 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15273
ff02d528
L
152742010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15275
15276 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15277 IFUNC support.
15278 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15279 memset-x86-64.
15280 * sysdeps/x86_64/multiarch/bzero.S: New file.
15281 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15282 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15283 * sysdeps/x86_64/multiarch/memset.S: New file.
15284 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15285 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15286 Set bit_Prefer_SSE_for_memop for Intel processors.
15287 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15288 Define.
15289 (index_Prefer_SSE_for_memop): Define.
15290 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15291
344d0b54
LM
152922010-11-04 Luis Machado <luisgpm@br.ibm.com>
15293
15294 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15295 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15296
c0dde15b
UD
152972010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15298
15299 [BZ #12191]
15300 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15301 (__x86_64_raw_data_cache_size_half): Likewise.
15302 (__x86_64_raw_shared_cache_size): Likewise.
15303 (__x86_64_raw_shared_cache_size_half): Likewise.
15304
15305 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15306 (__x86_64_raw_data_cache_size_half): Likewise.
15307 (__x86_64_raw_shared_cache_size): Likewise.
15308 (__x86_64_raw_shared_cache_size_half): Likewise.
15309 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15310 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15311 and __x86_64_raw_shared_cache_size_half. Round
15312 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15313 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15314 to multiple of 256 bytes.
15315
0e516e0e
MS
153162010-11-03 Ulrich Drepper <drepper@gmail.com>
15317
15318 [BZ #12167]
15319 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15320 of inacessible symlinks. Verify result of symlink before returning it.
15321 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15322 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15323
0e012e87
ER
153242010-10-28 Erich Ritz <erichritz@gmail.com>
15325
15326 * math/math.h (isinf): Fix typo in comment.
15327
de0ff7bc
UD
153282010-11-01 Ulrich Drepper <drepper@gmail.com>
15329
15330 * po/da.po: Update from translation team.
15331
fa41c84d
UD
153322010-10-26 Ulrich Drepper <drepper@gmail.com>
15333
15334 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15335 is added to the list.
15336
f0967738
AK
153372010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15338 Ulrich Drepper <drepper@gmail.com>
15339
15340 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15341 the global list here. Move code to...
15342 (_dl_add_to_namespace_list): ...here. New function.
15343 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15344 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15345 * elf/dl-load.c (lose): Don't remove the element from the list.
15346 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15347 (_dl_map_object): Likewise.
15348
153492010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
15350
15351 [BZ #12159]
15352 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15353 into all bytes of SSE register.
15354 Patch by Richard Li <richardpku@gmail.com>.
15355
f0967738 153562010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
15357
15358 [BZ #12140]
15359 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15360 perturbing.
15361
d0b9e94f
MB
153622010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15363
15364 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15365 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15366 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15367 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15369 submachine.
15370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15371
8e9f92e9
AS
153722010-10-22 Andreas Schwab <schwab@redhat.com>
15373
15374 * include/dlfcn.h (__RTLD_SECURE): Define.
15375 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15376 mode & __RTLD_SECURE instead.
15377 (open_path): Rename preloaded parameter to secure.
15378 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15379 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15380 * elf/dl-deps.c (openaux): Likewise.
15381 * elf/rtld.c (struct map_args): Remove is_preloaded.
15382 (map_doit): Don't use it.
15383 (dl_main): Likewise.
15384 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15385 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15386
bc96fbda
AS
153872010-09-09 Andreas Schwab <schwab@redhat.com>
15388
15389 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15390 (sysd-rules-targets): Remove duplicates.
15391 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15392 rtld-%.$o dependency.
15393
22cd1c9b
AS
153942010-10-18 Andreas Schwab <schwab@redhat.com>
15395
15396 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15397 _dl_map_object do it.
15398
18edac48
UD
153992010-10-19 Ulrich Drepper <drepper@gmail.com>
15400
15401 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15402 fast fma builtins, define the macros in the C99 standard.
15403 (FP_FAST_FMAF): Likewise.
15404 (FP_FAST_FMAL): Likewise.
15405 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15406
15407 * bits/mathdef.h: Update copyright year.
15408 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15409
d2050124
MM
154102010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15411
15412 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15413 builtins, define the macros in the C99 standard.
15414 (FP_FAST_FMAF): Likewise.
15415 (FP_FAST_FMAL): Likewise.
15416 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15417 multiply/add.
15418 (FP_FAST_FMAF): Likewise.
15419
475facd1
JJ
154202010-10-15 Jakub Jelinek <jakub@redhat.com>
15421
15422 [BZ #3268]
15423 * math/libm-test.inc (fma_test): Some new testcases.
15424 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15425 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15426 y and infinite z. Do multiplication by C already in long double.
15427 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15428 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15429 y and infinite z. Do bitwise or of inexact bit into u.d.
15430 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15431 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15432 * sysdeps/i386/fpu/s_fma.S: Removed.
15433 * sysdeps/i386/fpu/s_fmal.S: Removed.
15434
7c08a05c
JJ
154352010-10-16 Jakub Jelinek <jakub@redhat.com>
15436
15437 [BZ #3268]
15438 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15439 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15440 computation is not scheduled after fetestexcept. Fix value
15441 of minimum denormal long double.
15442
f3f7372d
JJ
154432010-10-14 Jakub Jelinek <jakub@redhat.com>
15444
15445 [BZ #3268]
15446 * math/libm-test.inc (fma_test): Add some more tests.
15447 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15448 correctly.
15449
14d43591
AS
154502010-10-15 Andreas Schwab <schwab@redhat.com>
15451
15452 * scripts/data/localplt-s390-linux-gnu.data: New file.
15453 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15454
5e908464
JJ
154552010-10-13 Jakub Jelinek <jakub@redhat.com>
15456
15457 [BZ #3268]
15458 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15459 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15460 instead of dbl-64.
15461 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15462 inlines.
15463 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15464 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15465 if one of x and y is very large and the other is subnormal.
15466 * sysdeps/s390/fpu/s_fmaf.c: New file.
15467 * sysdeps/s390/fpu/s_fma.c: New file.
15468 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15469 * sysdeps/powerpc/fpu/s_fma.S: New file.
15470 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15471 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15472 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15473
154742010-10-12 Jakub Jelinek <jakub@redhat.com>
15475
15476 [BZ #3268]
15477 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15478 fma tests.
15479 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15480 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15481 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15482 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15483 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15484 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15485 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15486
b833d51f
UD
154872010-10-12 Ulrich Drepper <drepper@redhat.com>
15488
15489 [BZ #12078]
15490 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15491 * posix/bug-regex31.input: Add test case.
15492
1751705d
UD
154932010-10-11 Ulrich Drepper <drepper@gmail.com>
15494
e9b9cbf5
UD
15495 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15496 * posix/bug-regex31.input: New file.
15497
15498 [BZ #12078]
15499 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15500 (parse_sub_exp): Fix last change, use postorder.
15501
ef06edbe
UD
15502 * posix/bug-regex31.c: New file.
15503 * posix/Makefile: Add rules to build and run bug-regex31.
15504
a129c80d
UD
15505 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15506
15507 [BZ #12078]
15508 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15509
b76b818e
UD
15510 [BZ #12108]
15511 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15512 to have entries in sys_siglist.
15513
1751705d
UD
15514 [BZ #12093]
15515 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15516 be NULL.
15517
9ff8d36f
JJ
155182010-10-07 Jakub Jelinek <jakub@redhat.com>
15519
15520 [BZ #3268]
15521 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15522 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15523 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15524 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15525 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15526 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15527 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15528 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15529 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15530 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15531 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15532 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15533 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15534 * math/ftestexcept.c (fetestexcept): Likewise.
15535 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15536 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15537 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15538 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15539 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15540 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15541 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15542
af325969
UD
155432010-10-11 Ulrich Drepper <drepper@gmail.com>
15544
c579b202 15545 [BZ #12107]
af325969
UD
15546 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15547 newline.
15548
67a67b95
UD
155492010-10-06 Ulrich Drepper <drepper@gmail.com>
15550
15551 * string/bug-strstr1.c: New file.
15552 * string/Makefile: Add rules to build and run bug-strstr1.
15553
5fb308bc
EB
155542010-10-05 Eric Blake <eblake@redhat.com>
15555
15556 [BZ #12092]
15557 * string/str-two-way.h (two_way_long_needle): Always clear memory
15558 when skipping input due to the shift table.
15559
45db99c7
UD
155602010-10-03 Ulrich Drepper <drepper@gmail.com>
15561
3b111893
UD
15562 [BZ #12005]
15563 * malloc/mcheck.c: Handle large requests.
15564
45db99c7
UD
15565 [BZ #12077]
15566 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15567 for strncmp and strncasecmp.
15568 * string/stratcliff.c: Add tests for strcmp and strncmp.
15569 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15570
cf7a1eb8
NI
155712010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15572
15573 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15574 __set_fpscr.
15575
6484ba5e
AJ
155762010-09-30 Andreas Jaeger <aj@suse.de>
15577
15578 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15579 (CGROUP_SUPER_MAGIC): Define.
15580 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15581 Handle btrfs and cgroup file systems.
15582 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15583 Likewise.
15584
91c42559
LM
155852010-09-27 Luis Machado <luisgpm@br.ibm.com>
15586
15587 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15588 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15589
87a97932
AK
155902010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15591
15592 [BZ #12067]
15593 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15594 trying to locate the ELF header.
15595
c21cc9bc
AS
155962010-09-27 Andreas Schwab <schwab@redhat.com>
15597
15598 [BZ #11611]
15599 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15600 Mask out sign-bit copies when constructing f_fsid.
15601
315970f6
PB
156022010-09-24 Petr Baudis <pasky@suse.cz>
15603
15604 * debug/stack_chk_fail_local.c: Add missing licence exception.
15605 * debug/warning-nop.c: Likewise.
15606
1ac7a2c7
JM
156072010-09-15 Joseph Myers <joseph@codesourcery.com>
15608
15609 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15610 implementing getdents64 using getdents syscall, set d_type if
15611 __ASSUME_GETDENTS32_D_TYPE.
15612
56801c50
AS
156132010-09-16 Andreas Schwab <schwab@redhat.com>
15614
15615 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15616 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15617
dda51327
UD
156182010-09-21 Ulrich Drepper <drepper@redhat.com>
15619
15620 [BZ #12037]
15621 * posix/unistd.h: Undo change of feature selection for ftruncate from
15622 2010-01-11.
15623
8ffcee4a
UD
156242010-09-20 Ulrich Drepper <drepper@redhat.com>
15625
a545ecd9 15626 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
15627 detection.
15628
e24f0a8b
AS
156292010-09-20 Andreas Schwab <schwab@redhat.com>
15630
15631 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15632 fanotify_mark.
15633 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15634
7291c56f
AS
156352010-09-14 Andreas Schwab <schwab@redhat.com>
15636
15637 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15638 variables after CHECK_SP call.
15639 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15640
bc5fb037
AS
156412010-09-13 Andreas Schwab <schwab@redhat.com>
15642 Ulrich Drepper <drepper@redhat.com>
15643
15644 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15645 re-relocationg ld.so.
15646 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15647 _dl_init_paths call.
15648 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15649 here anymore.
15650
e66e7419
UD
156512010-09-14 Ulrich Drepper <drepper@redhat.com>
15652
15653 * resolv/res_init.c (__res_vinit): Count the default server we added.
15654
c044aa75
CLT
156552010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15656 Ulrich Drepper <drepper@redhat.com>
15657
15658 [BZ #11968]
15659 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15660 (____longjmp_chk): Use %ebx for saving value across system call.
15661 Add unwind info.
15662
32cf4069
AS
156632010-09-06 Andreas Schwab <schwab@redhat.com>
15664
15665 * manual/Makefile: Don't mix pattern rules with normal rules.
15666
817328ee
AS
156672010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15668
15669 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15670 operation.
15671 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15672 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15673 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15674 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15675 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15676 Likewise.
15677
29fddf61
UD
156782010-09-04 Ulrich Drepper <drepper@redhat.com>
15679
15680 [BZ #11979]
15681 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15682 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15683
0959ffc9
UD
156842010-09-02 Ulrich Drepper <drepper@redhat.com>
15685
15686 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15687 * sysdeps/x86_64/addmul_1.S: Likewise.
15688 * sysdeps/x86_64/lshift.S: Likewise.
15689 * sysdeps/x86_64/mul_1.S: Likewise.
15690 * sysdeps/x86_64/rshift.S: Likewise.
15691 * sysdeps/x86_64/sub_n.S: Likewise.
15692 * sysdeps/x86_64/submul_1.S: Likewise.
15693
ece29840
ST
156942010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15695
0959ffc9
UD
15696 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15697 Define __sched_param instead of SCHED_* and sched_param when
ece29840 15698 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 15699 * bits/sched.h [__need_schedparam]
ece29840 15700 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
15701 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15702 (__defined_schedparam): Define to 1.
ece29840
ST
15703 (__sched_param): New structure, identical to sched_param.
15704 (__need_schedparam): Undefine.
15705
e53a31fe
MF
157062010-08-31 Mike Frysinger <vapier@gentoo.org>
15707
fdc0c10d
MF
15708 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15709 (epoll_create1): Declare.
15710
e53a31fe
MF
15711 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15712
a726d796
AS
157132010-08-31 Andreas Schwab <schwab@redhat.com>
15714
15715 [BZ #7066]
15716 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15717 shifting retval into place.
15718
2f3e3dc7
UD
157192010-09-01 Ulrich Drepper <drepper@redhat.com>
15720
f2933da9
UD
15721 * nis/rpcsvc/nis.h: Update copyright notice.
15722 * nis/rpcsvc/nis.x: Likewise.
15723 * nis/rpcsvc/nis_callback.h: Likewise.
15724 * nis/rpcsvc/nis_callback.x: Likewise.
15725 * nis/rpcsvc/nis_object.x: Likewise.
15726 * nis/rpcsvc/nis_tags.h: Likewise.
15727 * nis/rpcsvc/yp.h: Likewise.
15728 * nis/rpcsvc/yp.x: Likewise.
15729 * nis/rpcsvc/ypupd.h: Likewise.
15730 * nis/yp_xdr.c: Likewise.
15731 * nis/ypupdate_xdr.c: Likewise.
15732
2f3e3dc7
UD
15733 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15734 mainly the body of pmap_getport. Add parameters to specify timeouts.
15735 (pmap_getport): Use __libc_rpc_getport.
15736 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15737 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15738 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15739
f3dcc2f9
AS
157402010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15741
15742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15743 fanotify_mark.
15744
6d34eb5b
RM
157452010-08-27 Roland McGrath <roland@redhat.com>
15746
15747 * sysdeps/i386/i686/multiarch/Makefile
15748 (CFLAGS-varshift.c): New variable.
15749
9ea3de11
UD
157502010-08-27 Ulrich Drepper <drepper@redhat.com>
15751
c96d23fc
UD
15752 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15753 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15754
9ea3de11
UD
15755 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15756
15757 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15758
623aac7f
L
157592010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15760
15761 * sysdeps/x86_64/strlen.S: Unroll the loop.
15762 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15763 strlen-sse2 strlen-sse2-bsf.
15764 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15765 __strlen_no_bsf if bit_Slow_BSF is set.
15766 (__strlen_sse42): Removed.
15767 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15768 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15769
8b2b7715
RM
157702010-08-25 Roland McGrath <roland@redhat.com>
15771
15772 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15773 * sysdeps/x86_64/multiarch/varshift.c: New file.
15774 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15775 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15776 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15777 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15778
e73015f2
L
157792010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15780
15781 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15782 strlen-sse2 strlen-sse2-bsf.
15783 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15784 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15785 (__strlen_sse2): Removed.
15786 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15787 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15788 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15789 bit_Slow_BSF for Atom.
15790 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15791 (index_Slow_BSF): Define.
15792 (HAS_SLOW_BSF): Define.
15793
df24a73e
UD
157942010-08-25 Ulrich Drepper <drepper@redhat.com>
15795
15796 [BZ #10851]
15797 * resolv/res_init.c (__res_vinit): When no server address at all
15798 is given default to loopback.
15799
f2ac4868
RM
158002010-08-24 Roland McGrath <roland@redhat.com>
15801
09055553
RM
15802 * configure.in: Remove config-name.h generation.
15803 * configure: Regenerated.
15804 * config-name.in: File removed.
15805 * scripts/config-uname.sh: New file.
15806 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15807 ($(objdir)config-name.h): New target.
15808
f2ac4868
RM
15809 * sunrpc/rpc_parse.h: Avoid nested comment.
15810
73f27d5e
RH
158112010-08-24 Richard Henderson <rth@redhat.com>
15812 Ulrich Drepper <drepper@redhat.com>
15813 H.J. Lu <hongjiu.lu@intel.com>
15814
15815 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15816 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15817 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15818 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15819 _mm_alignr_epi8 with _mm_loadu_si128.
15820 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15821 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15822 (__m128i_shift_right): Removed.
15823 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15824 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15825 * sysdeps/x86_64/multiarch/varshift.h: New file.
15826 * sysdeps/x86_64/multiarch/varshift.S: New file.
15827
84b9230c
MF
158282010-08-21 Mike Frysinger <vapier@gentoo.org>
15829
15830 * configure.in: Move assembler checks to before sysdep dir checking.
15831
9bbd0ddc
PB
158322010-08-20 Petr Baudis <pasky@suse.cz>
15833
15834 * LICENSES: Sync the sunrpc license.
15835
9da4bb31
UD
158362010-08-19 Ulrich Drepper <drepper@redhat.com>
15837
a7ab6ec8
UD
15838 * sunrpc/auth_des.c: Update copyright notice once again.
15839 * sunrpc/auth_none.c: Likewise.
15840 * sunrpc/auth_unix.c: Likewise.
15841 * sunrpc/authdes_prot.c: Likewise.
15842 * sunrpc/authuxprot.c: Likewise.
15843 * sunrpc/bindrsvprt.c: Likewise.
15844 * sunrpc/clnt_gen.c: Likewise.
15845 * sunrpc/clnt_perr.c: Likewise.
15846 * sunrpc/clnt_raw.c: Likewise.
15847 * sunrpc/clnt_simp.c: Likewise.
15848 * sunrpc/clnt_tcp.c: Likewise.
15849 * sunrpc/clnt_udp.c: Likewise.
15850 * sunrpc/clnt_unix.c: Likewise.
15851 * sunrpc/des_crypt.c: Likewise.
15852 * sunrpc/des_soft.c: Likewise.
15853 * sunrpc/get_myaddr.c: Likewise.
15854 * sunrpc/getrpcport.c: Likewise.
15855 * sunrpc/key_call.c: Likewise.
15856 * sunrpc/key_prot.c: Likewise.
15857 * sunrpc/openchild.c: Likewise.
15858 * sunrpc/pm_getmaps.c: Likewise.
15859 * sunrpc/pm_getport.c: Likewise.
15860 * sunrpc/pmap_clnt.c: Likewise.
15861 * sunrpc/pmap_prot.c: Likewise.
15862 * sunrpc/pmap_prot2.c: Likewise.
15863 * sunrpc/pmap_rmt.c: Likewise.
15864 * sunrpc/rpc/auth.h: Likewise.
15865 * sunrpc/rpc/auth_unix.h: Likewise.
15866 * sunrpc/rpc/clnt.h: Likewise.
15867 * sunrpc/rpc/des_crypt.h: Likewise.
15868 * sunrpc/rpc/key_prot.h: Likewise.
15869 * sunrpc/rpc/netdb.h: Likewise.
15870 * sunrpc/rpc/pmap_clnt.h: Likewise.
15871 * sunrpc/rpc/pmap_prot.h: Likewise.
15872 * sunrpc/rpc/pmap_rmt.h: Likewise.
15873 * sunrpc/rpc/rpc.h: Likewise.
15874 * sunrpc/rpc/rpc_des.h: Likewise.
15875 * sunrpc/rpc/rpc_msg.h: Likewise.
15876 * sunrpc/rpc/svc.h: Likewise.
15877 * sunrpc/rpc/svc_auth.h: Likewise.
15878 * sunrpc/rpc/types.h: Likewise.
15879 * sunrpc/rpc/xdr.h: Likewise.
15880 * sunrpc/rpc_clntout.c: Likewise.
15881 * sunrpc/rpc_cmsg.c: Likewise.
15882 * sunrpc/rpc_common.c: Likewise.
15883 * sunrpc/rpc_cout.c: Likewise.
15884 * sunrpc/rpc_dtable.c: Likewise.
15885 * sunrpc/rpc_hout.c: Likewise.
15886 * sunrpc/rpc_main.c: Likewise.
15887 * sunrpc/rpc_parse.c: Likewise.
15888 * sunrpc/rpc_parse.h: Likewise.
15889 * sunrpc/rpc_prot.c: Likewise.
15890 * sunrpc/rpc_sample.c: Likewise.
15891 * sunrpc/rpc_scan.c: Likewise.
15892 * sunrpc/rpc_scan.h: Likewise.
15893 * sunrpc/rpc_svcout.c: Likewise.
15894 * sunrpc/rpc_tblout.c: Likewise.
15895 * sunrpc/rpc_util.c: Likewise.
15896 * sunrpc/rpc_util.h: Likewise.
15897 * sunrpc/rpcinfo.c: Likewise.
15898 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15899 * sunrpc/rpcsvc/key_prot.x: Likewise.
15900 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15901 * sunrpc/rpcsvc/mount.x: Likewise.
15902 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15903 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15904 * sunrpc/rpcsvc/rex.x: Likewise.
15905 * sunrpc/rpcsvc/rstat.x: Likewise.
15906 * sunrpc/rpcsvc/rusers.x: Likewise.
15907 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15908 * sunrpc/rpcsvc/spray.x: Likewise.
15909 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15910 * sunrpc/rtime.c: Likewise.
15911 * sunrpc/svc.c: Likewise.
15912 * sunrpc/svc_auth.c: Likewise.
15913 * sunrpc/svc_authux.c: Likewise.
15914 * sunrpc/svc_raw.c: Likewise.
15915 * sunrpc/svc_run.c: Likewise.
15916 * sunrpc/svc_simple.c: Likewise.
15917 * sunrpc/svc_tcp.c: Likewise.
15918 * sunrpc/svc_udp.c: Likewise.
15919 * sunrpc/svc_unix.c: Likewise.
15920 * sunrpc/svcauth_des.c: Likewise.
15921 * sunrpc/xcrypt.c: Likewise.
15922 * sunrpc/xdr.c: Likewise.
15923 * sunrpc/xdr_array.c: Likewise.
15924 * sunrpc/xdr_float.c: Likewise.
15925 * sunrpc/xdr_mem.c: Likewise.
15926 * sunrpc/xdr_rec.c: Likewise.
15927 * sunrpc/xdr_ref.c: Likewise.
15928 * sunrpc/xdr_sizeof.c: Likewise.
15929 * sunrpc/xdr_stdio.c: Likewise.
15930
9da4bb31
UD
15931 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15932 handling.
15933
bdaa77bc
AS
159342010-08-19 Andreas Schwab <schwab@redhat.com>
15935
15936 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15937
fe2f79db
LM
159382010-08-19 Luis Machado <luisgpm@br.ibm.com>
15939
15940 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15941 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15942 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15943 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15944 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15945 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15946 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15947 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15948 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15949 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15950 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15951 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15952 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15953 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15954
b9b42ee0
AB
159552010-07-26 Anton Blanchard <anton@samba.org>
15956
15957 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15958 * malloc/arena.c (heap_trim): Likewise.
15959
1c06ba31
UD
159602010-08-16 Ulrich Drepper <drepper@redhat.com>
15961
15962 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15963 here. Not...
15964 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15965 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15966
f8392f40
L
159672010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15968
15969 * sysdeps/i386/elf/Makefile: New file.
15970
3162f12e
AS
159712010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15972
15973 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15974 from fanotify_init.
15975 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15976 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15977
28c90b2c
UD
159782010-08-15 Ulrich Drepper <drepper@redhat.com>
15979
15980 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15981 of strncasecmp_l.
1feccb6c 15982 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 15983
ca6bb004
UD
159842010-08-14 Ulrich Drepper <drepper@redhat.com>
15985
e9f82e0d
UD
15986 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15987 strncase_l-nonascii.
15988 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15989 Add strncase_l-ssse3.
15990 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15991 * sysdeps/x86_64/strcmp.S: Likewise.
15992 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15993 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15994 * sysdeps/x86_64/strncase.S: New file.
15995 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15996 * sysdeps/x86_64/strncase_l.S: New file.
15997 * string/Makefile (strop-tests): Add strncasecmp.
15998 * string/test-strncasecmp.c: New file.
15999
16000 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
16001 warning.
16002
ca6bb004
UD
16003 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
16004 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
16005
052fa7b3
AS
160062010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16007
16008 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
16009
962dba78
UD
160102010-08-12 Ulrich Drepper <drepper@redhat.com>
16011
16012 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
16013 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
16014 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
16015
bebff237
AM
160162010-05-01 Alan Modra <amodra@gmail.com>
16017
16018 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
16019 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
16020 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
16021 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
16022 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
16023 tidying. Don't tail-call __sigjmp_save for static lib.
16024 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
16025 save location.
16026 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
16027 (CALL_MCOUNT): Add eh info, and nop after bl.
16028 (TAIL_CALL_SYSCALL_ERROR): New macro.
16029 (PSEUDO_RET): Use it.
16030 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16031 Correct save location of integer regs and cr.
16032 (_dl_profile_resolve): Correct cr save location. Delete nops
16033 after bl when SHARED. Reduce cfi size a little by better
16034 placement of cfi directives.
16035 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
16036 make a stack frame. Instead use parm save area as a temp.
16037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
16038 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
16039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16040 Don't make a stack frame for parent, use parm save area.
16041 Increase child stack frame to 112 bytes. Don't save unused reg,
16042 and adjust reg usage. Set up cfi on error recovery and
16043 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
16044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16045 (__makecontext): Add dummy nop after jump to exit.
16046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
16047 Use correct parm save area and cr save, reduce stack frame.
16048 Correct cfi for possible PSEUDO_RET frame setup.
16049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
16050 Branch to local label emitted by PSEUDO_RET rather than
16051 __syscall_error.
16052
02637374
AS
160532010-08-12 Andreas Schwab <schwab@redhat.com>
16054
16055 [BZ #11904]
16056 * locale/programs/locale.c (print_assignment): New function.
16057 (show_locale_vars): Use it.
16058
c3e2f19b
UD
160592010-08-11 Ulrich Drepper <drepper@redhat.com>
16060
3cdaa6ad
UD
16061 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
16062 field.
16063 (struct statfs64): Likewise.
16064 (_STATFS_F_FLAGS): Define.
16065 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
16066 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16067 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
16068 (ST_VALID): Define locally.
16069 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
16070 __statvfs_getflags, use the provided value.
16071 * sysdeps/unix/sysv/linux/kernel-features.h: Define
16072 __ASSUME_STATFS_F_FLAGS.
16073
754f7da3
UD
16074 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
16075
10b3bedc
UD
16076 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
16077 Add sys/fanotify.h.
16078 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16079 fanotify_mask for GLIBC_2.13.
16080 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16081 fanotify_init and fanotify_mark.
16082 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16083 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16084
c08fb0d7
UD
16085 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16086 Add prlimit.
16087 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16088 prlimit64 for GLIBC_2.13.
16089 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16090 prlimit64.
16091 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16092 syscall.
16093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16094 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16095 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16096 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16097 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
16098 add prlimit alias.
16099 * sysdeps/unix/sysv/linux/prlimit.c: New file.
16100
15bac72b
UD
16101 [BZ #11903]
16102 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16103 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16104
c3e2f19b
UD
16105 * nss/Makefile: Add rules to build and run tst-nss-test1.
16106 * shlib-versions: Add entry for libnss_test1.
16107 * nss/nss_test1.c: New file.
16108 * nss/tst-nss-test1.c: New file.
16109
16110 * nss/nsswitch.c (__nss_database_custom): Define new variable.
16111 (__nss_configure_lookup): Set appropriate entry in
16112 __nss_configure_lookup to true.
16113 * nss/nsswitch.h: Define enum with indeces of databases in
16114 databases and __nss_database_custom arrays. Declare
16115 __nss_database_custom.
16116 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16117 to avoid using nscd when custom rules are installed.
16118 * nss/getXXbyYY_r.c: Likewise.
16119 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16120
16121 * nss/nss_files/files-parse.c: Whitespace fixes.
16122
f15ce4d8
UD
161232010-08-09 Ulrich Drepper <drepper@redhat.com>
16124
16125 [BZ #11883]
16126 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16127 * posix/fnmatch_loop.c: Likewise.
16128
d22e4cc9
AK
161292010-07-17 Andi Kleen <ak@linux.intel.com>
16130
16131 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16132 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16133 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16134 * Versions.def [GLIBC_2.13]: Add.
16135
805bc17d
UD
161362010-08-06 Ulrich Drepper <drepper@redhat.com>
16137
16138 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16139 Also fail if tpwd after pwuid call is NULL.
16140
5a42321d
ST
161412010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16142
16143 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16144 when converting to ms.
16145
fd3ebeda
ST
161462010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16147
16148 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16149 EOPNOTSUPP errors with ENOTTY.
16150 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16151 EOPNOTSUPP errors with ENOTTY.
16152
73507d3a
UD
161532010-07-31 Ulrich Drepper <drepper@redhat.com>
16154
16155 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16156 Add strcasecmp_l-ssse3.
16157 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16158 strcasecmp.
16159 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16160 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16161 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16162
fe36dd02
UD
161632010-07-30 Ulrich Drepper <drepper@redhat.com>
16164
66f6765a
UD
16165 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16166
42e08a54
UD
16167 * string/Makefile (strop-tests): Add strcasecmp.
16168 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16169 strcasecmp_l-nonascii.
16170 (gen-as-const-headers): Add locale-defines.sym.
16171 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16172 * sysdeps/x86_64/strcasecmp.S: New file.
16173 * sysdeps/x86_64/strcasecmp_l.S: New file.
16174 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16175 * sysdeps/x86_64/locale-defines.sym: New file.
16176 * string/test-strcasecmp.c: New file.
16177
fe36dd02
UD
16178 * string/test-strcasestr.c: Test both ends of the range of characters.
16179 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16180
48cbc0d6
RM
161812010-07-29 Roland McGrath <roland@redhat.com>
16182
76e6d6bc 16183 [BZ #11856]
48cbc0d6
RM
16184 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16185
880113d9
UD
161862010-07-27 Ulrich Drepper <drepper@redhat.com>
16187
16188 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16189 for ld.so.
16190
deb9cabb
AS
161912010-07-27 Andreas Schwab <schwab@redhat.com>
16192
16193 * manual/memory.texi (Malloc Tunable Parameters): Document
16194 M_PERTURB.
16195
1c7570ff
RM
161962010-07-26 Roland McGrath <roland@redhat.com>
16197
16198 [BZ #11840]
16199 * configure.in (-fgnu89-inline check): Set and substitute
16200 gnu89_inline, not libc_cv_gnu89_inline.
16201 * configure: Regenerated.
16202 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16203
24fb0f88
UD
162042010-07-26 Ulrich Drepper <drepper@redhat.com>
16205
16206 * string/test-strnlen.c: New file.
16207 * string/Makefile (strop-tests): Add strnlen.
16208 * string/tester.c (test_strnlen): Add a few more test cases.
16209 * string/tst-strlen.c: Better error reporting.
16210
16211 * sysdeps/x86_64/strnlen.S: New file.
16212
8e96b93a
UD
162132010-07-24 Ulrich Drepper <drepper@redhat.com>
16214
16215 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16216 lower-latency instructions.
16217
dbc676d4
UD
162182010-07-23 Ulrich Drepper <drepper@redhat.com>
16219
16220 * string/test-strcasestr.c: New file.
16221 * string/test-strstr.c: New file.
16222 * string/Makefile (strop-tests): Add strstr and strcasestr.
16223 * string/str-two-way.h: Don't undefine MAX.
16224 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16225
f6a31e0e
AS
162262010-07-21 Andreas Schwab <schwab@redhat.com>
16227
16228 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16229 strcasestr-nonascii.
16230 (CFLAGS-strcasestr-nonascii.c): Define.
16231 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16232 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16233 Remove unused attribute.
16234
5dbc3b6c
RM
162352010-07-20 Roland McGrath <roland@redhat.com>
16236
16237 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16238 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16239 ld.so.cache was broken. With it, there is no way to disable dsocaps
16240 like LD_HWCAP_MASK can disable hwcaps.
16241
23d101d8
EPM
162422010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16243
16244 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16245
cc9f2e47
UD
162462010-07-16 Ulrich Drepper <drepper@redhat.com>
16247
16248 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16249 call in strcasestr.
16250 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16251 __strcasestr_sse42_nonascii.
16252 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16253 strcasestr-nonascii.c.
16254 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16255
77c1b069
LM
162562010-06-15 Luis Machado <luisgpm@br.ibm.com>
16257
16258 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16259 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16260 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16261 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16262
440566c3
UD
162632010-07-09 Ulrich Drepper <drepper@redhat.com>
16264
16265 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16266 fcntl.
16267
5be9d05d
AS
162682010-07-06 Andreas Schwab <schwab@redhat.com>
16269
c30b7ee2 16270 [BZ #11577]
5be9d05d
AS
16271 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16272 dl_signal_cerror.
16273
8a492a67
UD
162742010-07-06 Ulrich Drepper <drepper@redhat.com>
16275
16276 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16277 _PC_PIPE_BUF using F_GETPIPE_SZ.
16278
713df3d5
RM
162792010-07-05 Roland McGrath <roland@redhat.com>
16280
16281 * manual/arith.texi (Rounding Functions): Fix rint description
16282 implicit in round description.
16283
702e8f14
UD
162842010-07-02 Ulrich Drepper <drepper@redhat.com>
16285
16286 * elf/Makefile: Fix linking for a few tests to make recent linker
16287 happy.
16288
52ed8be9
AS
162892010-06-30 Andreas Schwab <schwab@redhat.com>
16290
16291 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16292 $(common-objpfx)libc_nonshared.a.
16293
f47c9a11
LM
162942010-06-21 Luis Machado <luisgpm@br.ibm.com>
16295
16296 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16297 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16298 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16299 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16300 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16301 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16302 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16303 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16318 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16319 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16320 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16321 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16322 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16323 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16324 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16325 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16326 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16327 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16328 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16329 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16344
6fb8cbcb
L
163452010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16346
16347 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16348 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16349 * string/memmove.c (memmove): Renamed to ...
16350 (MEMMOVE): ...this. Default to memmove.
16351 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16352 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16353 (END_CHK): Define.
16354 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16355 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16356 mempcpy-ssse3-back memmove-ssse3-back.
16357 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16358 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16359 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16360 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16361 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16362 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16363 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16364 * sysdeps/x86_64/multiarch/memmove.c: New file.
16365 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16366 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16367 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16368 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16369 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16370 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16371 Define.
16372 (index_Fast_Copy_Backward): Define.
16373 (HAS_ARCH_FEATURE): Define.
16374 (HAS_FAST_REP_STRING): Define.
16375 (HAS_FAST_COPY_BACKWARD): Define.
16376
4e733bac 163772010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
16378
16379 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16380 Restore proper fallback handling.
16381
63c4ed22
UD
163822010-06-19 Ulrich Drepper <drepper@redhat.com>
16383
ac2b484c
UD
16384 [BZ #11701]
16385 * posix/group_member.c (__group_member): Correct checking loop.
16386
63c4ed22
UD
16387 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16388 OOM in getpwuid_r correctly. Return error number when the caller
16389 should return, otherwise -1.
16390 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16391 call returning > 0 value.
16392 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16393
765ade4b
AS
163942010-06-07 Andreas Schwab <schwab@redhat.com>
16395
16396 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16397 libc_nonshared.a from targets in modules-names.
16398
80da2e09
KS
163992010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16400
16401 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16402 requires it.
16403
158db122
LM
164042010-06-10 Luis Machado <luisgpm@br.ibm.com>
16405
16406 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16407 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16408 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16409 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16410
caa78cf8
AS
164112010-06-02 Andreas Schwab <schwab@redhat.com>
16412
16413 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16414
b2ef2c01
UD
164152010-06-14 Ulrich Drepper <drepper@redhat.com>
16416
16417 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16418 and F_GETPIPE_SZ.
16419 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16420 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16421 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16422 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16423 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16424 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16425
fbd643b6
RM
164262010-06-14 Roland McGrath <roland@redhat.com>
16427
16428 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16429
f32f2869
JJ
164302010-06-07 Jakub Jelinek <jakub@redhat.com>
16431
16432 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16433 __REDIRECT followed by __THROW.
16434 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16435 * posix/getopt.h (getopt): Likewise.
16436
2a50c078
EPM
164372010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16438
16439 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16440 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16441 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16442 in AT_FLAGS.
16443 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16444 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16445
eb5ad2eb
LM
164462010-05-28 Luis Machado <luisgpm@br.ibm.com>
16447
16448 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16449
3c88fe1e
L
164502010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16451
16452 [BZ #11640]
16453 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16454 Properly check family and model.
16455
d2f73151
TY
164562010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16457
16458 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16459
ebd2e13d
LM
164602010-05-24 Luis Machado <luisgpm@br.ibm.com>
16461
16462 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16463
b32b8b45
UD
164642010-05-21 Ulrich Drepper <drepper@redhat.com>
16465
16466 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16467 symbol reference.
16468
9acbe24d
AS
164692010-05-19 Andreas Schwab <schwab@redhat.com>
16470
16471 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16472 symbol reference.
16473
f0ccf6ea
AS
164742010-05-21 Andreas Schwab <schwab@redhat.com>
16475
3d04ff3a
AS
16476 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16477 and internal_recvmmsg.
16478 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16479 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16480 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16481 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16482
f0ccf6ea
AS
16483 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16484 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16485 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16486
5b08ac57
AS
164872010-05-20 Andreas Schwab <schwab@redhat.com>
16488
16489 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16490
4828935d
LM
164912010-05-17 Luis Machado <luisgpm@br.ibm.com>
16492
16493 POWER7 optimizations.
16494 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16495 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16496
373d545e
UD
164972010-05-19 Ulrich Drepper <drepper@redhat.com>
16498
16499 * version.h: Update for 2.13 development version.
16500
21a2b1ae
AS
165012010-05-12 Andrew Stubbs <ams@codesourcery.com>
16502
16503 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16504 exceptions. Return 0.
16505
3f7dcb2b
RM
165062010-05-07 Roland McGrath <roland@redhat.com>
16507
16508 * elf/ldconfig.c (main): Add a const.
16509
5f24d53a 165102010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 16511
a160f8d8
UD
16512 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16513 (args_options): Add no-idn option.
16514 (ahosts_keys_int): Add idn_flags to ai_flags.
16515 (parse_option): Handle 'i' option to clear idn_flags.
16516
5f24d53a
UD
16517 * malloc/malloc.c (_int_free): Possible race in the most recently
16518 added check. Only act on the data if no current modification
16519 happened.
265bb1ce
UD
16520
16521See ChangeLog.17 for earlier changes.