]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Update manual/contrib.texi
[thirdparty/glibc.git] / ChangeLog
CommitLineData
06c5abbd
AJ
12012-06-15 Andreas Jaeger <aj@suse.de>
2
3 * manual/contrib.texi (Contributors): Update entry of Liubov
4 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
5 Machado Filho.
6
a3aeac40
CH
72012-06-15 Cyril Hrubis <metan@ucw.cz>
8
9 * string/string.h: Add __wur to GNU version of strerror_r.
10
49bdf4c1
L
112012-06-14 H.J. Lu <hongjiu.lu@intel.com>
12
13 [BZ #14229]
14 * string/Makefile (tests): Add tst-strtok_r.
15 * string/tst-strtok_r.c: New file.
16 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
17 RAX_LP/RDX_LP on SAVE_PTR.
18
834f9b8d
RM
192012-06-14 Roland McGrath <roland@hack.frob.com>
20
21 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22
75fa1921
JM
232012-06-14 Joseph Myers <joseph@codesourcery.com>
24
25 * libm_test.inc (csqrt_test): Allow more spurious underflow
26 exceptions.
27 (j0_test): Likewise.
28 (j1_test): Likewise.
29 (y0_test): Likewise.
30 (y1_test): Likewise.
31
771766df
CD
322012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
33
34 * po/Makefile (libc.pot): Use UTF-8 charset.
35
ceb9e56b
PP
362012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
37
38 [BZ #14210]
39 Suppress sign-conversion warning from FD_SET.
40 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
41 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
42 not unsigned long int.
43 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
44
ddb28975
L
452012-06-12 H.J. Lu <hongjiu.lu@intel.com>
46
47 [BZ #14050]
48 [BZ #14117]
49 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
50 __extern_always_inline instead of __extern_inline.
51 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
52 (__signbit): Likewise.
53 (__signbitl): Support C++ namespace.
54 (lrintf): New inline function.
55 (lrint): Likewise.
56 (llrintf): Likewise.
57 (llrint): Likewise.
58 (fmaxf): Likewise.
59 (fmax): Likewise.
60 (fminf): Likewise.
61 (fmin): Likewise.
62 (rint): Likewise.
63 (rintf): Likewise.
64 (ceil): Likewise.
65 (ceilf): Likewise.
66 (floor): Likewise.
67 (floorf): Likewise.
68 (nearbyint): Likewise.
69 (nearbyintf): Likewise.
70
d7b4fb26
TS
712012-06-12 Thomas Schwinge <thomas@codesourcery.com>
72
73 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
74 non-default versions.
75
eb55f5c2
RM
762012-06-11 Roland McGrath <roland@hack.frob.com>
77
78 [BZ #14218]
79 * manual/argp.texi (Argp): Reword argp_parse description slightly.
80
366af02c
TS
812012-06-09 Thomas Schwinge <thomas@codesourcery.com>
82
99ff6e5c
TS
83 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
84 (FE_UPWARD, FE_DOWNWARD): Don't define.
85 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
86 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
87
366af02c
TS
88 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
89 reading it.
90 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
91 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
92
793ea851
KK
932012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
94
95 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
96 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
97 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
98 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
99
a728a38f
L
1002012-06-06 H.J. Lu <hongjiu.lu@intel.com>
101
102 [BZ #14117]
c08010c7
L
103 * sysdeps/i386/fpu/bits/fenv.h: Removed.
104 * sysdeps/i386/fpu/Implies: New file.
105 * sysdeps/x86_64/fpu/Implies: Likewise.
106 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
107 * sysdeps/x86/fpu/bits/fenv.h: This.
108
a728a38f
L
109 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
110 __SSE_MATH__.
111
6e230d11
SP
1122012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
113
114 [BZ #14134]
115 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
116 character 0xffff that matches the last element of the
117 conversion table.
118
1b671feb
AZ
1192012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
120
121 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
122 fmodl commit.
123
6043738b
AZ
1242012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
125
126 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
127 values higher than 25.6283.
128
34ae0b32
AZ
1292012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
130
131 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
132 subnormal exponent extraction and add some __builtin_expect.
133 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
134 Fix for subnormal mantissa calculation.
135
1214ec8f
MF
1362012-06-04 Mike Frysinger <vapier@gentoo.org>
137
138 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
139 cpu2 is -1 and errno is not ENOSYS.
140
f3d1f93c
L
1412012-06-04 H.J. Lu <hongjiu.lu@intel.com>
142
143 [BZ #14117]
0e4a3cd7
L
144 * sysdeps/i386/i486/bits/string.h: Renamed to ...
145 * sysdeps/x86/bits/string.h: This.
146 * sysdeps/x86_64/bits/string.h: Removed.
147
6704c645
L
148 * sysdeps/i386/i486/bits/string.h: Define inline functions only
149 if not compiling for x86-64, but compiling for >= i486.
150
48495318
L
151 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
152 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
153
14adcbfc
L
154 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
155 New macro from Linux kernel 3.4.0.
156 (FP_XSTATE_MAGIC2): Likewise.
157 (FP_XSTATE_MAGIC2_SIZE): Likewise.
158 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
159 (struct _fpx_sw_bytes): New struct.
160 (struct _xsave_hdr): Likewise.
161 (struct _ymmh_state): Likewise.
162 (struct _xstate): Likewise.
163
68e408ab
L
164 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
165 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
166 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
167 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
168 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
169 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
170
f3d1f93c
L
171 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
172 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
173 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
174 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
175 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
176 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
177
d9dc34cd
TMQMF
1782012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
179
180 [BZ #13743]
181 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
182 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
183 (sysdep_headers): Include sys/platform/ppc.h.
184 * sysdeps/powerpc/test-gettimebase.c: Test for
185 __ppc_get_timebase() to catch future ISA opcode/insn changes.
186 * manual/Makefile (appendices): Include platform.texi.
187 * manual/contrib.texi (Contributors): Update @node pointers.
188 * manual/maint.texi (Maintenance): Likewise.
189 (Platform): New node.
190 * manual/platform.texi: New file. Document the new features.
191
4af3879c
SP
1922012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
193 Jakub Jelinek <jakub@redhat.com>
194
195 [BZ #14188]
196 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
197 where __builtin_expect is unavailable.
198
2fd6ff13
DM
1992012-06-03 David S. Miller <davem@davemloft.net>
200
201 * stdlib/longlong.h: Updated from GCC.
202
173f7220
AS
2032012-06-02 Andreas Schwab <schwab@linux-m68k.org>
204
205 [BZ #14042]
206 * sysdeps/powerpc/powerpc32/mcount.c: New file.
207 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
208 __mcount_internal.
209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
210 (GLIBC_2.16): Likewise.
211
f34a1c6f
L
2122012-06-01 H.J. Lu <hongjiu.lu@intel.com>
213
214 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
215
88a4576f
JM
2162012-06-01 Joseph Myers <joseph@codesourcery.com>
217
ea32bcdd
JM
218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
219 (default-abi): New variable.
220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
221 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
222 variable.
223 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
224 Likewise.
225 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
226 Likewise.
227 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
228 Likewise.
229
88a4576f
JM
230 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
231 definition. Document in comment.
232
402fe938
DM
2332012-06-01 David S. Miller <davem@davemloft.net>
234
235 * stdlib/longlong.h: Updated from GCC.
236
3553723f
L
2372012-06-01 H.J. Lu <hongjiu.lu@intel.com>
238
239 [BZ #14117]
3bd872c4
L
240 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
241 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
242 sys/debugreg.h sys/io.h here.
243 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
244 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
245 sys/io.h.
246 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
247 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
248 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
249 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
250 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
251 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
252
3553723f
L
253 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
254 Define only if __x86_64__ is defined.
255
4842e4fe
JM
2562012-06-01 Joseph Myers <joseph@codesourcery.com>
257
c5bfe3d5
JM
258 [BZ #14048]
259 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
260 Use int64_t for variable i.
261 * math/libm-test.inc (fmod_test): Add more tests.
262
4842e4fe
JM
263 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
264 z computation is not scheduled after fetestexcept.
265 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
266 Use math_force_eval instead of asm to ensure calculation scheduled
267 before exception test.
268 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
269 Ensure a1 + u.d computation is not scheduled after fetestexcept.
270
efb73488
AJ
2712012-06-01 Aurelien Jarno <aurelien@aurel32.net>
272
273 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
274 computation is not scheduled after fetestexcept.
275
29bcce7c
L
2762012-06-01 H.J. Lu <hongjiu.lu@intel.com>
277
278 [BZ #14117]
279 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
280 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
281
73a68f94
AZ
2822012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
283
284 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
285 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
286
67b6df78
L
2872012-05-31 H.J. Lu <hongjiu.lu@intel.com>
288
edf2933a 289 [BZ #14117]
ebc64a18
L
290 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
291 <bits/wordsize.h>.
292 (__WCHAR_MIN): Support __WORDSIZE == 64.
293 (__WCHAR_MAX): Likewise.
294
edf2933a
L
295 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
296 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
297
57c6cf40
L
298 [BZ #14183]
299 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
300 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
301
67b6df78 302 [BZ #14117]
8eb6281e
L
303 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
304 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
305
aac639f4
L
306 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
307 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
308
67b6df78
L
309 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
310 Defined to 1 if __x86_64__ isn't defined.
311 (_STAT_VER_LINUX_OLD): New.
312 (st_atime): Remove duplicate.
313 (st_mtime): Likewise.
314 (st_ctime): Likewise.
315
1c2cfe81
DM
3162012-05-31 David S. Miller <davem@davemloft.net>
317
318 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
319 entries.
320
5be8418c
AS
3212012-06-01 Andreas Schwab <schwab@linux-m68k.org>
322
e7725326
AS
323 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
324 gen-libm-test.pl.
325
5be8418c
AS
326 [BZ #14132]
327 * elf/dl-reloc.c: Include <_itoa.h>.
328 (_dl_reloc_bad_type): Remove use of INTUSE.
329 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
330 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
331 * stdio-common/psiginfo.c (psiginfo): Likewise.
332 * stdio-common/psignal.c (psignal): Likewise.
333 * string/strsignal.c (strsignal): Likewise.
334 * include/signal.h (_sys_siglist): Declare hidden proto.
335 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
336 INTVARDEF with libc_hidden_data_def.
337 * stdio-common/itoa-udigits.c: Likewise.
338 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
339 (_itoa_lower_digits_internal): Remove declaration.
340 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
341 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
342 (_sys_sigabbrev_internal): Remove aliases.
343 (_sys_siglist): Define hidden alias.
344
507352f1
MT
3452012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
346
347 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
348 bits/sysctl.h.
349
42bbb1c3
L
3502012-05-31 H.J. Lu <hongjiu.lu@intel.com>
351
352 [BZ #14117]
6bd784b6
L
353 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
354 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
355
8bca20f0
L
356 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
357 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
358 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
359 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
360 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
361 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
362
f9e890a9
L
363 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
364 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
365 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
366
471101a1
L
367 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
368 with __addr.
369 (insw): Likewise.
370 (insl): Likewise.
371 (outsb): Likewise.
372 (outsw): Likewise.
373 (outsl): Likewise.
374
6451c862
L
375 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
376 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
377 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
378
a254b8c9
L
379 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
380 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
381 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
382 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
383 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
384 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
385
b8dfdd92
L
386 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
387 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
388
578cd270
L
389 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
390 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
391
de662f5f
L
392 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
393 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
394 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
395
25653439
L
396 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
397 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
398 to ...
399 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
400
6bad24a0
L
401 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
402 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
403 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
404
42bbb1c3
L
405 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
406 for x86-64.
407 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
408
2d10d547
JM
4092012-05-31 Joseph Myers <joseph@codesourcery.com>
410
411 * math/math.h (M_El): Use two more decimal places.
412 (M_LOG2El): Likewise.
413 (M_LOG10El): Likewise.
414 (M_LN2l): Likewise.
415 (M_LN10l): Likewise.
416 (M_PIl): Likewise.
417 (M_PI_2l): Likewise.
418 (M_PI_4l): Likewise.
419 (M_1_PIl): Likewise.
420 (M_2_PIl): Likewise.
421 (M_2_SQRTPIl): Likewise.
422 (M_SQRT2l): Likewise.
423 (M_SQRT1_2l): Likewise.
424
f230c29b
DM
4252012-05-31 David S. Miller <davem@davemloft.net>
426
427 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
428 values between float registers.
429 * sysdeps/sparc/sparc64/memset.S: Likewise.
430 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
431
fed806c3
MF
4322012-05-31 Mike Frysinger <vapier@gentoo.org>
433
434 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
435 -D_FORTIFY_SOURCE=1.
436 (CPPFLAGS-tst-longjmp_chk.c): Define.
437 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
438 (CPPFLAGS-tst-longjmp_chk2.c): Define.
439 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
440 CFLAGS-tst-wchar-h.c.
441
30917259
MP
4422012-05-31 Marek Polacek <polacek@redhat.com>
443
444 [BZ #14132]
445 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
446 __endmntent_internal): Remove declaration.
447 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
448 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
449 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
450
1c58d5dc
DM
4512012-05-30 David S. Miller <davem@davemloft.net>
452
453 * sysdeps/sparc/sparc32/soft-fp/q_util.c
454 (___Q_simulate_exceptions): Use real FP ops rather than writing
455 into the %fsr.
456 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
457 Likewise.
458
7dc00e0d
L
4592012-05-30 H.J. Lu <hongjiu.lu@intel.com>
460
461 [BZ #14117]
0bd53985
L
462 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
463 * sysdeps/x86/bits/xtitypes.h: This.
464
3a257e66
L
465 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
466 * sysdeps/x86/bits/wordsize.h: This.
467
62f62904
L
468 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
469 * sysdeps/x86/bits/huge_vall.h: This.
470
404fe9d9
L
471 * sysdeps/i386/bits/select.h: Removed.
472 * sysdeps/x86_64/bits/select.h: Renamed to ...
473 * sysdeps/x86/bits/select.h: This.
474
d48d0446
L
475 * sysdeps/i386/bits/setjmp.h: Removed.
476 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
477 * sysdeps/x86/bits/setjmp.h: This.
478
7dc00e0d
L
479 * sysdeps/i386/bits/mathdef.h: Removed.
480 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
481 * sysdeps/x86/bits/mathdef.h: This.
482
03277f8f
AS
4832012-05-30 Andreas Schwab <schwab@linux-m68k.org>
484
485 [BZ #14132]
486 * include/sys/socket.h (__connect_internal)
487 (__libc_sa_len_internal): Remove declaration.
488 (__connect, __libc_sa_len): Declare hidden_proto.
489 (SA_LEN): Remove use of INTUSE.
490 * socket/connect.c: Add libc_hidden_def.
491 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
492 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
493 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
494 alias.
495 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
496 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
497 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
498 of adding _internal alias.
499
13764867
L
5002012-05-30 H.J. Lu <hongjiu.lu@intel.com>
501
502 [BZ #14117]
6bd97696
L
503 * sysdeps/i386/bits/link.h: Removed.
504 * sysdeps/i386/bits/linkmap.h: Likewise.
505 * sysdeps/x86_64/bits/link.h: Renamed to ...
506 * sysdeps/x86/bits/link.h: This.
507 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
508 * sysdeps/x86/bits/linkmap.h: This.
509
f726f0bb
L
510 * sysdeps/i386/bits/endian.h: Removed.
511 * sysdeps/x86_64/bits/endian.h: Renamed to ...
512 * sysdeps/x86/bits/endian.h: This.
513
13764867
L
514 * sysdeps/i386/bits/byteswap.h: Removed.
515 * sysdeps/i386/bits/byteswap-16.h: Likewise.
516 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
517 * sysdeps/x86/bits/byteswap.h: This.
518 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
519 * sysdeps/x86/bits/byteswap-16.h: This.
520 * sysdeps/i386/Implies: Add x86.
521 * sysdeps/x86_64/Implies: Likewise.
522
ae251b0b
DM
5232012-05-30 David S. Miller <davem@davemloft.net>
524
525 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
526 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
527 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
528 (FP_TRAPPING_EXCEPTIONS): Define.
529 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
530 (FP_TRAPPING_EXCEPTIONS): Define.
531 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
532 subnormals only when inexact has been signalled or underflow
533 exceptions are enabled.
534 (_FP_PACK_CANONICAL): Likewise.
535
d5c90867
L
5362012-05-30 H.J. Lu <hongjiu.lu@intel.com>
537
538 [BZ #14183]
539 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
540 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
541
63f1549e
RH
5422012-05-30 Richard Henderson <rth@twiddle.net>
543
8d8f2279
RH
544 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
545 with #ifndef NOT_IN_libc.
546
63f1549e
RH
547 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
548 marked to avoid plt entry.
549
0ab0291b
L
5502012-05-30 H.J. Lu <hongjiu.lu@intel.com>
551
552 [BZ #14112]
553 * Makeconfig (default-abi): New macro.
554 (abi-includes): Likewise.
555 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
556 $(abi-$(default-abi)-lib-soname) for soname if defined.
557 ($(common-objpfx)gnu/lib-names.stmp): Generate from
558 abi-variants.
559 * Makefile (installed-stubs): Likewise.
560 * include/stubs-biarch.h: Removed.
561 * scripts/lib-names.awk: Only handle one library at a time.
562 * scripts/soversions.awk: Remove WORDSIZE support.
563 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
564 entries.
565 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
566 Removed.
567 (syscall-list-default-condition): Likewise.
568 (syscall-list-default-condition): Likewise.
569 (syscall-list-includes): Likewise.
570 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
571 syscall-list-* with abi-*. Handle undefined abi-variants.
572 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
573 * sysdeps/unix/sysv/linux/i386/Implies: New file.
574 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
575 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
576 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
577 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
578 Removed.
579 (syscall-list-32-options): Likewise.
580 (syscall-list-32-condition): Likewise.
581 (syscall-list-64-options): Likewise.
582 (syscall-list-64-condition): Likewise.
583 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
584 macro.
585 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
586 Renamed to ...
587 (abi-*): This.
588 (abi-64-ld-soname): New macro.
589 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
590 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
591 Renamed to ...
592 (abi-*): This.
593 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
594 * sysdeps/x86_64/x32/shlib-versions: Likewise.
595
4da0431d
JM
5962012-05-30 Joseph Myers <joseph@codesourcery.com>
597
3a85279c
JM
598 * sysdeps/unix/sysv/linux/kernel-features.h
599 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
600 * sysdeps/unix/sysv/linux/ftruncate64.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/truncate64.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/ftruncate64.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 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
619 include <kernel-features.h>.
620 [!__NR_ftruncate64]: Remove conditional code.
621 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
622 [__NR_ftruncate64]: Make code unconditional.
623 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
624
4da0431d
JM
625 * configure.in (libc_cv_fpie): Weaken to a compile test using
626 LIBC_TRY_CC_OPTION.
627 * configure: Regenerated.
628
11ef492c
AK
6292012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
630
631 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
635 Refreshed.
636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
639 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
642 Refreshed.
643
d66ef399
DM
6442012-05-27 David S. Miller <davem@davemloft.net>
645
646 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
647 (___Q_zero): New.
648 (__Q_simulate_exceptions): Return void. Change to simulate
649 exceptions by writing into the %fsr.
650 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
651 (__Qp_handle_exceptions): Likewise.
652 (numbers): Delete.
653 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
654 __Qp_handle_exceptions.
655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
656 __Qp_handle_exceptions.
657 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
658 as unused and give dummy FP_RND_NEAREST initializer.
659 (FP_INHIBIT_RESULTS): Define.
660 (___Q_simulate_exceptions): Update declaration.
661 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
662 formatting.
663 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
664 as unused and give dummy FP_RND_NEAREST initializer.
665 (__Qp_handle_exceptions): Update declaration.
666 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
667 formatting.
668
04fb54b5
TS
6692012-05-27 Thomas Schwinge <thomas@codesourcery.com>
670
671 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
672 the temporary FPU control word.
673 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
674 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
675 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
676 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
677 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
678 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
679 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
680 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
681 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
682 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
683 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
684
3f99608f
KK
6852012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
686
687 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
688 fields.
689
65a4de4e
CLT
6902012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
691
692 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
693 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
694 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
695 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
696 Likewise.
697 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
698 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
699 Likewise.
700
15749d40
UD
7012012-05-27 Ulrich Drepper <drepper@gmail.com>
702
703 * po/h.po: Update from translation team.
704
25dbcb27
AS
7052012-05-26 Andreas Schwab <schwab@linux-m68k.org>
706
3d3f8e55
AS
707 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
708
25dbcb27
AS
709 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
710 handling of denormals.
711 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
712 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
713 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
714 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
715 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
716 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
717 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
718 Likewise.
719
7ad47a80 7202012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
721
722 [BZ #14152]
723 * math/libm-test.inc (fma_test): Don't always expect underflow
724 exception.
725
9c6ea9fa
SP
7262012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
727
728 [BZ #12416]
729 * elf/tst-execstack.c: Include stackinfo.h.
730 (do_test): Adjust test case to ensure that pthread_getattr_np
731 behaviour remains the same after marking stack executable.
732
a8239222
JM
7332012-05-25 Joseph Myers <joseph@codesourcery.com>
734
735 * sysdeps/unix/sysv/linux/kernel-features.h
736 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
737 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
738 kernel-features.h.
739 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
740 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
741 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
742 kernel-features.h.
743 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
744 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
745
918b5606
L
7462012-05-25 H.J. Lu <hongjiu.lu@intel.com>
747
748 * configure.in: Define the default includes to being none.
749 * configure: Regenerated.
750
3a097cc7
RM
7512012-05-25 Roland McGrath <roland@hack.frob.com>
752
8422c9a5
RM
753 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
754 * sysdeps/x86_64/setjmp.S: Likewise.
755 * sysdeps/i386/bsd-setjmp.S: Likewise.
756 * sysdeps/i386/bsd-_setjmp.S: Likewise.
757 * sysdeps/i386/setjmp.S: Likewise.
758 * sysdeps/i386/__longjmp.S: Likewise.
759 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
760 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
761
3a097cc7
RM
762 * include/stap-probe.h: New file.
763 * configure.in: Handle --enable-systemtap.
764 * configure: Regenerated.
765 * config.h.in (USE_STAP_PROBE): New #undef.
766 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
767 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
768 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
769
21708942
JM
7702012-05-25 Joseph Myers <joseph@codesourcery.com>
771
772 [BZ #13717]
773 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
774 to 2.4.0 where earlier.
775 * sysdeps/unix/sysv/linux/configure: Regenerated.
776 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
777 <kernel-features.h>.
778 [__ASSUME_32BITUIDS]: Make code unconditional.
779 [!__ASSUME_32BITUIDS]: Remove conditional code.
780 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
781 <kernel-features.h>.
782 [__ASSUME_32BITUIDS]: Make code unconditional.
783 [!__ASSUME_32BITUIDS]: Remove conditional code.
784 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
785 [__ASSUME_32BITUIDS]: Make code unconditional.
786 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
787 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
788 <kernel-features.h>.
789 [__ASSUME_32BITUIDS]: Make code unconditional.
790 [!__ASSUME_32BITUIDS]: Remove conditional code.
791 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
792 <kernel-features.h>.
793 [__ASSUME_32BITUIDS]: Make code unconditional.
794 [!__ASSUME_32BITUIDS]: Remove conditional code.
795 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
796 <kernel-features.h>.
797 [__ASSUME_32BITUIDS]: Make code unconditional.
798 [!__ASSUME_32BITUIDS]: Remove conditional code.
799 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
800 <kernel-features.h>.
801 [__ASSUME_32BITUIDS]: Make code unconditional.
802 [!__ASSUME_32BITUIDS]: Remove conditional code.
803 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
804 <kernel-features.h>.
805 [__ASSUME_32BITUIDS]: Make code unconditional.
806 [!__ASSUME_32BITUIDS]: Remove conditional code.
807 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
808 <kernel-features.h>.
809 [__ASSUME_32BITUIDS]: Make code unconditional.
810 [!__ASSUME_32BITUIDS]: Remove conditional code.
811 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
812 <kernel-features.h>.
813 [__ASSUME_32BITUIDS]: Make code unconditional.
814 [!__ASSUME_32BITUIDS]: Remove conditional code.
815 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
816 <kernel-features.h>.
817 [__ASSUME_32BITUIDS]: Make code unconditional.
818 [!__ASSUME_32BITUIDS]: Remove conditional code.
819 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
820 <kernel-features.h>.
821 [__ASSUME_32BITUIDS]: Make code unconditional.
822 [!__ASSUME_32BITUIDS]: Remove conditional code.
823 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
824 <kernel-features.h>.
825 [__ASSUME_32BITUIDS]: Make code unconditional.
826 [!__ASSUME_32BITUIDS]: Remove conditional code.
827 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
828 <kernel-features.h>.
829 [__NR_setresgid] (__setresgid): Do not declare.
830 [__ASSUME_32BITUIDS]: Make code unconditional.
831 [!__ASSUME_32BITUIDS]: Remove conditional code.
832 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
833 <kernel-features.h>.
834 [__NR_setresuid] (__setresuid): Do not declare.
835 [__ASSUME_32BITUIDS]: Make code unconditional.
836 [!__ASSUME_32BITUIDS]: Remove conditional code.
837 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
838 <kernel-features.h>.
839 [__ASSUME_32BITUIDS]: Make code unconditional.
840 [!__ASSUME_32BITUIDS]: Remove conditional code.
841 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
842 <kernel-features.h>.
843 [__ASSUME_32BITUIDS]: Make code unconditional.
844 [!__ASSUME_32BITUIDS]: Remove conditional code.
845 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
846 <kernel-features.h>.
847 [__ASSUME_32BITUIDS]: Make code unconditional.
848 [!__ASSUME_32BITUIDS]: Remove conditional code.
849 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
850 <kernel-features.h>.
851 [__ASSUME_32BITUIDS]: Make code unconditional.
852 [!__ASSUME_32BITUIDS]: Remove conditional code.
853 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
854 <kernel-features.h>.
855 [__ASSUME_32BITUIDS]: Make code unconditional.
856 [!__ASSUME_32BITUIDS]: Remove conditional code.
857 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
858 <kernel-features.h>.
859 [__ASSUME_32BITUIDS]: Make code unconditional.
860 [!__ASSUME_32BITUIDS]: Remove conditional code.
861 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
862 <kernel-features.h>.
863 [__ASSUME_32BITUIDS]: Make code unconditional.
864 [!__ASSUME_32BITUIDS]: Remove conditional code.
865 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
866 <kernel-features.h>.
867 [__ASSUME_32BITUIDS]: Make code unconditional.
868 [!__ASSUME_32BITUIDS]: Remove conditional code.
869 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
870 <kernel-features.h>.
871 [__ASSUME_32BITUIDS]: Make code unconditional.
872 [!__ASSUME_32BITUIDS]: Remove conditional code.
873 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
874 <kernel-features.h>.
875 [__ASSUME_32BITUIDS]: Make code unconditional.
876 [!__ASSUME_32BITUIDS]: Remove conditional code.
877 * sysdeps/unix/sysv/linux/kernel-features.h
878 (__ASSUME_SETRESUID_SYSCALL): Remove.
879 (__ASSUME_SETRESGID_SYSCALL): Likewise.
880 (__ASSUME_32BITUIDS): Likewise.
881 (__ASSUME_LDT_WORKS): Likewise.
882 (__ASSUME_O_DIRECTORY): Likewise.
883 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
884 architecture but not kernel version.
885 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
886 (__ASSUME_MMAP2_SYSCALL): Likewise.
887 (__ASSUME_STAT64_SYSCALL): Likewise.
888 (__ASSUME_IPC64): Likewise.
889 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
890 <kernel-features.h>.
891 [__ASSUME_32BITUIDS]: Make code unconditional.
892 [!__ASSUME_32BITUIDS]: Remove conditional code.
893 * sysdeps/unix/sysv/linux/opendir.c: Do not include
894 <kernel-features.h>.
895 [__ASSUME_O_DIRECTORY]: Make code unconditional.
896 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
897 132096]: Remove conditional code.
898 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
899 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
900 <kernel-features.h>.
901 [__ASSUME_32BITUIDS]: Make code unconditional.
902 [!__ASSUME_32BITUIDS]: Remove conditional code.
903 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
904 <kernel-features.h>.
905 [__ASSUME_32BITUIDS]: Make code unconditional.
906 [!__ASSUME_32BITUIDS]: Remove conditional code.
907 * sysdeps/unix/sysv/linux/setegid.c: Do not include
908 <kernel-features.h>.
909 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
910 unconditional.
911 (__setresgid): Do not declare.
912 [__ASSUME_32BITUIDS]: Make code unconditional.
913 [!__ASSUME_32BITUIDS]: Remove conditional code.
914 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
915 <kernel-features.h>.
916 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
917 unconditional.
918 (__setresuid): Do not declare.
919 [__ASSUME_32BITUIDS]: Make code unconditional.
920 [!__ASSUME_32BITUIDS]: Remove conditional code.
921 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
922 <kernel-features.h>.
923 [__ASSUME_32BITUIDS]: Make code unconditional.
924 [!__ASSUME_32BITUIDS]: Remove conditional code.
925 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
926 <kernel-features.h>.
927 [__ASSUME_32BITUIDS]: Make code unconditional.
928 [!__ASSUME_32BITUIDS]: Remove conditional code.
929
a386f1cc
RH
9302012-05-25 Richard Henderson <rth@twiddle.net>
931
932 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
933 dl_hwcap to ifunc resolver.
934 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
935 elf_ifunc_invoke.
936 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
937 dl_hwcap to ifunc resolver.
938 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
939
b6550497
JM
9402012-05-24 Joseph Myers <joseph@codesourcery.com>
941
942 [BZ #14153]
943 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
944 for |x| <= 2**-26, not 2**-57.
945 * math/libm-test.inc (acos_test): Do not allow spurious underflow
946 exception.
947
b0bc23a1
JL
9482012-05-24 Jeff Law <law@redhat.com>
949
950 * stdio-common/Makefile (tests): Add bug25.
951 * stdio-common/bug25.c: New test.
952
347c92e9
L
9532012-05-24 H.J. Lu <hongjiu.lu@intel.com>
954
955 [BZ #13576]
956 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
957 multiple of MALLOC_ALIGNMENT in size.
958 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
959
6bcc8b3f
JM
9602012-05-24 Joseph Myers <joseph@codesourcery.com>
961
962 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
963 Require >= 256.
964 (FILENAME_MAX): Use macro-int-constant.
965 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
966 (_IOFBF): Use macro-int-constant.
967 (_IOLBF): Likewise.
968 (_IONBF): Likewise.
969 (SEEK_CUR): Likewise.
970 (SEEK_END): Likewise.
971 (SEEK_SET): Likewise.
972 (TMP_MAX): Likewise.
973 (EOF): Use macro-int-constant. Require < 0.
974 (NULL): Use macro-constant. Require == 0.
975 (stdin): Require type to be FILE *.
976 (stdout): Likewise.
977 (stderr): Likewise.
978 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
979 macro-int-constant.
980 (EXIT_SUCCESS): Likewise.
981 (NULL): Use macro-constant. Require == 0.
982 (RAND_MAX): Use macro-int-constant.
983 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
984 [C99-based standards] (strtof): Require function.
985 [C99-based standards] (strtold): Likewise.
986 [C99-based standards] (strtoll): Likewise.
987 [C99-based standards] (strtoull): Likewise.
988 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
989 [ISO || ISO99 || ISO11] (limits.h): Likewise.
990 [ISO || ISO99 || ISO11] (math.h): Likewise.
991 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
992 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
993 [ISO || ISO99 || ISO11] (*_t): Do not allow.
994
d18ea0c5
AS
9952012-05-24 Andreas Schwab <schwab@linux-m68k.org>
996
997 [BZ #14132]
56d25bb8
AS
998 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
999 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
1000 * intl/dgettext.c (DCGETTEXT): Likewise.
1001 * intl/gettext.c (DCGETTEXT): Likewise.
1002 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
1003 * posix/regex_internal.h (gettext): Likewise.
1004 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
1005 Remove declaration.
1006 * include/argz.h (__argz_count_internal)
1007 (__argz_stringify_internal): Remove declaration.
1008 (__argz_count, __argz_stringify): Declare hidden proto.
1009 * intl/dcgettext.c: Remove use of INTDEF.
1010 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
1011 * string/argz-stringify.c: Likewise.
1012 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1013 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1014 Declare hidden proto.
d18ea0c5
AS
1015 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1016 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1017 Declare hidden proto.
1018 * include/stdio.h (__asprintf_internal): Don't declare.
1019 (__asprintf): Don't define as macro. Declare hidden proto.
1020 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
1021 (__fsetlocking): Declare hidden proto.
1022 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
1023 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
1024 hidden proto.
1025 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
1026 (_IO_setlinebuf): Remove use of INTUSE.
1027 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
1028 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
1029 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
1030 Remove declaration.
1031 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
1032 (_IO_do_flush): Remove use of INTUSE.
1033 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
1034 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
1035 (_IO_adjust_column, _IO_least_wmarker)
1036 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
1037 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
1038 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
1039 (_IO_default_doallocate, _IO_wdefault_doallocate)
1040 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
1041 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
1042 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
1043 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
1044 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
1045 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
1046 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
1047 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
1048 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
1049 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
1050 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
1051 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
1052 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
1053 proto.
1054 (_IO_flush_all_internal, _IO_adjust_column_internal)
1055 (_IO_default_uflow_internal, _IO_default_finish_internal)
1056 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
1057 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
1058 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
1059 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
1060 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
1061 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
1062 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
1063 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
1064 (_IO_file_close_internal, _IO_file_close_it_internal)
1065 (_IO_file_underflow_internal, _IO_file_overflow_internal)
1066 (_IO_file_init_internal, _IO_file_attach_internal)
1067 (_IO_file_fopen_internal, _IO_file_read_internal)
1068 (_IO_file_sync_internal, _IO_file_seek_internal)
1069 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
1070 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
1071 (_IO_str_underflow_internal, _IO_str_overflow_internal)
1072 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
1073 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
1074 (_IO_list_all_internal, _IO_link_in_internal)
1075 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
1076 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
1077 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
1078 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
1079 (_IO_do_write_internal, _IO_padn_internal)
1080 (_IO_getline_info_internal, _IO_getline_internal)
1081 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
1082 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
1083 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
1084 (_IO_vfscanf_internal, _IO_vfprintf_internal)
1085 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1086 (_IO_init_internal, _IO_un_link_internal): Don't declare.
1087 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1088 with libc_hidden_ver, remove use of INTUSE.
1089 * libio/genops.c: Likewise.
1090 * libio/freopen.c: Likewise.
1091 * libio/freopen64.c: Likewise.
1092 * libio/iofclose.c: Likewise.
1093 * libio/iofdopen.c: Likewise.
1094 * libio/iofflush.c: Likewise.
1095 * libio/iofflush_u.c: Likewise.
1096 * libio/iofgets.c: Likewise.
1097 * libio/iofgets_u.c: Likewise.
1098 * libio/iofopen.c: Likewise.
1099 * libio/iofopncook.c: Likewise.
1100 * libio/iofread.c: Likewise.
1101 * libio/iofread_u.c: Likewise.
1102 * libio/ioftell.c: Likewise.
1103 * libio/iofwrite.c: Likewise.
1104 * libio/iogetline.c: Likewise.
1105 * libio/iogets.c: Likewise.
1106 * libio/iogetwline.c: Likewise.
1107 * libio/iopadn.c: Likewise.
1108 * libio/iopopen.c: Likewise.
1109 * libio/ioseekoff.c: Likewise.
1110 * libio/ioseekpos.c: Likewise.
1111 * libio/iosetbuffer.c: Likewise.
1112 * libio/iosetvbuf.c: Likewise.
1113 * libio/ioungetc.c: Likewise.
1114 * libio/ioungetwc.c: Likewise.
1115 * libio/iovdprintf.c: Likewise.
1116 * libio/iovsprintf.c: Likewise.
1117 * libio/iovsscanf.c: Likewise.
1118 * libio/memstream.c: Likewise.
1119 * libio/obprintf.c: Likewise.
1120 * libio/oldfileops.c: Likewise.
1121 * libio/oldiofclose.c: Likewise.
1122 * libio/oldiofdopen.c: Likewise.
1123 * libio/oldiofopen.c: Likewise.
1124 * libio/oldiopopen.c: Likewise.
1125 * libio/oldstdfiles.c: Likewise.
1126 * libio/putc.c: Likewise.
1127 * libio/setbuf.c: Likewise.
1128 * libio/setlinebuf.c: Likewise.
1129 * libio/stdfiles.c: Likewise.
1130 * libio/strops.c: Likewise.
1131 * libio/vasprintf.c: Likewise.
1132 * libio/vscanf.c: Likewise.
1133 * libio/vsnprintf.c: Likewise.
1134 * libio/vswprintf.c: Likewise.
1135 * libio/wfiledoalloc.c: Likewise.
1136 * libio/wfileops.c: Likewise.
1137 * libio/wgenops.c: Likewise.
1138 * libio/wmemstream.c: Likewise.
1139 * libio/wstrops.c: Likewise.
1140 * libio/__fpurge.c: Likewise.
1141 * libio/__fsetlocking.c: Likewise.
1142 * assert/assert.c: Likewise.
1143 * debug/fgets_chk.c: Likewise.
1144 * debug/fgets_u_chk.c: Likewise.
1145 * debug/fread_chk.c: Likewise.
1146 * debug/fread_u_chk.c: Likewise.
1147 * debug/gets_chk.c: Likewise.
1148 * debug/obprintf_chk.c: Likewise.
1149 * debug/vasprintf_chk.c: Likewise.
1150 * debug/vdprintf_chk.c: Likewise.
1151 * debug/vsnprintf_chk.c: Likewise.
1152 * debug/vsprintf_chk.c: Likewise.
1153 * malloc/mtrace.c: Likewise.
1154 * misc/error.c: Likewise.
1155 * misc/syslog.c: Likewise.
1156 * stdio-common/asprintf.c: Likewise.
1157 * stdio-common/fxprintf.c: Likewise.
1158 * stdio-common/getw.c: Likewise.
1159 * stdio-common/isoc99_fscanf.c: Likewise.
1160 * stdio-common/isoc99_scanf.c: Likewise.
1161 * stdio-common/isoc99_vfscanf.c: Likewise.
1162 * stdio-common/isoc99_vscanf.c: Likewise.
1163 * stdio-common/isoc99_vsscanf.c: Likewise.
1164 * stdio-common/printf-prs.c: Likewise.
1165 * stdio-common/printf_fp.c: Likewise.
1166 * stdio-common/printf_fphex.c: Likewise.
1167 * stdio-common/printf_size.c: Likewise.
1168 * stdio-common/putw.c: Likewise.
1169 * stdio-common/scanf.c: Likewise.
1170 * stdio-common/sprintf.c: Likewise.
1171 * stdio-common/tmpfile.c: Likewise.
1172 * stdio-common/vfprintf.c: Likewise.
1173 * stdio-common/vfscanf.c: Likewise.
1174 * stdlib/strfmon_l.c: Likewise.
1175 * sunrpc/openchild.c: Likewise.
1176 * sunrpc/xdr_stdio.c: Likewise.
1177 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1178 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1179
d6c33fda
RM
11802012-05-24 Roland McGrath <roland@hack.frob.com>
1181
c1487492
RM
1182 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1183
1184 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1185 in the third column, to generate for the shared library an IFUNC
1186 that uses _dl_vdso_vsym.
1187 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1188 * Makeconfig (object-suffixes-noshared): New variable.
1189
1190 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1191 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1192 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1193 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1194
d6c33fda
RM
1195 [BZ #14132]
1196 * include/sys/time.h (__gettimeofday): Remove macro.
1197 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1198 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1199 Remove INTDEF.
1200 (__gettimeofday): Add libc_hidden_def.
1201 (gettimeofday): Add libc_hidden_weak.
1202 * sysdeps/mach/gettimeofday.c: Likewise.
1203 * sysdeps/posix/gettimeofday.c: Likewise.
1204 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1205 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1206 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1207 (__gettimeofday_internal): Remove strong_alias.
1208 (__gettimeofday): Add libc_hidden_def.
1209 (gettimeofday): Add libc_hidden_weak.
1210 * sysdeps/unix/syscalls.list (gettimeofday):
1211 Remove __gettimeofday_internal alias.
1212
b5a2bbe6
L
12132012-05-24 Daniel Jacobowitz <drow@false.org>
1214 H.J. Lu <hongjiu.lu@intel.com>
1215
1216 [BZ #12495]
1217 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1218 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1219 (largebin_index_32_big): New.
1220 (largebin_index): Use it for 16-byte alignment.
1221 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1222 correction with front_misalign.
1223
cfba4fda
L
12242012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1225
7f907421
L
1226 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1227 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1228 Likewise.
1229 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1230 Likewise.
1231 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1232 Likewise.
1233 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1234 Likewise.
1235 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1236 Likewise.
1237 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1238 Likewise.
1239 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1240 Likewise.
1241 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1242 Likewise.
1243 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1244 Likewise.
1245 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1246 Likewise.
1247 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1248 Likewise.
1249 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1250 Likewise.
1251
cfba4fda
L
1252 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1253 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1254
80bad0cc
JM
12552012-05-24 Joseph Myers <joseph@codesourcery.com>
1256
7a25eb06
JM
1257 [BZ #10846]
1258 [BZ #14036]
1259 * math/libm-test.inc (exp_test): Add test from bug 14036.
1260 (pow_test): Add test from bug 10846.
1261
795405f9
JM
1262 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1263 and other flags.
1264 (special_function): Do not include flags in test name.
1265 (parse_args): Likewise.
1266 * sysdeps/i386/fpu/libm-test-ulps: Update.
1267 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1268 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1269 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1271
80bad0cc
JM
1272 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1273 exceptions.
1274 * math/libm-test.inc ("Philosophy"): Update comment about
1275 exception testing.
1276 (UNDERFLOW_EXCEPTION): New macro.
1277 (UNDERFLOW_EXCEPTION_OK): Likewise.
1278 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1279 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1280 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1281 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1282 (INVALID_EXCEPTION_OK): Update value.
1283 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1284 (OVERFLOW_EXCEPTION_OK): Likewise.
1285 (IGNORE_ZERO_INF_SIGN): Likewise.
1286 (test_exceptions): Handle underflow exceptions.
1287 (acos_test): Update for underflow exception expectations.
1288 (cexp_test): Likewise.
1289 (clog_test): Likewise.
1290 (clog10_test): Likewise.
1291 (csqrt_test): Likewise.
1292 (ctan_test): Likewise.
1293 (ctanh_test): Likewise.
1294 (exp_test): Likewise.
1295 (exp10_test): Likewise.
1296 (exp2_test): Likewise.
1297 (expm1_test): Likewise.
1298 (fma_test): Likewise.
1299 (j0_test): Likewise.
1300 (jn_test): Likewise.
1301 (nexttoward_test): Likewise.
1302 (pow_test): Likewise.
1303 (scalbn_test): Likewise.
1304 (scalbln_test): Likewise.
1305 (tan_test): Likewise.
1306 (y1_test): Likewise.
1307 * sysdeps/i386/fpu/libm-test-ulps: Update.
1308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1309
9e0e3d0b
DM
13102012-05-23 David S. Miller <davem@davemloft.net>
1311
1312 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1313 (__libc_sigaction): Remove unused local variables.
1314
ccd0a08f
L
13152012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1316
1317 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1318
62bdf9a6
PE
13192012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1320
f8591f80
PE
1321 mktime: avoid signed integer overflow
1322 * time/mktime.c (__mktime_internal): Do not mishandle the case
1323 where diff == INT_MIN.
1324
94c7d826
PE
1325 mktime: simplify computation of average
1326 * time/mktime.c (ranged_convert): Use new time_t_avg function
1327 instead of rolling our own (probably-slower) code.
1328
ce73d683
PE
1329 mktime: do not assume signed right shift propagates sign bit
1330 * time/mktime.c (isdst_differ): New static function.
1331 (__mktime_internal): No need to normalize tm_isdst now.
1332 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1333 tm_isdst values.
1334
72a22e59
PE
1335 mktime: merge another wrapv change from gnulib
1336 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1337 from some compilers.
1338
68605433
PE
1339 mktime: remove incorrect attempt at unusual arithmetics
1340 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1341 The code didn't really work on such machines anyway.
1342 (TYPE_MINIMUM): Assume two's complement.
1343 (twos_complement_arithmetic): Verify that long_int and time_t
1344 are two's complement (or unsigned, in the latter case).
1345
03cf7fe3
PE
1346 mktime: check signed shifts on long_int and time_t, too
1347 * time/mktime.c (SHR): Check that shifts work as desired
1348 on the types long_int and time_t too, as SHR is used on
1349 such types.
1350
f04dfbc2
PE
1351 mktime: do not assume 'long' is wide enough
1352 * time/mktime.c (verify): Move decl up.
1353 (long_int): New type.
1354 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1355 to remove assumption in the code that 'long' is wide enough to
1356 store year values. This assumption is not true on x32 and on
1357 some non-glibc platforms.
1358
62bdf9a6
PE
1359 mktime: merge wrapv change from gnulib
1360 * time/mktime.c (WRAPV): New macro.
1361 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1362 (guess_time_tm, __mktime_internal): Do not assume that signed
1363 integer overflow wraps around; modern compilers generate code
1364 where this assumption is no longer valid.
1365
5e292e4f
L
13662012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1367
1368 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1369 Replace "jmp L(pseudo_end)" with "ret".
1370 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1371 Likewise.
1372
8caf8c87
AJ
13732012-05-23 Andreas Jaeger <aj@suse.de>
1374
1375 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1376 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1377
1a09dc56
AJ
13782012-05-23 Andreas Jaeger <aj@suse.de>
1379 Maximilian Attems <max@stro.at>
1380
1381 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1382 New macros.
1383
1c87aba0
L
13842012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1385
1386 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1387 code so that pseudo_end is just ret and the stack pointer is
1388 correct also for static library in error case.
1389
40e45bd5
JM
13902012-05-23 Joseph Myers <joseph@codesourcery.com>
1391
c2670533
JM
1392 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1393 move to syscalls.list.
1394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1398
40e45bd5
JM
1399 * manual/install.texi (Running make install): Do not mention Linux
1400 kernel version for which pt_chown is not needed.
1401 (Linux): Do not mention problems with nscd with 2.0 kernels.
1402 * INSTALL: Regenerated.
1403
be08eda5
AJ
14042012-05-23 Andreas Jaeger <aj@suse.de>
1405
1406 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1407 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1408 macro.
1409 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1410 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1411 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1412 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1413 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1414 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1415 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1416 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1417 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1418 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1419 * sysdeps/unix/sysv/linux/bits/in.h
1420 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1421
a6a056bb
RM
14222012-05-22 Roland McGrath <roland@hack.frob.com>
1423
1424 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1425 (PREPARE_VERSION): Just use assert instead, it will be elided
1426 under [NDEBUG] anyway.
1427
c9009328
L
14282012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1429
1430 * sysdeps/unix/sysv/linux/Makefile: Include
1431 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 1432 (sysdep_routines): Remove sysctl.
c9009328
L
1433 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1434 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1435 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1436 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1437 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1438
73338355
AJ
14392012-05-22 Andreas Jaeger <aj@suse.de>
1440
1441 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1442 that pseudo_end is just ret and the stack pointer is correct also
1443 for static library in error case.
1444
d44638b0
PP
14452012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1446
1447 [BZ #14122]
1448 * nss/nsswitch.c (defconfig_entries): New variable.
1449 (__nss_database_lookup): Don't leak defconfig entries.
1450 (nss_parse_service_list): Don't leak on error paths.
1451 (free_database_entries): New function.
1452 (free_defconfig): New function.
1453 (free_mem): Move common code to free_database_entries.
1454
31a39bd8
L
14552012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1456
da0331a8
L
1457 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1458 Add arch_prctl.
1459 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1460
31a39bd8
L
1461 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1462 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1463 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1464 New macro.
1465 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1466 (INTERNAL_SYSCALL_TYPES): Likewise.
1467 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1468 (LOAD_REGS_TYPES_[1-6]): Likewise.
1469 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1470 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1471
45470df3
AZ
14722012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1473
1474 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1475 copysignl for GLIBC_2_0.
1476 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1477 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1478 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1479 logbl for GLIBC_2_0.
1480 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1481 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1482
98a61bcb
L
14832012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1484
a4f6e481
L
1485 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1486 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1487
f63d5db6
L
1488 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1489 Use "neg %eax".
1490
98a61bcb
L
1491 * time/mktime.c: Update copyright years.
1492
95770f14
PE
14932012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1494
6226efbd
PE
1495 mktime: merge comment-quoting-style change from gnulib
1496 * time/mktime.c: Quote 'like this' in comments.
1497 The GNU coding standards suggest that we no longer quote `like this',
1498 as "`" and "'" are typically rendered asymmetrically nowadays.
1499 The typical gnulib style is to quote 'like this' when quoting
1500 code, and "like this" when quoting English.
1501
b99e4f78
PE
1502 * time/mktime.c (compile-command): Add "-I.".
1503
643e01e6
PE
1504 mktime: merge mktime-internal.h change from gnulib
1505 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1506
2554247d
PE
1507 mktime: merge time_r change from gnulib
1508 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1509
826dd0ab
PE
1510 mktime: merge DEBUG change from gnulib
1511 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1512 case system <time.h> has a #define.
1513
bd83aabe
PE
1514 mktime: merge <sys/types.h> change from gnulib
1515 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1516 since <time.t> is now guaranteed to define time_t.
1517
95770f14
PE
1518 mktime: merge HAVE_CONFIG_H change from gnulib
1519 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1520
5e1a27a9
L
15212012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1522
0e44a77e
L
1523 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1524 Use "neg %eax".
1525
5e1a27a9
L
1526 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1527 __rlim_t cast.
1528 (struct rusage): Use anonymous union to pad each field to
1529 __syscall_slong_t.
1530
46259bec
DM
15312012-05-21 David S. Miller <davem@davemloft.net>
1532
1533 * Makefules (o-iterator): Remove .s cases.
1534 (compile-command.s): Delete.
1535 (COMPILE.s): Delete.
1536 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1537
59f0c22e
JM
15382012-05-21 Joseph Myers <joseph@codesourcery.com>
1539
1540 * configure.in (libc_cv_predef_stack_protector): Only consider
1541 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1542 * configure: Regenerated.
1543
20c07380
L
15442012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1545
bbb3154b
L
1546 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1547 New macro. Use R*LP on int and pointer.
1548 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
1549 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1550 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
1551 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1552
20c07380
L
1553 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1554 [__WORDSIZE_TIME64_COMPAT32] instead of
1555 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1556 (struct utmp): Likewise.
1557 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1558 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1559 Renamed to ...
1560 (__WORDSIZE_TIME64_COMPAT32): This.
1561 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1562 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1563 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1564 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1565 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1566 (__WORDSIZE_TIME64_COMPAT32): New macro.
1567
d8d1017e
AJ
15682012-05-21 Andreas Jaeger <aj@suse.de>
1569
1570 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1571 only if [SHARED]. Add prototype for __wcschr_ia32.
1572
6c7fb145
RM
15732012-05-21 Roland McGrath <roland@hack.frob.com>
1574
1575 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1576 of %rbp unmolested in the jmp_buf while mangling the low bits.
1577 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1578 unmolested high bits of %rbp while demangling the low bits.
1579 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1580
66274218
AJ
15812012-05-21 Andreas Jaeger <aj@suse.de>
1582
07c58f8f
AJ
1583 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1584 * sunrpc/svc_simple.c: Use it for registerrpc.
1585 * sunrpc/xcrypt.c: Use it for passwd2des.
1586
66274218
AJ
1587 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1588
61f65140
L
15892012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1590
1591 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1592 Don't define if [__SYSCALL_WORDSIZE != 32].
1593 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1594 New macro.
1595
5fefb436
AJ
15962012-05-21 Bruno Haible <bruno@clisp.org>
1597 Andreas Jaeger <aj@suse.de>
1598
1599 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1600 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1601 inptr and inend for must_buffer_ch.
1602 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1603 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1604 * stdio-common/Makefile (tests): Remove bug15.
1605 (bug15-ENV): Remove macro.
1606 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1607 anymore.
1608
d8e272ab
AJ
16092012-05-19 Andreas Jaeger <aj@suse.de>
1610 Roland McGrath <roland@hack.frob.com>
1611
1612 * manual/contrib.texi: Completely rewritten. It contains now an
1613 alphabetical list of contributors and their contributions.
1614
4a56a162
RH
16152012-05-21 Richard Henderson <rth@twiddle.net>
1616
1617 * misc/getauxval.c (__getauxval): Use unsigned long int.
1618 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1619 (getauxval): Use unsigned long int.
1620
d024d23c
L
16212012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1622
1623 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1624
cbc00a03
RM
16252012-05-21 Roland McGrath <roland@hack.frob.com>
1626
1627 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1628 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1629 __alignof__ (long double).
1630
478143fa
AZ
16312012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1632
1633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1634
c7683a6d
RH
16352012-05-20 Richard Henderson <rth@twiddle.net>
1636
1637 * misc/getauxval.c: New file.
1638 * misc/sys/auxv.h: New file.
1639 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1640 (routines): Add getauxval.
1641 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1642 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1643 * elf/dl-sysdep.c (_dl_auxv): Remove.
1644 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1645 * elf/dl-support.c (_dl_auxv): New variable.
1646 (_dl_aux_init): Initialize it.
1647 * manual/startup.texi (Auxiliary Vector): New node.
1648 * sysdeps/generic/bits/hwcap.h: New file.
1649 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1650 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1651 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1652 * sysdeps/sparc/sysdep.h: ... here. Include it.
1653 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1654 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
1655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1656 Update.
c7683a6d
RH
1657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1659 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1660 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1661 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1663 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1664 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1665
a6f1845d
AZ
16662012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1667
1668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1669
cbcbe830
DM
16702012-05-19 David S. Miller <davem@davemloft.net>
1671
1672 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1673
e0b16cc2
JM
16742012-05-19 Joseph Myers <joseph@codesourcery.com>
1675
1676 [BZ #14123]
1677 * math/s_ccosh.c: Include <float.h>
1678 (__ccosh): Avoid internal overflow calculating sinh and cosh
1679 values before multiplying by sin and cos values.
1680 * math/s_ccoshf.c: Likewise.
1681 * math/s_ccoshl.c: Likewise.
1682 * math/s_csin.c: Likewise.
1683 * math/s_csinf.c: Likewise.
1684 * math/s_csinl.c: Likewise.
1685 * math/s_csinh.c: Likewise.
1686 * math/s_csinhf.c: Likewise.
1687 * math/s_csinhl.c: Likewise.
1688 * math/libm-test.inc (ccos_test): Add more tests.
1689 (ccosh_test): Likewise.
1690 (csin_test): Likewise.
1691 (csinh_test): Likewise.
1692 * sysdeps/i386/fpu/libm-test-ulps: Update.
1693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1694
6ad13e08
L
16952012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1696
f66f0ce8
L
1697 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1698 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1699
6ad13e08
L
1700 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1701
b1d072a7
JM
17022012-05-19 Joseph Myers <joseph@codesourcery.com>
1703
1704 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1705 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1706 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1707 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1708 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1709 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1710 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1711 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1712 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1713 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1714 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1715 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1716 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1717 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1718 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1719 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1720 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1721 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1722 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1723 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1724 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1725 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1726 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1727 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1728 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1729 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1730 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1731 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1732 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1733 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1734 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1735
9eae47cb
AJ
17362012-05-18 Andreas Jaeger <aj@suse.de>
1737
1738 * csu/.gitignore: Delete.
1739
bb07f69f
L
17402012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1741
1742 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1743 (timex): Use __syscall_slong_t.
1744
e6bdb741
AJ
17452012-05-18 Andreas Jaeger <aj@suse.de>
1746 Carlos O'Donell <carlos_odonell@mentor.com>
1747
1748 * manual/install.texi (Configuring and compiling): Update
1749 description about files modified in the source directory.
d6c33fda 1750 * INSTALL: Regenerated.
e6bdb741 1751
1b74487e
L
17522012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1753
1754 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1755 value. Use "or" to set return value to -1.
1756 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1757 negate return value.
1758
a88b64b9
TMQMF
17592012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1760
1761 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1762 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1763 failure if the compiler has Graphite support disabled.
1764 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1765 Likewise.
1766 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1767 CFLAGS-memmove.c): Likewise.
1768 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1769 Likewise.
1770
3707636e
L
17712012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1772
610b8622
L
1773 * sysdeps/x86_64/x32/_itoa.h: New file.
1774
7cd195df
L
1775 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1776 getdents system call only if kernel and user dirents have the
1777 same d_ino and d_off.
1778
94b07d20
L
1779 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1780 LLONG_MAX != LONG_MAX.
1781 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1782 (_fitoa_word): Likewise.
1783
18298070
L
1784 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1785 years.
1786 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1787 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1788 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1789
553c7ea4
L
1790 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1791 include <bits/wordsize.h>. Check __x86_64__ instead of
1792 __WORDSIZE.
1793 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1794 if __x86_64__ is defined. Use anonymous union on fpstate.
1795
3707636e
L
1796 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1797 anonymous union.
1798
b53ef01a
AS
17992012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1800
37fb1dc0
AS
1801 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1802 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1803 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1804 Refer to _rtld_local_ro instead of _rtld_global_ro.
1805 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1806 Likewise.
1807 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1808 Likewise.
1809 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1810 Likewise.
1811 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1812 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1813 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1814
b53ef01a
AS
1815 * sysdeps/powerpc/powerpc32/dl-machine.c
1816 (__elf_machine_runtime_setup) [PROF]: Don't reference
1817 _dl_prof_resolve.
1818
7a185db2
AJ
18192012-05-18 Andreas Jaeger <aj@suse.de>
1820
1821 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1822 function only available for GCCs before 3.4 since GCC 3.4
1823 introduced a builtin.
1824 (lrint): Likewise.
1825 (llrintf): Likewise.
1826 (llrint): Likewise.
1827 (fmaxf): Likewise.
1828 (fmax): Likewise.
1829 (fminf): Likewise.
1830 (fmin): Likewise.
1831 (rint): Likewise.
1832 (rintf): Likewise.
1833 (nearbyint): Likewise.
1834 (nearbyintf): Likewise.
1835 (ceil): Likewise.
1836 (ceilf): Likewise.
1837 (floor): Likewise.
1838 (floorf): Likewise.
1839
3e5aef87
L
18402012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1841
428bd707
L
1842 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1843 on both fields and cast pointer to __syscall_ulong_t.
1844
3e5aef87
L
1845 * bits/types.h (__fsword_t): New type.
1846 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1847 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1848 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1849 (__FSWORD_T_TYPE): Likewise.
1850 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1851 (__FSWORD_T_TYPE): Likewise.
1852 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1853 (__FSWORD_T_TYPE): Likewise.
1854 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1855 (__FSWORD_T_TYPE): Likewise.
1856 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1857 __SWORD_TYPE with __fsword_t.
1858 (statfs64): Likewise.
1859
1ba7c3dc
DM
18602012-05-17 David S. Miller <davem@davemloft.net>
1861
1862 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1863
59910343
AJ
18642012-05-17 Andreas Jaeger <aj@suse.de>
1865
1866 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1867 warning.
1868
2e4c1e9e
L
18692012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1870
1871 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1872
de7f5ce7
AJ
18732012-05-17 Andreas Jaeger <aj@suse.de>
1874
1875 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1876 when it is used.
1877
286abc3d
CM
18782012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1879
1880 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1881
477cc68e
L
18822012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1883
1884 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1885 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1886
1a0994f5
CD
18872012-05-17 Andreas Jaeger <aj@suse.de>
1888 Carlos O'Donell <carlos_odonell@mentor.com>
1889
1890 [BZ #14059]
1891 * sysdeps/x86_64/multiarch/init-arch.h
1892 (bit_YMM_Usable): Rename to...
1893 (bit_AVX_Usable): ... this.
1894 (bit_FMA4_Usable): New macro.
1895 (bit_XMM_state): New macro.
1896 (bit_YMM_state): New macro.
1897 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1898 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1899 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1900 (CPUID_OSXSAVE): New macro.
1901 (CPUID_AVX): New macro.
1902 (CPUID_FMA4): New macro.
1903 (index_YMM_Usable): Rename to...
1904 (index_AVX_Usable): ... this.
1905 (HAS_AVX): Use HAS_ARCH_FEATURE.
1906 (HAS_FMA4): Likewise.
1907 (HAS_YMM_USABLE): Remove.
1908 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1909 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1910 are present.
1911 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1912 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1913 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1914 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1915 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1916
0af797de
CM
19172012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1918
1919 * math/libm-test.c: Support platforms without multiple rounding modes.
1920 * math/bug-nextafter.c: Support platforms without FP exceptions.
1921 * math/bug-nexttoward.c: Likewise.
1922 * math/test-fenv.c: Likewise.
1923 * math/test-misc.c: Likewise.
1924 * stdlib/bug-getcontext.c: Likewise.
1925
e39745ff
AJ
19262012-05-17 Andreas Jaeger <aj@suse.de>
1927
1928 * manual/examples/search.c (critter_cmp): Change signature to
1929 avoid warnings.
1930 * manual/string.texi (Collation Functions): Likewise.
1931
48970aba
L
19322012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1933
1934 * bits/types.h: Fold copyright years.
1935 * bits/typesizes.h: Likewise.
1936 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1937 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1938 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1939 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1940 * time/time.h: Likewise.
1941
bedee953
PP
19422012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1943
1944 [BZ #208]
1945 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1946 in instead of returning them. Return void.
1947 (__libc_mallinfo): Accumulate over all arenas.
1948 (__malloc_stats): Adjust for change in int_mallinfo interface.
1949
61653dfb
RM
19502012-05-16 Roland McGrath <roland@hack.frob.com>
1951
30b99d79
RM
1952 [BZ #10375]
1953 * configure.in (NM): Add AC_CHECK_TOOL for it.
1954 (libc_extra_cflags): New substituted variable.
1955 Check for -fstack-protector being used implicitly.
1956 * configure: Regenerated.
1957 * config.make.in (config-extra-cflags): New variable,
1958 gets @libc_extra_cflags@.
1959 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1960
61653dfb
RM
1961 [BZ #10375]
1962 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1963 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1964 * configure: Regenerated.
1965 * config.make.in (CPPUNDEFS): New substituted variable.
1966 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1967 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1968 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1969
661768bb
L
19702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1971
1972 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1973 (mq_attr): Use __syscall_slong_t.
1974
d4261567
L
19752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1976
1977 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1978 Check __x86_64__ instead of __WORDSIZE.
1979 (_STAT_VER_LINUX): Likewise.
1980 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1981 __syscall_ulong_t and __syscall_slong_t.
1982 (stat64): Likewise.
1983
cf3ff365
L
19842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1985
1986 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1987
76cf3e4d
L
19882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1989
1990 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1991
a637753a
L
19922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1993
1994 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1995 __syscall_ulong_t.
1996
d5e05119
L
1997 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1998 include <bits/wordsize.h>. Check __x86_64__ instead of
1999 __WORDSIZE.
2000 (greg_t): Use "__extension__ long long int" if __x86_64__ is
2001 defined.
2002 (mcontext_t): Replace "unsigned long" with "unsigned long long".
2003
f62ee380
L
2004 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
2005 include <bits/wordsize.h>. Check __x86_64__ instead of
2006 __WORDSIZE.
2007 (user_regs_struct): Use "__extension__ unsigned long long"
2008 instead of "unsigned long" if __x86_64__ is defined.
2009 (user): Likewise. Pad after pointer field if __ILP32__ is
2010 defined.
2011
4e124ced
JM
20122012-05-16 Joseph Myers <joseph@codesourcery.com>
2013
6a3951a0
JM
2014 * configure.in (makeinfo): Require version 4.5 or later. Allow
2015 versions 5 to 9.
2016 * configure: Regenerated.
2017 * manual/install.texi (texinfo): Increase version requirement to
2018 4.5 or later.
2019 * INSTALL: Regenerated.
2020
4e124ced
JM
2021 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
2022
953ca31a
L
20232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2024
2025 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
2026
617aca05
L
2027 * sysdeps/x86_64/x32/ffs.c: New file.
2028
5762f7ae
L
2029 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
2030 __syscall_ulong_t.
2031 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
2032 defined. Use __syscall_ulong_t.
2033 (shminfo): Use __syscall_ulong_t.
2034 (shm_info): Likewise.
2035
a26b6856
L
2036 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
2037 __syscall_ulong_t.
2038
cb2b9ef7
L
2039 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
2040 <bits/wordsize.h>.
2041 (msgqnum_t): Use __syscall_ulong_t.
2042 (msglen_t): Likewise.
2043 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
2044 __syscall_ulong_t.
2045
34683bb0
L
2046 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
2047 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2048
84a68786
L
2049 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
2050
48baa5f1
L
2051 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
2052 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
2053
180be88b
L
2054 * sysvipc/sys/msg.h (msgbuf): Replace long int with
2055 __syscall_slong_t.
2056
5e90c8ad
L
2057 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
2058 include <bits/wordsize.h>. Check __x86_64__ instead of
2059 __WORDSIZE.
2060
23dfb58b
L
2061 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
2062 "unsigned long long int" if __x86_64__ is defined.
2063 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
2064
ce5d54b0
L
2065 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
2066 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2067 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
2068
13dc9eac
L
2069 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
2070 <stdint.h>.
2071 (GET_PC): Cast to uintptr_t first.
2072 (GET_FRAME): Likewise.
2073 (GET_STACK): Likewise.
2074
a7895d15
L
2075 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
2076 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
2077 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
2078 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
2079 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
2080 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
2081 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
2082 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
2083 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2084 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2085 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2086 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2087 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2088 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2089 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2090 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2091 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2092 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2093 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2094 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2095 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2096 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2097 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2098 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2099 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2100 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2101 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2102 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2103 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2104
656416c9
AS
21052012-05-16 Andreas Schwab <schwab@linux-m68k.org>
2106
5bd66283
AS
2107 * Makerules (+depfiles): Also collect depfiles from .oS in
2108 $(extra-objs).
2109 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2110 .oS, $(libnldbl-routines)).
2111
656416c9
AS
2112 * Makerules (native-compile-mkdep-flags): Define.
2113 * sunrpc/Makefile (extra-objs): Add $(addprefix
2114 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2115 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2116 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
2117 calling $(make-target-directory).
2118
a46f2169
L
21192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2120
2121 * bits/types.h (__snseconds_t): Removed.
2122 * time/time.h (struct timespec): Replace __snseconds_t with
2123 __syscall_slong_t.
2124 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2125 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2126 Likewise.
2127 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2128 (__SNSECONDS_T_TYPE): Likewise.
2129 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2130 (__SNSECONDS_T_TYPE): Likewise.
2131 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2132 (__SNSECONDS_T_TYPE): Likewise.
2133
6af6528b
L
21342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2135
2136 * sysdeps/mach/hurd/bits/typesizes.h
2137 (__SYSCALL_SLONG_TYPE): New macro.
2138 (__SYSCALL_ULONG_TYPE): Likewise.
2139
de986b56
L
21402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2141
2142 * bits/types.h (__syscall_slong_t): New type.
2143 (__syscall_ulong_t): Likewise.
2144
2145 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2146 (__SYSCALL_ULONG_TYPE): Likewise.
2147 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2148 (__SYSCALL_SLONG_TYPE): Likewise.
2149 (__SYSCALL_ULONG_TYPE): Likewise.
2150 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2151 (__SYSCALL_SLONG_TYPE): Likewise.
2152 (__SYSCALL_ULONG_TYPE): Likewise.
2153 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2154 (__SYSCALL_SLONG_TYPE): Likewise.
2155 (__SYSCALL_ULONG_TYPE): Likewise.
2156
85736dc7
L
21572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2158
2159 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2160 Add sigaltstack-offsets.sym.
2161 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2162 <sigaltstack-offsets.h>.
2163 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2164 longjmp_msg pointer.
2165 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2166 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2167 signal stack.
2168 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2169
cc03b296
JM
21702012-05-15 Joseph Myers <joseph@codesourcery.com>
2171
a9538892
JM
2172 * elf/stackguard-macros.h: Remove file.
2173 * sysdeps/generic/stackguard-macros.h: New file.
2174 * sysdeps/i386/stackguard-macros.h: Likewise.
2175 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2176 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2177 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2178 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2179 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2180 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2181 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2182 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2183 <elf/stackguard-macros.h>.
2184
cc03b296
JM
2185 [BZ #14109]
2186 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2187 __aligned__ in attribute.
2188 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2189 (gregset_t): Likewise.
2190
93171016
L
21912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2192
2193 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2194 * sysdeps/x86_64/64/Implies-after: Here. New file.
2195 * sysdeps/x86_64/x32/Implies-after: New file.
2196
d86813a0
L
21972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2198
2199 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2200 and access return value for _dl_profile_fixup. Use R10_LP to
2201 load frame size.
2202
2953ec75
L
22032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2204
2205 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2206
3b550e9e
L
22072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2208
2209 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2210 * sysdeps/x86_64/x32/sysdep.h: New file.
2211
eda41706
L
22122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2213
2214 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2215 * sysdeps/x86_64/setjmp.S: Likewise.
2216
9ea01d93
AZ
22172012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2218
2219 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2220 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2221 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2222 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2223 remove unused global constant.
2224
02a91938
CM
22252012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2226
2227 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2228 include of <not-cancel.h>.
2229
6540185f
RM
22302012-05-15 Roland McGrath <roland@hack.frob.com>
2231
2232 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2233
509072a0
AJ
22342012-05-15 Jeff Law <law@redhat.com>
2235 Andreas Jaeger <aj@suse.de>
2236
2237 [BZ #13594]
2238 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2239 out from...
2240 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2241 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2242 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2243 code changing __hst_map_handle.map.
2244
ba75122d
RM
22452012-05-15 Roland McGrath <roland@hack.frob.com>
2246
2247 * configure.in (sysnames): Look for Implies-before and Implies-after
2248 files.
2249 * configure: Regenerated.
2250
890d8bd8
L
22512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2252
2253 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2254 8-byte data alignment with LP_SIZE alignment.
2255
f6ee6623
L
22562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2257
2258 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2259 into R10_LP.
2260
ea2626f6
L
22612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2262
2263 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2264
085f715e
L
22652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2266
2267 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2268 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2269 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2270 Likewise.
2271 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2272
be8498fc
L
22732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2274
2275 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2276 (stackinfo_sub_sp): Likewise.
2277
70bc83b9
L
22782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2279
2280 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2281 RAX_LP.
2282
9bc0b730
L
22832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2284
2285 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2286 into R*_LP.
2287
6d2850e7
L
22882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2289
2290 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2291 sizes into R*_LP.
2292
3cb84561
L
22932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2294
2295 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2296
54e2ed81
L
22972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2298
2299 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2300 into R11_LP and load __x86_64_shared_cache_size_half into
2301 R8_LP.
2302
8a17f349
L
23032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2304
2305 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2306 R8_LP.
2307
777b1eea
AZ
23082012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2309
2310 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2311 logb for POWER7.
2312 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2313 logbf for POWER7.
2314 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2315 logbl for POWER7.
2316 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2317 powerpc32/power7/fpu/s_logb.c via #include.
2318 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2319 powerpc32/power7/fpu/s_logbf.c via #include.
2320 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2321 powerpc32/power7/fpu/s_logbl.c via #include.
2322
d20d4ac2
JM
23232012-05-15 Joseph Myers <joseph@codesourcery.com>
2324
2325 * README.libm: Remove file.
2326
6cdef1ab
L
23272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2328
2329 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2330 count for x32. Use R*_LP and omit operand-size suffix.
2331
0b254d8f
L
23322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2333
2334 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2335 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2336 * sysdeps/x86_64/x32/shlib-versions: New file.
2337
ceb809dc
RM
23382012-05-14 Roland McGrath <roland@hack.frob.com>
2339
2340 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2341 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2342 Use _dl_fatal_printf instead.
2343
37f1abd4
JM
23442012-05-14 Joseph Myers <joseph@codesourcery.com>
2345
2346 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2347 set if not set by the user. Do not allow for being unset.
2348 * sysdeps/unix/sysv/linux/configure: Regenerated.
2349
11de3a33
L
23502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2351
2352 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2353 the `q' suffix from lea and replace .quad with ASM_ADDR.
2354
e02f153a
L
23552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2356
2357 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2358 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2359 instead of $17.
2360 (PTR_DEMANGLE): Likewise.
2361
520ae0fd
L
23622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2363
2364 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2365 (LP_OP): Likewise.
2366 (ASM_ADDR): Likewise.
2367 (RAX_LP): Likewise.
2368 (RBP_LP): Likewise.
2369 (RBX_LP): Likewise.
2370 (RCX_LP): Likewise.
2371 (RDI_LP): Likewise.
2372 (RSI_LP): Likewise.
2373 (RSP_LP): Likewise.
2374 (R8_LP): Likewise.
2375 (R9_LP): Likewise.
2376 (R10_LP): Likewise.
2377 (R10_LP): Likewise.
2378 (R11_LP): Likewise.
2379 (R12_LP): Likewise.
2380 (R13_LP): Likewise.
2381 (R14_LP): Likewise.
2382 (R15_LP): Likewise.
2383
b985be81
L
23842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2385
2386 * sysdeps/x86_64/x32/dl-machine.h: New file.
2387
6a4888ff
AJ
23882012-05-14 Andreas Jaeger <aj@suse.de>
2389
2390 * manual/Makefile (subdir): Remove export of subdir.
2391 (all): Remove target.
2392 (.PHONY): Remove all from list.
2393 (mkinstalldirs): Remove.
2394 (.PHONY): Remove installdirs from list.
2395 ($(inst_infodir)/libc.info): Use make-target-directory.
2396 (installdirs): Remove.
2397 (subdir_%): Remove.
2398 (glibc-targets): Remove.
2399 (lib): Remove.
2400 (stubs): Remove.
2401 ($(objpfx)stubs ../po/manual.pot): Remove.
2402 ($(objpfx)stamp%): Remove.
2403 (make-target-directory): Remove.
2404 (subdir_install): Remove.
2405 (routines): Remove.
2406 (aux): Remove.
2407 (sources): Remove.
2408 (objects): Remove.
2409 (headers): Remove.
2410
2411 [BZ #13750]
2412 * manual/.gitignore: Remove, it's not needed anymore.
2413 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2414 all files in it.
2415 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2416 directory.
2417 (texis): Renamed to $(objpfx)texis.
2418 (texis-path): New, contains path to generated files.
2419 (chapters.%): Use texis-path for complete path, add extra argument
2420 libc-texinfo.sh.
2421 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2422 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2423 (summary,texi, stamp-summary): Use complete path of
2424 files. Generate files in build dir.
2425 (dir-add.texi): Build in build dir.
2426 (libm-err.texi,stamp-libm-err): Likewise.
2427 (version.texi, stamp-version): Likewise.
2428 (.%c.texi): Likewise.
2429 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2430 (mostlyclean): Remove target.
2431 (realclean): Remove target.
2432 (generated): Add new variable with contents from mostlyclean and
2433 realclean, remove entries duplicated in common-mostlyclean, add
2434 stamp-libm-err and stamp-version.
2435 (generated-dirs): Add libc directory.
2436 ($(inst_infodir)/libc.info): Install files from build dir.
2437
2438 * manual/install.texi (Configuring and compiling): Adjust since
2439 the info files are not part of the tar ball anymore.
2440
7ac77294
AJ
24412012-05-14 Andreas Jaeger <aj@suse.de>
2442
2443 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2444 variable.
2445
ffb7875d
JM
24462012-05-14 Joseph Myers <joseph@codesourcery.com>
2447
2448 [BZ #13717]
2449 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2450 to 2.2.0 where earlier.
2451 * sysdeps/unix/sysv/linux/configure: Regenerated.
2452 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2453 Remove conditional code.
2454 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2455 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2456 Remove conditional code.
2457 [!__NR_lchown]: Likewise.
2458 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2459 [__NR_lchown]: Likewise.
2460 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2461 comment referencing __ASSUME_LCHOWN_SYSCALL.
2462 * sysdeps/unix/sysv/linux/i386/sigaction.c
2463 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2464 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2465 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2466 Remove conditional code.
2467 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2468 (__protocol_available): Remove #if 0 code.
2469 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2470 conditional code.
2471 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2472 * sysdeps/unix/sysv/linux/kernel-features.h
2473 (__ASSUME_GETCWD_SYSCALL): Don't define.
2474 (__ASSUME_REALTIME_SIGNALS): Likewise.
2475 (__ASSUME_PREAD_SYSCALL): Likewise.
2476 (__ASSUME_PWRITE_SYSCALL): Likewise.
2477 (__ASSUME_POLL_SYSCALL): Likewise.
2478 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2479 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2480 non-SPARC.
2481 (__ASSUME_SIOCGIFNAME): Don't define.
2482 (__ASSUME_MSG_NOSIGNAL): Likewise.
2483 (__ASSUME_SENDFILE): Define unconditionally.
2484 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2485 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2486 conditional code.
2487 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2488 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2489 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2490 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2491 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2492 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2493 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2495 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2496 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2498 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2499 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2501 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2502 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2504 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2505 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2507 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2508 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2510 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2511 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2513 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2514 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2516 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2517 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2518 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2519 Remove conditional code.
2520 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2521 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2522 Remove conditional code.
2523 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2524 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2525 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2526 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2527 Remove conditional code.
2528 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2529 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2530 Remove conditional code.
2531 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2532 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2533 Remove conditional code.
2534 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2535 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2536 Remove conditional code.
2537 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2538 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2539 Remove conditional code.
2540 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2541 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2542 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2543 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2544 * sysdeps/unix/sysv/linux/sigaction.c
2545 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2546 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2547 * sysdeps/unix/sysv/linux/sigpending.c
2548 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2549 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2550 * sysdeps/unix/sysv/linux/sigprocmask.c
2551 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2552 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2553 * sysdeps/unix/sysv/linux/sigsuspend.c
2554 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2555 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2556 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2557 (__libc_missing_rt_sigs): Remove.
2558 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2559 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2560 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2561 Remove conditional code.
2562 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2563 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2564 return 1.
2565 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2566 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2567 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2568 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2569
1bfb7291
AJ
25702012-05-14 Andreas Jaeger <aj@suse.de>
2571
caae5a81
AJ
2572 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2573 it's not used in glibc.
2574 (__coshm1): Likewise.
2575 (__acosh1p): Likewise.
2576 (__sgn): Likewise.
2577
1bfb7291
AJ
2578 * manual/string.texi (Copying and Concatenation): Add missing
2579 variable in concat example.
2580 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2581
c044d724
L
25822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2583
144c5467 2584 [BZ #14103]
c044d724
L
2585 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2586 __builtin_clzl with __builtin_clzll.
2587
2523c62b
L
25882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2589
2590 [BZ #14104]
2591 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2592 libc_freeres_ptr.
2593
d7bb4c42
LD
25942012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2595
2596 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2597 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2598 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2599 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2600
9dc4e1fb
MF
26012012-05-14 Mike Frysinger <vapier@gentoo.org>
2602
2603 * NEWS: Update ia64 info.
2604
c7df0112
AS
26052012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2606
2607 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2608 used as bcopy.
2609
dc70356c
TS
26102012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2611
2612 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2613 * sysdeps/unix/syscalls.list (dup3): Likewise.
2614 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2615 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2616
9fb1a21f
L
26172012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2618
2619 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2620 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2621
4822a2a5
L
26222012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2623
2624 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2625 thread pointer.
2626 (TLS_IE): Use mov/add instead of movq/addq to load thread
2627 pointer.
2628 (TLS_GD_PREFIX): New.
2629 (TLS_GD): Use it.
2630
842b81d6
DM
26312012-05-11 David S. Miller <davem@davemloft.net>
2632
2633 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2634 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2635 (_FPU_SETCW): Likewise.
2636
1cf463cd
L
26372012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2638
2639 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2640 is 32-byte aligned.
2641
60cc4a18
AS
26422012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2643
2644 [BZ #11837]
2645 * iconvdata/gb18030.c: Update tables.
2646 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2647 characters specially.
2648 (BODY for TO_LOOP): Add encoding of missing ranges.
2649
febb44a4
TS
26502012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2651
2652 [BZ #13673]
2653 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2654 * sysdeps/mach/hurd/dup3.c: Likewise.
2655 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2656 * sysdeps/powerpc/memmove.c:: Likewise.
2657
0a10fb9e
L
26582012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2659
2660 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2661 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2662
df8a552f
L
26632012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2664
2665 * elf/elf.h (R_X86_64_RELATIVE64): New.
2666 (R_X86_64_NUM): Updated.
2667 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2668 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2669 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2670 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2671 tst-quad1pie tst-quad2pie
2672 (modules-names): Add tst-quadmod1 tst-quadmod2.
2673 ($(objpfx)tst-quad1): New dependency.
2674 ($(objpfx)tst-quad2): Likewise.
2675 ($(objpfx)tst-quad1pie): Likewise.
2676 ($(objpfx)tst-quad2pie): Likewise.
2677 * sysdeps/x86_64/tst-quad1.c: New file.
2678 * sysdeps/x86_64/tst-quad1pie.c: New file.
2679 * sysdeps/x86_64/tst-quad2.c: Likewise.
2680 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2681 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2682 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2683 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2684 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2685
f34d6f84
ST
26862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2687
f42d41d1
ST
2688 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2689 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2690 * streams/stropts.h (t_scalar_t): Define type.
2691
3c3571fc
ST
2692 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2693 (_PATH_PRESERVE): Set to "/var/lib".
2694 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2695
61f06bd3
ST
2696 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2697 instead of int.
2698
918d4d71
ST
2699 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2700 if __dir_mkfile succeeded.
2701
f34d6f84
ST
2702 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2703 checking for _hurd_dtablesize. Unlock it right after having
2704 finished _hurd_dtable allocation.
2705
10589b4a
TS
27062012-05-10 Thomas Schwinge <thomas@schwinge.name>
2707
674cdbc7
TS
2708 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2709 * sysdeps/mach/hurd/configure: Regenerated.
2710 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2711 special-casing to...
2712 * sysdeps/gnu/configure.in: ... this new file.
2713 * sysdeps/unix/sysv/linux/configure: Regenerated.
2714 * sysdeps/gnu/configure: New generated file.
2715
8e41b99f
TS
2716 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2717 for Linux: use nsec instead of usec, as well as:
2718 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2719 members of type struct timespec.
2720 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2721 New macros.
2722 (struct stat64): Likewise.
2723 (_STATBUF_ST_NSEC): New macro.
2724 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2725
10589b4a
TS
2726 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2727 __strtoul_internal rather than strtoul.
2728
63643c85
PT
27292012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2730
2731 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2732 and reject them.
2733
3faebe6a
ST
27342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2735
2736 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2737 which preserves existing values.
2738 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2739
c6474b07
PT
27402012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2741
2742 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2743 TIMEOUT values. Return EINVAL for NFDS values either negative or
2744 greater than FD_SETSIZE.
2745
1043890b
ST
27462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2747
2748 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2749 allocated, call __vm_protect to finish enabling the existing space, and
2750 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2751 allocate the remainder.
2752
37ed8b9b
PT
27532012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2754
2755 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2756 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2757
db653660
ST
27582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2759
37ed8b9b
PT
2760 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2761 sysdeps/mach/hurd/readlink.c.
b29d4053 2762
db653660
ST
2763 * posix/tst-sysconf.c (posix_options): Only use
2764 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2765 _POSIX_SYNCHRONIZED_IO when they are defined
2766 * sysdeps/mach/hurd/bits/posix_opt.h:
2767 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2768 (_XOPEN_REALTIME): Undefine macro.
2769 (_XOPEN_REALTIME_THREADS): Undefine macro.
2770 (_XOPEN_SHM): Undefine macro.
2771 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2772 macro to -1.
2773 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2774 macro to -1.
2775 (_POSIX_ASYNC_IO): Undefine macro.
2776 (_POSIX_PRIORITIZED_IO): Undefine macro.
2777 (_POSIX_SPIN_LOCKS): Define macro to -1.
2778
ee16e894
ST
2779 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2780 SA_NODEFER, SA_RESETHAND.
2781 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2782 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2783 F_DUPFD_CLOEXEC.
2784
6103ae3b
TS
27852012-05-10 Thomas Schwinge <thomas@schwinge.name>
2786
2787 * elf/Makefile (pldd-modules): Define unconditionally.
2788
80b4e5f3
TS
27892012-05-10 Thomas Schwinge <thomas@schwinge.name>
2790
2791 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2792
edadcbd6
ST
27932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2794
2795 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2796 Return ENOENT when name is empty.
2797 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2798
80694780
TS
27992012-05-10 Thomas Schwinge <thomas@schwinge.name>
2800
1792c087
TS
2801 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2802
80694780
TS
2803 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2804
6b645f0d
ST
28052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2806
80694780
TS
2807 Fix mlock in all cases except non-readable pages.
2808 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2809 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 2810
6b645f0d
ST
2811 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2812 (__mkdir): When path is `/', just fail with EEXIST.
2813 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2814
e468f8a3
TS
28152012-05-10 Thomas Schwinge <thomas@schwinge.name>
2816
2817 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2818 <sys/uio.h> (for writev).
2819 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2820 and <sys/param.h> (for MIN).
2821
a4186cff
PT
28222012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2823
2824 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2825 REQUESTED_TIME. Properly set the remaining time and return EINTR
2826 if interrupted.
2827
510bbf14
TS
28282012-05-10 Thomas Schwinge <thomas@schwinge.name>
2829
2830 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2831 Depend on against $(link-rpcuserlibs).
2832
5d5722e8
ST
28332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2834
a4186cff
PT
2835 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2836 (__libc_stack_end): Do not use attribute_relro.
2837 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2838 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 2839 to libthread-provided value.
a4186cff
PT
2840 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2841 attribute_relro.
5d5722e8 2842
37233df9
TS
28432012-05-10 Thomas Schwinge <thomas@schwinge.name>
2844
be971a2b
TS
2845 [BZ #3748]
2846 * bits/libc-lock.h (__libc_once_get): New macro.
2847 * sysdeps/mach/bits/libc-lock.h: Likewise.
2848 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2849 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2850 instead of using implementation details.
2851
37233df9
TS
2852 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2853 * libio/freopen.c: Likewise.
2854 * libio/freopen64.c: Likewise.
2855 * misc/syslog.c: Likewise.
2856 * nscd/connections.c: Likewise.
2857 * nscd/netgroupcache.c: Likewise.
2858 * sysdeps/posix/getcwd.c: Likewise.
2859
38de94a5
RM
28602012-05-10 Roland McGrath <roland@hack.frob.com>
2861
2862 * math/w_ilogbf.c: Add #include <limits.h>.
2863
67530489
ST
28642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2865
a4186cff 2866 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
2867 path instead of returning without unlocking.
2868
67530489
ST
2869 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2870 immediate-write ioctls.
2871 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2872
5aa3a74a
TS
28732012-05-10 Thomas Schwinge <thomas@schwinge.name>
2874
18bad2ae
TS
2875 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2876 __builtin_frame_address instead of making assumptions about the
2877 location of the return address relative to DATA. Force early load of
2878 the return address.
2879 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2880 __builtin_frame_address.
2881
5aa3a74a
TS
2882 dup3 for GNU Hurd.
2883 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2884 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2885 implement dup3 and do some further code clean-ups.
2886 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2887 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2888
ecd0de9a
ST
28892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2890
cd9fa985
ST
2891 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2892
a4186cff
PT
2893 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2894 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2895 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2896 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2897 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2898 d->port.lock.
802ca5a5 2899
a4186cff
PT
2900 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2901 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2902 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 2903
bcf55240
TS
29042012-05-10 Thomas Schwinge <thomas@schwinge.name>
2905
6960eb42
TS
2906 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2907 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2908 definitions.
2909
eb43375f
TS
2910 accept4 for GNU Hurd.
2911 * include/sys/socket.h (__libc_accept4): New prototype.
2912 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2913 to implement __libc_accept4.
2914 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2915 __libc_accept4.
2916 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2917
bcf55240
TS
2918 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2919 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2920 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2921 signal-defines.sym.
2922
6178c55b
ST
29232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2924
a4186cff 2925 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 2926
6f080c2f
TS
29272012-05-10 Thomas Schwinge <thomas@schwinge.name>
2928
2929 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2930 assertion on O_CLOEXEC flag.
2931 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2932 * hurd/intern-fd.c: Likewise.
2933 * hurd/port2fd.c: Likewise.
2934
bcfe3a54
ST
29352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2936
2937 [BZ #3906]
2938 * bits/in.h (IPV6_PKTINFO): Define new macro.
2939 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2940
89c9aa49
AZ
29412012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2942
2943 [BZ #13954]
2944 [BZ #13955]
2945 [BZ #13956]
2946 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2947 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2948 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2949 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2950 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2951 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2952 * math/libm-test.inc (logb_test) : Additional logb tests.
2953
021db4be
AJ
29542012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2955 Andreas Jaeger <aj@suse.de>
2956
2957 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2958 * configure: Regenerated.
2959 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2960 * config.make.in (link-obsolete-rpc): New substituted variable.
2961 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2962 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2963 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2964 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2965 so that libc.a contains the symbols.
2966 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2967 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2968 * sunrpc/auth_none.c: Likewise.
2969 * sunrpc/auth_unix.c: Likewise.
2970 * sunrpc/authdes_prot.c: Likewise.
2971 * sunrpc/authuxprot.c: Likewise.
2972 * sunrpc/clnt_gen.c: Likewise.
2973 * sunrpc/clnt_perr.c: Likewise.
2974 * sunrpc/clnt_raw.c: Likewise.
2975 * sunrpc/clnt_simp.c: Likewise.
2976 * sunrpc/clnt_tcp.c: Likewise.
2977 * sunrpc/clnt_udp.c: Likewise.
2978 * sunrpc/clnt_unix.c: Likewise.
2979 * sunrpc/des_crypt.c: Likewise.
2980 * sunrpc/des_soft.c: Likewise.
2981 * sunrpc/get_myaddr.c: Likewise.
2982 * sunrpc/key_call.c: Likewise.
2983 * sunrpc/key_prot.c: Likewise.
2984 * sunrpc/netname.c: Likewise.
2985 * sunrpc/pm_getmaps.c: Likewise.
2986 * sunrpc/pm_getport.c: Likewise.
2987 * sunrpc/pmap_clnt.c: Likewise.
2988 * sunrpc/pmap_prot.c: Likewise.
2989 * sunrpc/pmap_prot2.c: Likewise.
2990 * sunrpc/pmap_rmt.c: Likewise.
2991 * sunrpc/publickey.c: Likewise.
2992 * sunrpc/rpc_cmsg.c: Likewise.
2993 * sunrpc/rpc_common.c: Likewise.
2994 * sunrpc/rpc_dtable.c: Likewise.
2995 * sunrpc/rpc_prot.c: Likewise.
2996 * sunrpc/rpc_thread.c: Likewise.
2997 * sunrpc/rtime.c: Likewise.
2998 * sunrpc/svc.c: Likewise.
2999 * sunrpc/svc_auth.c: Likewise.
3000 * sunrpc/svc_raw.c: Likewise.
3001 * sunrpc/svc_run.c: Likewise.
3002 * sunrpc/svc_tcp.c: Likewise.
3003 * sunrpc/svc_udp.c: Likewise.
3004 * sunrpc/svc_unix.c: Likewise.
3005 * sunrpc/svcauth_des.c: Likewise.
3006 * sunrpc/xcrypt.c: Likewise.
3007 * sunrpc/xdr.c: Likewise.
3008 * sunrpc/xdr_array.c: Likewise.
3009 * sunrpc/xdr_float.c: Likewise.
3010 * sunrpc/xdr_intXX_t.c: Likewise.
3011 * sunrpc/xdr_mem.c: Likewise.
3012 * sunrpc/xdr_rec.c: Likewise.
3013 * sunrpc/xdr_ref.c: Likewise.
3014 * sunrpc/xdr_sizeof.c: Likewise.
3015 * sunrpc/xdr_stdio.c: Likewise.
3016
b5c086a2
RM
30172012-05-10 Roland McGrath <roland@hack.frob.com>
3018
3019 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
3020 change. Update copyright years.
3021
6d74dd09
JM
30222012-05-10 Joseph Myers <joseph@codesourcery.com>
3023
3024 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
3025
28e72501
MK
30262012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
3027 Joseph Myers <joseph@codesourcery.com>
3028 Paul Pluzhnikov <ppluzhnikov@google.com>
3029
3030 [BZ #14012]
3031 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
3032 requiring rpcgen.
3033 [cross-compiling] (extra-libs): Likewise.
3034 [cross-compiling] (extra-libs-others): Likewise.
3035 [cross-compiling] (librpcsvc-routines): Likewise.
3036 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
3037 [cross-compiling] (omit-deps): Likewise.
3038 (sunrpc-CPPFLAGS): New variable.
3039 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
3040 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
3041 (cross-rpcgen-objs): New variable.
3042 (extra-objs): Append $(cross-rpcgen-objs).
3043 ($(cross-rpcgen-objs)): New rule.
3044 ($(objpfx)cross-rpcgen): Likewise.
3045 (rpcgen-cmd): Define to use $(built-program-file). Expand
3046 comment.
3047 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
3048 ($(objpfx)x%.stmp): Likewise.
3049 * sunrpc/proto.h [IS_IN_build] (_): Define.
3050 [IS_IN_build] (_libc_intl_domainname): Likewise.
3051
c8c59454
L
30522012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3053
3054 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
3055 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
3056 and R_X86_64_TPOFF64.
3057
6f27cd16
JM
30582012-05-10 Joseph Myers <joseph@codesourcery.com>
3059
3060 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
3061 sysdeps/unix/sysv/syscalls.list.
3062 (stime): Likewise.
3063 (utime): Likewise.
3064 * sysdeps/unix/sysv/syscalls.list: Remove file.
3065
02467e1c
PE
30662012-05-10 Paul Eggert <eggert@cs.ucla.edu>
3067
3068 [BZ #3440]
3069 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
3070 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
3071 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
3072 (__LC_IDENTIFICATION): Make these macros useful in #if
3073 expressions, as required by C99.
3074
da392631
AS
30752012-05-10 Andreas Schwab <schwab@linux-m68k.org>
3076
3077 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
3078 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
3079 after this.
3080
8115f29b
L
30812012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3082
3083 * stdlib/longlong.h: Updated from GCC.
3084
bdd74070
AJ
30852012-05-09 Andreas Jaeger <aj@suse.de>
3086
edfe0dbe
AJ
3087 * nscd/nscd.c (run_modes): Make named enum, reorder so that
3088 default is first entry.
3089 (run_mode): Set type.
3090 (main): Remove informal message about syslog.
3091 (options): Fix typo.
3092
bcfe3a54
ST
3093 [BZ #14053]
3094 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 3095 to asm.
bcfe3a54
ST
3096 (lrint): Likewise.
3097 (llrintf): Likewise.
3098 (llrint): Likewise.
3099 (rint): Likewise.
3100 (rintf): Likewise.
3101 (nearbyint): Likewise.
3102 (nearbyintf): Likewise.
bdd74070 3103
91d8d69e
AJ
31042012-05-09 Andreas Jaeger <aj@suse.de>
3105 Pedro Alves <palves@redhat.com>
3106
3107 * nscd/nscd.c (run_mode): Use enum.
3108 (main): Cleanup coding style issue.
3109
bb90b80b
AJ
31102012-05-09 Alexandre Oliva <aoliva@redhat.com>
3111 Andreas Jaeger <aj@suse.de>
3112
bcfe3a54
ST
3113 * nscd/nscd.c (go_background): Replaced with...
3114 (run_mode): ... this.
bb90b80b 3115 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
3116 (options): Add -F --foreground.
3117 (main): Implement it.
3118 (parse_opt): Parse it.
bb90b80b 3119
1a4b75a1
AJ
31202012-05-09 Andreas Jaeger <aj@suse.de>
3121
3122 [BZ #14083]
3123 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3124 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3125 -Wconversion warning.
3126 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3127 Likewise.
3128
b1cc2472
JM
31292012-05-09 Joseph Myers <joseph@codesourcery.com>
3130
3131 * conform/data/locale.h-data (NULL): Use macro-constant. Require
3132 == 0.
3133 (LC_ALL): Use macro-int-constant.
3134 (LC_COLLATE): Likewise.
3135 (LC_CTYPE): Likewise.
3136 (LC_MESSAGES): Likewise.
3137 (LC_MONETARY): Likewise.
3138 (LC_NUMERIC): Likewise.
3139 (LC_TIME): Likewise.
3140 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3141 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3142 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3143 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3144 Specify type.
3145 [C99-based standards] (float_t): Expect type.
3146 [C99-based standards] (double_t): Expect type.
3147 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3148 type.
3149 [C99-based standards] (HUGE_VALL): Likewise.
3150 [C99-based standards] (INFINITY): Likewise.
3151 [C99-based standards] (NAN): Likewise.
3152 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3153 [C99-based standards] (FP_NAN): Likewise.
3154 [C99-based standards] (FP_NORMAL): Likewise.
3155 [C99-based standards] (FP_SUBNORMAL): Likewise.
3156 [C99-based standards] (FP_ZERO): Likewise.
3157 [C99-based standards] (FP_FAST_FMA): Use
3158 optional-macro-int-constant. Specify type. Require == 1.
3159 [C99-based standards] (FP_FAST_FMAF): Likewise.
3160 [C99-based standards] (FP_FAST_FMAL): Likewise.
3161 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3162 [C99-based standards] (FP_ILOGBNAN): Likewise.
3163 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3164 Specify type.
3165 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3166 [C99-based standards] (math_errhandling): Specify type.
3167 [ISO99 || ISO11] (signgam): Do not allow.
3168 [non-C99-based standards] (copysignf): Do not allow.
3169 [non-C99-based standards] (exp2f): Likewise.
3170 [non-C99-based standards] (log2f): Likewise.
3171 [non-C99-based standards] (modff): Allow.
3172 [non-C99-based standards] (erff): Do not allow.
3173 [non-C99-based standards] (erfcf): Likewise.
3174 [non-C99-based standards] (gammaf): Likewise.
3175 [non-C99-based standards] (hypotf): Likewise.
3176 [non-C99-based standards] (j0f): Likewise.
3177 [non-C99-based standards] (j1f): Likewise.
3178 [non-C99-based standards] (jnf): Likewise.
3179 [non-C99-based standards] (lgammaf): Likewise.
3180 [non-C99-based standards] (tgammaf): Likewise.
3181 [non-C99-based standards] (y0f): Likewise.
3182 [non-C99-based standards] (y1f): Likewise.
3183 [non-C99-based standards] (ynf): Likewise.
3184 [non-C99-based standards] (isnanf): Likewise.
3185 [non-C99-based standards] (acoshf): Likewise.
3186 [non-C99-based standards] (asinhf): Likewise.
3187 [non-C99-based standards] (atanhf): Likewise.
3188 [non-C99-based standards] (cbrtf): Likewise.
3189 [non-C99-based standards] (expm1f): Likewise.
3190 [non-C99-based standards] (ilogbf): Likewise.
3191 [non-C99-based standards] (log1pf): Likewise.
3192 [non-C99-based standards] (logbf): Likewise.
3193 [non-C99-based standards] (nextafterf): Likewise.
3194 [non-C99-based standards] (remainderf): Likewise.
3195 [non-C99-based standards] (rintf): Likewise.
3196 [non-C99-based standards] (scalbf): Likewise.
3197 [non-C99-based standards] (copysignl): Likewise.
3198 [non-C99-based standards] (exp2l): Likewise.
3199 [non-C99-based standards] (log2l): Likewise.
3200 [non-C99-based standards] (modfl): Allow.
3201 [non-C99-based standards] (erfl): Do not allow.
3202 [non-C99-based standards] (erfcl): Likewise.
3203 [non-C99-based standards] (gammal): Likewise.
3204 [non-C99-based standards] (hypotl): Likewise.
3205 [non-C99-based standards] (j0l): Likewise.
3206 [non-C99-based standards] (j1l): Likewise.
3207 [non-C99-based standards] (jnl): Likewise.
3208 [non-C99-based standards] (lgammal): Likewise.
3209 [non-C99-based standards] (tgammal): Likewise.
3210 [non-C99-based standards] (y0l): Likewise.
3211 [non-C99-based standards] (y1l): Likewise.
3212 [non-C99-based standards] (ynl): Likewise.
3213 [non-C99-based standards] (isnanl): Likewise.
3214 [non-C99-based standards] (acoshl): Likewise.
3215 [non-C99-based standards] (asinhl): Likewise.
3216 [non-C99-based standards] (atanhl): Likewise.
3217 [non-C99-based standards] (cbrtl): Likewise.
3218 [non-C99-based standards] (expm1l): Likewise.
3219 [non-C99-based standards] (ilogbl): Likewise.
3220 [non-C99-based standards] (log1pl): Likewise.
3221 [non-C99-based standards] (logbl): Likewise.
3222 [non-C99-based standards] (nextafterl): Likewise.
3223 [non-C99-based standards] (remainderl): Likewise.
3224 [non-C99-based standards] (rintl): Likewise.
3225 [non-C99-based standards] (scalbl): Likewise.
3226 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3227 [non-C99-based standards] (FP_*): Do not allow.
3228 [C99-based standards] (FP_*): Change to
3229 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3230 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3231 allow.
3232 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3233 (SIG_ERR): Likewise.
3234 [X/Open-based standards] (SIG_HOLD): Likewise.
3235 (SIG_IGN): Likewise.
3236 (SIGABRT): Use macro-int-constant. Specify type. Require
3237 positive value.
3238 (SIGFPE): Likewise.
3239 (SIGILL): Likewise.
3240 (SIGINT): Likewise.
3241 (SIGSEGV): Likewise.
3242 (SIGTER): Likewise.
3243 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3244 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3245 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3246 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3247 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3248 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3249 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3250 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3251 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3252 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3253 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3254 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3255 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3256 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3257 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3258 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3259 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3260 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3261 [X/Open-based standards] (SIGTRAP): Likewise.
3262 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3263 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3264 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3265 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3266 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3267 allow.
3268
b9f1922d
IW
32692012-05-08 Ian Wienand <ianw@vmware.com>
3270
3271 [BZ #14080]
3272 * time/tzset.c (__tzset_parse_tz): Update default rules for
3273 daylight time changes in the Energy Policy Act of 2005.
3274
1db86e88
AJ
32752012-05-09 Andreas Jaeger <aj@suse.de>
3276
3277 [BZ #13983]
3278 * elf/ldconfig.c (parse_conf): Change string to make clear that
3279 ldconfig only issued a warning if ld.so.conf does not exist.
3280
dee4a4e3
DM
32812012-05-08 David S. Miller <davem@davemloft.net>
3282
ee0db190
DM
3283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3284 movxtod instead of popping the value on the stack.
3285
dee4a4e3
DM
3286 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3287
6a43ec98
CD
32882012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3289
3290 * config.h.in: Add HAVE_ARM_PCS_VFP.
3291
05c2c961
RMG
32922012-05-08 Roland Mc Grath <roland@hack.frob.com>
3293
bcfe3a54
ST
3294 [BZ #13979]
3295 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3296 checking but the checks are disabled for any reason.
05c2c961 3297
4b30f61a
L
32982012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3299
3300 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3301 and ELF64_R_TYPE with ELFW(R_TYPE).
3302
eee2bc67
JM
33032012-05-08 Joseph Myers <joseph@codesourcery.com>
3304
7ea5391a
JM
3305 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3306 (ulimit): Likewise.
3307
eee2bc67
JM
3308 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3309 (settimeofday): Likewise.
3310
abb66a67
MF
33112012-05-08 Mike Frysinger <vapier@gentoo.org>
3312
3313 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3314 a struct th_u2 inside the union, and move tu_block/tu_code into
3315 a new th_u3 union of tu_block/tu_code inside of that. Move
3316 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3317 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3318 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3319 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3320 (th_stuff): Change to th_u1.tu_stuff.
3321 (th_data): Define.
3322 (th_msg): Change to th_u1.th_u2.tu_data.
3323
7f18b530
DM
33242012-05-07 David S. Miller <davem@davemloft.net>
3325
05760585
DM
3326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3327
7f18b530
DM
3328 [BZ #14074]
3329 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3330 (SETUP_PIC_REG): Use it.
3331 (SETUP_PIC_REG_LEAF): Use it.
3332
495fd99f
JM
33332012-05-07 Joseph Myers <joseph@codesourcery.com>
3334
3335 [BZ #13885]
3336 [BZ #13923]
3337 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3338 USE_AS_EXPM1L.
3339 (EXPL_FINITE): Likewise.
3340 (FLDLOG): Likewise.
3341 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3342 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3343 e_expl.S.
3344 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3345 USE_AS_EXPM1L.
3346 (EXPL_FINITE): Likewise.
3347 (FLDLOG): Likewise.
3348 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3349 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3350 e_expl.S.
3351 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3352 test of -max_value argument for long double.
3353 * sysdeps/i386/fpu/libm-test-ulps: Update.
3354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3355
6693d694
DM
33562012-05-06 David S. Miller <davem@davemloft.net>
3357
3358 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3359 quad soft-float symbols whose references which are compiler
3360 generated.
3361 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3362
6c23e11c
JM
33632012-05-06 Joseph Myers <joseph@codesourcery.com>
3364
d8b82cad
JM
3365 [BZ #13884]
3366 [BZ #13914]
3367 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3368 USE_AS_EXP10L.
3369 (EXPL_FINITE): Likewise.
3370 (FLDLOG): Likewise.
3371 (c0): Likewise.
3372 (c1): Likewise.
3373 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3374 Adjust comments for base varying.
3375 (__expl_finite): Change alias to EXPL_FINITE.
3376 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3377 e_expl.S.
3378 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3379 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3380 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3381 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3382 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3383 USE_AS_EXP10L.
3384 (EXPL_FINITE): Likewise.
3385 (FLDLOG): Likewise.
3386 (c0): Likewise.
3387 (c1): Likewise.
3388 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3389 Adjust comments for base varying.
3390 (__expl_finite): Change alias to EXPL_FINITE.
3391 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3392 tests for bugs.
3393 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3394
6c23e11c
JM
3395 [BZ #14064]
3396 * math/libm-test.inc (check_float_internal): Correct ulp
3397 calculation for subnormal expected results.
3398
29ba805c
AJ
33992012-05-06 Andreas Jaeger <aj@suse.de>
3400
3401 * Makeconfig (+math-flags): New, set to -frounding-math.
3402 (+cflags): Add +math-flags so that all of glibc gets compiled with
3403 it.
3404
3405 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3406
7b17aeda
JM
34072012-05-05 Joseph Myers <joseph@codesourcery.com>
3408
5779f134
JM
3409 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3410 Disable one test.
3411
41498f4d
JM
3412 [BZ #13787]
3413 [BZ #13922]
3414 [BZ #14036]
3415 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3416 (__ieee754_expl): Allow for and saturate large arguments.
3417 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3418 (u_threshold): Likewise.
3419 (__exp): Call __ieee754_exp before checking for overflow and
3420 underflow.
3421 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3422 (u_threshold): Likewise.
3423 (__expf): Call __ieee754_expf before checking for overflow and
3424 underflow.
3425 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3426 (u_threshold): Likewise.
3427 (__expl): Call __ieee754_expl before checking for overflow and
3428 underflow.
3429 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3430 (__ieee754_expl): Allow for and saturate large arguments.
3431 * math/libm-test.inc (exp_test): Add another test. Do not allow
3432 missing overflow exception on overflow.
3433 (expm1_test): Do not allow missing overflow exception on overflow.
3434
6698b8bf
JM
3435 * sysdeps/i386/fpu/e_expl.c: Move to ...
3436 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3437 rather than using inline asm.
3438 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3439 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3440 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3441
7b17aeda
JM
3442 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3443 (nice): Likewise.
3444 (poll): Likewise.
3445 (signal): Likewise.
3446 (time): Likewise.
3447 (times): Likewise.
3448
f7c85819
JM
34492012-05-04 Joseph Myers <joseph@codesourcery.com>
3450
3451 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3452 sysdeps/unix/common/syscalls.list.
3453 (fchmod): Likewise.
3454 (fchown): Likewise.
3455 (ftruncate): Likewise.
3456 (getrusage): Likewise.
3457 (gettimeofday): Likewise.
3458 (setpgid): Likewise.
3459 (setregid): Likewise.
3460 (setreuid): Likewise.
3461 (sigaction): Likewise.
3462 (truncate): Likewise.
3463 (vhangup): Likewise.
3464 * sysdeps/unix/common/syscalls.list: Remove file.
3465 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3466 * sysdeps/unix/sysv/linux/Implies: Likewise.
3467
336270d0
L
34682012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3469
3470 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3471 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3472 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3473 Moved to ...
3474 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3475 Here.
3476 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3477 to ...
3478 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3479 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3480 to ...
3481 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3482 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3483 to ...
3484 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3485 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3486 to ...
3487 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3488 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3489 to ...
3490 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3491 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3492 to ...
3493 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3494 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3495 to ...
3496 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3497 Here.
3498 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3499 to ...
3500 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3501 Here.
3502 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3503 to ...
3504 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3505 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3506 Moved to ...
3507 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3508 Here.
3509 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3510 to ...
3511 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3512
d128e450
JM
35132012-05-04 Joseph Myers <joseph@codesourcery.com>
3514
fa8ee516
JM
3515 * sysdeps/unix/common/bits/dirent.h: Remove file.
3516 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3517
d128e450
JM
3518 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3519 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3520 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3521 * sysdeps/unix/bsd/isatty.c: Likewise.
3522 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3523 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3524 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3525
ff8faaf0 35262012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 3527
62881be4 3528 [BZ #13563]
31dc8730
AZ
3529 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3530 long double comparison inaccuracies.
3531 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3532 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3533
6fef930c
AS
35342012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3535
3536 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3537 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3538
8f203e6c
JM
35392012-05-04 Joseph Myers <joseph@codesourcery.com>
3540
3541 [BZ #14049]
3542 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3543 nonzero digits before rounding a hex value.
3544 * stdlib/tst-strtod.c (tests): Add another test.
3545
5197d9c2
AK
35462012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3547
3548 * sysdeps/s390/fpu/libm-test-ulps: Update.
3549
f0c1dedf
AJ
35502012-05-03 Andreas Jaeger <aj@suse.de>
3551
3552 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3553 does not get optimized out.
3554 (malloc_opt_barrier): New.
3555
a65ef2ae 35562012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 3557 Roland McGrath <roland@hack.frob.com>
a65ef2ae 3558
2b942cb7 3559 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 3560 intermediate file deletion.
2b942cb7 3561 (generated): Add .symlist files.
a65ef2ae 3562
54b71e02
JM
35632012-05-03 Joseph Myers <joseph@codesourcery.com>
3564
3565 [BZ #13775]
3566 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3567 Redirect under this condition.
3568 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3569 [__USE_GNU] (__dprintf_chk): Not under this condition.
3570 [__USE_GNU] (__vdprintf_chk): Likewise.
3571 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3572 under this condition.
3573 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3574 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3575 [__USE_XOPEN2K8] (vdprintf): Likewise.
3576 [__USE_GNU] (__dprintf_chk): Not under this condition.
3577 [__USE_GNU] (__vdprintf_chk): Likewise.
3578 [__USE_GNU] (dprintf): Likewise.
3579 [__USE_GNU] (vdprintf): Likewise.
3580
d3dfcc41
RM
35812012-05-03 Roland McGrath <roland@hack.frob.com>
3582
3583 * elf/Makefile (common-generated): Set this instead of generated for
3584 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3585 $(all-built-dso)-derived lists.
3586
7ac30cc5
AJ
35872012-05-03 Andreas Jaeger <aj@suse.de>
3588
0c51e550
AJ
3589 * sysdeps/i386/fpu/libm-test-ulps: Update.
3590
7ac30cc5
AJ
3591 * FAQ: Removed.
3592 * FAQ.in: Likewise.
3593 * scripts/gen-FAQ.pl: Likewise.
3594 * manual/install.texi (Installation): Point to online location of
3595 FAQ.
3596 * Makefile (files-for-dist): Remove FAQ.
3597 (FAQ): Remove.
3598
d4c2917f
AM
35992012-05-02 Allan McRae <allan@archlinux.org>
3600
3601 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3602 (LDFLAGS-reldepmod5.so): Likewise.
3603 (LDFLAGS-reldep6mod1.so): Likewise.
3604 (LDFLAGS-reldep6mod4.so): Likewise.
3605 (LDFLAGS-reldep8mod3.so): Likewise.
3606 (LDFLAGS-unload4mod1.so): Likewise.
3607 (LDFLAGS-unload4mod2.so): Likewise.
3608 (LDFLAGS-tst-initorder): Likewise.
3609 (LDFLAGS-tst-initordera2.so): Likewise.
3610 (LDFLAGS-tst-initordera3.so): Likewise.
3611 (LDFLAGS-tst-initordera4.so): Likewise.
3612 (LDFLAGS-tst-initorderb2.so): Likewise.
3613 (LDFLAGS-noload): Likewise.
3614 (LDFLAGS-next): Likewise.
3615 (LDFLAGS-order2mod1.so): Likewise.
3616 (LDFLAGS-order2mod2.so): Likewise.
3617 (LDFLAGS-tst-initorder2): Likewise.
3618 (LDFLAGS-tst-initorder2a.so): Likewise.
3619 (LDFLAGS-tst-initorder2b.so): Likewise.
3620 (LDFLAGS-tst-initorder2c.so): Likewise.
3621 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3622
d77f993f
DM
36232012-05-02 David S. Miller <davem@davemloft.net>
3624
3625 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3626
171a70b4
PP
36272012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3628
3629 [BZ #14055]
3630 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3631
0be196ad
AJ
36322012-05-02 Andreas Jaeger <aj@suse.de>
3633
3634 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3635 since we manipulate rounding mode.
3636 (CPPFLAGS-test-idouble.c): Likewise.
3637 (CPPFLAGS-test-ifloat.c): Likewise.
3638 (CFLAGS-test-ldouble.c): Likewise.
3639 (CFLAGS-test-double.c): Likewise.
3640 (CFLAGS-test-float.c): Likewise.
3641 (CFLAGS-test-misc.c): Likewise.
3642 (CFLAGS-test-test-fenv.c): Likewise.
3643
4f9d04aa
AZ
36442012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3645
2b942cb7
RM
3646 [BZ #2550]
3647 [BZ #2570]
3648 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3649 comparisons to determine direction to adjust input.
4f9d04aa 3650
82a79e7d
RM
36512012-05-01 Roland McGrath <roland@hack.frob.com>
3652
f5a01ca9
RM
3653 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3654 output to the target.
3655
90fe4186
RM
3656 * scripts/localplt.awk: New file.
3657 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3658 (check-localplt-CFLAGS): Variable removed.
3659 ($(all-built-dso:=.jmprel)): New static pattern rule.
3660 (generated): Add those targets.
3661 (localplt-built-dso): New variable.
3662 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3663
3664 * elf/check-localplt.c: File removed.
3665
82397ed6
RM
3666 * scripts/check-execstack.awk: New file.
3667 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3668 (check-execstack-CFLAGS): Variable removed.
3669 ($(objpfx)check-execstack.h): Target removed.
3670 ($(objpfx)execstack-default): New target.
3671 (generated): Add that instead of check-execstack.h.
3672 ($(all-built-dso:=.phdr)): New static pattern rule.
3673 (generated): Add those targets.
3674 * elf/check-execstack.c: File removed.
3675
82a79e7d
RM
3676 * scripts/check-textrel.awk: New file.
3677 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3678 (check-textrel-CFLAGS): Variable removed.
3679 (all-built-dso): Use := to define.o
3680 ($(all-built-dso:=.dyn)): New static pattern rule.
3681 (generated): Add those targets.
3682 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3683 * config.make.in (READELF): New substituted variable.
3684 * elf/check-textrel.c: File removed.
3685
62fde54f 36862012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 3687
615605c9
JM
3688 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3689 allow.
3690 * conform/data/ctype.h-data [C99-based standards] (isblank):
3691 Expect function.
3692 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3693 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3694 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3695 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3696 Specify type. Require positive value.
3697 (EILSEQ): Likewise.
3698 (ERANGE): Likewise.
3699 [ISO || POSIX] (EILSEQ): Do not expect.
3700 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3701 Specify type. Require positive value.
3702 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3703 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3704 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3705 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3706 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3707 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3708 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3709 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3710 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3711 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3712 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3713 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3714 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3715 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3716 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3717 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3718 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3719 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3720 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3721 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3722 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3723 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3724 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3725 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3726 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3727 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3728 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3729 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3730 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3731 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3732 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3733 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3734 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3735 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3736 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3737 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3738 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3739 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3740 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3741 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3742 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3743 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3744 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3745 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3746 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3747 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3748 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3749 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3750 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3751 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3752 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3753 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3754 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3755 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3756 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3757 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3758 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3759 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3760 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3761 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3762 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3763 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3764 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3765 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3766 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3767 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3768 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3769 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3770 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3771 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3772 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3773 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3774 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3775 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3776 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3777 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3778 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3779 Require >= 2.
3780 (FLT_ROUNDS): Expect as macro, not constant.
3781 (FLT_MANT_DIG): Use macro-int-constant.
3782 (DBL_MANT_DIG): Likewise.
3783 (LDBL_MANT_DIG): Likewise.
3784 (FLT_DIG): Likewise.
3785 (DBL_DIG): Likewise.
3786 (LDBL_DIG): Likewise.
3787 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3788 (DBL_MIN_EXP): Likewise.
3789 (LDBL_MIN_EXP): Likewise.
3790 (FLT_MAX_EXP): Use macro-int-constant.
3791 (DBL_MAX_EXP): Likewise.
3792 (LDBL_MAX_EXP): Likewise.
3793 (FLT_MAX_10_EXP): Likewise.
3794 (DBL_MAX_10_EXP): Likewise.
3795 (LDBL_MAX_10_EXP): Likewise.
3796 (FLT_MAX): Use macro-constant.
3797 (DBL_MAX): Likewise.
3798 (LDBL_MAX): Likewise.
3799 (FLT_EPSILON): Use macro-constant. Give upper bound.
3800 (DBL_EPSILON): Likewise.
3801 (LDBL_EPSILON): Likewise.
3802 (FLT_MIN): Likewise.
3803 (DBL_MIN): Likewise.
3804 (LDBL_MIN): Likewise.
3805 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3806 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3807 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3808 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3809 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3810 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3811 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3812 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3813 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3814 [ISO11] (FLT_TRUE_MIN): Likewise.
3815 [ISO11] (LDBL_TRUE_MIN): Likewise.
3816 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3817 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3818 (SCHAR_MIN): Use macro-int-constant. Specify type.
3819 (SCHAR_MAX): Likewise.
3820 (UCHAR_MAX): Likewise.
3821 (CHAR_MIN): Likewise.
3822 (CHAR_MAX): Likewise.
3823 (MB_LEN_MAX): Use macro-int-constant.
3824 (SHRT_MIN): Use macro-int-constant. Specify type.
3825 (SHRT_MAX): Likewise.
3826 (USHRT_MAX): Likewise.
3827 (INT_MAX): Likewise.
3828 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3829 bound negative.
3830 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3831 bound with "U".
3832 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3833 bound with "L".
3834 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3835 bound negative. Suffix upper bound with "L".
3836 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3837 bound with "UL".
3838 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3839 Specify type.
3840 [C99-based standards] (LLONG_MAX): Likewise.
3841 [C99-based standards] (ULLONG_MAX): Likewise.
3842 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3843 == 0.
3844 [ISO11] (max_align_t): Require type.
3845 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3846
c9140a62
JM
3847 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3848 from $CFLAGS, without defining away __attribute__ calls.
3849 (checknamespace): Use $CFLAGS_namespace.
3850
9af0bf29
JM
3851 * conform/conformtest.pl (@keywords): Only include C99 keywords
3852 for standards based on C99 or C11.
3853
343222a2
JM
3854 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3855 Disable tests.
3856 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3857 UNIX98]: Likewise.
3858
661f8cf0
JM
3859 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3860 usability of symbols in #if.
3861
ee74b9cb
JM
3862 * conform/conformtest.pl: If macro or constant types start
3863 "promoted:", expect the symbol to be of the following type
3864 promoted by the integer promotions.
62fde54f 3865
aafc49b3
JM
3866 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3867 in one place. Also handle "macro-constant".
3868
fefdf574
JM
3869 * conform/conformtest.pl: Only accept expected macro values with
3870 "==". Parse all "macro" lines in one place.
3871 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3872
f2d922fe
JM
3873 * conform/conformtest.pl: Handle braced types on "constant" lines
3874 instead of handling "typed-constant".
3875 * conform/data/signal.h-data: Use "constant" instead of
3876 "typed-constant".
3877
d22956c9
JM
3878 * conform/conformtest.pl: Handle "optional-" at start of lines in
3879 one place rather than duplicating several cases. Handle each
3880 format of "macro" line with initial "optional-".
3881
028e2e38
JM
3882 * conform/conformtest.pl: Only accept expected constant or
3883 optional-constant values with "==". Parse all "constant" lines in
3884 one place. Parse all "optional-constant" lines in one place.
3885 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3886 * conform/data/fmtmsg.h-data: Likewise.
3887 * conform/data/netinet/in.h-data: Likewise.
3888 * conform/data/tar.h-data: Likewise.
3889 * conform/data/limits.h-data: Use "==" form on "constant" and
3890 "optional-constant" lines.
3891
1b8f2850
JM
3892 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3893 Use -std=c99 for XOPEN2K.
3894 (@knownproblems): Remove.
3895 (newtoken): Don't check %isknown.
3896
a05a144b
JM
3897 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3898 Do not expect macro.
3899 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3900 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3901 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3902 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3903 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3904 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3905 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3906 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3907 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3908 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3909 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3910 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3911 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3912 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3913 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3914 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3915 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3916 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3917 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3918 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3919 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3920 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3921 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3922 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3923 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3924 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3925 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3926 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3927 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3928 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3929 [XPG3] (acosh): Likewise.
3930 [XPG3] (asinh): Likewise.
3931 [XPG3] (atanh): Likewise.
3932 [XPG3] (cbrt): Likewise.
3933 [XPG3] (expm1): Likewise.
3934 [XPG3] (ilogb): Likewise.
3935 [XPG3] (log1p): Likewise.
3936 [XPG3] (logb): Likewise.
3937 [XPG3] (nextafter): Likewise.
3938 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3939 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3940 [XPG3] (remainder): Likewise.
3941 [XPG3] (rint): Likewise.
3942 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3943 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3944 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3945 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3946 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3947 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3948 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3949 [UNIX98 || XOPEN2K] (scalb): Expect.
3950 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3951 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3952 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3953 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3954 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3955 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3956 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3957 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3958 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3959 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3960 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3961 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3962 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3963 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3964 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3965 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3966 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3967 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3968 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3969 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3970 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3971 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3972 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3973 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3974 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3975 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3976 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3977 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3978 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3979 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3980 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3981 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3982 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3983 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3984 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3985 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3986 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3987 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3988 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3989 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3990 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3991 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3992 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3993 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3994 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3995 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3996 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3997 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3998 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3999 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
4000 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
4001 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
4002 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
4003 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
4004 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
4005 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
4006 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
4007 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
4008 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
4009 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
4010 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
4011 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
4012 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
4013 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
4014 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
4015 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
4016 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
4017 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
4018 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
4019 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
4020 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
4021 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
4022 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
4023 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
4024 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
4025 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
4026 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
4027 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
4028 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
4029 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
4030 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
4031 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
4032 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
4033 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
4034 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
4035 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
4036 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
4037 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
4038 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
4039 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
4040 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
4041 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
4042 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
4043 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
4044 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
4045 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
4046 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
4047 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
4048 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
4049 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
4050 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
4051 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
4052 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
4053 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
4054 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
4055 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
4056 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
4057 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
4058 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
4059 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
4060 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
4061 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
4062 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
4063 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
4064 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
4065 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
4066 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
4067 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
4068 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
4069 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
4070 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
4071 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
4072 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
4073 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
4074 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
4075 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
4076 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
4077 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
4078 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
4079 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
4080 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
4081 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
4082 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
4083 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
4084 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4085 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4086 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4087
73c5ebe3
JM
4088 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4089 _XOPEN_SOURCE_EXTENDED for XPG4.
4090
39c33b6c
JM
4091 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4092
62fde54f
JM
4093 * Makeconfig (localtime): Remove variable.
4094 (inst_localtime-file): Likewise.
4095
0741d64c
AS
40962012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4097
4098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4099 Update.
4100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4101 Update.
4102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4103 Update.
4104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4105 Update.
4106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4107 Update.
4108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4109 Update.
4110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4111 Update.
4112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4113 Update.
4114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4115 Update.
4116
7cb029ee
JM
41172012-05-01 Joseph Myers <joseph@codesourcery.com>
4118
4119 [BZ #2550]
4120 [BZ #2570]
4121 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4122 comparisons to determine direction to adjust input.
4123 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4124 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4125 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4126 Likewise.
4127 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4128 Likewise.
4129 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4130 Likewise.
4131 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4132 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4133 Likewise.
4134 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4135 Likewise.
4136 * math/libm-test.inc (nexttoward_test): Add more tests.
4137
412bd966
AS
41382012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4139
4140 [BZ #14040]
4141 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4142 in version GLIBC_2.1, not GLIBC_2.0.
4143 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4144 Likewise.
4145
9568c0c2
JM
41462012-04-30 Joseph Myers <joseph@codesourcery.com>
4147
adfbc8ac
JM
4148 [BZ #13942]
4149 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4150 (1 - x) * (1 + x).
4151 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4152 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4153 * math/libm-test.inc (acos_test): Add more tests.
4154 (asin_test): Likewise.
4155 * sysdeps/i386/fpu/libm-test-ulps: Update.
4156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4157
5ba3cc69
JM
4158 [BZ #14034]
4159 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4160 of square root.
4161 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4162 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4163 * math/libm-test.inc (acos_test_tonearest): New function.
4164 (acos_test_towardzero): Likewise.
4165 (acos_test_downward): Likewise.
4166 (acos_test_upward): Likewise.
4167 (asin_test_tonearest): Likewise.
4168 (asin_test_towardzero): Likewise.
4169 (asin_test_downward): Likewise.
4170 (asin_test_upward): Likewise.
4171 (main): Call the new functions.
4172 * sysdeps/i386/fpu/libm-test-ulps: Update.
4173 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4174
9568c0c2
JM
4175 [BZ #13884]
4176 [BZ #13924]
4177 * math/e_exp10.c: Include <float.h>.
4178 (__ieee754_exp10): Handle underflow here rather than multiplying
4179 large negative argument by M_LN10.
4180 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4181 of __ieee754_expf.
4182 * math/e_exp10l.c: Include <float.h>.
4183 (__ieee754_exp10l): Handle underflow here rather than multiplying
4184 large negative argument by M_LN10l.
4185 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4186 spurious overflow exception on underflow.
4187
5ac3ea17
MP
41882012-04-29 Marek Polacek <polacek@redhat.com>
4189
4190 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4191 (__fortify_function): New macro.
4192 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4193 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4194 __extern_always_inline.
4195 * libio/bits/stdio2.h: Likewise.
4196 * libio/bits/stdio.h: Likewise.
4197 * string/string.h: Likewise.
4198 * string/bits/string3.h: Likewise.
4199 * include/stdio.h: Likewise.
4200 * stdlib/bits/stdlib.h: Likewise.
4201 * stdlib/stdlib.h: Likewise.
4202 * rt/bits/mqueue2.h: Likewise.
4203 * rt/mqueue.h: Likewise.
4204 * posix/bits/unistd.h: Likewise.
4205 * posix/unistd.h: Likewise.
4206 * io/bits/poll2.h: Likewise.
4207 * io/bits/fcntl2.h: Likewise.
4208 * io/fcntl.h: Likewise.
4209 * io/sys/poll.h: Likewise.
4210 * misc/bits/syslog.h: Likewise.
4211 * misc/bits/syslog-ldbl.h: Likewise.
4212 * misc/sys/syslog.h: Likewise.
4213 * socket/bits/socket2.h: Likewise.
4214 * socket/sys/socket.h: Likewise.
4215 * debug/tst-chk1.c: Likewise.
4216 * wcsmbs/bits/wchar2.h: Likewise.
4217 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4218 * wcsmbs/wchar.h: Likewise.
4219
ecf0ebfb
AJ
42202012-04-29 Andreas Jaeger <aj@suse.de>
4221
4222 * Makerules (tests): Remove enable-check-abi protection.
4223 (check-abi-warn): Remove.
4224 (check-abi-%): Remove check-abi-warn usage.
4225
4226 * configure.in: Remove check-abi configure option.
4227 * configure: Regenerated.
4228 * config.make.in (enable-check-abi): Remove.
4229
6d5c57fa
AS
42302012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4231
24c5d07e 4232 [BZ #14033]
ded5180a
AS
4233 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4234 double functions to double *_finite functions.
4235
7e0d315d
AS
4236 [BZ #13941]
4237 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4238 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4239 LDBL_MIN_EXP.
4240 * stdio-common/Makefile (tests): Add tst-sprintf3.
4241 * stdio-common/tst-sprintf3.c: New file.
4242
6d5c57fa
AS
4243 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4244 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4245
0749ff8b
JM
42462012-04-28 Joseph Myers <joseph@codesourcery.com>
4247
4248 * conform/conformtest.pl: Remove duplicate typed-constant
4249 handling.
4250
8dbd5d7b
DM
42512012-04-28 David S. Miller <davem@davemloft.net>
4252
4253 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4254 (check-abi-%): Remove AWK script prerequisite and explicit
4255 abilist directory.
4256 (check-abi): Rewrite to just diff the symlist with the abilist.
4257 (config-tls, config-abi-config): Delete, no longer used.
4258 (update-abi-%): Remove AWK script and explicit abilist directory.
4259 (update-abi): Rewrite to simply compare and conditionally copy the
4260 symlist and the sysdep abilist file. Remove update-abi-config
4261 checks.
4262 * abilist/ld.abilist: Remove.
4263 * abilist/libBrokenLocale.abilist: Remove.
4264 * abilist/libanl.abilist: Remove.
4265 * abilist/libcrypt.abilist: Remove.
4266 * abilist/libdl.abilist: Remove.
4267 * abilist/librt.abilist: Remove.
4268 * abilist/libthread_db.abilist: Remove.
4269 * abilist/libutil.abilist: Remove.
4270 * scripts/extract-abilist.awk: Remove.
4271 * scripts/merge-abilist.awk: Remove.
4272 * sysdeps/generic/libcidn.abilist: New file.
4273 * sysdeps/generic/libnss_compat.abilist: New file.
4274 * sysdeps/generic/libnss_db.abilist: New file.
4275 * sysdeps/generic/libnss_dns.abilist: New file.
4276 * sysdeps/generic/libnss_files.abilist: New file.
4277 * sysdeps/generic/libnss_hesiod.abilist: New file.
4278 * sysdeps/generic/libnss_nis.abilist: New file.
4279 * sysdeps/generic/libnss_nisplus.abilist: New file.
4280 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4281 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4282 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4283 file.
4284 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4285 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4286 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4287 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4288 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4289 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4290 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4291 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4292 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4293 file.
4294 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4295 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4296 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4297 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4298 file.
4299 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4300 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4301 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4302 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4303 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4304 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4305 file.
4306 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4307 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4308 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4309 file.
4310 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4311 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4312 New file.
4313 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4314 New file.
4315 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4316 New file.
4317 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4318 New file.
4319 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4320 New file.
4321 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4322 New file.
4323 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4324 New file.
4325 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4326 New file.
4327 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4328 New file.
4329 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4330 New file.
4331 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4332 New file.
4333 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4334 New file.
4335 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4336 New file.
4337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4338 file.
4339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4340 New file.
4341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4342 New file.
4343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4344 file.
4345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4346 New file.
4347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4348 New file.
4349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4350 file.
4351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4352 New file.
4353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4354 New file.
4355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4356 New file.
4357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4358 New file.
4359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4360 New file.
4361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4362 New file.
4363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4365 file.
4366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4367 New file.
4368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4369 file.
4370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4371 file.
4372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4373 file.
4374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4375 file.
4376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4377 file.
4378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4379 New file.
4380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4381 file.
4382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4383 file.
4384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4385 New file.
4386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4387 file.
4388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4390 file.
4391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4392 New file.
4393 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4394 file.
4395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4396 file.
4397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4398 file.
4399 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4400 file.
4401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4402 file.
4403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4404 New file.
4405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4406 file.
4407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4408 file.
4409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4410 New file.
4411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4412 file.
4413 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4414 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4415 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4416 file.
4417 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4418 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4419 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4420 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4421 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4422 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4423 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4424 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4425 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4426 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4427 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4428 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4429 file.
4430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4431 New file.
4432 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4433 file.
4434 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4435 file.
4436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4437 file.
4438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4439 file.
4440 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4441 file.
4442 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4443 New file.
4444 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4445 New file.
4446 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4447 file.
4448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4449 New file.
4450 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4451 file.
4452 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4454 file.
4455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4456 New file.
4457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4458 file.
4459 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4460 file.
4461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4462 file.
4463 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4464 file.
4465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4466 file.
4467 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4468 New file.
4469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4470 New file.
4471 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4472 file.
4473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4474 New file.
4475 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4476 file.
4477
41d73a1b
JM
44782012-04-28 Joseph Myers <joseph@codesourcery.com>
4479
4480 * conform/conformtest.pl: Fix typo in handling typed-constant from
4481 allow-header.
4482
28aeeda4
JM
44832012-04-27 Joseph Myers <joseph@codesourcery.com>
4484
adae8f5e
JM
4485 * README: Cut down references to pre-2.6 Linux kernels and
4486 Linuxthreads. Update lists of configurations in libc and ports
4487 and sort alphabetically. Say "or newer" with Linux kernel version
4488 requirements.
4489
28aeeda4
JM
4490 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4491
a462cb63
RA
44922012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4493
4494 [BZ #887]
4495 * math/libm-test.inc (logb_test_downward): New test to expose
4496 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4497 rounding mode.
4498
6ad3493e
JM
44992012-04-27 Joseph Myers <joseph@codesourcery.com>
4500
4501 [BZ #14027]
4502 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4503 to be done.
4504 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4505 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4506
2ce4f015
JM
45072012-04-26 Joseph Myers <joseph@codesourcery.com>
4508
5aeb141a
JM
4509 * sysdeps/unix/i386/brk.S: Remove file.
4510 * sysdeps/unix/i386/dl-brk.S: Likewise.
4511 * sysdeps/unix/i386/pipe.S: Likewise.
4512 * sysdeps/unix/i386/sigreturn.S: Likewise.
4513 * sysdeps/unix/i386/syscall.S: Likewise.
4514 * sysdeps/unix/i386/vfork.S: Likewise.
4515 * sysdeps/unix/i386/wait.S: Likewise.
4516
7143acae
JM
4517 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4518 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4519
2ce4f015
JM
4520 * configure.in (arm*-none*): Do not allow without
4521 --enable-hacker-mode.
4522 (netbsd*): Remove case setting base_os.
4523 (386bsd*): Likewise.
4524 (freebsd*): Likewise.
4525 (bsdi*): Likewise.
4526 (osf*): Likewise.
4527 (sunos*): Likewise.
4528 (ultrix*): Likewise.
4529 (newsos*): Likewise.
4530 (dynix*): Likewise.
4531 (*bsd*): Likewise.
4532 (sysv*): Likewise.
4533 (isc*): Likewise.
4534 (esix*): Likewise.
4535 (sco*): Likewise.
4536 (minix*): Likewise.
4537 (irix4*): Likewise.
4538 (irix6*): Likewise.
4539 (solaris[2-9]*): Likewise.
4540 (none): Likewise.
4541 * configure: Regenerated.
4542
0ac229c8
AZ
45432012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4544
4545 [BZ #11521]
4546 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4547 overflow or cancellation in calculating denominator.
4548 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4549 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4550 down expression to avoid unexpected rounding in newer GCCs.
4551 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4552
33f244f4
DM
45532012-04-26 David S. Miller <davem@davemloft.net>
4554
4555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4556 long-double compat symbols.
4557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4570
cfa1f3e8
DM
45712012-04-25 David S. Miller <davem@davemloft.net>
4572
4573 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4574 HWCAP_* values only after the memory barriers have been defined.
4575 (atomic_full_barrier): Define.
4576 (atomic_read_barrier): Define.
4577 (atomic_write_barrier): Define.
4578
6e236b92
SP
45792012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4580
4581 * shlib-versions: Add libgcc_s version information.
4582 * sysdeps/generic/libgcc_s.h: Remove.
4583 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4584 libgcc_s.h.
4585 * sysdeps/gnu/unwind-resume.c: Likewise.
4586 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4587
aab39a09
DM
45882012-04-25 David S. Miller <davem@davemloft.net>
4589
4590 * sysdeps/unix/sparc/brk.S: Delete.
4591 * sysdeps/unix/sparc/dl-brk.S: Delete.
4592 * sysdeps/unix/sparc/pipe.S: Delete.
4593 * sysdeps/unix/sparc/sysdep.S: Delete.
4594 * sysdeps/unix/sparc/sysdep.h: Delete.
4595 * sysdeps/unix/sparc/vfork.S: Delete.
4596 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4597 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4598 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4599 ret_ERRVAL, r0, r1, MOVE): Define.
4600 (JUMPTARGET): Remove.
4601 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4602 sysdeps/unix/sparc/sysdep.h
4603 (ENTRY, END): Remove.
4604 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4605
a3cc4f48
JM
46062012-04-25 Joseph Myers <joseph@codesourcery.com>
4607
2ed8cda2
JM
4608 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4609 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4610 -DIS_IN_build.
4611
35d76d59
JM
4612 * timezone/README: Update upstream location and email address for
4613 tzcode and tzdata.
4614 * timezone/zdump.c: Update from tzcode 2012b.
4615 * timezone/zic.c: Likewise.
4616
a3cc4f48
JM
4617 * configure.in (libc_cv_as_needed): Remove test.
4618 * configure: Regenerated.
4619 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4620 conditional definition.
4621 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4622 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4623 * config.make.in (have-as-needed): Remove variable.
4624
ceab42c3
SP
46252012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4626 Paul Pluzhnikov <ppluzhnikov@google.com>
4627
4628 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4629 strings correctly.
4630
3ce2865f
CLT
46312012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4632
4633 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4634 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4635 * sysdeps/sh/strlen.S: Likewise.
4636
f37e0d68
JM
46372012-04-24 Joseph Myers <joseph@codesourcery.com>
4638
ae186e9a
JM
4639 * sysdeps/unix/fork.S: Remove file.
4640 * sysdeps/unix/i386/fork.S: Likewise.
4641 * sysdeps/unix/sparc/fork.S: Likewise.
4642
b96914af
JM
4643 * sysdeps/unix/system.c: Remove file.
4644 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4645
f37e0d68
JM
4646 * sysdeps/unix/getegid.S: Remove file.
4647 * sysdeps/unix/geteuid.S: Likewise.
4648
87ef29ca
RM
46492012-04-24 Roland McGrath <roland@hack.frob.com>
4650
83bcd236
RM
4651 * scripts/check-localplt.awk: New file.
4652 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4653 of diff.
4654 * scripts/data/localplt-generic.data: Add a comment.
4655
87ef29ca
RM
4656 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4657 NODE when __dir_mkfile failed.
4658 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4659 Reported by Ludovic Courtès <ludo@gnu.org>.
4660
e5a6e567
AJ
46612012-04-24 Andreas Jaeger <aj@suse.de>
4662
4663 * Makerules (common-clean): Also remove gen-as-const-headers
4664 files.
4665
c1820385
JM
46662012-04-24 Joseph Myers <joseph@codesourcery.com>
4667
4668 * Makerules (native-compile): Do not change working directory for
4669 build. Use $(OUTPUT_OPTION) in command.
4670 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4671
94e02fc4
AZ
46722012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4673
4674 [BZ #13886]
4675 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4676 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4677 * math/libm-test.inc (floor_test): Add more tests.
4678 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4679
3a533ca3
JM
46802012-04-24 Joseph Myers <joseph@codesourcery.com>
4681
940ab4b3
JM
4682 * sysdeps/unix/getdents.c: Remove file.
4683 * sysdeps/unix/sysv/getdents.c: Likewise.
4684 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4685
90e037bd
JM
4686 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4687 sysdeps/unix/mman/syscalls.list.
4688 (mmap): Likewise.
4689 (mprotect): Likewise.
4690 (msync): Likewise.
4691 (munmap): Likewise.
4692 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4693 * sysdeps/unix/mman/syscalls.list: Remove.
4694 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4695
3a533ca3
JM
4696 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4697 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4698 * configure: Regenerated.
4699 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4700 $(libgcc_s_suffix).
4701 * config.make.in (libgcc_s_suffix): Remove variable.
4702
1ad743de
JM
47032012-04-23 Joseph Myers <joseph@codesourcery.com>
4704
4ad451e2
JM
4705 * sysdeps/unix/sysv/gethostname.c: Move to ...
4706 * sysdeps/posix/gethostname.c: ... here.
4707
5e37ce39
JM
4708 * sysdeps/unix/execve.S: Remove file.
4709
1ad743de
JM
4710 * sysdeps/unix/_exit.S: Remove file.
4711
4e681b5b
AJ
47122012-04-23 Andreas Jaeger <aj@suse.de>
4713
4714 [BZ #13739]
4715 * manual/Makefile: Remove make dist support, there's no
4716 need for a stand-alone documentation tar ball.
4717 (TEXI2DVI): Define always, it's not in Makeconfig.
4718 (dist): Removed.
4719 (tar-it): Removed.
4720 (edition): Removed.
4721 (glibc-doc-$(edition).tar): Removed
4722 (%.Z): Removed.
4723 (%.gz): Removed.
4724 (%.uu): Removed.
4725 (ETAGS): Remove, it's in Makeconfig.
4726 (move-if-change): Remove, it's in Makeconfig.
4727
c0baea34
PE
47282013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4729
4730 [BZ #13970]
4731 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4732 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4733 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4734 (strtod_l, strtof_l, strtold_l): Remove __wur.
4735 It is not necessarily an error to ignore strtol's return value.
4736 One can reliably look at the stored endptr to decide whether
4737 the number had valid syntax.
4738
7c0616fa
AJ
47392012-04-21 Andreas Jaeger <aj@suse.de>
4740
803cb6b7 4741 [BZ #13739]
7c0616fa
AJ
4742 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4743
b0fe253f
JM
47442012-04-21 Joseph Myers <joseph@codesourcery.com>
4745
4746 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4747 * sysdeps/unix/sysv/Versions: Remove file.
4748
8280f22d
MT
47492012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4750
4751 [BZ #13927]
4752 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4753
75ce411f 47542012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
4755
4756 [BZ #7064]
4757 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4758 version from __vm86.
4759
097d59fa
JM
47602012-04-20 Joseph Myers <joseph@codesourcery.com>
4761
a90f3bcb
JM
4762 * sysdeps/unix/common/lxstat.c: Remove file.
4763 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4764
edc7ea78
JM
4765 * sysdeps/unix/sysv/Makefile: Remove file.
4766
cb78c221
JM
4767 * sysdeps/unix/sysv/direct.h: Remove file.
4768
efa6a45f
JM
4769 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4770 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4771 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4772 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4773 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4774 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4775 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4776
9c9f2d0c
JM
4777 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4778
4541c83b
JM
4779 * sysdeps/unix/xmknod.c: Remove file.
4780 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4781
f5d153a0
JM
4782 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4783
aa746595
JM
4784 * sysdeps/unix/sysv/i386/time.S: Remove file.
4785
cce5905e
JM
4786 * sysdeps/unix/fxstat.c: Remove file.
4787 * sysdeps/unix/xstat.c: Likewise.
4788 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4789
37fa3841
JM
4790 * sysdeps/unix/sysv/sigaction.c: Remove file.
4791
ff1962a3
JM
4792 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4793 (sysdep_headers): Remove variable.
4794 [termio.h not in sysdep_headers] (generated): Likewise.
4795 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4796 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4797 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4798 * sysdeps/unix/sysv/tcflow.c: Likewise.
4799 * sysdeps/unix/sysv/tcflush.c: Likewise.
4800 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4801 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4802 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4803 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4804 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4805
e7740d31
JM
4806 * sysdeps/unix/siglist.c: Remove file.
4807
ee06f18b
JM
4808 * sysdeps/unix/getppid.S: Remove file.
4809
097d59fa
JM
4810 * sysdeps/unix/mkdir.c: Remove file.
4811 * sysdeps/unix/rmdir.c: Likewise.
4812
ff3d51ec
AS
48132012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4814
4815 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4816 ERR_MAX value.
4817 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4818 errlist-compat value.
4819
50f81fd7
DM
48202012-04-18 David S. Miller <davem@davemloft.net>
4821
4822 * sysdeps/generic/memcopy.h (reg_char): Delete.
4823 * debug/strcat_chk.c: Use char, not reg_char.
4824 * debug/strcpy_chk.c: Likewise.
4825 * debug/strncat_chk.c: Likewise.
4826 * debug/strncpy_chk.c: Likewise.
4827 * string/memchr.c: Likewise.
4828 * string/memrchr.c: Likewise.
4829 * string/rawmemchr.c: Likewise.
4830 * string/strcat.c: Likewise.
4831 * string/strchr.c: Likewise.
4832 * string/strchrnul.c: Likewise.
4833 * string/strcmp.c: Likewise.
4834 * string/strcpy.c: Likewise.
4835 * string/strncat.c: Likewise.
4836 * string/strncmp.c: Likewise.
4837 * string/strncpy.c: Likewise.
4838
8ff41c46
WS
48392012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4840
4841 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4842 __builtin_memcopy is called when src and dest ranges are known to not
4843 overlap.
4844
6b652f46
WS
48452012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4846
4847 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4848 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4849 fwd_align_merge macro call.
4850 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4851 bwd_align_merge macro call.
4852 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4853
b282631e
WS
48542012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4855
4856 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4857 bwd_align_merge macros.
4858 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4859 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4860 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4861
95aa737c
DM
48622012-04-18 David S. Miller <davem@davemloft.net>
4863
4864 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4865
7a99a614
AJ
48662012-04-18 Andreas Jaeger <aj@suse.de>
4867
4868 [BZ# 6794]
4869 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4870 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4871 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4872
4873 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4874 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4875 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4876
4877 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4878 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4879 Adjust for changed ldbl-128 files.
4880
4881 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4882 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4883 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4884
e5270c23
DM
48852012-04-17 David S. Miller <davem@davemloft.net>
4886
4887 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4888
fb5e92c9
AS
48892012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4890
4891 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4892 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4893 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4894 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4895 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4896 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4897
76da7265
AZ
48982012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4899
4900 [BZ #6794]
4901 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4902 * math/libm-test.inc: Add ilogb errno and exception tests.
4903 * math/w_ilogb.c: New file: ilogb wrapper.
4904 * math/w_ilogbf.c: New file: ilogbf wrapper.
4905 * math/w_ilogbl.c: New file: ilogbl wrapper.
4906 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4907 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4908 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4909 exception being thrown with 0.0 as argument.
4910 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4911 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4912 exception being thrown with 0.0 as argument.
4913 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4914 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4915 exception being thrown with 0.0 as argument.
4916 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4917 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4918 exception being thrown with 0.0 as argument.
4919 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4920 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 4921 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
4922 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4923 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4924 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4925 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4926 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4927 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4928
0396e69d
PB
49292012-04-17 Petr Baudis <pasky@ucw.cz>
4930
4931 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4932 with altivec.
4933
750b5926
MP
49342012-04-16 Marek Polacek <polacek@redhat.com>
4935
4936 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4937
751728a1
MP
49382012-04-16 Marek Polacek <polacek@redhat.com>
4939
4940 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4941 operands of fdivp instruction.
4942
34a27407
L
49432012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4944
4945 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4946 * elf/tst-auditmod3b.c: Likewise.
4947 * elf/tst-auditmod4b.c: Likewise.
4948 * elf/tst-auditmod5b.c: Likewise.
4949 * elf/tst-auditmod6b.c: Likewise.
4950 * elf/tst-auditmod6c.c: Likewise.
4951 * elf/tst-auditmod7b.c: Likewise.
4952 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4953 * sysdeps/x86_64/preconfigure.in: Likewise.
4954 * sysdeps/x86_64/preconfigure: Regenerated.
4955
7e73e17d
L
49562012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4957
4958 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4959 __ILP32__.
4960
c7a6ab72
AB
49612012-04-13 Antoine Balestrat <merkil33@gmail.com>
4962
4963 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4964 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4965
a9e8e0e0
CL
49662012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4967
4968 [BZ #13973]
4969 * locale/iso-639.def: Fix gl language name. Spotted by
4970 Yaron Shahrabani.
4971
ec98af7d
RM
49722012-04-12 Roland McGrath <roland@hack.frob.com>
4973
4974 [BZ #2074]
4975 * libio/libio.h (__io_write_fn): Update comment.
4976
247c3ede
PB
49772012-04-12 Petr Baudis <pasky@ucw.cz>
4978
4979 [BZ #2074]
4980 * stdio.texi (Hook Functions): The user provided writer function
4981 is not allowed to return -1.
4982
55939d6d
DM
49832012-04-11 David S. Miller <davem@davemloft.net>
4984
4985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4986
90020f5a
MF
49872012-04-11 Mike Frysinger <vapier@gentoo.org>
4988
4989 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4990 Add a leading slash to rtkaio.
4991
288f9098
JM
49922012-04-11 Jim Meyering <meyering@redhat.com>
4993
90020f5a
MF
4994 [BZ #11959]
4995 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4996 It is not necessarily an error to ignore fwrite's return
4997 value. One can reliably use ferror to test for errors after
4998 the fact.
288f9098 4999
4be2b570
L
50002012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5001
5002 * bits/types.h (__snseconds_t): New type.
5003 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
5004
5005 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
5006 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5007 (__SNSECONDS_T_TYPE): Likewise.
5008 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5009 (__SNSECONDS_T_TYPE): Likewise.
5010 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5011 (__SNSECONDS_T_TYPE): Likewise.
5012
288f9098 50132012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
5014
5015 [BZ #2636]
5016 * manual/time.texi (Processor Time): Return type of times is
5017 elapsed real time since an arbitrary point in the past.
5018 (CPU Time): Move CLK_TCK from here...
5019 (Processor Time): ...to here. Correct description.
5020 * manual/conf.texi (Constants for Sysconf): Correct description of
5021 _SC_CLK_TCK.
5022
d7dd4413
DM
50232012-04-10 David S. Miller <davem@davemloft.net>
5024
5025 [BZ #13967]
5026 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
5027 where the is a gap between DT_REL(A) and DT_JMPREL.
5028
b46068fc
L
50292012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5030
5031 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
5032 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5033 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5034
73d65cc3
SP
50352012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5036
5037 * elf/dl-support.c (_dl_inhibit_cache): New variable.
5038 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
5039 (dl_main): Handle --inhibit-cache.
5040 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
5041 _dl_inhibit_cache.
5042 * elf/dl-load.c (_dl_map_object): Use it.
5043 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
5044
bcc8d661
JM
50452012-04-09 Joseph Myers <joseph@codesourcery.com>
5046
8f9a2fae
JM
5047 [BZ #13872]
5048 * sysdeps/i386/fpu/e_powl.S (p78): New object.
5049 (__ieee754_powl): Saturate large exponents rather than testing for
5050 overflow of y*log2(x).
5051 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5052 * math/libm-test.inc (pow_test): Do not permit spurious overflow
5053 exceptions.
5054
bcc8d661
JM
5055 [BZ #11521]
5056 * math/s_ctan.c: Include <float.h>.
5057 (__ctan): Avoid internal overflow or cancellation in calculating
5058 denominator.
5059 * math/s_ctanf.c: Likewise.
5060 * math/s_ctanl.c: Likewise.
5061 * math/s_ctanh.c: Likewise.
5062 * math/s_ctanhf.c: Likewise.
5063 * math/s_ctanhl.c: Likewise.
5064 * math/libm-test.inc (ctan_test): Add more tests.
5065 (ctanh_test): Likewise.
5066 * sysdeps/i386/fpu/libm-test-ulps: Update.
5067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5068
823fbbb4
AJ
50692012-04-09 Andreas Jaeger <aj@suse.de>
5070
03879793
AJ
5071 [BZ #6894]
5072 * manual/filesys.texi (Directory Entries): Mention that d_namlen
5073 is an optional BSD extension.
5074
823fbbb4
AJ
5075 [BZ #10254]
5076 * manual/stdio.texi (Opening Streams): Document additional fopen
5077 parameters.
5078
8de131cb
RM
50792012-04-09 Roland McGrath <roland@hack.frob.com>
5080
5081 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
5082 %eax without telling the compiler.
5083
c0ed9d7d
CD
50842012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
5085
5086 [BZ # 13963]
5087 * manual/install.texi: Use sourceware.org.
5088
c483f6b4
JM
50892012-04-09 Joseph Myers <joseph@codesourcery.com>
5090
d7dd9453
JM
5091 [BZ #13873]
5092 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5093 (__ieee754_pow): Generate overflow and underflow using huge*huge
5094 and tiny*tiny rather than just returning constant infinity or zero
5095 for large exponents.
5096 * math/libm-test.inc (pow_test): Require overflow exceptions for
5097 applicable cases of large exponents.
5098
c483f6b4
JM
5099 [BZ #706]
5100 * sysdeps/i386/fpu/e_pow.S (p10): New object.
5101 (__ieee754_pow): Use iterative multiplication algorithm only for
5102 integer exponents with absolute value below 1024. Check for odd
5103 integer exponents when using algorithm for real exponents.
5104 * math/libm-test.inc (pow_test): Add more tests.
5105 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5106
d2de7579
JM
51072012-04-08 Joseph Myers <joseph@codesourcery.com>
5108
5109 [BZ #13705]
5110 * math/libm-test.inc (exp_test): Do not allow overflow exception
5111 on underflow test.
5112
f77f1232
AJ
51132012-04-08 Aurelien Jarno <aurelien@aurel32.net>
5114
5115 [BZ #13705]
5116 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5117 instead of __kernel_standard_f.
5118
3884932b
MF
51192012-04-08 Mike Frysinger <vapier@gentoo.org>
5120
5121 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5122 * sysdeps/x86_64/memset_chk.S: Likewise.
5123
54472e9c
AJ
51242012-04-08 Andreas Jaeger <aj@suse.de>
5125
6ab0fbfc
AJ
5126 [BZ #10153]
5127 * manual/startup.texi (Environment Access): Describe return value
5128 for putenv and setenv.
5129
61efba8c
AJ
5130 [BZ #6895]
5131 * manual/filesys.texi (Directory Entries): Add description for
5132 DT_LNK.
5133
95c3f29a
AJ
5134 [BZ #6890]
5135 * manual/filesys.texi (Directory Entries): Clarify that it's file
5136 system not operating system in the description of DT_UNKNOWN.
5137
54472e9c
AJ
5138 [BZ #6578]
5139 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5140
624254b1
SC
51412012-04-08 Stephen Compall <s11@member.fsf.org>
5142
5143 [BZ #6649]
5144 * manual/llio.texi (Opening and Closing Files): Add cross
5145 reference to explain mode argument.
5146
1e4920e0
MF
51472012-04-07 Mike Frysinger <vapier@gentoo.org>
5148
5149 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5150 * sysdeps/x86_64/memset_chk.S: Likewise.
5151
5ed848f3
DM
51522012-04-07 David S. Miller <davem@davemloft.net>
5153
5154 * elf/elf.h (R_SPARC_WDISP10): Define.
5155 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5156 R_SPARC_SIZE32.
5157 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5158 R_SPARC_SIZE64 and R_SPARC_H34.
5159
96154cd8
CD
51602012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5161
5162 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5163 conditions and remove no longer applicable assertion.
5164
9904dc47
L
51652012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5166
5167 * bits/byteswap.h: Include <features.h>.
5168 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5169 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5170
f8887d0a
L
51712012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5172
5173 * bits/byteswap.h (__bswap_16): Removed.
5174 Include <bits/byteswap-16.h> to get __bswap_16.
5175 * sysdeps/i386/bits/byteswap.h: Likewise.
5176 * sysdeps/s390/bits/byteswap.h: Likewise.
5177 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5178 * bits/byteswap-16.h: New file.
5179 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5180 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5181 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5182 * string/Makefile (headers): Add bits/byteswap-16.h.
5183
62470f60
PP
51842012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5185
5186 [BZ #13895]
5187 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5188 extra indirection.
5189 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5190 * nss/tst-nss-static.c: New.
5191
4dad7bab
RM
51922012-04-06 Robert Millan <rmh@gnu.org>
5193
5194 [BZ #6486]
5195 * manual/llio.texi (File Position Primitive): lseek
5196 refers to WHENCE when it really means OFFSET.
5197
e9142a17
AJ
51982012-04-06 Andreas Jaeger <aj@suse.de>
5199
2c040eff
AJ
5200 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5201 strncmp declarations.
5202
e9142a17
AJ
5203 * abilist/libc.abilist: Add __poll and __ppoll.
5204
ff9f1c5f
DM
52052012-04-05 David S. Miller <davem@davemloft.net>
5206
dcd2ae90
DM
5207 * scripts/check-local-headers.sh: Accept a host triplet in the
5208 path matched by the exclude regexp.
5209
993eb054
DM
5210 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5211 definition.
5212 * sysdeps/powerpc/powerpc32/dl-machine.h
5213 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5214 * sysdeps/s390/s390-32/dl-machine.h
5215 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5216 * sysdeps/sparc/sparc32/dl-machine.h
5217 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5218 * sysdeps/sparc/sparc64/dl-machine.h
5219 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5220
ff9f1c5f
DM
5221 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5222 lazy binding.
48e2e132 5223 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
5224 undefined symbol errors.
5225
48e2e132 5226 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
5227 DT_NEEDED entries.
5228
e80d6f94
MM
52292012-04-05 Michael Matz <matz@suse.de>
5230
5231 [BZ #13592]
5232 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5233
349fa79f
AJ
52342012-04-05 Andreas Jaeger <aj@suse.de>
5235
5236 [BZ #13908]
5237 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5238 comment.
5239
f402708f
KK
52402012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5241
5242 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5243 which ROUND is no valid rounding mode.
5244
2ecccfc9
KK
52452012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5246
5247 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5248 read again.
5249 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5250
8a53f50f
KK
52512012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5252
5253 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5254 an exception using FPU order intentionally.
5255
52562012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5257
5258 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5259 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5260 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5261 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5262
d653abb7
SJ
52632012-04-05 Simon Josefsson <simon@josefsson.org>
5264
5265 [BZ #12340]
5266 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5267 EINVAL when BUFLEN is too smal.
5268
c3b1bf7d
TS
52692012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5270
5271 [BZ #13553]
5272 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5273 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5274
b1aa60f3
AJ
52752012-04-03 Andreas Jaeger <aj@suse.de>
5276
c3b1bf7d 5277 [BZ #13938]
67f60a26
AJ
5278 * manual/setjmp.texi (System V contexts): Fix sentence.
5279
b1aa60f3
AJ
5280 [BZ #13926]
5281 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5282 New macro for this case.
5283 [!__GNUC__] (__bswap_64): New inline function for this case.
5284 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5285 * bits/byteswap.h: Likewise.
5286 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5287 ull, guard with __GLIBC_HAVE_LONG_LONG.
5288
5289 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5290 __GLIBC_HAVE_LONG_LONG.
5291
5292 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5293 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5294
39c59c35
TMQMF
52952012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5296
5297 [BZ #13691]
5298 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5299 inptr and inend, rather than using last_ch.
5300
135ffda8
DM
53012012-04-02 David S. Miller <davem@davemloft.net>
5302
5303 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5304 * stdio-common/printf-parse.h (read_int): Change return type to
5305 'int', return -1 on INT_MAX overflow.
5306 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5307 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5308 overflows INT_MAX. Check for overflow of in-format-string precision
5309 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5310 SIZE_MAX not INT_MAX for integer overflow test.
5311 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5312 skip the construct in the format string but do not record anything.
5313 * stdio-common/bug22.c: Adjust to test both width/prevision
5314 INT_MAX overflow as well as total length INT_MAX overflow. Check
5315 explicitly for proper errno values.
5316
228c019e
TS
53172012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5318
302cadd3
TS
5319 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5320 CHAR_MAX.
5321 * string/test-strcmp.c [! WIDE]: Likewise.
5322 * time/tst-mktime2.c: Likewise for INT_MAX.
5323 * string/test-string.h: #include <sys/param.h> for MIN.
5324
228c019e
TS
5325 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5326 * sysdeps/i386/init-first.c (init): Likewise.
5327 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5328 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5329 * sysdeps/sh/init-first.c (init): Likewise.
5330
cfa633f5
UD
53312012-04-01 Ulrich Drepper <drepper@gmail.com>
5332
5333 * po/ru.po: Update from translation team.
d1635ef8 5334 * po/vi.po: Likewise.
cfa633f5 5335
6cd0a5ea
SP
53362012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5337
5338 * resolv/nss_dns/dns-host.c: Merge copyright years.
5339
4b43400f
LD
53402012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5341
5342 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5343 Optimize memcpy with prefetch if
5344 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5345 src, dst pointers have unequal 16 byte alignments.
5346
48c41d04
SP
53472012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5348
5349 [BZ #13928]
5350 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5351 from a CNAME entry and return the minimum ttl for the query.
5352 (gaih_getanswer_slice): Likewise.
5353
b8dc394d
JL
53542012-03-30 Jeff Law <law@redhat.com>
5355
5356 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5357 due to long keys.
5358 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5359 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5360
2f5a5ed0
JL
5361 * resolv/nss_dns/dns-host.c: Update copyright year.
5362
1d39e359
UD
53632012-03-30 Ulrich Drepper <drepper@gmail.com>
5364
c030f70c 5365 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 5366 requests to save a system call. Fix check that all bytes are sent.
c030f70c 5367
1d39e359
UD
5368 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5369 comments for sendmmsg.
5370
53712012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
5372
5373 [BZ #13691]
5374 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5375 with only 1 character between 0x0041 and 0x01b0.
5376 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5377 * wcsmbs/tst-mbsnrtowcs.c: New file.
5378
20fde227
DM
53792012-03-29 David S. Miller <davem@davemloft.net>
5380
5381 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5382 small copies by hand.
5383
984a4237
JL
53842012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5385
5386 [BZ #13761]
5387 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5388 _nss_compat_initgroups_dyn): Fall back to malloc/free
5389 for large group memberships.
5390
18c9d62b
DM
53912012-03-28 David S. Miller <davem@davemloft.net>
5392
88d85d4f
DM
5393 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5394 that branches into memcpy.
5395 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5396 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5397 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5398 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5399 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5400 bits.
5401 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5402 implementation too.
5403 * sysdeps/sparc/mempcpy.S: New file.
5404
e5aa83e1
DM
5405 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5406 the IFUNC routine in the libc case.
5407 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5408
88570753
DM
5409 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5410 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5411 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5412 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5413 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5414 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5415 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5416 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5417
249d7567
DM
5418 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5419 loop to 256 bytes instead of 64 bytes and fix test signedness.
5420
18c9d62b
DM
5421 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5422 * sysdeps/sparc/sparc32/Makefile: rather than here...
5423 * sysdeps/sparc/sparc64/Makefile: and here.
5424
05f3d1f6
UD
54252012-03-28 Ulrich Drepper <drepper@gmail.com>
5426
5427 * malloc/mallocbug.c: Avoid warnings about unused variables.
5428
86ae07a8
JL
54292012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5430
5431 [BZ #13760]
5432 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5433 in the right place. Discard and retry query if response is
5434 larger than input buffer size.
5435
41bf21a1
JM
54362012-03-28 Joseph Myers <joseph@codesourcery.com>
5437
d6270972
JM
5438 [BZ #369]
5439 [BZ #2678]
5440 [BZ #3866]
5441 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5442 x for large integer exponent.
5443 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5444 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5445 sign of result as needed afterwards.
5446 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5447 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5448 result for underflowing pow the same as for overflow.
5449 (__kernel_standard_l): Handle powl overflow and underflow here
5450 rather than calling __kernel_standard.
5451 * math/libm-test.inc (pow_test): Add more tests.
5452
414fca03 5453 [BZ #3868]
41bf21a1
JM
5454 [BZ #13879]
5455 [BZ #13910]
5456 [BZ #13911]
5457 [BZ #13912]
5458 [BZ #13913]
5459 [BZ #13915]
5460 [BZ #13916]
5461 [BZ #13917]
5462 [BZ #13918]
5463 [BZ #13919]
5464 [BZ #13920]
5465 [BZ #13921]
5466 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5467 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5468 (__kernel_standard_l): New function.
5469 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5470 __kernel_standard.
5471 * math/w_acosl.c (__acosl): Likewise.
5472 * math/w_asinl.c (__asinl): Likewise.
5473 * math/w_atan2l.c (__atan2l): Likewise.
5474 * math/w_atanhl.c (__atanhl): Likewise.
5475 * math/w_coshl.c (__coshl): Likewise.
5476 * math/w_exp10l.c (__exp10l): Likewise.
5477 * math/w_exp2l.c (__exp2l): Likewise.
5478 * math/w_fmodl.c (__fmodl): Likewise.
5479 * math/w_hypotl.c (__hypotl): Likewise.
5480 * math/w_j0l.c (__j0l, __y0l): Likewise.
5481 * math/w_j1l.c (__j1l, __y1l): Likewise.
5482 * math/w_jnl.c (__jnl, __ynl): Likewise.
5483 * math/w_lgammal.c (__lgammal): Likewise.
5484 * math/w_log10l.c (__log10l): Likewise.
5485 * math/w_log2l.c (__log2l): Likewise.
5486 * math/w_logl.c (__logl): Likewise.
5487 * math/w_powl.c (__powl): Likewise.
5488 * math/w_remainderl.c (__remainderl): Likewise.
5489 * math/w_scalbl.c (sysv_scalbl): Likewise.
5490 * math/w_sinhl.c (__sinhl): Likewise.
5491 * math/w_sqrtl.c (__sqrtl): Likewise.
5492 * math/w_tgammal.c (__tgammal): Likewise.
5493 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5494 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5495 * math/libm-test.inc (acos_test): Add more tests.
5496 (acosh_test): Likewise.
5497 (asin_test): Likewise.
5498 (atanh_test): Likewise.
5499 (exp_test): Likewise.
5500 (exp10_test): Likewise.
5501 (exp2_test): Likewise.
5502 (expm1_test): Likewise.
5503 (lgamma_test): Likewise.
5504 (log_test): Likewise.
5505 (log10_test): Likewise.
5506 (log1p_test): Likewise.
5507 (log2_test): Likewise.
5508 (pow_test): Do not allow some spurious overflow exceptions.
5509 (sqrt_test): Add more tests.
5510 (tgamma_test): Likewise.
5511 (y0_test): Likewise.
5512 (y1_test): Likewise.
5513 (yn_test): Likewise.
5514
dd62fda6
AB
55152012-03-27 Anton Blanchard <anton@samba.org>
5516
5517 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5518 MAP_HUGETLB.
5519 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5520 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5521 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5522
1e3cdfda
AJ
55232012-03-27 David S. Miller <davem@davemloft.net>
5524
b855ab85
DM
5525 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5526
1e3cdfda
AJ
5527 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5528 have-as-vis3 check.
5529
55302012-03-27 Andreas Jaeger <aj@suse.de>
5531
5532 * sysdeps/x86_64/elf/configure.in: Moved to ...
5533 * sysdeps/x86_64/configure.in: ... here.
5534 * sysdeps/x86_64/elf/start.S: Moved to ...
5535 * sysdeps/x86_64/start.S: ... here.
5536 * sysdeps/x86_64/elf/configure: Delete.
5537
5538 * sysdeps/x86_64/configure.in: Merge contents from
5539 sysdeps/i386/configure.in (without i686 check).
5540
5541 * sysdeps/i386/elf/Versions: Merge into ...
5542 * sysdeps/i386/Versions: ... this.
5543 * sysdeps/i386/elf/Versions: Delete file.
5544 * sysdeps/i386/elf/start.S: Moved to ...
5545 * sysdeps/i386/start.S: ...here.
5546 * sysdeps/i386/elf/configure.in: Merge into...
5547 * sysdeps/i386/configure.in: ...here.
5548 * sysdeps/i386/elf/configure.in: Delete file.
5549 * sysdeps/i386/elf/configure: Delete file.
5550
5551 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5552 * debug/backtracesyms.c: ... here.
5553 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5554 * debug/backtracesymsfd.c: ... here.
5555 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5556 * sysdeps/generic/ifunc-sel.h: ... here.
5557
5558 * sysdeps/unix/i386/start.c: Delete file.
5559 * sysdeps/unix/sparc/start.c: Delete file.
5560 * sysdeps/unix/start.c: Delete file.
5561
5562 * sysdeps/sh/elf/configure.in: Moved to ...
5563 * sysdeps/sh/configure.in: ... here.
5564 * sysdeps/sh/elf/start.S: Moved to ...
5565 * sysdeps/sh/start.S: ... here.
5566 * sysdeps/sh/elf/configure: Delete file.
5567
5568 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5569 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5570 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5571 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5572 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5573 * sysdeps/powerpc/powerpc64/start.S: here.
5574 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5575 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5576 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5577 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5578 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5579
5580 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5581 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5582 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5583 * sysdeps/powerpc/powerpc32/start.S: ... here.
5584 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5585 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5586 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5587
5588 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5589 * sysdeps/powerpc/ifunc-sel.h: ... here.
5590 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5591 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5592
5593 * sysdeps/sparc/elf/configure.in: Moved to ...
5594 * sysdeps/sparc/configure.in: ... here.
5595 * sysdeps/sparc/elf/configure: Delete file.
5596 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5597 * sysdeps/sparc/sparc32/start.S: ... here.
5598 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5599 * sysdeps/sparc/sparc64/start.S: ... here.
5600 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5601 * sysdeps/sparc/sparc32/Makefile: ... this.
5602 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5603 * sysdeps/sparc/sparc64/Makefile: ... this.
5604
5605 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5606 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5607 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5608 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5609 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5610 * sysdeps/s390/s390-32/setjmp.S: ... here.
5611 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5612 * sysdeps/s390/s390-32/configure.in: ... here.
5613 * sysdeps/s390/s390-32/elf/configure: Delete file.
5614 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5615 * sysdeps/s390/s390-32/start.S: ... here.
5616
5617 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5618 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5619 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5620 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5621 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5622 * sysdeps/s390/s390-64/setjmp.S: ... here.
5623 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5624 * sysdeps/s390/s390-64/configure.in: ... here
5625 * sysdeps/s390/s390-64/elf/configure: Delete file.
5626 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5627 * sysdeps/s390/s390-64/start.S: ... here.
5628 * sysdeps/s390/s390-64/elf/configure: Delete.
5629
5630 * configure.in: Remove support for elf directories in sysdeps.
5631
5632 * configure: Regenerated.
5633 * sysdeps/i386/configure: Regenerated.
5634 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5635 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5636 * sysdeps/s390/s390-32/configure: Regenerated.
5637 * sysdeps/s390/s390-64/configure: Regenerated.
5638 * sysdeps/sh/configure: Regenerated.
5639 * sysdeps/sparc/configure: Regenerated.
5640 * sysdeps/x86_64/configure: Regenerated.
5641
a3f61311
AS
56422012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5643
c876e002
AS
5644 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5645
a3f61311
AS
5646 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5647 denormal result into account.
5648
ac4c54f0
RM
56492012-03-25 Roland McGrath <roland@hack.frob.com>
5650
5651 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5652 Reported by Allan McRae <allan@archlinux.org>.
5653
6a9b9c02
JL
56542012-03-23 Jeff Law <law@redhat.com>
5655
5656 * nss/getnssent.c (__nss_getent): Fix typo.
5657
4c42a0c1
DM
56582012-03-23 David S. Miller <davem@davemloft.net>
5659
5660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5661
1532c7ac
L
56622012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5663
5664 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5665 to pad to uint64_t for each field.
5666 (dl_tls_index): Replace unsigned long with uint64_t.
5667
3ff42526
PP
56682012-03-23 Daniel Jacobowitz <dmj@google.com>
5669 Paul Pluzhnikov <ppluzhnikov@google.com>
5670
5671 [BZ #6528]
5672 * grp/Makefile (otherlibs): Don't set it.
5673 * inet/Makefile (otherlibs): Likewise.
5674 * login/Makefile (otherlibs): Likewise.
5675 * nscd/Makefile (otherlibs): Likewise.
5676 * posix/Makefile (otherlibs): Likewise.
5677 * pwd/Makefile (otherlibs): Likewise.
5678 * rt/Makefile (otherlibs): Likewise.
5679 * sunrpc/Makefile (otherlibs): Likewise.
5680 * nss/Makefile (otherlibs): Likewise.
5681 Add libnss_files to routines and static-only-routines.
5682 ($(objpfx)getent): Remove rule.
5683 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5684 static-only-routines.
5685
7c69cd14
JM
56862012-03-22 Joseph Myers <joseph@codesourcery.com>
5687
5688 [BZ #13892]
5689 * math/s_cexp.c: Include <float.h>.
5690 (__cexp): Handle exp result overflowing not necessarily
5691 overflowing both real and imaginary parts of result.
5692 * math/s_cexpf.c: Likewise.
5693 * math/s_cexpl.c: Likewise.
5694 * math/libm-test.inc (cexp_test): Add more tests.
5695 * sysdeps/i386/fpu/libm-test-ulps: Update.
5696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5697
81b035fe
L
56982012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5699
5700 * include/link.h (ELFW): New macro.
5701 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5702 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5703
1da7940c
L
57042012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5705
5706 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5707 with uint64_t.
5708
b749dbb9
L
57092012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5710
5711 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5712 declaration.
5713 (struct La_x32_retval): Likewise.
5714
2ff87f3f
L
57152012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5716
5717 * sysdeps/x86_64/preconfigure.in: New file.
5718 * sysdeps/x86_64/preconfigure: New generated file.
5719
c0df8e69
JM
57202012-03-22 Joseph Myers <joseph@codesourcery.com>
5721
48e44791
JM
5722 [BZ #13824]
5723 * math/e_exp2l.c: Include <float.h>.
5724 (__ieee754_exp2l): Handle overflow and underflow cases
5725 separately. Only pass fractional part of argument to
5726 __ieee754_expl.
5727 * math/libm-test.inc (exp2_test): Add more tests.
5728
c0df8e69
JM
5729 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5730 negating x to take absolute value.
5731 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5732 Likewise.
5733 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5734 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5735 Likewise.
5736 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5737 computing low part if x was negated.
5738 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5739
c8e43ba7
L
57402012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5741
5742 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5743 la_x32_gnu_pltexit.
5744 (pltexit): Cast int_retval to ptrdiff_t.
5745 * elf/tst-auditmod3b.c: Likewise.
5746 * elf/tst-auditmod4b.c: Likewise.
5747 * elf/tst-auditmod5b.c: Likewise.
5748 * elf/tst-auditmod6b.c: Likewise.
5749 * elf/tst-auditmod6c.c: Likewise.
5750 * elf/tst-auditmod7b.c: Likewise.
5751
5752 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5753 and x32_gnu_pltexit.
5754
5755 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5756 __ELF_NATIVE_CLASS.
5757 (La_x32_regs): New macro.
5758 (La_x32_retval): Likewise.
5759 (la_x32_gnu_pltenter): New function prototype.
5760 (la_x32_gnu_pltexit): Likewise.
5761
7998fa78
AS
57622012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5763
dcb33988
AS
5764 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5765 exponent.
5766
233fc563
AS
5767 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5768
7998fa78
AS
5769 * configure.in (libc_cv_cc_nofma): Check for option to disable
5770 generation of FMA instructions.
5771 * configure: Regenerate.
5772 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5773 * sysdeps/ieee754/dbl-64/Makefile: New file.
5774 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5775 Remove brandred-fma4.
5776 (CFLAGS-brandred-fma4.c): Remove.
5777 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5778 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5779 define.
5780 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5781 define.
5782
8e95c99a
L
57832012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5784
5785 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5786 LLONG_MAX != LONG_MAX.
5787 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5788 (_fitoa_word): Likewise.
5789 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5790 LLONG_MAX != LONG_MAX.
5791 * stdio-common/_itowa.h: Include <_itoa.h>.
5792 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5793 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5794 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5795 only if not defined.
5796 (_ITOA_WORD_TYPE): Likewise.
5797 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5798 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5799
6f4db457
DM
58002012-03-21 David S. Miller <davem@davemloft.net>
5801
5802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5803
7785fe5a
L
58042012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5805
5806 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5807 of x86_64 when setting libc_cv_slibdir, libdir and
5808 libc_cv_localedir.
5809 * sysdeps/unix/sysv/linux/configure: Regenerated.
5810
4535cd55
JM
58112012-03-21 Joseph Myers <joseph@codesourcery.com>
5812
5813 * manual/lang.texi (Old Varargs): Remove section.
5814 (How Variadic): Update menu.
5815 (va_start): Do not mention varargs.h.
5816
17228132
TS
58172012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5818 Joseph Myers <joseph@codesourcery.com>
5819
5820 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5821 link test.
5822 * configure: Regenerated.
5823
8149f976
TS
58242012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5825
05f3d1f6
UD
5826 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5827 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5828 conformtest.pl
8149f976 5829
1a4ac776
JM
58302012-03-21 Joseph Myers <joseph@codesourcery.com>
5831
be22ce65
JM
5832 * NOTES: Remove.
5833 * Makefile (files-for-dist): Remove NOTES.
5834 (NOTES): Remove rule.
5835 * README: Don't refer to NOTES.
5836 * manual/creature.texi: Don't include macros.texi.
5837 * manual/intro.texi (creature.texi): Remove comment referring to
5838 NOTES.
5839
40b601fb
JM
5840 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5841 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5842 * configure: Regenerated.
5843 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5844 LIBC_TRY_CC_OPTION.
5845 (libc_cv_as_i686): Likewise.
5846 (libc_cv_cc_avx): Likewise.
5847 (libc_cv_cc_sse2avx): Likewise.
5848 (libc_cv_cc_fma4): Likewise.
5849 (libc_cv_cc_novzeroupper): Likewise.
5850 * sysdeps/i386/configure: Regenerated.
5851
1a4ac776
JM
5852 [BZ #13883]
5853 * sysdeps/i386/fpu/s_cexp.S: Remove.
5854 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5855 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5856 * math/libm-test.inc (cexp_test): Add more tests.
5857 * sysdeps/i386/fpu/libm-test-ulps: Update.
5858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5859
a458e7fe
AM
58602012-03-21 Allan McRae <allan@archlinux.org>
5861
5862 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5863
0cb7efc5
JM
58642012-03-21 Joseph Myers <joseph@codesourcery.com>
5865
5866 [BZ #13871]
5867 * math/w_exp2.c: Do not include <float.h>.
5868 (o_threshold, u_threshold): Remove.
5869 (__exp2): Calculate result before checking finiteness and calling
5870 __kernel_standard.
5871 * math/w_exp2f.c: Likewise.
5872 * math/w_exp2l.c: Likewise.
5873 * math/libm-test.inc (exp2_test): Require overflow exception for
5874 1e6 input.
2460d3aa
JM
5875
5876 [BZ #3866]
5877 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5878 range of signed 64-bit integers before using fistpll. Remove
5879 checks for whether integers fit in mantissa bits.
5880 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5881 the range of signed 32-bit integers before using fistpl. Remove
5882 checks for whether integers fit in mantissa bits.
5883 * sysdeps/i386/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 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5888 divide-by-zero is raised for zero to large negative powers.
5889 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5890 (__ieee754_powl): Test for y outside the range of signed 64-bit
5891 integers before using fistpll. Reduce 64-bit values to 63-bit
5892 ones as needed.
5893 * math/libm-test.inc (pow_test): Add more tests.
5894
eb96ffb0
L
58952012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5896
5897 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5898 <stdio-common/_itoa.h>.
5899 * debug/segfault.c: Likewise.
5900 * elf/dl-cache.c: Likewise.
5901 * elf/dl-minimal.c: Likewise.
5902 * elf/dl-misc.c: Likewise.
5903 * elf/dl-sysdep.c: Likewise.
5904 * elf/dl-version.c: Likewise.
5905 * elf/rtld.c: Likewise.
5906 * hurd/hurdsock.c: Likewise.
5907 * hurd/lookup-retry.c: Likewise.
5908 * malloc/malloc.c: Likewise.
5909 * malloc/mtrace.c: Likewise.
5910 * nscd/nscd_getgr_r.c: Likewise.
5911 * nscd/nscd_getpw_r.c: Likewise.
5912 * nscd/nscd_getserv_r.c: Likewise.
5913 * posix/getopt_init.c: Likewise.
5914 * posix/wordexp.c: Likewise.
5915 * stdio-common/_itoa.c: Likewise.
5916 * stdio-common/printf_fphex.c: Likewise.
5917 * stdio-common/vfprintf.c: Likewise.
5918 * string/_strerror.c: Likewise.
5919 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5920 * sysdeps/i386/i686/hp-timing.h: Likewise.
5921 * sysdeps/mach/_strerror.c: Likewise.
5922 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5923 * sysdeps/mach/hurd/sethostid.c: Likewise.
5924 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5925 * sysdeps/mach/xpg-strerror.c: Likewise.
5926 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5927 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5928 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5929 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5930 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5931 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5932 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5933 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5934 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5935 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5936 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5937 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5938 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5939 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5940 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5941 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5942 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5943 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5944 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5945 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5946 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5947
5948 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5949
5950 * stdio-common/_itoa.h: Moved to ...
5951 * sysdeps/generic/_itoa.h: Here.
5952
5953 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5954
5955 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5956 instead of "_itoa.h" and "_itowa.h".
5957 * stdio-common/vfprintf.: Likewise.
5958
d1af992d
L
59592012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5960
5961 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5962 <bits/wordsize.h>.
5963 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5964 (__signbit): Likwise.
5965 (llrintf): Likwise.
5966 (llrint): Likwise.
5967
114883e0
L
59682012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5969
5970 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5971 __WORDSIZE != 64.
5972
c135cc1b
JM
59732012-03-20 Joseph Myers <joseph@codesourcery.com>
5974
5975 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5976 OVERFLOW_EXCEPTION_OK.
5977 * math/libm-test.inc ("Philosophy"): Update comment about
5978 exception testing.
5979 (OVERFLOW_EXCEPTION): Define.
5980 (OVERFLOW_EXCEPTION_OK): Likewise.
5981 (INVALID_EXCEPTION_OK): Renumber.
5982 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5983 (IGNORE_ZERO_INF_SIGN): Likewise.
5984 (test_exceptions): Handle FE_OVERFLOW.
5985 (exp10_test): Expect overflow exceptions.
5986 (exp2_test): Likewise.
5987 (expm1_test): Likewise.
5988 (nextafter_test): Likewise.
5989 (pow_test): Likewise.
5990 (scalbn_test): Likewise.
5991 (scalbln_test): Likewise.
5992
95443d88
L
59932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5994
5995 * sysdeps/x86_64/bits/atomic.h
5996 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5997 64bit integer.
5998 (atomic_exchange_acq): Likewise.
5999 (__arch_exchange_and_add_body): Likewise.
6000 (__arch_add_body): Likewise.
6001 (atomic_add_negative): Likewise.
6002 (atomic_add_zero): Likewise.
6003
490df6c4
L
60042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6005
c2722551 6006 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
6007 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
6008
5e52b189
L
60092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6010
6011 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
6012 Check __x86_64__ instead of __WORDSIZE.
6013
a9879d4c
L
60142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6015
6016 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
6017
5df98260
DM
60182012-03-19 David S. Miller <davem@davemloft.net>
6019
e1497744
DM
6020 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6021
5df98260
DM
6022 * sysdeps/sparc/fpu/fenv_private.h: New file.
6023 * sysdeps/sparc/fpu/math_private.h: Use it.
6024 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
6025 Remove.
6026 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
6027 (libc_feholdexcept_setroundl): Remove.
6028 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
6029 Remove.
6030 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
6031 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
6032
b4c35121
L
60332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6034
6035 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
6036 int64_t instead of long int.
6037 (INSERT_WORDS64): Likwise.
6038
56965fd7
L
60392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6040
6041 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
6042 _Unwind_GetCFA return to _Unwind_Ptr first.
6043
83d1aec8
JM
60442012-03-19 Joseph Myers <joseph@codesourcery.com>
6045
1897ad44
JM
6046 [BZ #13629]
6047 * math/s_clog.c: Include <float.h>.
6048 (__clog): Scale large or subnormal inputs.
6049 * math/s_clogf.c: Likewise.
6050 * math/s_clogl.c: Likewise.
6051 * math/s_clog10.c: Include <float.h>.
6052 (M_LOG10_2): Define.
6053 (__clog10): Scale large or subnormal inputs.
6054 * math/s_clog10f.c: Likewise.
6055 * math/s_clog10l.c: Likewise.
6056 * math/libm-test.inc (clog_test): Add more tests.
6057 (clog10_test): Likewise.
6058 * sysdeps/i386/fpu/libm-test-ulps: Update.
6059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6060
7726d6a9
JM
6061 [BZ #11451]
6062 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
6063 x and y.
6064 * math/libm-test.inc (atan2_test): Add another test.
6065
83d1aec8
JM
6066 * Makerules (common-objdir-compile): Remove.
6067 * sysdeps/unix/Makefile (config-generated): Do not add
6068 $(unix-generated) to variable.
6069 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
6070 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
6071 Remove rule.
6072 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
6073 Likewise.
6074 [generic bits/local_lim.h] (before-compile): Do not append to
6075 variable.
6076 [generic bits/local_lim.h] (common-generated): Likewise.
6077 [generic sys/param.h] (before-compile): Do not append to variable.
6078 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
6079 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
6080 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
6081 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
6082 include.
6083 [generic sys/param.h] (sys/param.h-includes): Remove variable.
6084 [generic sys/param.h] (sys/param.h-includes): Remove rule.
6085 [generic sys/param.h] ($(addprefix
6086 $(common-objpfx),$(sys/param.h-includes))): Likewise.
6087 [generic sys/param.h] (common-generated): Do not append to
6088 variable.
6089 [generic sys/param.h] (sysdep_headers): Likewise.
6090 [generic bits/errno.h] (before-compile): Do not append to
6091 variable.
6092 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6093 rule.
6094 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6095 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6096 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6097 [generic bits/errno.h] (common-generated): Do not append to
6098 variable.
6099 [generic bits/ioctls.h] (before-compile): Do not append to
6100 variable.
6101 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6102 rule.
6103 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6104 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6105 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6106 rule.
6107 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6108 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6109 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6110 [generic bits/ioctls.h] (common-generated): Do not append to
6111 variable.
6112 [generic sys/syscall.h] (syscall.h): Remove variable.
6113 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6114 rule.
6115 [generic sys/syscall.h] (before-compile): Do not append to
6116 variable.
6117 [generic sys/syscall.h] (common-generated): Likewise.
6118 * sysdeps/unix/errnos-tmpl.c: Remove file.
6119 * sysdeps/unix/errnos.awk: Likewise.
6120 * sysdeps/unix/ioctls-tmpl.c: Likewise.
6121 * sysdeps/unix/ioctls.awk: Likewise.
6122 * sysdeps/unix/mk-local_lim.c: Likewise.
6123 * sysdeps/unix/snarf-ioctls: Likewise.
6124
4851a949
RH
61252012-03-19 Richard Henderson <rth@twiddle.net>
6126
bd37f2ee
RH
6127 * sysdeps/i386/fpu/fenv_private.h: New file.
6128 * sysdeps/i386/fpu/math_private.h: Use it.
6129 (math_opt_barrier, math_force_eval): Remove.
6130 (libc_feholdexcept_setround_53bit): Remove.
6131 (libc_feupdateenv_53bit): Remove.
6132 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6133 (math_opt_barrier, math_force_eval): Remove.
6134 (libc_feholdexcept): Remove.
6135 (libc_feholdexcept_setround): Remove.
6136 (libc_fetestexcept, libc_fesetenv): Remove.
6137 (libc_feupdateenv_test): Remove.
6138 (libc_feupdateenv, libc_feholdsetround): Remove.
6139 (libc_feresetround): Remove.
6140
d0adc922
RH
6141 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6142 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6143
0fe0f1f8
RH
6144 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6145 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6146 (libc_feupdateenv_testl): New.
6147 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6148 (libc_feupdateenv_testf): New.
6149 (libc_feupdateenv): Use libc_feupdateenv_test.
6150 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6151 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6152
eb92c487
RH
6153 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6154 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6155 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6156 (libc_feresetround_noex): New.
6157 (libc_feresetround_noexf): New.
6158 (libc_feresetround_noexl): New.
6159 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6160 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6161 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6162 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6163 SET_RESTORE_ROUND.
6164 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6165 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6166 (__cos): Likewise.
6167 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6168 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6169 SET_RESTORE_ROUND_NOEX.
6170 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6171 SET_RESTORE_ROUND_NOEXF.
6172 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6173 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6174 (libc_feholdsetroundf): New.
6175 (libc_feresetround, libc_feresetroundf): New.
6176
7d2e8012
RH
6177 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6178 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6179 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6180
b4dabbb4
RH
6181 * sysdeps/generic/math_private.h: Include <fenv.h>.
6182 (default_libc_feholdexcept): New.
6183 (default_libc_feholdexcept_setround): New.
6184 (default_libc_fesetenv, default_libc_feupdateenv): New.
6185 (libc_feholdexcept): Only define if undefined.
6186 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6187 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6188 (libc_feholdexcept_setroundl): Likewise.
6189 (libc_feholdexcept_setround_53bit): Likewise.
6190 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6191 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6192 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6193 (libc_feupdateenv_53bit): Likewise.
6194 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6195 (libc_feholdexcept): Convert from macro to inline function.
6196 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6197 (libc_fesetenv, libc_feupdateenv): Likewise.
6198
4851a949
RH
6199 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6200 not previously defined.
6201 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6202 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6203 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6204 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6205 * sysdeps/ieee754/flt-32/math_private.h: New file.
6206 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6207 math_private.h below SET_FLOAT_WORD.
6208 (__isnan, __isinf_ns, __finite): Remove.
6209 (__isnanf, __isinf_nsf, __finitef): Remove.
6210
e79d442e
AS
62112012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6212
6213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6214
90b80344
DM
62152012-03-17 David S. Miller <davem@davemloft.net>
6216
6217 [BZ #6471]
6218 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6219 for 2.16.
6220
edc21804
DM
62212012-03-16 David S. Miller <davem@davemloft.net>
6222
77e927af
DM
6223 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6224 warnings.
6225
374976dd
DM
6226 [BZ #6471]
6227 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6228 properly.
6229 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6230 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6231 sysdep_routines when subdir is sysvipc.
6232 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6233 __getshmlba helper.
6234
edc21804
DM
6235 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6236
473c3ef3
L
62372012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6238
6239 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6240 [__LP64__].
6241
eb0f39b6
L
62422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6243
6244 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6245 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6246 (__lround): Renamed to ...
6247 (__llround): This. Replace long int with long long int.
6248 Define lround functions as aliases of llround functions.
6249 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6250
6b6cd74b
L
62512012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6252
6253 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6254 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6255 adresses to uintptr_t. Replace "long int" and "unsigned long
6256 int" with "greg_t" on va_arg.
6257
f1a77b01
L
62582012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6259
6260 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6261 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6262
6263 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6264 Move e_machine check before EI_CLASS check. Handle x32
6265 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6266 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6267 SKIP_EM_IA_64 and include
6268 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6269
6270 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6271 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6272 (add_system_dir): New macro.
6273
6274 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6275 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6276
11b90b9f
JM
62772012-03-16 Joseph Myers <joseph@codesourcery.com>
6278
c36e1d23
JM
6279 [BZ #2551]
6280 [BZ #2552]
6281 [BZ #2553]
6282 [BZ #2554]
6283 [BZ #2562]
6284 [BZ #2563]
6285 [BZ #2565]
6286 [BZ #2566]
6287 [BZ #2576]
6288 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6289 (y0): Likewise.
6290 * math/w_j0f.c (j0f): Likewise.
6291 (y0f): Likewise.
6292 * math/w_j0l.c (__j0l): Likewise.
6293 (__y0l): Likewise.
6294 * math/w_j1.c (j1): Likewise.
6295 (y1): Likewise.
6296 * math/w_j1f.c (j1f): Likewise.
6297 (y1f): Likewise.
6298 * math/w_j1l.c (__j1l): Likewise.
6299 (__y1l): Likewise.
6300 * math/w_jn.c (jn): Likewise.
6301 (yn): Likewise.
6302 * math/w_jnf.c (jnf): Likewise.
6303 (ynf): Likewise.
6304 * math/w_jnl.c (__jnl): Likewise.
6305 (__ynl): Likewise.
6306 * math/libm-test.inc (j0_test): Add more tests.
6307 (j1_test): Likewise.
6308 (jn_test): Likewise. Add trailing semicolon to existing test.
6309 (y0_test): Likewise.
6310 (y1_test): Likewise.
6311 * sysdeps/i386/fpu/libm-test-ulps: Update.
6312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6313
11b90b9f
JM
6314 [BZ #13851]
6315 [BZ #13854]
6316 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6317 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6318 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6319 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6320 (__tanl): Set errno for infinite argument.
6321 * sysdeps/i386/fpu/mptan.c: Remove.
6322 * sysdeps/i386/fpu/s_tan.S: Likewise.
6323 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6324 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6325 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6326 * math/libm-test.inc (tan_test): Add more tests and enable more
6327 tests for double and long double.
6328 * sysdeps/i386/fpu/libm-test-ulps: Update.
6329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6330
6a1bd2a1
JK
63312012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6332
6333 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6334 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6335
10a803e0
RM
63362012-03-16 Roland McGrath <roland@hack.frob.com>
6337
6338 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6339 * configure.in: Use it for both main tree and add-ons.
6340 * configure: Regenerated.
6341
f196c7f7
L
63422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6343
6344 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6345
8848d99d
JM
63462012-03-16 Joseph Myers <joseph@codesourcery.com>
6347
96cbe7f4
JM
6348 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6349 in comment.
6350
8848d99d
JM
6351 [BZ #13851]
6352 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6353 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6354 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6355 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6356 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6357 infinite argument.
6358 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6359 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6360 != 0 for prec == 2.
6361 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6362 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6363 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6364 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6365 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6366 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6367 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6368 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6369 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6370 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6371 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6372 * math/libm-test.inc (cos_test): Add more tests and enable more
6373 tests for long double.
6374 (sin_test): Likewise.
6375 (sincos_test): Likewise.
6376 * sysdeps/i386/fpu/libm-test-ulps: Update.
6377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6378
dd7f4703
DM
63792012-03-16 David S. Miller <davem@davemloft.net>
6380
6381 * sysdeps/sparc/fpu/math_private.h: New file.
6382
006f1daa
DM
63832012-03-15 David S. Miller <davem@davemloft.net>
6384
c0c83bc8
DM
6385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6386 file.
e6a62e18 6387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
6388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6389 file.
e6a62e18
DM
6390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6391 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6392 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6393 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6394 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6395 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6396 sysdep routines.
6397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6398
88cb87d9
DM
6399 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6400 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6401
006f1daa 6402 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
6403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6404 sparc-ifunc.h
006f1daa 6405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
6406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6407 Likewise.
6408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6409 Likewise.
006f1daa
DM
6410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
6413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6414 Likewise.
006f1daa
DM
6415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
6419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6420 Likewise.
6421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6422 Likewise.
006f1daa
DM
6423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6427 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6428 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6429 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6430 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6431 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6432 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6433 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6434 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6435 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6436 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6437 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6438 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6439 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6440 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6441 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6442 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6443 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6444 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6445 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6446 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6447
11e0098e
AS
64482012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6449
6450 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6451 scaling.
6452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6453
e85b09d0
AJ
64542012-03-15 Andreas Jaeger <aj@suse.de>
6455
6456 [BZ #13852]
6457 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6458 ieee754/flt-32 implementation for sin, cos and sincos.
6459 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6460 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6461 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6462 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6463 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6464 ieee754/flt-32 implementation for tan.
6465
6466 * math/libm-test.inc (cos_test): Enable some large input tests for
6467 float as well
6468 (sin_test): Likewise.
6469 (sincos_test): Likewise.
6470 (tan_test): Add tests for large input.
6471
6472 * sysdeps/i386/fpu/libm-test-ulps: Update.
6473
81c64153
AJ
64742012-03-15 Andreas Jaeger <aj@suse.de>
6475
6476 [BZ #13658]
6477 * math/libm-test.inc (cos_test): Add more test cases.
6478 (sin_test): Likewise.
6479 (sincos_test): Likewise.
6480
7bbfa5c6
AJ
64812012-03-15 Andreas Jaeger <aj@suse.de>
6482
6483 [BZ #13837]
6484 * math/libm-test.inc (cos_test): Add a test case for large input
6485 value.
6486 (sin_test): Likewise.
6487 (sincos_test): Likewise.
6488
64892012-03-15 Andreas Jaeger <aj@suse.de>,
6490 Joseph Myers <joseph@codesourcery.com>
6491
6492 [BZ #13658]
0671f479 6493 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
6494 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6495 * sysdeps/i386/fpu/branred.c: Likewise.
6496 * sysdeps/i386/fpu/dosincos.c: Likewise.
6497 * sysdeps/i386/fpu/mpa.c: Likewise.
6498 * sysdeps/i386/fpu/s_cos.S: Likewise.
6499 * sysdeps/i386/fpu/s_sin.S: Likewise.
6500 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6501 * sysdeps/i386/fpu/sincos32.c: Likewise.
6502
6503 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6504 Define.
6505 (libc_feupdateenv_53bit): Define.
6506 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6507 Define.
6508 (libc_feupdateenv_53bit): Define.
6509
6510 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6511 53 bit (without extend i386 double precision).
6512
6513 * math/libm-test.inc (sincos_test): Add tests for large input.
6514 (sin): Likewise.
6515 (cos): Likewise.
6516
6517 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6518
9cad04ea
AS
65192012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6520
6521 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6522
f7062b9a
DM
65232012-03-15 David S. Miller <davem@davemloft.net>
6524
6525 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6526 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6527 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6528 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6533 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6534 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6535 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6536 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6537 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6538 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
6540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6541 file.
f7062b9a 6542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
6543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6544 file.
f7062b9a 6545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
6546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6547 file.
f7062b9a 6548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
6549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6550 file.
f7062b9a
DM
6551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6552 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6553 fmin/fmax sysdep routines.
6554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6555
7bd951ff
DM
65562012-03-14 David S. Miller <davem@davemloft.net>
6557
559398ab
DM
6558 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6559 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6560 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6561 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6562 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6563 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6564 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6565 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6566 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6567 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6568 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6569 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6570 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6571 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6572 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6573 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6574 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6575 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6576 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6577 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6578 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6579 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6580 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6581 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6582 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6583 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6584 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6585 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6586 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6587 routines.
6588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6589 file.
559398ab 6590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
6591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6592 file.
559398ab 6593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
6594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6595 file.
559398ab 6596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
6597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6598 file.
559398ab 6599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
6600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6601 file.
559398ab 6602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
6603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6604 file.
6605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6606 file.
6607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6608 file.
6609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6610 file.
6611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6612 New file.
6613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6614 file.
6615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6616 file.
559398ab 6617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
6618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6619 file.
559398ab 6620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6622 file.
559398ab 6623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
6624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6625 file.
559398ab 6626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
6627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6628 VIS3 routines.
559398ab
DM
6629
6630 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6631 New file.
6632
5a1c1e32
DM
6633 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6634
eae47a36
DM
6635 * sysdeps/sparc/configure.in: New file.
6636 * sysdeps/sparc/configure: Generate.
6637 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6638 * configure: Regenerate.
6639 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6640 * config.make.in (have-as-vis3): New.
6641 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6642 available use -Av9d instead of -Av9a.
6643 * sysdeps/sparc/sparc64/Makefile: Likewise.
6644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
6645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6646 New file.
6647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6648 file.
6649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6650 New file.
6651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6652 file.
eae47a36
DM
6653 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6654 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6655 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6656 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6657 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6658
c0c83bc8
DM
6659 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6660 fzeros/fnegs to load 0x80000000 into a float register instead of
6661 using the stack.
7bd951ff
DM
6662 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6663
bd951ccb
JM
66642012-03-14 Joseph Myers <joseph@codesourcery.com>
6665
6666 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6667 bits/syscall.h.
6668 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6669 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6670 ($(inst_includedir)/bits/syscall.h): Remove rule.
6671 ($(objpfx)bits/syscall.d): Include instead of
6672 $(objpfx)syscall-list.d.
6673 (generated): Change syscall-list.h and syscall-list.d to
6674 bits/syscall.h and bits/syscall.d.
6675
bb4e6db2
RM
66762012-03-14 Roland McGrath <roland@hack.frob.com>
6677
6678 [BZ #13846]
6679 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6680
aa4a2ae1
JM
66812012-03-14 Joseph Myers <joseph@codesourcery.com>
6682
e456826d
JM
6683 [BZ #13841]
6684 * math/s_csqrt.c: Include <float.h>.
6685 (__csqrt): Scale large or subnormal inputs.
6686 * math/s_csqrtf.c: Likewise.
6687 * math/s_csqrtl.c: Likewise.
6688 * math/libm-test.inc (csqrt_test): Add more tests.
6689 * sysdeps/i386/fpu/libm-test-ulps: Update.
6690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6691
aa4a2ae1
JM
6692 [BZ #13840]
6693 * math/libm-test.inc (hypot_test): Add more tests.
6694
7c10fd35
DM
66952012-03-13 David S. Miller <davem@davemloft.net>
6696
6697 [BZ #13840]
6698 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6699 double-precision for the calculation instead of scaling.
6700
f453b98b
JM
67012012-03-13 Joseph Myers <joseph@codesourcery.com>
6702
6703 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6704 manipulate bits before adding and subtracting TWO52[sx].
6705 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6706 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6707 Likewise.
6708 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6709
09a3453f
DM
67102012-03-13 David S. Miller <davem@davemloft.net>
6711
8e59da90
DM
6712 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6713 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6714 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6715 rtld-global-offsets.h
6716 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6717
2a8ab7f2
DM
6718 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6719 large parameters.
6720
10f62770
DM
6721 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6722
5f0bdb18
DM
6723 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6724 'err' in the ifdef scope in which it is actually used.
6725
09a3453f
DM
6726 * nss/nss_db/db-init.c: Include string.h
6727
b4b2eb5e
DM
67282012-03-12 David S. Miller <davem@davemloft.net>
6729
98bb2f1c
DM
6730 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6731 masking out of the most significant byte of random value used.
6732 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6733 Fix coding style in previous change.
6734
b4b2eb5e
DM
6735 * sysdeps/unix/sysv/linux/kernel-features.h
6736 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6737 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6738 expression.
6739 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6740 later.
6741
6e226b09
DM
67422012-03-11 David S. Miller <davem@davemloft.net>
6743
a1bcbd40
DM
6744 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6745 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6746 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6747 for 'resultvar' otherwise things get truncated on 64-bit.
6748
cb9d6174
DM
6749 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6750 Fix masking out of the most significant byte of random value used.
6751
6e226b09
DM
6752 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6753
058c132d
AS
67542012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6755
6756 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6757
2d2cd515
DM
67582012-03-09 David S. Miller <davem@davemloft.net>
6759
6760 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6761 variables with appropriate CPP guards.
6762 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6763 frame pointer, not the stack pointer. Correct layout comments. Fix test
6764 on resulting framesize and the management of the outregs buffer for pltexit.
6765 Preserve floating point return values across _dl_call_pltexit call.
6766 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6767 framesize and the management of the outregs buffer for pltexit.
6768 Preserve floating point return values across _dl_call_pltexit
6769 call.
6770 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6771 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6772 (print_exit): Fix format string for return register value.
6773
9a07f9d0
JM
67742012-03-10 Joseph Myers <joseph@codesourcery.com>
6775
6776 * sunrpc/Makefile (others): Add rpcgen.
6777 ($(objpfx)rpcgen): Remove special build rule and dependency on
6778 libc.
6779 * sunrpc/rpcgen.c: New file.
6780
547b5e30
PE
67812012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6782
c524201a
PE
6783 [BZ #13673]
6784 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6785 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6786 * sysdeps/i386/crti.S: Likewise.
6787 * sysdeps/i386/crtn.S: Likewise.
6788 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6789 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6790 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6791 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6792 * sysdeps/sh/crti.S: Likewise.
6793 * sysdeps/sh/crtn.S: Likewise.
6794 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6795
7b6235f2
PE
6796 [BZ #13673]
6797 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6798 with URL.
6799 * locale/programs/locfile-kw.gperf: Likewise.
6800 * locale/programs/charmap-kw.h: Regenerated.
6801 * locale/programs/locfile-kw.h: Likewise.
6802
547b5e30
PE
6803 [BZ #13673]
6804 * intl/plural.y: Replace FSF snail mail address with URL.
6805 * intl/plural.c: Regenerated.
6806
5f0a5dae
RH
68072012-03-09 Richard Henderson <rth@twiddle.net>
6808
6809 * include/math_private.h: Remove file.
6810 * math/math_private.h: Move file ...
6811 * sysdeps/generic/math_private.h: ... here.
6812
b8c03620
RH
6813 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6814 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6815 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6816
4e234f5d 6817 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
6818 and <math_private.h>.
6819 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6820 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6821 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6822 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6823 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6824 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6825 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6826 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6827 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6828 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6829 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6830 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6831 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6832 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6833 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6834 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6835 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6836 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6837 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6838 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6839 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6840 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6841 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6842 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6843 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6844 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6845 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6846 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6847 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6848 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6849 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6850 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6851 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6852 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6853 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6854 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6855 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6856 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6857 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6858 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6859 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6860 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6861 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6862 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6863 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6864 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6865 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6866 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6867 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6868 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6869 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6870 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6871 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6872 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6873 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6874 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6875 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6876 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6877 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6878 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6879 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6880 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6881 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6882 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6883 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6884 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6885 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6886 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6887 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6888 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6889 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6890 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6891 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6892 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6893 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6894 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6895 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6896 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6897 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6898 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6899 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6900 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6901 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6902 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6903 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6904 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6905 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6906 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6907 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6908 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6909 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6910 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6911 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6912 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6913 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6914 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6915 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6916 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6917 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6918 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6919 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6920 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6921 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6922 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6923 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6924 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6925 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6926 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6927 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6928 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6929 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6930 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6931 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6932 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6933 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6934 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6935 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6936 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6937 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6938 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6939 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6940 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6941 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6942 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6943 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6944 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6945 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6946 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6947 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6948 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6949 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6950 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6951 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6952 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6953 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6954 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6955 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6956 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6957 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6958 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6959 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6960 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6961 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6962 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6963 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6964 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6965 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6966 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6967 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6968 * sysdeps/ieee754/k_standard.c: Likewise.
6969 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6970 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6971 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6972 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6973 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6974 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6975 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6976 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6977 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6978 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6979 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6980 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6981 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6982 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6983 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6984 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6985 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6986 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6987 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6988 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6989 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6990 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6991 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6992 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6993 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6994 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6995 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6996 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6997 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6998 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6999 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7000 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7001 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7002 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7003 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7004 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7005 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7006 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
7007 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7008 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7009 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7010 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7011 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7012 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7013 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7014 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7015 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7016 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7017 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7018 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7019 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7020 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7021 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7022 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7023 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7024 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7025 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
7026 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7027 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7028 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7029 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7030 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7031 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7032 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7033 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7034 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7035 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7036 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7037 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7038 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7039 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7040 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7041 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7042 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7043 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7044 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7045 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
7046 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7047 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7048 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7049 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7050 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7051 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7052 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7053 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
7054 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7055 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7056 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7057 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7058 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7059 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
7060 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7061 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7062 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7063 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7064 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7065 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
7066 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7067 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7068 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
7069 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7070 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7071 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7072 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7073 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
7074 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7075 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7076 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7077 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
7078 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7079 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7080 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7081 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7082 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7083 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7084 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7085 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7086 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7087 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7088 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7089 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7090 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7091 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7092 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7093 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7094 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7095 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7096 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7097 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7098 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7099 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7100 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7101 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7102 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7103 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7104 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7105 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7106 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7107 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7108 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7109 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7110 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7111 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7112 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7113 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7114 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7115 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7116 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7117 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7118 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7119 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7120 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7121 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7122 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7123 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7124 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7125 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7126 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7127 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7128 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7129 * sysdeps/ieee754/s_lib_version.c: Likewise.
7130 * sysdeps/ieee754/s_matherr.c: Likewise.
7131 * sysdeps/ieee754/s_signgam.c: Likewise.
7132 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7133 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7134 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7135 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7136 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7137 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7138 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7139 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7140 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7141 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7142 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7143 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7144 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7145 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7146 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7147 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7148 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7149 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7150 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7151 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7152 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 7153
1991fa03
JM
71542012-03-09 Joseph Myers <joseph@codesourcery.com>
7155
7156 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7157 * sunrpc/rpc_main.c: Likewise.
7158 * sunrpc/rpc_svcout.c: Likewise.
7159
60d6f5a6
DM
71602012-03-09 David S. Miller <davem@davemloft.net>
7161
7162 * include/math_private.h: New file.
7163
4962050e
JM
71642012-03-09 Joseph Myers <joseph@codesourcery.com>
7165
02a6f887
JM
7166 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7167 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7168 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7169 from <bits/socket_type.h>.
7170 (enum __socket_type): Don't define here.
7171 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7172 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7173 bits/socket_type.h.
7174
c6e013c1
JM
7175 [BZ #13566]
7176 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7177 checking __USE_GNU.
7178
4962050e
JM
7179 * Makerules ($(inst_includedir)/%.h): New rule.
7180 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7181 (install-others): Remove variable setting.
7182 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7183
38842f45
RH
71842012-03-08 Richard Henderson <rth@twiddle.net>
7185
67bb6da6
RH
7186 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7187 from macro to inline function; merge with the
7188 !__LIBC_INTERNAL_MATH_INLINES version.
7189 (__ieee754_sqrtf): Likewise.
7190
15194b4b
RH
7191 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7192 to inline function.
7193 (__rintf, __floor, __floorf): Likewise.
7194
64e21ede
RH
7195 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7196 macro to inline function.
7197 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7198
38842f45
RH
7199 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7200 not <math/math_private.h>.
7201
c64bf5fe
DM
72022012-03-08 David S. Miller <davem@davemloft.net>
7203
7204 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7205 copyright year.
7206 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7207
82d86f28
TS
72082012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7209
7210 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7211 normalization.
7212 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7213 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7214
aea5d727
UD
72152012-03-08 Ulrich Drepper <drepper@gmail.com>
7216
7217 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7218 be defined individually, they must be defined as a block. Define
7219 S for printing a string instead of hidint the different by using a
7220 macro for adding the 'l'.
7221 * stdio-common/tst-fphex-wide.c: Adjust.
7222
70bca0a3
MP
72232012-03-07 Marek Polacek <polacek@redhat.com>
7224
7225 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7226
65b81130
MP
72272012-03-08 Marek Polacek <polacek@redhat.com>
7228
7229 [BZ #13806]
7230 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7231 * stdio-common/tst-fphex.c: Define a few macros to make the
7232 test reusable. Use them.
7233 * stdio-common/tst-fphex-wide.c: New file.
7234
07037eeb
JM
72352012-03-08 Joseph Myers <joseph@codesourcery.com>
7236
a7a93d50
JM
7237 [BZ #6911]
7238 * manual/macros.texi (gnusystems): New macro.
7239 (nongnusystems): Likewise.
7240 (gnulinuxhurdsystems): Likewise.
7241 (gnuhurdsystems): Likewise..
7242 (gnulinuxsystems): Likewise.
7243 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7244 variants of the GNU system, not "GNU system".
7245 * manual/conf.texi: Likewise.
7246 * manual/errno.texi: Likewise. Update example of errno macro
7247 expansion.
7248 * manual/filesys.texi: Likewise.
7249 (getumask): Document as specific to GNU/Hurd.
7250 * manual/install.texi: Likewise. Reword some references to
7251 GNU/Linux.
7252 * manual/intro.texi: Likewise.
7253 * manual/io.texi: Likewise.
7254 (File Name Portability): Detail which constraints are inapplicable
7255 to all GNU systems and which are only inapplicable to GNU/Hurd.
7256 * manual/job.texi: Likewise.
7257 * manual/llio.texi: Likewise.
7258 (O_NOCTTY): Document as present on GNU/Linux.
7259 * manual/maint.texi: Likewise.
7260 * manual/memory.texi: Likewise.
7261 * manual/pattern.texi: Likewise.
7262 * manual/pipe.texi: Likewise.
7263 * manual/process.texi: Likewise.
7264 * manual/resource.texi: Likewise.
7265 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7266 child on GNU/Hurd.
7267 * manual/setjmp.texi: Likewise.
7268 * manual/signal.texi: Likewise.
7269 * manual/startup.texi: Likewise.
7270 * manual/stdio.texi: Likewise.
7271 * manual/terminal.texi: Likewise.
7272 (ONLCR): Document as POSIX.
7273 (OXTABS): Document availability on GNU/Linux as XTABS.
7274 (ONOEOT): Document availability separately from other bits.
7275 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7276 * manual/time.texi: Likewise.
7277 * manual/users.texi: Likewise.
7278 * INSTALL: Regenerated.
7279 * sysdeps/gnu/errlist.c: Regenerated.
7280
07037eeb
JM
7281 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7282 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7283 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7284 puts.
7285 * configure: Regenerated.
7286
d1d3431a
JM
72872012-03-07 Joseph Myers <joseph@codesourcery.com>
7288
af6a1e37
JM
7289 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7290 default includes instead of AC_HEADER_CHECK.
7291 * sysdeps/i386/configure: Regenerated.
7292
d1d3431a
JM
7293 [BZ #10716]
7294 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7295 * math/s_cacoshf.c (__cacoshf): Likewise.
7296 * math/s_cacoshl.c (__cacoshl): Likewise.
7297 * math/s_casinh.c (__casinh): Set signs of result from argument.
7298 * math/s_casinhf.c (__casinhf): Likewise.
7299 * math/s_casinhl.c (__casinhl): Likewise.
7300 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7301 (casinh_test): Add more tests.
7302 * sysdeps/i386/fpu/libm-test-ulps: Update.
7303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7304
482ff4da
UD
73052012-03-07 Ulrich Drepper <drepper@gmail.com>
7306
872fda05
UD
7307 * po/zh_TW.po: Update from translation team.
7308
a4300c7a
UD
7309 * login/Makefile (distribute): Remove variable.
7310 * catgets/Makefile: Likewise.
7311 * mach/Makefile: Likewise.
7312 * malloc/Makefile: Likewise.
7313 * misc/Makefile: Likewise.
7314 * iconv/Makefile: Likewise.
7315 * nscd/Makefile: Likewise.
7316 * hurd/Makefile: Likewise.
7317 * manual/Makefile: Likewise.
7318 * locale/Makefile: Likewise.
7319 * intl/Makefile: Likewise.
7320 * conform/Makefile: Likewise.
7321 * nss/Makefile: Likewise.
7322 * time/Makefile: Likewise.
7323 * soft-fp/Makefile: Likewise.
7324 * dirent/Makefile: Likewise.
7325 * gmon/Makefile: Likewise.
7326 * po/Makefile: Likewise.
7327 * rt/Makefile: Likewise.
7328 * socket/Makefile: Likewise.
7329 * math/Makefile: Likewise.
7330 * signal/Makefile: Likewise.
7331 * debug/Makefile: Likewise.
7332 * elf/Makefile: Likewise.
7333 * timezone/Makefile: Likewise.
7334 * stdlib/Makefile: Likewise.
7335 * iconvdata/Makefile: Likewise.
7336 * sunrpc/Makefile: Likewise.
7337 * io/Makefile: Likewise.
7338 * argp/Makefile: Likewise.
7339 * inet/Makefile: Likewise.
7340 * hesiod/Makefile: Likewise.
7341 * grp/Makefile: Likewise.
7342 * csu/Makefile: Likewise.
7343 * wctype/Makefile: Likewise.
7344 * crypt/Makefile: Likewise.
7345 * libio/Makefile: Likewise.
7346 * string/Makefile: Likewise.
7347 * nis/Makefile: Likewise.
7348 * resolv/Makefile: Likewise.
7349 * stdio-common/Makefile: Likewise.
7350 * wcsmbs/Makefile: Likewise.
7351 * dlfcn/Makefile: Likewise.
7352 * posix/Makefile: Likewise.
7353
3b7c4e74 7354 [BZ #6959]
482ff4da
UD
7355 * timezone/Makefile: Don't install timezone files, just the programs
7356 and scripts.
7357
f72ed77d
UD
73582012-03-06 Ulrich Drepper <drepper@gmail.com>
7359
a000466f
UD
7360 * nss/databases.def: Add missing gshadow entry.
7361
f72ed77d
UD
7362 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7363
a53b7a4e
MP
73642012-03-06 Marek Polacek <polacek@redhat.com>
7365
7366 [BZ #13726]
7367 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7368 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7369 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7370 * stdio-common/tst-long-dbl-fphex.c: New file.
7371
e9258400
DM
73722012-03-06 David S. Miller <davem@davemloft.net>
7373
7374 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7375 (set_obp_int): New function.
7376 (get_obp_int): New function.
7377 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
7378 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7379 Avoid unused variable warnings on 'val' and use builtin_expect.
7380 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7381 __builtin_expect.
e9258400
DM
7382 (INLINE_CLONE_SYSCALL): Likewise.
7383
3bd2c723
DM
73842012-03-05 David S. Miller <davem@davemloft.net>
7385
7386 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7387
bbb78d03
AS
73882012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7389
884c5db4
AS
7390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7391
bbb78d03
AS
7392 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7393 only for |x| >= 40.
7394 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7395
1c9f702a 73962012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
7397
7398 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7399 Replace gettimeofday with __vdso_gettimeofday.
7400
7be16f82
RM
7401 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7402 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7403 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
7404
7405 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7406 time with __vdso_time.
7407
ed58a00f
JM
74082012-03-05 Joseph Myers <joseph@codesourcery.com>
7409
7410 * manual/lang.texi (size_t): Note types to which size_t may be
7411 equivalent with the GNU C Library, but do not describe when
7412 differences between them are significant.
7413
30ee4ced
AJ
74142012-03-05 Andreas Jaeger <aj@suse.de>
7415
7416 * sysdeps/i386/fpu/libm-test-ulps: Update.
7417
b7cd39e8
JM
74182012-03-05 Joseph Myers <joseph@codesourcery.com>
7419
7420 [BZ #3976]
7421 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7422 (__ieee754_pow): Save and restore rounding mode and use
7423 round-to-nearest for main computations.
7424 * math/libm-test.inc (pow_test_tonearest): New function.
7425 (pow_test_towardzero): Likewise.
7426 (pow_test_downward): Likewise.
7427 (pow_test_upward): Likewise.
7428 (main): Call the new functions.
7429 * sysdeps/i386/fpu/libm-test-ulps: Update.
7430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
7431
7432 [BZ #3976]
7433 * math/libm-test.inc (cosh_test_tonearest): New function.
7434 (cosh_test_towardzero): Likewise.
7435 (cosh_test_downward): Likewise.
7436 (cosh_test_upward): Likewise.
7437 (sinh_test_tonearest): Likewise.
7438 (sinh_test_towardzero): Likewise.
7439 (sinh_test_downward): Likewise.
7440 (sinh_test_upward): Likewise.
7441 (main): Call the new functions.
7442 * sysdeps/i386/fpu/libm-test-ulps: Update.
7443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7444
6c6a98c9
TV
74452012-03-05 Tom de Vries <tom@codesourcery.com>
7446
7447 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7448 default stack guard is set in last bytes.
7449 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7450
21bb2d2e 74512012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 7452
21bb2d2e 7453 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 7454
21bb2d2e
AJ
7455 [BZ #13656]
7456 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7457 possibly allocate from heap instead of stack.
7458 * stdio-common/bug-vfprintf-nargs.c: New file.
7459 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 7460
c6922934
AS
74612012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7462
7463 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7464
bc957d53
MP
74652012-03-03 Marek Polacek <polacek@redhat.com>
7466
7467 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7468 * math/math_private.h: Likewise.
7469 * stdlib/tst-strtod.c: Likewise.
7470 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7471 * sysdeps/x86_64/bits/atomic.h: Likewise.
7472
6358490d
DM
74732012-03-02 David S. Miller <davem@davemloft.net>
7474
7475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7479 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7480 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7481 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7482 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7483
01ae168d
RM
74842012-03-02 Roland McGrath <roland@hack.frob.com>
7485
d9a17c07
RM
7486 [BZ #13792]
7487 * manual/examples/README: New file, says the example source files
7488 can be used under GPL>=2.
7489 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7490 line containing just "*/".
7491 * manual/examples/add.c: Add copyright header (GPL>=2).
7492 * manual/examples/argp-ex1.c: Likewise.
7493 * manual/examples/argp-ex2.c: Likewise.
7494 * manual/examples/argp-ex3.c: Likewise.
7495 * manual/examples/argp-ex4.c: Likewise.
7496 * manual/examples/atexit.c: Likewise.
7497 * manual/examples/db.c: Likewise.
7498 * manual/examples/dir.c: Likewise.
7499 * manual/examples/dir2.c: Likewise.
7500 * manual/examples/execinfo.c: Likewise.
7501 * manual/examples/filecli.c: Likewise.
7502 * manual/examples/filesrv.c: Likewise.
7503 * manual/examples/fmtmsgexpl.c: Likewise.
7504 * manual/examples/genpass.c: Likewise.
7505 * manual/examples/inetcli.c: Likewise.
7506 * manual/examples/inetsrv.c: Likewise.
7507 * manual/examples/isockad.c: Likewise.
7508 * manual/examples/longopt.c: Likewise.
7509 * manual/examples/memopen.c: Likewise.
7510 * manual/examples/memstrm.c: Likewise.
7511 * manual/examples/mkfsock.c: Likewise.
7512 * manual/examples/mkisock.c: Likewise.
7513 * manual/examples/mygetpass.c: Likewise.
7514 * manual/examples/pipe.c: Likewise.
7515 * manual/examples/popen.c: Likewise.
7516 * manual/examples/rprintf.c: Likewise.
7517 * manual/examples/search.c: Likewise.
7518 * manual/examples/select.c: Likewise.
7519 * manual/examples/setjmp.c: Likewise.
7520 * manual/examples/sigh1.c: Likewise.
7521 * manual/examples/sigusr.c: Likewise.
7522 * manual/examples/stpcpy.c: Likewise.
7523 * manual/examples/strdupa.c: Likewise.
7524 * manual/examples/strftim.c: Likewise.
7525 * manual/examples/strncat.c: Likewise.
7526 * manual/examples/subopt.c: Likewise.
7527 * manual/examples/swapcontext.c: Likewise.
7528 * manual/examples/termios.c: Likewise.
7529 * manual/examples/testopt.c: Likewise.
7530 * manual/examples/testpass.c: Likewise.
7531 * manual/examples/timeval_subtract.c: Likewise.
7532
01ae168d
RM
7533 [BZ #13792]
7534 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7535 function to ...
7536 * manual/timeval_subtract.c.texi: ... here, new file.
7537
49efa33d
DM
75382012-03-02 David S. Miller <davem@davemloft.net>
7539
7540 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7541
28afd92d
JM
75422012-03-02 Joseph Myers <joseph@codesourcery.com>
7543
804360ed
JM
7544 [BZ #3976]
7545 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7546 (__sin): Save and restore rounding mode and use round-to-nearest
7547 for all computations.
7548 (__cos): Save and restore rounding mode and use round-to-nearest
7549 for all computations.
7550 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7551 <fenv.h>.
7552 (tan): Save and restore rounding mode and use round-to-nearest for
7553 all computations.
7554 * math/libm-test.inc (cos_test_tonearest): New function.
7555 (cos_test_towardzero): Likewise.
7556 (cos_test_downward): Likewise.
7557 (cos_test_upward): Likewise.
7558 (sin_test_tonearest): Likewise.
7559 (sin_test_towardzero): Likewise.
7560 (sin_test_downward): Likewise.
7561 (sin_test_upward): Likewise.
7562 (tan_test_tonearest): Likewise.
7563 (tan_test_towardzero): Likewise.
7564 (tan_test_downward): Likewise.
7565 (tan_test_upward): Likewise.
7566 (main): Call the new functions.
7567 * sysdeps/i386/fpu/libm-test-ulps: Update.
7568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7569
a6d06d7b
JM
7570 [BZ #10135]
7571 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7572 small n, then large n, before computing and testing k+n.
7573 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7574 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7575 Likewise.
7576 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7577 Likewise.
7578 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7579 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7580 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7581 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7582 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7583 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7584 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7585 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7586 * math/libm-test.inc (scalbn_test): Add more tests.
7587 (scalbln_test): Likewise.
7588
07e12bb3
JM
7589 * manual/filesys.texi (mode_t): Describe constraints on size and
7590 signedness, not exact equivalence to a particular type.
7591 (ino_t): Likewise.
7592 (ino64_t): Likewise.
7593 (dev_t): Likewise.
7594 (nlink_t): Likewise.
7595 (blkcnt_t): Likewise.
7596 (blkcnt64_t): Likewise.
7597 * manual/llio.texi (off_t): Likewise.
7598
28afd92d
JM
7599 [BZ #3976]
7600 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7601 (__ieee754_exp): Save and restore rounding mode and use
7602 round-to-nearest for all computations.
7603 * math/libm-test.inc (exp_test_tonearest): New function.
7604 (exp_test_towardzero): Likewise.
7605 (exp_test_downward): Likewise.
7606 (exp_test_upward): Likewise.
7607 (main): Call the new functions.
7608 * sysdeps/i386/fpu/libm-test-ulps: Update.
7609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7610
b1eeb65d
CD
76112012-03-01 Chris Demetriou <cgd@google.com>
7612
7613 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7614 have predictable order.
7615
53362a4b
DM
76162012-03-01 David S. Miller <davem@davemloft.net>
7617
3c969083
DM
7618 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7619
759707de
DM
7620 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7621 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7622 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7623 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7624
dfdb8ff2
DM
7625 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7626 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7627 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7629 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7630 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7631 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7632 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7633 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7634
ead89f96
DM
7635 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7636
7f66bd07
DM
7637 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7638 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7639 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7640
53362a4b
DM
7641 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7642 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7643 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7644 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7645 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7646 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7647 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7648 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7649 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7650 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7651 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7652 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7653 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7654 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7655 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7656 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7657 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7658 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7659 * sysdeps/sparc/elf/configure: Regenerated.
7660
7b1902cb
JM
76612012-03-01 Joseph Myers <joseph@codesourcery.com>
7662
bec039bc
JM
7663 * configure.in (AS, LD): Require binutils 2.20 or later.
7664 * configure: Regenerated.
7665 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7666 as required minimum version.
7667 * INSTALL: Regenerated.
7668
7b1902cb
JM
7669 [BZ #2541]
7670 [BZ #4108]
7671 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7672 before squaring exponent.
7673 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7674 bottom long double and 27 bits of top long double before squaring
7675 exponent.
7676 * math/libm-test.inc (erfc_test): Add more tests.
7677 * sysdeps/i386/fpu/libm-test-ulps: Update.
7678 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7680
f775c276
KT
76812012-03-01 Kai Tietz <ktietz@redhat.com>
7682
7683 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7684 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7685 containing bit-fields.
7686 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7687 * soft-fp/single.h (_FP_UNION_S): Likewise.
7688 * soft-fp/double.h (_FP_UNION_D): Likewise.
7689
5b8a4d4a
JM
76902012-02-29 Joseph Myers <joseph@codesourcery.com>
7691
0bab47b6
JM
7692 [BZ #13786]
7693 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7694 not include ../strcmp.S.
7695 [USE_AS_STRNCASECMP_L]: Likewise.
7696 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7697 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7698 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7699 (__strncasecmp_l_ia32): Define as alias to
7700 __strncasecmp_l_nonascii.
7701
0fcad3e2
JM
7702 [BZ #5794]
7703 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7704 * sysdeps/i386/fpu/libm-test-ulps: Update.
7705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7706
5b8a4d4a
JM
7707 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7709
8fdceb2e
JL
77102012-02-29 Jeff Law <law@redhat.com>
7711
7712 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7713 out of bounds read.
7714
1f393a11
MP
77152012-02-29 Marek Polacek <polacek@redhat.com>
7716
7717 [BZ #13706]
7718 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7719 * elf/Makefile: Add rules to run tst-unused-dep.out.
7720
8847f037
DM
77212012-02-28 David S. Miller <davem@davemloft.net>
7722
7723 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7724 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7725 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7726 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7727 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7728 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7729
169d7f11
JM
77302012-02-29 Joseph Myers <joseph@codesourcery.com>
7731
7732 * math/libm-test.inc (llround_test): Move one test from
7733 lround_test. Use TEST_f_L in moved test.
7734 (lround_test): Move misplaced test to llround_test. Add testcase
7735 from bug 2561.
7736
39adf059
UD
77372012-02-28 Ulrich Drepper <drepper@gmail.com>
7738
7739 * sysdeps/x86_64/fpu/e_expf.S: New file.
7740 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7741
71b5d1c5
SB
77422012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7743
7744 [BZ #13637]
7745 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7746 of remain_len that may cause incomplete multi-byte character and
7747 false match.
7748 * posix/bug-regex33.c: New file.
7749 * posix/Makefile (tests): Add bug-regex33.
7750
1f77f049
JM
77512012-02-28 Joseph Myers <joseph@codesourcery.com>
7752
7753 * manual/macros.texi: New file.
7754 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7755 * manual/libc.texinfo: Include macros.texi.
7756 * manual/creatute.texi: Likewise.
7757 * manual/install.texi: Likewise.
7758 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7759 @glibcadj{} in references to the GNU C Library.
7760 * manual/charset.texi: Likewise.
7761 * manual/conf.texi: Likewise.
7762 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7763 when not using those macros.
7764 * manual/creature.texi: Likewise.
7765 * manual/crypt.texi: Likewise.
7766 * manual/errno.texi: Likewise.
7767 * manual/filesys.texi: Likewise.
7768 * manual/header.texi: Likewise.
7769 * manual/install.texi: Likewise.
7770 * manual/intro.texi: Likewise.
7771 * manual/io.texi: Likewise.
7772 * manual/job.texi: Likewise.
7773 * manual/lang.texi: Likewise.
7774 * manual/libc.texiinfo: Likewise.
7775 * manual/llio.texi: Likewise.
7776 * manual/locale.texi: Likewise.
7777 * manual/maint.texi: Likewise.
7778 * manual/math.texi: Likewise.
7779 * manual/memory.texi: Likewise.
7780 * manual/message.texi: Likewise.
7781 * manual/nss.texi: Likewise.
7782 * manual/pattern.texi: Likewise.
7783 * manual/process.texi: Likewise.
7784 * manual/resource.texi: Likewise.
7785 * manual/search.texi: Likewise.
7786 * manual/setjmp.texi: Likewise.
7787 * manual/signal.texi: Likewise.
7788 * manual/socket.texi: Likewise.
7789 * manual/startup.texi: Likewise.
7790 * manual/stdio.texi: Likewise.
7791 * manual/string.texi: Likewise.
7792 * manual/sysinfo.texi: Likewise.
7793 * manual/syslog.texi: Likewise.
7794 * manual/terminal.texi: Likewise.
7795 * manual/time.texi: Likewise.
7796 * manual/users.texi: Likewise.
7797 * INSTALL: Regenerated.
7798 * NOTES: Regenerated.
d40c5d54 7799 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 7800
450bf206
AS
78012012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7802
7803 * include/dirent.h: Include <dirstream.h> before
7804 <dirent/dirent.h>.
7805
741a235b
DM
78062012-02-28 David S. Miller <davem@davemloft.net>
7807
7808 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7809 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7810 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7811 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7812
d6b5aa58
DM
78132012-02-27 David S. Miller <davem@davemloft.net>
7814
1aff59a3
DM
7815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7817 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7818 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7819
d6b5aa58
DM
7820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7821 frame pointer instead of stack pointer relative arg slot.
7822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7823 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7824 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7825
433f48bf
CD
78262012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7827
7828 [BZ #3992]
7829 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7830
d674b76d
DM
78312012-02-27 David S. Miller <davem@davemloft.net>
7832
7833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7837 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7838 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7839 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7840 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7841
0e7727f7
JM
78422012-02-27 Joseph Myers <joseph@codesourcery.com>
7843
7844 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7845 later. Allow versions 5-9.
43be4ca2 7846 * configure: Regenerated.
0e7727f7
JM
7847 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7848 required minimum version and 4.6 as recommended version. Do not
7849 mention bugs in GCC 2.7 and 2.8.
43be4ca2 7850 * INSTALL: Regenerated.
0e7727f7 7851
a78bc654
DM
78522012-02-27 David S. Miller <davem@davemloft.net>
7853
428d5830
DM
7854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7858 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7859 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7860 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7861 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7862
a78bc654
DM
7863 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7864 manipulate bits before adding and subtracting TWO112[sx].
7865 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7866
4579f81c
RM
78672012-02-27 Roland McGrath <roland@hack.frob.com>
7868
36c8acb4
RM
7869 [BZ #13775]
7870 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7871 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7872 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7873 being in POSIX, because they are in 1003.1-2008.
7874
84ad622b
RM
7875 * rt/tst-aio.c: Include <fcntl.h>.
7876 * rt/tst-aio7.c: Likewise.
7877 * rt/tst-aio64.c: Likewise.
7878
4579f81c
RM
7879 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7880
abd923db
JM
78812012-02-27 Joseph Myers <joseph@codesourcery.com>
7882
7883 * manual/install.texi (--with-headers): Describe headers as
7884 interface headers, not private headers.
7885 (Specific advice for GNU/Linux systems): Describe use of headers
7886 from "make headers_install", not private headers from older
7887 kernels.
43be4ca2 7888 * INSTALL: Regenerated.
abd923db
JM
7889 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7890 Change to 2.6.19.
7891 * sysdeps/unix/sysv/linux/configure: Regenerated.
7892
6664049b
JM
7893 * manual/llio.texi (fclean): Remove documentation.
7894
bb8b6697
JM
7895 * manual/Makefile (libc-texi-generated): New variable. Include
7896 version.texi.
7897 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7898 $(libc-texi-generated), not duplicated list of files.
7899 (version.texi, stamp-version): New rules.
7900 (realclean): Remove $(libc-texi-generated), not individual files
7901 from that list. Do not remove dir-add.texinfo.
7902 * manual/libc.texinfo: Comment out uses of edition numbers and
7903 references to printed manual. Remove last-updated dates.
7904 (EDITION): Comment out.
7905 (ISBN): Likewise.
7906 (VERSION, UPDATED): Remove.
7907 (version.texi): Include.
7908
12e5c3b9
AS
79092012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7910
7911 * sysdeps/posix/spawni.c: Include <signal.h>.
7912 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7913 * sysdeps/pthread/aio_fsync.c: Likewise.
7914
4efeffc1 79152012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 7916
ba63ba08
UD
7917 * conform/Makefile (tests): Run only when not cross-compiling and
7918 when fast-check is not defined.
7919
d94a4670
UD
7920 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7921 * conform/data/limits.h-data: Fixes for POSIX2008.
7922 * conform/run-conformtest.sh: Run all tests.
7923 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7924 headers.
7925 * include/bits/dlfcn.h: Likewise.
7926 * include/langinfo.h: Likewise.
7927 * include/monetary.h: Likewise.
7928 * include/sys/poll.h: Likewise.
7929
7930 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7931 for __USE_GNU.
7932 * posix/spawn.h: Define __need_sigset_t.
7933 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7934 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7935 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7936 to get sigevent_t only.
7937 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7938 only for __USE_GNU.
7939 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7940 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7941 process_vm_writev only for __USE_GNU.
7942 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
7943
7944 * conform/Makefile: For now ignore errors from run-conformtest.
7945 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7946 POSIX to avoid namespace pollution. Don't prepend headers.
7947 * conform/data/aio.h-data: Fixes for POSIX testing.
7948 * conform/data/fcntl.h-data: Likewise.
7949 * conform/data/glob.h-data: Likewise.
7950 * conform/data/grp.h-data: Likewise.
7951 * conform/data/pthread.h-data: Likewise.
7952 * conform/data/pwd.h-data: Likewise.
7953 * conform/data/signal.h-data: Likewise.
7954 * conform/data/spawn.h-data: Likewise.
7955 * conform/data/stdio.h-data: Likewise.
7956 * conform/data/stdlib.h-data: Likewise.
7957 * conform/data/stropts.h-data: Likewise.
7958 * conform/data/sys/mman.h-data: Likewise.
7959 * conform/data/sys/stat.h-data: Likewise.
7960 * conform/data/sys/types.h-data: Likewise.
7961 * conform/data/sys/wait.h-data: Likewise.
7962 * conform/data/time.h-data: Likewise.
7963 * conform/data/unistd.h-data: Likewise.
7964 * conform/data/utime.h-data: Likewise.
7965
7966 * io/sys/stat.h: fchmod was always in POSIX.
7967 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7968 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7969 * rt/aio.h: Define __need_timespec before including <time.h>.
7970 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7971 struct. Add forward declaration of pthread_attr_t and use it in
7972 sigevent.
7973 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7974 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7975 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7976 always remove CLK_TCK definition.
7977
c20105c3
AS
79782012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7979
7980 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7981
7a270350
UD
79822012-02-25 Ulrich Drepper <drepper@gmail.com>
7983
31341567
UD
7984 * conform/run-conformtest.sh: New file.
7985 * conform/Makefile: Run run-conformtest for tests.
7986 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7987 support.
7988
7989 * conform/data/uchar.h-data: New file.
7990 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7991 * conform/data/arpa/inet.h-data: Likewise.
7992 * conform/data/assert.h-data: Likewise.
7993 * conform/data/complex.h-data: Likewise.
7994 * conform/data/cpio.h-data: Likewise.
7995 * conform/data/ctype.h-data: Likewise.
7996 * conform/data/dirent.h-data: Likewise.
7997 * conform/data/dlfcn.h-data: Likewise.
7998 * conform/data/errno.h-data: Likewise.
7999 * conform/data/fcntl.h-data: Likewise.
8000 * conform/data/float.h-data: Likewise.
8001 * conform/data/fmtmsg.h-data: Likewise.
8002 * conform/data/fnmatch.h-data: Likewise.
8003 * conform/data/ftw.h-data: Likewise.
8004 * conform/data/glob.h-data: Likewise.
8005 * conform/data/grp.h-data: Likewise.
8006 * conform/data/iconv.h-data: Likewise.
8007 * conform/data/inttypes.h-data: Likewise.
8008 * conform/data/langinfo.h-data: Likewise.
8009 * conform/data/libgen.h-data: Likewise.
8010 * conform/data/limits.h-data: Likewise.
8011 * conform/data/locale.h-data: Likewise.
8012 * conform/data/math.h-data: Likewise.
8013 * conform/data/monetary.h-data: Likewise.
8014 * conform/data/mqueue.h-data: Likewise.
8015 * conform/data/ndbm.h-data: Likewise.
8016 * conform/data/net/if.h-data: Likewise.
8017 * conform/data/netdb.h-data: Likewise.
8018 * conform/data/netinet/in.h-data: Likewise.
8019 * conform/data/nl_types.h-data: Likewise.
8020 * conform/data/poll.h-data: Likewise.
8021 * conform/data/pthread.h-data: Likewise.
8022 * conform/data/pwd.h-data: Likewise.
8023 * conform/data/regex.h-data: Likewise.
8024 * conform/data/sched.h-data: Likewise.
8025 * conform/data/search.h-data: Likewise.
8026 * conform/data/semaphore.h-data: Likewise.
8027 * conform/data/setjmp.h-data: Likewise.
8028 * conform/data/signal.h-data: Likewise.
8029 * conform/data/spawn.h-data: Likewise.
8030 * conform/data/stdarg.h-data: Likewise.
8031 * conform/data/stdio.h-data: Likewise.
8032 * conform/data/stdlib.h-data: Likewise.
8033 * conform/data/string.h-data: Likewise.
8034 * conform/data/strings.h-data: Likewise.
8035 * conform/data/stropts.h-data: Likewise.
8036 * conform/data/sys/ipc.h-data: Likewise.
8037 * conform/data/sys/mman.h-data: Likewise.
8038 * conform/data/sys/msg.h-data: Likewise.
8039 * conform/data/sys/resource.h-data: Likewise.
8040 * conform/data/sys/select.h-data: Likewise.
8041 * conform/data/sys/sem.h-data: Likewise.
8042 * conform/data/sys/shm.h-data: Likewise.
8043 * conform/data/sys/socket.h-data: Likewise.
8044 * conform/data/sys/stat.h-data: Likewise.
8045 * conform/data/sys/statvfs.h-data: Likewise.
8046 * conform/data/sys/time.h-data: Likewise.
8047 * conform/data/sys/timeb.h-data: Likewise.
8048 * conform/data/sys/times.h-data: Likewise.
8049 * conform/data/sys/types.h-data: Likewise.
8050 * conform/data/sys/uio.h-data: Likewise.
8051 * conform/data/sys/un.h-data: Likewise.
8052 * conform/data/sys/utsname.h-data: Likewise.
8053 * conform/data/sys/wait.h-data: Likewise.
8054 * conform/data/syslog.h-data: Likewise.
8055 * conform/data/tar.h-data: Likewise.
8056 * conform/data/termios.h-data: Likewise.
8057 * conform/data/utime.h-data: Likewise.
8058 * conform/data/utmpx.h-data: Likewise.
8059 * conform/data/varargs.h-data: Likewise.
8060 * conform/data/wchar.h-data: Likewise.
8061 * conform/data/wctype.h-data: Likewise.
8062 * conform/data/wordexp.h-data: Likewise.
8063
8064 * include/stropts.h: New file.
8065 * include/uchar.h: New file.
8066 * include/aio.h: Changes to allow conformtest.pl to use the headers.
8067 * include/assert.h: Likewise.
8068 * include/ctype.h: Likewise.
8069 * include/dirent.h: Likewise.
8070 * include/dlfcn.h: Likewise.
8071 * include/fcntl.h: Likewise.
8072 * include/fnmatch.h: Likewise.
8073 * include/glob.h: Likewise.
8074 * include/grp.h: Likewise.
8075 * include/libio.h: Likewise.
8076 * include/locale.h: Likewise.
8077 * include/math.h: Likewise.
8078 * include/net/if.h: Likewise.
8079 * include/netdb.h: Likewise.
8080 * include/netinet/in.h: Likewise.
8081 * include/pthread.h: Likewise.
8082 * include/pwd.h: Likewise.
8083 * include/regex.h: Likewise.
8084 * include/sched.h: Likewise.
8085 * include/search.h: Likewise.
8086 * include/setjmp.h: Likewise.
8087 * include/signal.h: Likewise.
8088 * include/stdio.h: Likewise.
8089 * include/stdlib.h: Likewise.
8090 * include/string.h: Likewise.
8091 * include/sys/cdefs.h: Likewise.
8092 * include/sys/mman.h: Likewise.
8093 * include/sys/msg.h: Likewise.
8094 * include/sys/resource.h: Likewise.
8095 * include/sys/select.h: Likewise.
8096 * include/sys/socket.h: Likewise.
8097 * include/sys/stat.h: Likewise.
8098 * include/sys/statvfs.h: Likewise.
8099 * include/sys/time.h: Likewise.
8100 * include/sys/times.h: Likewise.
8101 * include/sys/uio.h: Likewise.
8102 * include/sys/utsname.h: Likewise.
8103 * include/sys/wait.h: Likewise.
8104 * include/termios.h: Likewise.
8105 * include/time.h: Likewise.
8106 * include/ulimit.h: Likewise.
8107 * include/unistd.h: Likewise.
8108 * include/utime.h: Likewise.
8109 * include/wchar.h: Likewise.
8110 * include/wctype.h: Likewise.
8111 * include/wordexp.h: Likewise.
8112
8113 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8114
7a270350
UD
8115 * time/time.h: TIME_UTC must be a macro.
8116 Make timespec_get available for ISO C11 only as well.
8117
7724defc
UD
81182012-02-24 Ulrich Drepper <drepper@gmail.com>
8119
8120 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8121 Reported by Peng Haitao <penght@cn.fujitsu.com>.
8122
6b1d1d46
JM
81232012-02-24 Joseph Myers <joseph@codesourcery.com>
8124
8125 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 8126
0f8bbd69
JM
81272012-02-24 Joseph Myers <joseph@codesourcery.com>
8128
8129 * manual/texinfo.tex: Update to version 2012-01-19.16.
8130
66ab80bc
JM
81312012-02-24 Joseph Myers <joseph@codesourcery.com>
8132
8133 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8134
74981cc5
RM
81352012-02-24 Roland McGrath <roland@hack.frob.com>
8136
ee968201
RM
8137 [BZ #13738]
8138 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8139 * manual/fdl-1.3.texi: New file.
8140 * manual/fdl-1.1.texi: File removed.
8141
74981cc5
RM
8142 [BZ #13738]
8143 * manual/libc.texinfo (FDL_VERSION): New @set.
8144 Use it for mention of FDL in cover text.
8145 (Documentation License): Use it in @include file name.
8146
7bb764bc
JM
81472012-02-22 Joseph Myers <joseph@codesourcery.com>
8148 Roland McGrath <roland@hack.frob.com>
8149
8150 [BZ #5461]
8151 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8152 not LONG_LONG_MAX and LONG_LONG_MIN.
8153 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8154 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8155 name.
8156 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8157
6cbeae47
JM
81582012-02-22 Joseph Myers <joseph@codesourcery.com>
8159
8160 [BZ #2547]
8161 [BZ #11365]
8162 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8163 manipulate bits before adding and subtracting TWO23[sx].
8164 * math/libm-test.inc (nearbyint_test): Add more tests.
8165
fe45ce09
JM
81662012-02-22 Joseph Myers <joseph@codesourcery.com>
8167
8168 [BZ #2548]
8169 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8170 bits before adding and subtracting TWO23[sx].
8171 * math/libm-test.inc (rint_test): Add more tests.
8172 (rint_test_tonearest): Likewise.
8173 (rint_test_towardzero): Likewise.
8174 (rint_test_downward): Likewise.
8175 (rint_test_upward: Likewise.
8176
ff3b3d82
JM
81772012-02-22 Joseph Myers <joseph@codesourcery.com>
8178
8179 [BZ #10110]
8180 * include/stdc-predef.h: New file. Extracted from features.h.
8181 * include/features.h: Include stdc-predef.h.
8182 * Makefile (headers): Add stdc-predef.h.
8183 * CONFORMANCE (Compiler limitations): Update.
8184
ef0aab35
JM
81852012-02-22 Joseph Myers <joseph@codesourcery.com>
8186
8187 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8188
58639409
DM
81892012-02-21 David S. Miller <davem@davemloft.net>
8190
8191 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8192 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8193
c0e70b25
DM
81942012-02-20 David S. Miller <davem@davemloft.net>
8195
8196 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8197 using a normal save/restore sequence, rather than allocating a
8198 dummy stack frame just to store a frame pointer and restore.
8199 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8200
fb06851d
JM
82012012-02-21 Joseph Myers <joseph@codesourcery.com>
8202
8203 * manual/install.texi: Fix stray word in line-wrapped comment.
8204
7a8b71c3
DM
82052012-02-20 David S. Miller <davem@davemloft.net>
8206
d510c123
DM
8207 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8208 both binutils and gcc support GOTDATA.
8209
0722d7c2
DM
8210 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8211 "rd %pc" in the PIC register setup sequences.
8212
3d2b3019
DM
8213 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8214 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8215 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8216 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8217 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8218 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8219 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8220 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8221 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8222 (SYSCALL_ERROR_HANDLER): Likewise.
8223 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8224 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8225 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8226 (SYSCALL_ERROR_HANDLER): Likewise.
8227
c80098a9
DM
8228 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8229 (HAVE_GCC_GOTDATA): New.
8230 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8231 relocation support in both binutils and gcc.
8232 * sysdeps/sparc/elf/configure: Regenerate.
8233
3a2545a0
DM
8234 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8235 * sysdeps/sparc/sparc32/elf/configure: Delete.
8236 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8237 * sysdeps/sparc/sparc64/elf/configure: Delete.
8238 * sysdeps/sparc/elf/configure.in: New file.
8239 * sysdeps/sparc/elf/configure: Generate.
8240
7a8b71c3
DM
8241 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8242 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8243 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8244 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8245 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8246
f1e86fca
JM
82472012-02-21 Joseph Myers <joseph@codesourcery.com>
8248
8249 * manual/install.texi: Do not mention specific glibc version
8250 numbers.
8251 * manual/libc.texinfo (VERSION, UPDATED): Update.
8252 (@copying): Use @copyright{} and range of years.
8253
0e7dfaef
JM
82542012-02-21 Joseph Myers <joseph@codesourcery.com>
8255
8256 [BZ #13695]
8257 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8258 [crti.S not in sysdirs] (generated): Do not append.
8259 [crti.S not in sysdirs] (omit-deps): Likewise.
8260 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8261 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8262 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8263 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8264 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8265 Likewise.
8266 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8267 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8268 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8269 * csu/defs.awk: Remove file.
8270 * sysdeps/generic/initfini.c: Likewise.
8271 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8272 variable.
8273 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8274 Likewise.
8275
599af3ca
JM
82762012-02-20 Joseph Myers <joseph@codesourcery.com>
8277
8278 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8279 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8280 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8281 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8282 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8283 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8284 <bits/epoll.h>.
8285 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8286 (__EPOLL_PACKED): Define to empty if not defined by
8287 <bits/epoll.h>.
8288 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8289 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8290 bits/epoll.h.
8291
0e499750
JM
82922012-02-20 Joseph Myers <joseph@codesourcery.com>
8293
8294 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8295 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8296 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8297 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8298 <bits/timerfd.h>.
8299 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8300 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8301 bits/timerfd.h.
8302
5ad91f6e
JM
83032012-02-20 Joseph Myers <joseph@codesourcery.com>
8304
8305 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8306 in C locale.
8307 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8308 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8309 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8311
06b99b02
AJ
83122012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8313
8314 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8315 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8316
7638c0fd
AS
83172012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8318
8319 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8320 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8321 defined.
8322 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8323 Likewise.
8324 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8325 entry for 2.16.
8326
92221550
AJ
83272012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8328
8329 * math/w_acos.c: Use non-signaling floating-point comparisons.
8330 * math/w_acosf.c: Likewise.
8331 * math/w_acosh.c: Likewise.
8332 * math/w_acoshf.c: Likewise.
8333 * math/w_acoshl.c: Likewise.
8334 * math/w_acosl.c: Likewise.
8335 * math/w_asin.c: Likewise.
8336 * math/w_asinf.c: Likewise.
8337 * math/w_asinl.c: Likewise.
8338 * math/w_atanh.c: Likewise.
8339 * math/w_atanhf.c: Likewise.
8340 * math/w_atanhl.c: Likewise.
8341 * math/w_exp2.c: Likewise.
8342 * math/w_exp2f.c: Likewise.
8343 * math/w_exp2l.c: Likewise.
8344 * math/w_j0.c: Likewise.
8345 * math/w_j0f.c: Likewise.
8346 * math/w_j0l.c: Likewise.
8347 * math/w_j1.c: Likewise.
8348 * math/w_j1f.c: Likewise.
8349 * math/w_j1l.c: Likewise.
8350 * math/w_jn.c: Likewise.
8351 * math/w_jnf.c: Likewise.
8352 * math/w_log.c: Likewise.
8353 * math/w_log10.c: Likewise.
8354 * math/w_log10f.c: Likewise.
8355 * math/w_log10l.c: Likewise.
8356 * math/w_log2.c: Likewise.
8357 * math/w_log2f.c: Likewise.
8358 * math/w_log2l.c: Likewise.
8359 * math/w_logf.c: Likewise.
8360 * math/w_logl.c: Likewise.
8361 * math/w_sqrt.c: Likewise.
8362 * math/w_sqrtf.c: Likewise.
8363 * math/w_sqrtl.c: Likewise.
8364 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8365 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8366 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8367 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8368 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8369
ebaf36eb
JM
83702012-02-19 Joseph Myers <joseph@codesourcery.com>
8371
8372 [BZ #9739]
8373 * manual/string.texi (strnlen): Use correct parameter name in
8374 equivalent expression.
8375
71c254a6
JM
83762012-02-19 Joseph Myers <joseph@codesourcery.com>
8377
8378 [BZ #11174]
8379 * manual/users.texi (seteuid): Consistently use neweuid for
8380 argument name.
8381
16d2c631
JM
83822012-02-19 Joseph Myers <joseph@codesourcery.com>
8383
8384 [BZ #13704]
8385 * manual/nss.texi (Services in the NSS configuration): Correct
8386 list of services in example configuration file.
8387
cd837b09
NB
83882012-02-19 Nick Bowler <nbowler@draconx.ca>
8389
8390 [BZ #11322]
8391 * manual/arith.texi: Remove statements about negative zero
8392 behaving identically to zero.
8393
02c4bbad
JM
83942012-02-18 Joseph Myers <joseph@codesourcery.com>
8395
8396 [BZ #5993]
8397 * manual/install.texi: Do not document upgrading from libc5.
8398
366842e7
JM
83992012-02-18 Joseph Myers <joseph@codesourcery.com>
8400
8401 [BZ #4596]
8402 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8403
dd54084d
DM
84042012-02-18 David S. Miller <davem@davemloft.net>
8405
8406 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8407 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8408 %o7 across the call.
8409 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8410 instead.
8411 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8412 SETUP_PIC_REG_LEAF.
8413 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8414 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8415 * sysdeps/sparc/crtn.S: Likewise.
8416
2bcc53a3
UD
84172012-02-17 Ulrich Drepper <drepper@gmail.com>
8418
8419 * aout/Makefile: Remove.
8420
09c093b5
RK
84212012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8422
8423 [BZ #13058]
8424 * manual/examples/argp-ex1.c (main): Format definition in GNU
8425 style.
8426 * manual/examples/argp-ex2.c (main): Likewise.
8427 * manual/examples/argp-ex3.c (main): Likewise.
8428 * manual/examples/argp-ex4.c (main): Likewise.
8429 * manual/examples/longopt.c (main): Use new-style prototype
8430 definition.
8431 * manual/examples/strncat.c (main): Specify return type and use
8432 (void) for arguments.
8433 * manual/examples/subopt.c (main): Use char **argv argument.
8434
2ee633a2
JM
84352012-02-17 Joseph Myers <joseph@codesourcery.com>
8436
8437 [BZ #5077]
8438 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8439 rounding modes.
8440
0520adde
FB
84412012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8442
8443 [BZ #6907]
8444 * manual/string.texi (strchr): Change when strchrnul is
8445 recommended.
8446
3f4081cd
DGM
84472012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8448
8449 [BZ #174]
8450 * manual/locale.texi (setlocale): Document LOCPATH.
8451
d1b10e78
JM
84522012-02-17 Joseph Myers <joseph@codesourcery.com>
8453
8454 [BZ #10210]
8455 * manual/process.texi (execle): Move @dots{} before last argument.
8456
79c6869c
PB
84572012-02-17 Paul Bolle <pebolle@tiscali.nl>
8458
8459 [BZ #12047]
8460 * manual/charset.texi (Generic Charset Conversion): Fix typo
8461 (LC_TYPE -> LC_CTYPE).
8462
cc6e48bc
NB
84632012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8464
8465 [BZ #5805]
8466 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8467 (scalbnf): Likewise.
8468 (scalbnl): Likewise.
8469 (scalbln): Likewise.
8470 (scalblnf): Likewise.
8471 (scalblnl): Likewise.
8472 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8473 (vwarnx): Likewise.
8474 (verr): Likewise.
8475 (verrx): Likewise.
8476 * manual/filesys.texi (telldir): Use braces around return type.
8477 * manual/llio.texi (mmap): Add space after comma.
8478 (mmap64): Likewise.
8479 * manual/math.texi (jn): Use @var{} on parameter names.
8480 (jnf): Likewise.
8481 (jnl): Likewise.
8482 (yn): Likewise.
8483 (ynf): Likewise.
8484 (ynl): Likewise.
8485 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8486 line.
8487 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8488 "...".
8489 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8490 (sched_get_priority_max): Likewise.
8491 * manual/signal.texi (sigvec): Add space after comma.
8492 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8493 names.
8494 (if_indextoname): Likewise.
8495 (if_freenameindex): Likewise.
8496 (sendto): Use ',' instead of '.' in prototype.
8497 * manual/startup.texi (syscall): Use @dots{} instead of literal
8498 "...".
8499 * manual/stdio.texi (__fpending): Separate initial words of
8500 paragraph from @deftypefun line.
8501 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8502 "...".
8503 (vsyslog): Use @var{} on parameter names.
8504 * manual/terminal.texi (stty): Use @var{} on parameter names.
8505 * manual/users.texi (getutmp): Use @var{} on parameter names.
8506 (getutmpx): Likewise.
8507
5b23062f
JM
85082012-02-17 Joseph Myers <joseph@codesourcery.com>
8509
8510 [BZ #6884]
8511 * manual/stdio.texi (fopen): Fix typos in description of
8512 ",ccs=STRING".
8513
8dee4833
AJ
85142012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8515
8516 [BZ #4026]
8517 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8518 get clock_id definition.
8519
9078ce93
TS
85202012-02-17 Thomas Schwinge <thomas@schwinge.name>
8521
8522 [BZ #4822]
8523 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8524 (madvise): Cast every argument to void on its own.
8525
3835c55f
JM
85262012-02-17 Joseph Myers <joseph@codesourcery.com>
8527
8528 [BZ #9902]
8529 * manual/startup.texi (Exit Status): Fix typo.
8530
35c47e37
JM
85312012-02-17 Joseph Myers <joseph@codesourcery.com>
8532
8533 [BZ #10140]
8534 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8535 * manual/examples/argp-ex2.c: Likewise.
8536 * manual/examples/argp-ex3.c: Likewise.
8537
e3b69ca7
RH
85382012-02-16 Richard Henderson <rth@redhat.com>
8539
8540 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8541 * sysdeps/s390/s390-32/initfini.c: Remove.
8542 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8543 * sysdeps/s390/s390-64/initfini.c: Remove.
8544
df83af67
KK
85452012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8546
8547 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8548 compiler output for sysdeps/generic/initfini.c.
8549 * sysdeps/sh/elf/initfini.c: Remove file.
8550
f63f3380
DM
85512012-02-16 David S. Miller <davem@davemloft.net>
8552
fb59b3a4
DM
8553 [BZ #11494]
8554 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8555
f63f3380
DM
8556 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8557 * sysdeps/sparc/crti.S: New file.
8558 * sysdeps/sparc/crtn.S: New file.
8559 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8560 * sysdeps/sparc/sparc64/Makefile: Likewise.
8561
df6a4a4a
MF
85622012-02-15 Mike Frysinger <vapier@gentoo.org>
8563
6dd8f3dc 8564 [BZ #3335]
df6a4a4a
MF
8565 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8566
1cac7236
RM
85672012-02-15 Roland McGrath <roland@hack.frob.com>
8568
d2c736f8
RM
8569 [BZ #4822]
8570 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8571
1cac7236
RM
8572 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8573 (write, read, close): Likewise.
8574 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8575
8e475601
JM
85762012-02-15 Joseph Myers <joseph@codesourcery.com>
8577
8578 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8579 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8580 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8581 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8582 <bits/signalfd.h>.
8583 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8584 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8585 bits/signalfd.h.
8586
ed656b40
MP
85872012-02-14 Marek Polacek <polacek@redhat.com>
8588
8589 * sysdeps/x86_64/crti.S: New file.
8590 * sysdeps/x86_64/crtn.S: New file.
8591 * sysdeps/x86_64/elf/initfini.c: Remove file.
8592
2a979d3a
JM
85932012-02-13 Joseph Myers <joseph@codesourcery.com>
8594
8595 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8596 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8597 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8598 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8599 <bits/inotify.h>.
8600 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8601 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8602 bits/inotify.h.
8603
2a418ac3
JM
86042012-02-13 Joseph Myers <joseph@codesourcery.com>
8605
8606 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8607 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8608 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8609 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8610 <bits/eventfd.h>.
8611 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8612 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8613 bits/eventfd.h.
8614
fb779be7
TS
86152012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8616
e19e83c5
RM
8617 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8618 __feraiseexcept instead of feraiseexcept.
7c35ffed 8619
fb779be7
TS
8620 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8621 nanosleep invocations.
8622 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8623 strings, and add error checking for a nanosleep invocations.
8624
59ba27a6
PE
86252012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8626
8627 Replace FSF snail mail address with URLs, as per GNU coding standards.
8628 Most of the snail mail addresses were wrong anyway, and omitting
8629 them makes the source code easier to maintain. Almost all of the
8630 changes are to license notices and to locale LC_IDENTIFICATION
8631 addresses, except for this one:
8632 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8633 not its snail mail address.
8634
57b957eb
RH
86352012-02-09 Richard Henderson <rth@twiddle.net>
8636
af850b1c
RH
8637 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8638 of kernel-features.h.
8639
57b957eb
RH
8640 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8641
6b73181a
MP
86422012-02-08 Marek Polacek <polacek@redhat.com>
8643
8644 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8645 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8646 * sysdeps/gnu/_G_config.h: Likewise.
8647 * sysdeps/generic/_G_config.h: Likewise.
8648
26ecc33a
AS
86492012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8650
6c6dbc63
AS
8651 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8652 tests.
8653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8654
e216c012
AS
8655 * sysdeps/powerpc/powerpc32/crti.S: New file.
8656 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8657 * sysdeps/powerpc/powerpc64/crti.S: New file.
8658 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8659
26ecc33a
AS
8660 * Makeconfig (have-initfini): Don't set.
8661 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8662 * configure.in (nopic_initfini): Don't substitute.
8663 * config.h.in (HAVE_INITFINI): Don't #undef.
8664 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8665 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8666
3add8e13
JM
86672012-02-08 Joseph Myers <joseph@codesourcery.com>
8668
8669 Support crti.S and crtn.S provided directly by architectures.
8670 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8671 [crti.S in sysdirs] (omit-deps): Likewise.
8672 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8673 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8674 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8675 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8676 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8677 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8678 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8679 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8680 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8681 compiler output for sysdeps/generic/initfini.c.
8682 * sysdeps/i386/elf/Makefile: Remove file.
8683 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8684
a22f12b4
MP
86852012-02-07 Marek Polacek <polacek@redhat.com>
8686
8687 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8688 * sysdeps/gnu/_G_config.h: Likewise.
8689 * sysdeps/mach/hurd/_G_config.h: Likewise.
8690
148cf100
MP
86912012-02-07 Marek Polacek <polacek@redhat.com>
8692
8693 * math/Makefile (tests): Add tst-CMPLX2.
8694 * math/tst-CMPLX2.c: New file.
8695
cfdc0dd7
AS
86962012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8697
84ba42c4
AS
8698 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8699
cfdc0dd7
AS
8700 * math/libm-test.inc (jn_test): Add missing L suffix.
8701
622c86f4
MP
87022012-02-06 Marek Polacek <polacek@redhat.com>
8703
8704 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8705 * sysdeps/i386/fpu/e_powf.S: Likewise.
8706 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8707 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8708 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8709 * sysdeps/i386/fpu/e_pow.S: Likewise.
8710 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8711 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8712 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8713 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8714 * sysdeps/i386/fpu/e_log2.S: Likewise.
8715 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8716 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8717 * sysdeps/i386/fpu/e_powl.S: Likewise.
8718 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8719 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8720 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8721 * sysdeps/i386/fpu/e_logl.S: Likewise.
8722 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8723 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8724 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8725 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8726 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8727 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8728 * sysdeps/i386/fpu/e_log.S: Likewise.
8729 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8730 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8731 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8732 * sysdeps/i386/fpu/e_logf.S: Likewise.
8733 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8734 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8735 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8736 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8737 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8738 * sysdeps/i386/fpu/e_log10.S: Likewise.
8739 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8740 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8741 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8742 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8743 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8744 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8745 * sysdeps/i386/asm-syntax.h: Likewise.
8746 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8747 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8748 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8749 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8750 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8751 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8752 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8753 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8754 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8755 * sysdeps/powerpc/sysdep.h: Likewise.
8756 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8757 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8758
d4a54ac6
JM
87592012-02-06 Joseph Myers <joseph@codesourcery.com>
8760
8761 [BZ #411]
8762 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8763
314054ea
JM
87642012-02-06 Joseph Myers <joseph@codesourcery.com>
8765
8766 * sysdeps/i386/sysdep.h: Include <features.h>.
8767 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8768 version.
8769
d8e0ca50
JM
87702012-02-05 Joseph Myers <joseph@codesourcery.com>
8771
8772 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8773 Define.
8774 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8775 LOAD_PIC_REG_STR.
8776
b1da7dd9
JM
87772012-02-03 Joseph Myers <joseph@codesourcery.com>
8778
8779 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8780 (SETUP_PIC_REG): Use GET_PC_THUNK.
8781 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8782 macro.
8783
9a1d9254
JM
87842012-02-03 Joseph Myers <joseph@codesourcery.com>
8785
8786 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8787 for non-PIC compilation.
8788 (SETUP_PIC_REG): Add .p2align directive.
8789 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8790 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8791 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8792 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8793 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8794 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8795 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8796 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8797 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8798 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8799 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8800 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8801 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8802 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8803 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8804 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8805 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8806 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8807 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8808 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8809 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8810 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8811 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8812 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8813 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8814 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8815 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8816 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8817 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8818 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8819 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8820 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8821 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8822 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8823 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8824 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8825 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8826 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8827 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8828 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8829 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8830
65dc3b75
JM
88312012-02-03 Joseph Myers <joseph@codesourcery.com>
8832
8833 * math/tst-CMPLX.c: Include <stdio.h>.
8834
d55bf177
JM
88352012-01-31 Joseph Myers <joseph@codesourcery.com>
8836
8837 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8838 float.
8839 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8840 * sysdeps/sparc/bits/mathdef.h: Likewise.
8841
69db4f8f
MP
88422012-01-31 Marek Polacek <polacek@redhat.com>
8843
8844 * libio/libio.h: Don't define _PARAMS.
8845 * locale/programs/config.h: Don't define PARAMS.
8846 * stdlib/strtol_l.c: Likewise.
8847 (__strtol_l): Remove PARAMS from the prototype.
8848
41b81892
UD
88492012-01-31 Ulrich Drepper <drepper@gmail.com>
8850
3b49edc0
UD
8851 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8852 names. Just use the correct names. Remove unnecessary wrapper
8853 functions.
8854 * malloc/arena.c: Likewise.
8855 * malloc/hooks.c: Likewise.
8856
41b81892
UD
8857 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8858 ARENA_TEST says not to. Simplify test for creation of a new arena.
8859 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8860
27a25b6e
UD
88612012-01-30 Ulrich Drepper <drepper@gmail.com>
8862
8863 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8864 into tail calls.
8865 (update_get_addr): New function.
8866 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8867 GET_ADDR_MODULE parameter.
8868
c8a89e7d
JM
88692012-01-30 Joseph Myers <joseph@codesourcery.com>
8870
8871 * crypt/cert.c: Remove __STDC__ conditionals.
8872 * crypt/crypt-entry.c: Likewise.
8873 * crypt/crypt_util.c: Likewise.
8874 * libio/filedoalloc.c: Likewise.
8875 * libio/fileops.c: Likewise.
8876 * libio/genops.c: Likewise.
8877 * libio/iofclose.c: Likewise.
8878 * libio/iofdopen.c: Likewise.
8879 * libio/iofopen.c: Likewise.
8880 * libio/iofopen64.c: Likewise.
8881 * libio/iogetdelim.c: Likewise.
8882 * libio/iopopen.c: Likewise.
8883 * libio/obprintf.c: Likewise.
8884 * libio/oldfileops.c: Likewise.
8885 * libio/oldiofclose.c: Likewise.
8886 * libio/oldiofdopen.c: Likewise.
8887 * libio/oldiofopen.c: Likewise.
8888 * libio/oldiopopen.c: Likewise.
8889 * libio/wfiledoalloc.c: Likewise.
8890 * libio/wgenops.c: Likewise.
8891 * locale/programs/xmalloc.c: Likewise.
8892 * misc/syslog.c: Likewise.
8893 * stdio-common/xbug.c: Likewise.
8894 * string/memchr.c: Likewise.
8895 * string/memcmp.c: Likewise.
8896 * string/memrchr.c: Likewise.
8897 * string/rawmemchr.c: Likewise.
8898 * sysdeps/posix/getcwd.c: Likewise.
8899 * time/strftime_l.c: Likewise.
8900
3b100462
JM
89012012-01-30 Joseph Myers <joseph@codesourcery.com>
8902
8903 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
8904 * config.make.in (config-cflags-sse2avx): Define.
8905 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8906 Fix typo.
8907
607998af
CM
89082012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8909
8910 * scripts/config.guess: Update from upstream config git repository.
8911 * scripts/config.sub: Likewise.
8912
3601428f
CM
89132012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8914
3ac8b282
CM
8915 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8916 (EM_NUM): Update.
8917 (R_TILEPRO_*, R_TILEGX_*): New macros.
8918
e034841e
CM
8919 * scripts/firstversions.awk: Fix bug in version range handling.
8920
540d7568
CM
8921 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8922
3601428f
CM
8923 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8924
463de862
CM
8925 * include/sys/epoll.h: New file.
8926 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8927 libc_hidden_def.
8928
73139a76
UD
89292012-01-28 Ulrich Drepper <drepper@gmail.com>
8930
96bc5b45
UD
8931 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8932 Avoid unnecessary __WORDSIZE == 64 test.
8933 (fmaxf): Use VEX format if possible.
8934 (fmax): Likewise.
8935 (fminf): Likewise.
8936 (fmin): Likewise.
8937
56f6f6a2
UD
8938 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8939 * math/math_private.h: Remove libc_fegetround* and
8940 libc_fesetround*.
8941 * sysdeps/i386/configure.in: Check for -msse2avx.
8942 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8943 also if SSE2AVX is defined.
8944 Remove libc_fegetround* and libc_fesetround*.
8945 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8946 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8947 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8948 of HAS_YMM_USABLE.
8949 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8950 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8951 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8952 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8953 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8954
73139a76
UD
8955 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8956
d73f93a4
AZ
89572012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8958
8959 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8960 size is not set.
8961 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8962
6ee65ed6
UD
89632012-01-27 Ulrich Drepper <drepper@gmail.com>
8964
8965 [BZ #13618]
8966 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8967 relocation.
8968 * Makeconfig (libm): Define.
8969 * elf/Makefile: Add rules to build and run tst-relsort1.
8970 * elf/tst-relsort1.c: New file.
8971 * elf/tst-relsort1mod1.c: New file.
8972 * elf/tst-relsort1mod2.c: New file.
8973
8db21882
JM
89742012-01-27 Joseph Myers <joseph@codesourcery.com>
8975
8976 * math/s_ldexp.c: Remove __STDC__ conditionals.
8977 * math/s_ldexpf.c: Likewise.
8978 * math/s_ldexpl.c: Likewise.
8979 * math/s_nextafter.c: Likewise.
8980 * math/s_nexttowardf.c: Likewise.
8981 * math/s_significand.c: Likewise.
8982 * math/s_significandf.c: Likewise.
8983 * math/s_significandl.c: Likewise.
8984 * math/w_jnl.c: Likewise.
8985 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8986 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8987 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8988 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8989 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8990 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8991 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8992 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8993 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8994 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8995 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8996 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8997 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8998 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8999 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9000 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9001 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9002 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9003 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9004 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9005 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9006 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9007 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9008 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9009 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9010 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9011 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9012 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9013 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9014 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9015 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9016 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9017 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9018 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9019 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9020 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9021 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9022 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9023 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9024 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9025 * sysdeps/ieee754/k_standard.c: Likewise.
9026 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9027 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9028 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9029 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9030 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9031 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9032 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9033 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9034 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9035 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9036 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9037 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9038 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9039 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9040 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9041 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9042 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9043 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9044 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9045 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9046 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9047 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9048 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9049 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9050 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9051 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9052 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9053 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9054 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9055 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9056 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9057 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9058 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9059 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9060 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9061 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9062 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9063 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9064 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9065 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9066 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9067 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9068 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9069 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9070 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9071 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9072 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9073 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9074 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9075 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9076 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9077 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9078 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9079 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9080 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9081 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9082 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9083 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9084 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9085 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9086 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9087 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9088 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9089 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9090 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9091 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9092 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9093 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9094 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9095 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9096 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9097 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9098 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9099 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9100 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9101 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9102 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9103 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9104 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9105 * sysdeps/ieee754/s_matherr.c: Likewise.
9106 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9107 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9108 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9109 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9110
965a54a4
JM
91112012-01-26 Joseph Myers <joseph@codesourcery.com>
9112
9113 * crypt/md5.h: Remove __STDC__ conditionals.
9114 * libio/libioP.h: Likewise.
9115 * locale/programs/config.h: Likewise.
9116 * sysdeps/generic/sysdep.h: Likewise.
9117 * sysdeps/i386/asm-syntax.h: Likewise.
9118 * sysdeps/s390/asm-syntax.h: Likewise.
9119 * sysdeps/unix/sysdep.h: Likewise.
9120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9122
7071ad79
JM
91232012-01-26 Joseph Myers <joseph@codesourcery.com>
9124
9125 * libio/libio.h: Remove __STDC__ conditionals.
9126 * malloc/obstack.h: Likewise.
9127 * math/complex.h: Likewise.
9128 * math/math.h: Likewise.
9129 * sysdeps/generic/_G_config.h: Likewise.
9130 * sysdeps/gnu/_G_config.h: Likewise.
9131 * sysdeps/mach/hurd/_G_config.h: Likewise.
9132 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9133 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9134 * sysdeps/sparc/bits/mathdef.h: Likewise.
9135
afc5ed09
UD
91362012-01-26 Ulrich Drepper <drepper@gmail.com>
9137
9138 [BZ #13583]
9139 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 9140 Clean up HAS_* macros.
afc5ed09 9141 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
9142 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9143 possible.
9144 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9145 HAS_AVX.
9146 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9147 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9148 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9149 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9150 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 9151
bdb6de1d
JM
91522012-01-25 Joseph Myers <joseph@codesourcery.com>
9153
9154 * elf/tst-unique3.cc (gets): Remove declaration.
9155 * elf/tst-unique3lib.cc (gets): Likewise.
9156 * elf/tst-unique3lib2.cc (gets): Likewise.
9157 * elf/tst-unique4.cc (gets): Likewise.
9158
b15549e6
UD
91592012-01-24 Ulrich Drepper <drepper@gmail.com>
9160
9161 * include/stdio.h: Add C++ protection. Add gets declarations and
9162 definitions.
9163 * debug/tst-chk1.c: Don't declare gets here.
9164 * stdio-common/tst-gets.c: Likewise.
9165
a037381f
JM
91662012-01-24 Joseph Myers <joseph@codesourcery.com>
9167
9168 * posix/glob: Remove directory.
9169
f1d4aa75
JM
91702012-01-24 Joseph Myers <joseph@codesourcery.com>
9171
9172 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9173
81c0c964
PT
91742012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9175
9176 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9177 of the non-standard EPFNOSUPPORT.
9178
0ea698ae
ST
91792011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9180
9181 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9182 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9183 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9184
d220b117
UD
91852012-01-21 Ulrich Drepper <drepper@gmail.com>
9186
9187 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9188
3e1aa84e
UD
91892012-01-20 Ulrich Drepper <drepper@gmail.com>
9190
9191 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9192 transient errors.
9193 * nscd/grpcache.c (cache_addgr): Likewise.
9194 * nscd/hstcache.c (cache_addhst): Likewise.
9195 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9196 * nscd/pwdcache.c (cache_addpw): Likewise.
9197 * nscd/servicescache.c (cache_addserv): Likewise.
9198
400aa020
UD
91992012-01-16 Ulrich Drepper <drepper@gmail.com>
9200
d77e7869
UD
9201 * malloc/malloc.c: Various cleanups.
9202 * malloc/hooks.c: Likewise.
9203
400aa020
UD
9204 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9205 * stdlib/bug-fmtmsg1.c: New file.
9206
9207 * stdlib/fmtmsg.c (init): Add missing unlock.
9208 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9209
e0a309cf
MP
92102012-01-12 Marek Polacek <polacek@redhat.com>
9211
9212 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9213 and _GNU_SOURCE.
9214
929d11c7
WS
92152012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9216
9217 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9218 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9219 macro to ensure uniqueness of label name.
9220 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9221 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9222
41d0e869
UD
92232012-01-11 Ulrich Drepper <drepper@gmail.com>
9224
0cc5ed3b
UD
9225 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9226
41d0e869
UD
9227 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9228 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9229 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9230 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9231
a47a831a
UD
92322012-01-10 Ulrich Drepper <drepper@gmail.com>
9233
daa891c0
UD
9234 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9235
9236 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9237 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9238 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9239
e58ef0f2
UD
9240 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9241
a47a831a 9242 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
9243 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9244 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 9245 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
9246
9247 * math/bits/math-finite.h: Add ldexp support.
9248
a0bfc9c7
MP
92492012-01-10 Marek Polacek <polacek@redhat.com>
9250
9251 * locale/programs/localedef.h (show_archive_content): Add noreturn
9252 attribute.
9253
d6e97a1d
UD
92542012-01-09 Ulrich Drepper <drepper@gmail.com>
9255
9256 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9257
d5835c26
UD
92582012-01-08 Ulrich Drepper <drepper@gmail.com>
9259
e5f484c6
UD
9260 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9261
d5835c26
UD
9262 * io/Makefile (headers): Add bits/poll2.h.
9263
d1f741e9
WS
92642011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9265
9266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9267 typo #include statement.
9268
ec09c1c4
UD
92692012-01-08 Ulrich Drepper <drepper@gmail.com>
9270
9271 * include/sys/cdefs.h: Define __attribute_alloc_size.
9272 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9273 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9274 * elf/pldd.c: Likewise.
9275 * iconv/iconv_charmap.c: Likewise.
9276 * iconv/iconvconfig.c: Likewise.
9277 * iconv/strtab.c: Likewise.
9278 * locale/programs/locale.c: Likewise.
9279 * locale/programs/localedef.h: Likewise.
9280 * locale/programs/simple-hash.c: Likewise.
9281 * nscd/nscd.h: Likewise.
9282 * nss/makedb.c: Likewise.
9283 * sysdeps/generic/ldconfig.h: Likewise.
9284 * locale/programs/localedef.c: Remove xmalloc prototype.
9285 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9286
20b38e03
PP
92872012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9288
9289 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9290 appropriate.
9291
a0da5fe1
UD
92922012-01-08 Ulrich Drepper <drepper@gmail.com>
9293
1d5a644a 9294 * math/Makefile (tests): Add tst-CMPLX.
669704fd 9295 * math/tst-CMPLX.c: New file.
1d5a644a 9296
8784a6db
UD
9297 * math/complex.h (CMPLXL): Fix typo.
9298
d9a216c0
UD
9299 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9300 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9301 GLIBC_2.16.
9302 * debug/tst-chk1.c: Add poll and ppoll tests.
9303 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9304 * include/sys/poll.h: Add hidden proto for ppoll.
9305 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9306 * sysdeps/mach/hurd/ppoll.c: Likewise.
9307 * io/ppoll.c: Likewise.
9308 * debug/poll_chk.c: New file.
9309 * debug/ppoll_chk.c: New file.
9310 * include/bits/poll2.h: New file.
9311 * io/bits/poll2.h: New file.
9312
ac097f5c
UD
9313 [BZ #1350]
9314 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9315
2119dcfa
UD
9316 * configure.in: static is always set to yes. Remove.
9317 * config.make.in: Don't set build-static.
9318 * Makeconfig: Remove use of build-static.
9319 * dlfcn/Makefile: Likewise.
9320 * elf/Makefile: Likewise.
9321 * math/Makefile: Likewise.
9322 * misc/Makefile: Likewise.
9323 * nptl/Makefile: Likewise.
9324 * sysdeps/mach/hurd/Makefile: Likewise.
9325
121766a9
UD
9326 * configure.in: PWD_P is not used anymore.
9327 * config.make.in: Remove PWD_P entry.
9328
51a1d39c 9329 * configure.in: Remove last remnants of RANLIB.
8720d066 9330 No need to check for signed size_t anymore.
215f4bdc
UD
9331 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9332 and IA-64.
3857022a 9333 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
9334 * aclocal.m4: Likewise.
9335
d3ed7225
UD
9336 * wcsmbs/mbrtoc16.c: Implement using towc function.
9337 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9338 * wcsmbs/wcsmbsload.c: Likewise.
9339 * iconv/gconv_simple.c: Likewise.
9340 * iconv/gconv_int.h: Likewise.
9341 * iconv/gconv_builtin.h: Likewise.
9342 * iconv/iconv_prog.c: Remove CHAR16 handling.
9343
9344 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9345
9346 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9347
a0da5fe1
UD
9348 * configure.in: Remove --with-elf and --enable-bounded options.
9349 Dont set base_machine for ia64. More non-ELF conditions removed.
9350 Remove testing and setting of leading underscore information.
9351 * config.make.in (build-bounded): Set to no.
9352 * config.h.in: Remove NO_UNDERSCORES entry.
9353 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9354 them.
9355 * csu/start.c: Remove !NO_UNDERSCORE code.
9356 * locale/localeinfo.h: Likewise.
9357 * sysdeps/generic/machine-gmon.h: Likewise.
9358 * sysdeps/generic/sysdep.h: Likewise.
9359 * sysdeps/i386/sysdep.h: Likewise.
9360 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9361 * sysdeps/mach/sysdep.h: Likewise.
9362 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9363 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9364 * sysdeps/sh/sysdep.h: Likewise.
9365 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9366 * sysdeps/unix/i386/sysdep.S: Likewise.
9367 * sysdeps/unix/sparc/start.c: Likewise.
9368 * sysdeps/unix/sparc/sysdep.S: Likewise.
9369 * sysdeps/unix/sparc/sysdep.h: Likewise.
9370 * sysdeps/unix/start.c: Likewise.
9371 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9372 * sysdeps/x86_64/sysdep.h: Likewise.
9373
df78418a
UD
93742012-01-07 Ulrich Drepper <drepper@gmail.com>
9375
a784e502
UD
9376 [BZ #13553]
9377 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9378 for non-gcc.
9379 * argp/argp-fmtstream.h: Use const instead __const.
9380 * argp/argp.h: Likewise.
9381 * assert/assert.h: Likewise.
9382 * bits/fenv.h: Likewise.
9383 * bits/sched.h: Likewise.
9384 * bits/sigset.h: Likewise.
9385 * bits/sigthread.h: Likewise.
9386 * catgets/nl_types.h: Likewise.
9387 * conform/data/pthread.h-data: Likewise.
9388 * crypt/crypt-private.h: Likewise.
9389 * crypt/crypt.h: Likewise.
9390 * crypt/crypt_util.c: Likewise.
9391 * ctype/ctype.h: Likewise.
9392 * debug/execinfo.h: Likewise.
9393 * debug/mbsnrtowcs_chk.c: Likewise.
9394 * debug/mbsrtowcs_chk.c: Likewise.
9395 * debug/wcsnrtombs_chk.c: Likewise.
9396 * debug/wcsrtombs_chk.c: Likewise.
9397 * debug/wcstombs_chk.c: Likewise.
9398 * dirent/dirent.h: Likewise.
9399 * dlfcn/dlfcn.h: Likewise.
9400 * elf/neededtest4.c: Likewise.
9401 * grp/grp.h: Likewise.
9402 * gshadow/gshadow.h: Likewise.
9403 * iconv/gconv.h: Likewise.
9404 * iconv/gconv_int.h: Likewise.
9405 * iconv/gconv_simple.c: Likewise.
9406 * iconv/iconv.h: Likewise.
9407 * iconv/loop.c: Likewise.
9408 * iconv/skeleton.c: Likewise.
9409 * include/aio.h: Likewise.
9410 * include/aliases.h: Likewise.
9411 * include/argz.h: Likewise.
9412 * include/arpa/inet.h: Likewise.
9413 * include/assert.h: Likewise.
9414 * include/dirent.h: Likewise.
9415 * include/dlfcn.h: Likewise.
9416 * include/execinfo.h: Likewise.
9417 * include/fcntl.h: Likewise.
9418 * include/fenv.h: Likewise.
9419 * include/glob.h: Likewise.
9420 * include/grp.h: Likewise.
9421 * include/libintl.h: Likewise.
9422 * include/mntent.h: Likewise.
9423 * include/netdb.h: Likewise.
9424 * include/pwd.h: Likewise.
9425 * include/rpc/netdb.h: Likewise.
9426 * include/sched.h: Likewise.
9427 * include/search.h: Likewise.
9428 * include/shadow.h: Likewise.
9429 * include/signal.h: Likewise.
9430 * include/stdio.h: Likewise.
9431 * include/stdlib.h: Likewise.
9432 * include/string.h: Likewise.
9433 * include/sys/socket.h: Likewise.
9434 * include/sys/stat.h: Likewise.
9435 * include/sys/statfs.h: Likewise.
9436 * include/sys/statvfs.h: Likewise.
9437 * include/sys/syslog.h: Likewise.
9438 * include/sys/time.h: Likewise.
9439 * include/sys/uio.h: Likewise.
9440 * include/time.h: Likewise.
9441 * include/unistd.h: Likewise.
9442 * include/utmp.h: Likewise.
9443 * include/wchar.h: Likewise.
9444 * include/wctype.h: Likewise.
9445 * inet/aliases.h: Likewise.
9446 * inet/arpa/inet.h: Likewise.
9447 * inet/netinet/ether.h: Likewise.
9448 * inet/netinet/in.h: Likewise.
9449 * intl/libintl.h: Likewise.
9450 * io/bits/fcntl2.h: Likewise.
9451 * io/fcntl.h: Likewise.
9452 * io/ftw.h: Likewise.
9453 * io/sys/poll.h: Likewise.
9454 * io/sys/stat.h: Likewise.
9455 * io/sys/statfs.h: Likewise.
9456 * io/sys/statvfs.h: Likewise.
9457 * io/utime.h: Likewise.
9458 * libio/bits/stdio.h: Likewise.
9459 * libio/bits/stdio2.h: Likewise.
9460 * libio/libio.h: Likewise.
9461 * libio/libioP.h: Likewise.
9462 * libio/stdio.h: Likewise.
9463 * locale/lc-ctype.c: Likewise.
9464 * locale/locale.h: Likewise.
9465 * login/utmp.h: Likewise.
9466 * malloc/arena.c: Likewise.
9467 * malloc/malloc.c: Likewise.
9468 * malloc/malloc.h: Likewise.
9469 * malloc/mcheck.c: Likewise.
9470 * malloc/mtrace.c: Likewise.
9471 * math/bits/mathcalls.h: Likewise.
9472 * math/fenv.h: Likewise.
9473 * math/math_private.h: Likewise.
9474 * misc/bits/error.h: Likewise.
9475 * misc/bits/syslog.h: Likewise.
9476 * misc/err.h: Likewise.
9477 * misc/error.h: Likewise.
9478 * misc/fstab.h: Likewise.
9479 * misc/mntent.h: Likewise.
9480 * misc/regexp.h: Likewise.
9481 * misc/search.h: Likewise.
9482 * misc/sgtty.h: Likewise.
9483 * misc/sys/mman.h: Likewise.
9484 * misc/sys/syslog.h: Likewise.
9485 * misc/sys/uio.h: Likewise.
9486 * misc/sys/xattr.h: Likewise.
9487 * misc/ttyent.h: Likewise.
9488 * nis/rpcsvc/ypclnt.h: Likewise.
9489 * nss/nss.h: Likewise.
9490 * posix/bits/unistd.h: Likewise.
9491 * posix/fnmatch.h: Likewise.
9492 * posix/glob.h: Likewise.
9493 * posix/sched.h: Likewise.
9494 * posix/spawn.h: Likewise.
9495 * posix/sys/wait.h: Likewise.
9496 * posix/unistd.h: Likewise.
9497 * posix/wordexp.h: Likewise.
9498 * pwd/pwd.h: Likewise.
9499 * resolv/netdb.h: Likewise.
9500 * resource/sys/resource.h: Likewise.
9501 * rt/aio.h: Likewise.
9502 * rt/bits/mqueue2.h: Likewise.
9503 * rt/mqueue.h: Likewise.
9504 * shadow/shadow.h: Likewise.
9505 * signal/signal.h: Likewise.
9506 * socket/send.c: Likewise.
9507 * socket/sendto.c: Likewise.
9508 * socket/sys/socket.h: Likewise.
9509 * stdio-common/printf.h: Likewise.
9510 * stdlib/bits/stdlib.h: Likewise.
9511 * stdlib/fmtmsg.h: Likewise.
9512 * stdlib/monetary.h: Likewise.
9513 * stdlib/stdlib.h: Likewise.
9514 * stdlib/ucontext.h: Likewise.
9515 * streams/stropts.h: Likewise.
9516 * string/argz.h: Likewise.
9517 * string/bits/string2.h: Likewise.
9518 * string/string.h: Likewise.
9519 * string/strings.h: Likewise.
9520 * sunrpc/rpc/auth.h: Likewise.
9521 * sunrpc/rpc/auth_des.h: Likewise.
9522 * sunrpc/rpc/clnt.h: Likewise.
9523 * sunrpc/rpc/netdb.h: Likewise.
9524 * sunrpc/rpc/pmap_clnt.h: Likewise.
9525 * sunrpc/rpc/xdr.h: Likewise.
9526 * sysdeps/generic/inttypes.h: Likewise.
9527 * sysdeps/generic/net/if.h: Likewise.
9528 * sysdeps/generic/sys/swap.h: Likewise.
9529 * sysdeps/gnu/net/if.h: Likewise.
9530 * sysdeps/gnu/utmpx.h: Likewise.
9531 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9532 * sysdeps/i386/i486/bits/string.h: Likewise.
9533 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9534 * sysdeps/s390/bits/string.h: Likewise.
9535 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9536 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9537 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9538 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9539 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9540 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9541 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9542 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9543 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9544 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9545 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9546 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9547 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9548 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9549 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9550 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9551 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9552 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9553 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9554 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9555 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9556 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9557 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9558 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9559 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9560 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9561 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9562 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9563 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9564 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9565 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9566 * sysvipc/sys/ipc.h: Likewise.
9567 * sysvipc/sys/msg.h: Likewise.
9568 * sysvipc/sys/sem.h: Likewise.
9569 * sysvipc/sys/shm.h: Likewise.
9570 * termios/termios.h: Likewise.
9571 * time/sys/time.h: Likewise.
9572 * time/time.h: Likewise.
9573 * wcsmbs/bits/wchar2.h: Likewise.
9574 * wcsmbs/uchar.h: Likewise.
9575 * wcsmbs/wchar.h: Likewise.
9576 * wctype/wctype.h: Likewise.
9577
0269750c
UD
9578 [BZ #13551]
9579 * Makeconfig: Remove all but ELF support including AIX support.
9580 * Makerules: Likewise.
9581 * config.h.in: Likewise.
9582 * config.make.in: Likewise.
9583 * configure: Likewise.
9584 * configure.in: Likewise.
9585 * csu/Makefile: Likewise.
9586 * csu/version.c: Likewise.
9587 * debug/Makefile: Likewise.
9588 * dlfcn/Makefile: Likewise.
9589 * elf/Makefile: Likewise.
9590 * extra-lib.mk: Likewise.
9591 * iconv/Makefile: Likewise.
9592 * include/libc-symbols.h: Likewise.
9593 * include/shlib-compat.h: Likewise.
9594 * resolv/Makefile: Likewise.
9595 * resolv/res_libc.c: Likewise.
9596 * rt/Makefile: Likewise.
9597 * sysdeps/i386/asm-syntax.h: Likewise.
9598 * sysdeps/i386/sysdep.h: Likewise.
9599 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9600 * sysdeps/mach/sysdep.h: Likewise.
9601 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9602 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9603 * sysdeps/s390/asm-syntax.h: Likewise.
9604 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9605 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9606 * sysdeps/sh/sysdep.h: Likewise.
9607 * sysdeps/unix/sparc/sysdep.h: Likewise.
9608 * sysdeps/wordsize-32/divdi3.c: Likewise.
9609 * sysdeps/x86_64/sysdep.h: Likewise.
9610
00bbd29b
UD
9611 * argp/Versions: Remove _argp_unlock_xxx.
9612
9613 [BZ #13559]
9614 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9615 * abilist/libBrokenLocale.abilist: Likewise.
9616 * abilist/libanl.abilist: Likewise.
9617 * abilist/libc.abilist: Likewise.
9618 * abilist/libcrypt.abilist: Likewise.
9619 * abilist/libdl.abilist: Likewise.
9620 * abilist/libm.abilist: Likewise.
9621 * abilist/libnsl.abilist: Likewise.
9622 * abilist/libpthread.abilist: Likewise.
9623 * abilist/libresolv.abilist: Likewise.
9624 * abilist/librt.abilist: Likewise.
9625 * abilist/libthread_db.abilist: Likewise.
9626 * abilist/libutil.abilist: Likewise.
9627 * abilist/libnss_db.abilist: New file.
9628
9629 * scripts/abilist.awk: Add support for indirect functions.
9630
a2693a0e
UD
9631 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9632
3f05895f
UD
9633 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9634
ecb6fb48
UD
9635 * shlib-versions: Remove entries for ports architectures.
9636
664f8cb9
UD
9637 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9638 files in ports.
9639 * elf/stackguard-macros.h: Remove support for IA-64.
9640 * elf/tst-auditmod1.c: Likewise.
9641 * sysdeps/generic/ldsodefs.h: Likewise.
9642
7ae81d88
UD
9643 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9644 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9645 configure files.
9646
bdeba135
UD
9647 [BZ #13552]
9648 * configure.in: Remove --enable-omitfp support.
9649 * FAQ.in: Adjust.
9650 * config.make.in: Likewise.
9651 * Makeconfig: Likewise.
9652 * manual/install.texi: Likewise.
9653
d75a0a62
UD
9654 In case anyone cares, the IA-64 architecture could move to ports.
9655 * sysdeps/ia64/*: Removed.
9656 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 9657 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 9658
dcc9756b
UD
9659 [BZ #13555]
9660 * configure.in: Remove entries for unsupported architectures.
9661
d3761ebc 9662 [BZ #13533]
9954432e
UD
9663 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9664 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9665 routines.
9666 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9667 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9668 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9669 fall back to using wcrtomb.
9670 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9671 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9672 renaming.
9673 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9674 * wcsmbs/tst-c16c32-1.c: New file.
9675
9676 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9677 local variable.
9678
c3a87236
UD
9679 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9680
28926a1b
UD
9681 * elf/tst-unique3.cc: Add explicit declaration of gets.
9682 * elf/tst-unique3lib.cc: Likewise.
9683 * elf/tst-unique3lib2.cc: Likewise.
9684 * elf/tst-unique4.cc: Likewise.
9685
df78418a
UD
9686 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9687
8ecd6b2a
JM
96882012-01-06 Joseph Myers <joseph@codesourcery.com>
9689
9690 [BZ #13566]
9691 * assert/assert.h (static_assert): Don't define for C++.
9692 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9693 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9694
9f115170
UD
96952012-01-03 Ulrich Drepper <drepper@gmail.com>
9696
5e0d0300
UD
9697 * iconv/loop.c (single loop): Fix assertion in storing of
9698 remaining bytes.
9699
9f115170
UD
9700 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9701
81fb02b0
UD
97022012-01-01 Ulrich Drepper <drepper@gmail.com>
9703
9704 * posix/getconf.c: Update copyright year.
9705 * nss/getent.c: Likewise.
a316c1f6 9706 * nss/makedb.c: Likewise.
81fb02b0
UD
9707 * iconv/iconvconfig.c: Likewise.
9708 * iconv/iconv_prog.c: Likewise.
9709 * elf/ldconfig.c: Likewise.
a316c1f6
UD
9710 * elf/pldd.c: Likewise.
9711 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
9712 * catgets/gencat.c: Likewise.
9713 * csu/version.c: Likewise.
9714 * elf/ldd.bash.in: Likewise.
9715 * elf/sprof.c (print_version): Likewise.
9716 * locale/programs/locale.c: Likewise.
9717 * locale/programs/localedef.c: Likewise.
a316c1f6 9718 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
9719 * nscd/nscd.c (print_version): Likewise.
9720 * debug/xtrace.sh: Likewise.
9721 * malloc/memusage.sh: Likewise.
9722 * malloc/mtrace.pl: Likewise.
9723 * debug/catchsegv.sh: Likewise.
9724
2ba92745
JJ
97252011-12-30 Jakub Jelinek <jakub@redhat.com>
9726
9727 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9728 pure attribute.
9729
dadebdae
UD
97302011-12-24 Ulrich Drepper <drepper@gmail.com>
9731
d3761ebc 9732 [BZ #13533]
db6af3eb
UD
9733 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9734 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9735 transformations.
9736 * iconv/gconv_int.h: Likewise.
9737 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9738 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9739 from libc for GLIBC_2.16.
9740 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9741 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9742 * wcsmbs/uchar.h: Really define mbstate_t.
9743 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9744 * wcsmbs/c16rtomb.c: New file.
9745 * wcsmbs/mbrtoc16.c: New file.
9746 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9747 for C/POSIX locale.
9748 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9749 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9750
dadebdae
UD
9751 * wcsmbs/wchar.h: Add missing __restrict.
9752
67371b56
UD
97532011-12-23 Ulrich Drepper <drepper@gmail.com>
9754
74033a25
UD
9755 [BZ #13532]
9756 * time/Makefile (routines): Add timespec_get.
9757 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9758 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9759 timespec for ISO C11.
9760 * time/timespec_get.c: New file.
9761 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9762 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9763
380d7e87
UD
9764 [BZ #13531]
9765 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9766 * stdlib/stdlib.h: Declare aligned_alloc.
9767 * Versions.def: Add GLIBC_2.16 for libc.
9768 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9769
4e9e7a35
UD
9770 [BZ 13527]
9771 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9772 ISO C11.
9773
380d7e87 9774 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
9775 code.
9776
03a71829
UD
9777 [BZ #13528]
9778 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9779
839e283e
UD
9780 [BZ #13529]
9781 * assert/assert.h (static_assert): Define.
9782
ce5294e2 9783 * version.h: Update for 2.16 development version.
90fa7312 9784
8d44e150 9785 [BZ #13526]
d7809905
UD
9786 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9787 _ISOC11_SOURCE.
9788
c0da14cd
UD
9789 * version.h (RELEASE): Bump for 2.15 release.
9790 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9791
530a3249
MP
9792 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9793 Patch by Marek Polacek <mpolacek@redhat.com>.
9794
67371b56
UD
9795 * bits/byteswap.h: Protect long long constants with __extension__.
9796 * sysdeps/i386/bits/byteswap.h: Likewise.
9797 * sysdeps/ia64/bits/byteswap.h: Likewise.
9798 * sysdeps/s390/bits/byteswap.h: Likewise.
9799 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9800
15db4de1
LD
98012011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9802
9803 [BZ #13540]
bbe315ea
LD
9804 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9805 destination buffer.
15db4de1
LD
9806 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9807
2b2596b1
MP
98082011-12-23 Marek Polacek <polacek@redhat.com>
9809
9810 * elf/dl-addr.c (determine_info): Add inline keyword.
9811 * elf/tst-auditmod4b.c (check_avx): Likewise.
9812 * elf/tst-auditmod6b.c (check_avx): Likewise.
9813 * elf/tst-auditmod6c.c (check_avx): Likewise.
9814 * elf/tst-auditmod7b.c (check_avx): Likewise.
9815
70c6c246
UD
98162011-12-23 Ulrich Drepper <drepper@gmail.com>
9817
9818 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9819 !__SSE_MATH__.
9820
c044cf14
LD
98212011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9822
15db4de1 9823 [BZ #13540]
c044cf14
LD
9824 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9825 processing for last bytes.
9826
6b13d9d9
BH
98272011-08-06 Bruno Haible <bruno@clisp.org>
9828
d455f537
BH
9829 [BZ #13061]
9830 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9831 U+0385, not to U+1FEE.
9832
6b13d9d9
BH
9833 [BZ #13062]
9834 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9835 entry for U+00A5 U+0301.
9836
db910efd
UD
98372011-12-22 Ulrich Drepper <drepper@gmail.com>
9838
27deeafc
UD
9839 [BZ #13166]
9840 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9841 buffer for the output is too small.
9842
aed9d171
UD
9843 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9844 optimization.
9845
db910efd
UD
9846 [BZ #13185]
9847 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9848 SSE flags if possible.
9849
2bd779ae
LD
98502011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9851
e7f9dac3 9852 [BZ #13540]
2bd779ae
LD
9853 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9854 processing for last bytes.
9855
154bfc16
JM
98562011-12-22 Joseph Myers <joseph@codesourcery.com>
9857
9858 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9859 (syscall-list-default-options, syscall-list-default-condition)
9860 (syscall-list-includes): Define.
9861 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9862 list of ABIs and options and #if conditions for each ABI. Do not
9863 handle common syscalls between ABIs specially.
9864 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9865 Remove.
9866 (syscall-list-variants, syscall-list-32bit-options)
9867 (syscall-list-32bit-condition, syscall-list-64bit-options)
9868 (syscall-list-64bit-condition): Define.
9869 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9870 (syscall-list-variants, syscall-list-32bit-options)
9871 (syscall-list-32bit-condition, syscall-list-64bit-options)
9872 (syscall-list-64bit-condition): Define.
9873 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9874 Remove.
9875 (syscall-list-variants, syscall-list-32bit-options)
9876 (syscall-list-32bit-condition, syscall-list-64bit-options)
9877 (syscall-list-64bit-condition): Define.
9878 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9879 Remove.
9880 (syscall-list-variants, syscall-list-32bit-options)
9881 (syscall-list-32bit-condition, syscall-list-64bit-options)
9882 (syscall-list-64bit-condition): Define.
9883
21eaf3a5
UD
98842011-12-22 Ulrich Drepper <drepper@gmail.com>
9885
16c6f992
UD
9886 * locale/iso-639.def: Add brx entry.
9887
41043168
UD
9888 [BZ #13328]
9889 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9890 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9891
21eaf3a5
UD
9892 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9893 __feraiseexcept_renamed.
9894
e3a851a2
UD
98952011-12-21 Ulrich Drepper <drepper@gmail.com>
9896
4920765e
UD
9897 [BZ #13538]
9898 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9899 EPOLLET with unsigned values.
9900 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9901 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9902
e3a851a2
UD
9903 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9904 to large cancellation.
9905 * math/s_cacoshf.c: Likewise.
9906 * math/s_cacoshl.c: Likewise.
9907
b27e24b8
RK
99082011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9909
9910 [BZ #13305]
aebefeee 9911 [BZ #12786]
b27e24b8
RK
9912 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9913 * math/s_cacoshf.c: Likewise.
9914 * math/s_cacoshl.c: Likewise.
9915
ee190f67
UD
99162011-12-21 Ulrich Drepper <drepper@gmail.com>
9917
9918 [BZ #13439]
9919 * iconv/gconv.h: Define __GCONV_SWAP.
9920 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9921 * iconvdata/utf-16.c: Likewise.
9922 * iconvdata/utf-32.c: Likewise.
9923
707f25df
AS
99242011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9925
9926 [BZ #13524]
9927 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9928 numerator after shifting it by one limb.
9929
d2daaa1e
RÁE
99302011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9931
9932 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9933 under [__USE_EXTERN_INLINES].
9934
a4647e72
UD
99352011-12-17 Ulrich Drepper <drepper@gmail.com>
9936
9937 [BZ #13446]
9938 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9939
f0b264f1
AZ
99402011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9941
9942 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9943 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9944 optimized code.
9945 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9946 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9947 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9948 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9949 for strncasecmp/strncasecmp_l compilation.
9950 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9951 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9952
8ef4f244
MP
99532011-12-08 Marek Polacek <mpolacek@redhat.com>
9954
9955 [BZ #13484]
9956 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9957 of __asm__.
9958
97ac2654
UD
99592011-12-17 Ulrich Drepper <drepper@gmail.com>
9960
9961 [BZ #13506]
9962 * time/tzfile.c (__tzfile_read): Check values from file header.
9963
91d2a845
WS
99642011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9965
9966 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9967 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9968 * powerpc/powerpc32/dl-start.S: Likewise.
9969 * powerpc/powerpc32/elf/start.S: Likewise.
9970 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9971 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9972 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9973 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9974 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9975 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9976 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9977 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9978 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9979 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9980 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9981 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9982 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9983 * powerpc/powerpc32/memset.S: Likewise.
9984 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9985 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9986 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9987 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9988 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9989 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9990 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9991 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9992 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9993 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9994 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9995 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9996 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9997
a1267ba1
AZ
99982011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9999
10000 * math/libm-test.inc: Added more nearbyint tests.
10001 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
10002 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
10003 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
10004 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
10005
ad8ac1bd
RL
100062011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
10007
10008 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
10009 FD_CLOEXEC.
10010
1d3e4b61
UD
100112011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10012
10013 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
10014 Add wcscpy-ssse3 wcscpy-c.
10015 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
10016 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
10017 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
10018 * sysdeps/x86_64/wcschr.S: New file.
10019 * sysdeps/x86_64/wcsrchr.S: New file.
10020 * string/test-strcmp.c: Remove checking of wcscmp function for
10021 wrong alignments.
10022 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
10023 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
10024 wcsrchr-sse2 wcsrchr-c.
10025 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
10026 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
10027 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
10028 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
10029 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
10030 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
10031 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
10032 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
10033 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
10034 * wcsmbc/wcschr.c (WCSCHR): New macro.
10035
5b330a2d
UD
100362011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10037
10038 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
10039 * wcsmbs/test-wcsrchr.c: New file.
10040 * string/test-strrchr.c: Add wcsrchr support.
10041 (WIDE): New macro.
10042 * wcsmbs/test-wcscpy.c: New file.
10043 * string/test-strcpy.c: Add wcscpy support.
10044 (WIDE): New macro.
26428b7c 10045
f039c043
UD
100462011-12-10 Ulrich Drepper <drepper@gmail.com>
10047
10048 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
10049 the inner loop.
10050
850fb039
AS
100512011-12-06 Andreas Schwab <schwab@linux-m68k.org>
10052
10053 [BZ #13472]
10054 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
10055
4efbd5cb
UD
100562011-12-04 Ulrich Drepper <drepper@gmail.com>
10057
52ff5dd0 10058 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 10059 Minor optimizations.
52ff5dd0 10060
4efbd5cb
UD
10061 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
10062 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
10063 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10064
8a426e12
UD
100652011-12-03 Ulrich Drepper <drepper@gmail.com>
10066
aff2453d
UD
10067 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
10068 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
10069 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
10070 for gcc to avoid warnings.
10071 * inet/Makefile (tests): Add tst-checks.
10072 * inet/tst-checks.c: New file.
10073
10074 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
10075 warning.
10076
10077 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
10078 __wmemcmp_sse2.
10079
10080 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
10081 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
10082
8a426e12
UD
10083 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
10084
9bea3473
UD
100852011-12-02 Ulrich Drepper <drepper@gmail.com>
10086
3a965496
UD
10087 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10088 problem.
10089
9bea3473
UD
10090 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10091
f101631b
UD
100922011-11-29 Joseph Myers <joseph@codesourcery.com>
10093
10094 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10095 conditional on GCC version.
10096 (__arch_compare_and_exchange_val_8_acq)
10097 (__arch_compare_and_exchange_val_16_acq)
10098 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10099 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10100 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10101
a98275aa
UD
101022011-12-02 Joseph Myers <joseph@codesourcery.com>
10103
10104 * sysdeps/sh/backtrace.c: New file.
10105
d4cc29a2
AS
101062011-12-02 Andreas Schwab <schwab@redhat.com>
10107
10108 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
10109 parenthesis.
10110
6257af2d
AS
101112011-12-01 Andreas Schwab <schwab@redhat.com>
10112
10113 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10114 falling back to utime.
10115
b5f44c1a
AS
101162011-11-30 Andreas Schwab <schwab@redhat.com>
10117
10118 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10119 expectations for float.
10120
f3a6cc0a
AS
101212011-11-29 Andreas Schwab <schwab@redhat.com>
10122
10123 * locale/weight.h (findidx): Add parameter len.
10124 * locale/weightwc.h (findidx): Likewise.
10125 * posix/fnmatch_loop.c (FCT): Adjust caller.
10126 * posix/regcomp.c (build_equiv_class): Likewise.
10127 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10128 * posix/regexec.c (check_node_accept_bytes): Likewise.
10129 * string/strcoll_l.c (STRCOLL): Likewise.
10130 * string/strxfrm_l.c (STRXFRM): Likewise.
10131
9d65ea3a
UD
101322011-11-17 Ulrich Drepper <drepper@gmail.com>
10133
10134 * Makefile.in: Remove CVSOPT handling.
10135 * configure.in: Remove use of AC_REVISION.
10136 * iconvdata/Makefile (distribute): No need to filter out CVS.
10137 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10138 handling.
10139
5583a086
AS
101402011-11-16 Andreas Schwab <schwab@redhat.com>
10141
10142 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10143 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10144 [USE_AS_STRNCASECMP_L]: Likewise.
10145 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10146 NO_TLS_DIRECT_SEG_REFS.
10147 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10148 Fix argument offsets for non-PIC.
10149 [USE_AS_STRNCASECMP_L]: Likewise.
10150 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10151 NO_TLS_DIRECT_SEG_REFS.
10152
d62a8200
UD
101532011-11-15 Ulrich Drepper <drepper@gmail.com>
10154
9d65ea3a 10155 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
10156 O_CLOEXEC.
10157 * locale/loadlocale.c (_nl_load_locale): Likewise.
10158
09f93bd3
AS
101592011-11-15 Andreas Schwab <schwab@redhat.com>
10160
446514f9
AS
10161 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10162 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10163 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10164 (SYSCALL_GETTIME): Set errno on error.
10165
09f93bd3
AS
10166 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10167 count references to noai6ai_cached.
10168
312be3f9
UD
101692011-11-15 Ulrich Drepper <drepper@gmail.com>
10170
10171 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10172
10173 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10174 FD_CLOEXEC for /proc/self/maps.
10175
10176 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10177 FD_CLOEXEC for /proc/meminfo.
10178
10179 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10180 gai.conf.
10181
10182 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10183 FD_CLOEXEC for given file.
10184
10185 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10186
10187 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10188 FD_CLOEXEC for /etc/hosts.
10189 (_gethtent): Likewise.
10190
10191 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10192
10193 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10194 cancellation and set FD_CLOEXEC for /etc/netgroup.
10195
10196 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10197 reading /etc/publickey.
10198
10199 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10200 allow cancellation when reading /etc/group.
10201
10202 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10203 cancellation.
10204 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10205
10206 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10207 when using data file.
10208
10209 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10210
10211 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10212 (write_nis_obj): Use "c" and "e" in fopen.
10213
10214 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10215
10216 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10217
10218 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10219
10220 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10221
10222 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10223 locale.alias.
10224
10225 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10226
10227 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10228
10229 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10230
10231 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10232 file parsing and set FD_CLOEXEC.
10233
82af0fa8
UD
102342011-11-14 Ulrich Drepper <drepper@gmail.com>
10235
10236 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10237
a5fb313c
AS
102382011-11-14 Andreas Schwab <schwab@redhat.com>
10239
10240 * malloc/arena.c (arena_get2): Don't call reused_arena when
10241 _int_new_arena failed.
10242
6abf3465
UD
102432011-11-14 Ulrich Drepper <drepper@gmail.com>
10244
10245 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10246 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10247 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10248 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10249 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10250 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10251 to compile strcasecmp and strncasecmp.
10252 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10253 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10254
10255 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10256
76e3966e
UD
102572011-11-13 Ulrich Drepper <drepper@gmail.com>
10258
10259 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10260 locale-defines.sym to gen-as-const-headers.
10261 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10262 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10263 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10264 to compile strcasecmp and strncasecmp.
10265 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10266 strcasecmp_l and strncasecmp_l.
10267 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10268 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10269 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10270 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10271 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10272 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10273 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10274 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10275 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10276 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10277 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10278
ab26144e
UD
102792011-11-12 Ulrich Drepper <drepper@gmail.com>
10280
7edb22ef
UD
10281 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10282 result of SYSDEP_GETTIME_CPU to retval.
10283 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10284 parameter list to macro. Remove trailing semicolon. Adjust users.
10285
9694fc44
UD
10286 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10287 variable.
10288
8ad89ef8
UD
10289 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10290 mantissa words.
10291 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10292
0c822ef9
UD
10293 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10294 from unused variable.
10295
874e0564
UD
10296 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10297 DWARF definitions.
10298 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10299 for assembling.
10300
3a2edc79
UD
10301 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10302 over namespaces.
10303
f3c2577f
UD
10304 * sunrpc/rpc_prot.c (rejected): Fix case value.
10305
294ce126
UD
10306 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10307 unsigned long long int to avoid warnings in shift.
10308
5e2b63c6
UD
10309 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10310 of use of trans.
10311 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10312 variable tmp.
10313
e7f4b08e
UD
10314 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10315 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10316 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10317
ab26144e
UD
10318 * nis/nis_table.c (nis_list): Use variable of correct type for
10319 result of __follow_path call.
10320
8a6d5255
AZ
103212011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10322
10323 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10324 of math functions ceil, trunc, floor, round, and sqrt, when
10325 avaliable on the platform.
10326 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10327 name clash.
10328 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10329 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10330 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10331
aaddc98c
MP
103322011-10-30 Marek Polacek <mpolacek@redhat.com>
10333
10334 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10335 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10336
95b7042b
RM
103372011-11-11 Roland McGrath <roland@hack.frob.com>
10338
10339 * include/unistd.h: Fix __readlink return type.
10340 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10341
57769839
UD
103422011-11-11 Ulrich Drepper <drepper@gmail.com>
10343
10344 * stdlib/ucontext.h: Undo last change for makecontext.
10345
edc5984d
AS
103462011-11-11 Andreas Schwab <schwab@redhat.com>
10347
98591e58
AS
10348 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10349
edc5984d
AS
10350 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10351 * setjmp/setjmp.h: Mark functions as non-leaf.
10352 * setjmp/bits/setjmp2.h: Likewise.
10353 * stdlib/ucontext.h: Likewise.
10354
77cdc054
AS
103552011-11-10 Andreas Schwab <schwab@redhat.com>
10356
10357 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10358 (reused_arena): Don't check arena limit.
10359 (arena_get2): Atomically check arena limit.
10360
fe72eebd
UD
103612011-11-08 Ulrich Drepper <drepper@gmail.com>
10362
5f078c32
UD
10363 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10364 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10365
fe72eebd
UD
10366 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10367 instructions.
10368
ae1bc2fa
AS
103692011-11-07 Andreas Schwab <schwab@redhat.com>
10370
7583a88d
AS
10371 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10372 handler when locking.
10373
ae1bc2fa
AS
10374 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10375 Fix size of allocated buffer.
10376
10fb0bfa
AS
103772011-11-04 Andreas Schwab <schwab@redhat.com>
10378
998832a4
AS
10379 [BZ #10103]
10380 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10381 declarations for long double functions.
10382 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10383
10fb0bfa
AS
10384 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10385
3d7ba52b
AS
103862011-11-03 Andreas Schwab <schwab@redhat.com>
10387
a9ae54a1
AS
10388 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10389 installed.
10390
3d7ba52b
AS
10391 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10392 is disabled.
10393
bc8db248
ST
103942011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10395
10396 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10397
45b96dd6
AS
103982011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10399
647776f6
AS
10400 * include/alloca.h (stackinfo_alloca_round): Define.
10401 (extend_alloca): Use it.
10402 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10403 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10404 here.
10405
d91a8b93
AS
10406 * scripts/check-local-headers.sh: Ignore libaudit.h.
10407
45b96dd6
AS
10408 * nscd/Makefile (extra-objs): Make recursively expanded.
10409
432d41ce
UD
104102011-11-01 Ulrich Drepper <drepper@gmail.com>
10411
34372fc6
UD
10412 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10413 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10414
fadb59f8
UD
10415 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10416 * posix/tst-rfc3484-2.c: Likewise.
10417 * posix/tst-rfc3484-3.c: Likewise.
10418
78239589
UD
10419 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10420 process_vm_writev.
10421 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10422 process_vm_writev.
10423 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10424 process_vm_writev from libc using GLIBC_2.15 version.
10425
432d41ce
UD
10426 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10427
02f9c6cf
PP
104282011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10429
10430 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10431 stack usage.
10432
3a2c0242
UD
104332011-10-31 Ulrich Drepper <drepper@gmail.com>
10434
f4ec4833
UD
10435 [BZ #13367]
10436 * nss/getent.c (initgroups_keys): Show error message in case no group
10437 names are given.
10438
3a2c0242
UD
10439 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10440 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10441 __bump_nl_timestamp.
10442 * nscd/connections (nscd_init): When host database is served open
10443 netlink socket and request notification about configuration changes.
10444 (main_loop_poll): Track netlink file descriptor and bump timestamp
10445 in case data becomes available.
10446 (main_loop_epoll): Likewise.
10447 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10448 (database_pers_head): Add extra_data fileds.
10449 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10450 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10451 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10452 Adjust caller.
10453 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10454 in6ai data, call __free_in6ai.
10455 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10456 Add -DHAVE_NETLINK.
10457 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10458 interface information. Reuse previous data if netlink timestamp
10459 is not changed.
10460 (__bump_nl_timestamp): New function.
10461 (__free_in6ai): New function.
10462
636064eb
UD
104632011-10-30 Ulrich Drepper <drepper@gmail.com>
10464
10465 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10466 close_not_cancel_no_status here.
10467 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10468
9beb2334
UD
104692011-10-29 Ulrich Drepper <drepper@gmail.com>
10470
6ef76f3b
UD
10471 [BZ #13276]
10472 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10473 return value.
10474
0ffc4f3e 10475 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
10476 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10477 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10478
cb95113e
UD
104792011-07-03 Andreas Jaeger <aj@suse.de>
10480
10481 [BZ #10709]
10482 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10483 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10484 * math/libm-test.inc (sin_test): Add test case.
10485
a1b560ff
UD
104862011-10-29 Ulrich Drepper <drepper@gmail.com>
10487
c9aaface
UD
10488 [BZ #13337]
10489 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10490 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10491
d272e7f1
UD
10492 * elf/chroot_canon.c (chroot_canon): Cleanups.
10493
1bc33071
UD
10494 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10495
1760874d
TJ
10496 [BZ #13335]
10497 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10498 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10499
51d91b18
UD
10500 * string/test-strchr.c: Make usable for strchrnul testing.
10501 * string/test-strchrnul.c: New file.
10502 * string/Makefile (strop-tests): Add strchrnul.
10503
a1b560ff 10504 * po/it.po: Update from translation team.
b611fb81 10505 * po/es.po: Likewise.
a1b560ff 10506
a5b81e1f
UD
105072011-10-28 Ulrich Drepper <drepper@gmail.com>
10508
fd52bc6d
UD
10509 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10510 the three constants needed as parameters. Drop the others.
10511 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10512 __m128i_strloadu_tolower.
52e4b9eb
UD
10513 Create and initialize variable zero and use it in all the places
10514 where _mm_setzero_si128 was used.
fd52bc6d 10515
a5b81e1f
UD
10516 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10517 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10518 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10519 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10520 anymore.
10521 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10522 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10523 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10524 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10525 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10526 __mpranred, __mptan.
10527 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10528 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10529 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10530 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10531 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10532 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10533 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10534 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10535 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10536
b4343346
AS
105372011-10-28 Andreas Schwab <schwab@redhat.com>
10538
0c92d8a8
AS
10539 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10540 redefine if SHARED.
10541 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10542
b4343346
AS
10543 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10544 wide char related routines to wcsmbs subdir.
10545
3871f58f
AS
105462011-10-27 Andreas Schwab <schwab@redhat.com>
10547
10548 [BZ #13344]
10549 * misc/sys/cdefs.h (__THROWNL): Define.
10550 * posix/unistd.h: Use __THREADNL instead of __THREAD
10551 for memory synchronization functions.
10552
94d44d9f
RM
105532011-10-26 Roland McGrath <roland@hack.frob.com>
10554
21b64b15 10555 [BZ #13349]
94d44d9f
RM
10556 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10557 doesn't exist.
10558 * manual/stdio.texi (Obstack Streams): Node removed.
10559
f6ce9294
AS
105602011-10-26 Andreas Schwab <schwab@redhat.com>
10561
80479147
AS
10562 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10563 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10564 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10565
f6ce9294
AS
10566 * math/math_private.h (math_force_eval): Allow non-addressable
10567 arguments.
10568 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10569
618280a1
UD
105702011-10-25 Ulrich Drepper <drepper@gmail.com>
10571
e0016b11
UD
10572 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10573 file is not needed.
10574
10575 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10576 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10577 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10578 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10579 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10580 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10581 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10582 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10583 Add AVX variants.
10584 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10585 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10586 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10587 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10588 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10589 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10590 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10591 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10592 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10593 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10594 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10595 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10596 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10597 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10598 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10599 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10600 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10601 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10602 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10603
10604 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10605 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10606
618280a1
UD
10607 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10608 place. Use VEX encoding when compiling for AVX.
10609
37822576
AS
106102011-10-25 Andreas Schwab <schwab@redhat.com>
10611
1f1e1947
AS
10612 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10613 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10614
37822576
AS
10615 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10616
31ea014d
UD
106172011-10-25 Ulrich Drepper <drepper@gmail.com>
10618
d7826aa1 10619 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 10620 useless if() expression.
d7826aa1
UD
10621 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10622 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10623 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10624 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10625 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10626 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10627 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10628 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10629 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10630 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10631 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10632 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10633 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10634 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10635 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10636 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10637 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10638 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10639 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10640
31ea014d
UD
10641 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10642
16437fec
AS
106432011-10-25 Andreas Schwab <schwab@redhat.com>
10644
10645 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10646 condition.
10647 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10648
31d3cc00
UD
106492011-10-25 Ulrich Drepper <drepper@gmail.com>
10650
10651 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10652 .text section. Avoid duplicate constants.
10653 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10654 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10655 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10656 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10657 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10658 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10659 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10660 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10661 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10662 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10663 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10664 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10665 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10666 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10667 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10668 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10669 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10670 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10671 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10672 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10673 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10674 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10675 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10676 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10677 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10678 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10679 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10680 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10681 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10682 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10683 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10684 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10685 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10686 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10687 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10688 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10689 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10690 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10691 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10692 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10693 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10694 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10695 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10696 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10697 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10698
58985aa9
UD
106992011-10-24 Ulrich Drepper <drepper@gmail.com>
10700
202c9deb
UD
10701 * sysdeps/x86_64/dla.h: Move to ...
10702 * sysdeps/x86_64/fpu/dla.h: ...here.
10703 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10704 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 10705
af968f62
UD
10706 * config.make.in: Add have-mfma4 entry.
10707 * configure.in: Substitute libc_cv_cc_fma4.
10708 * math/Makefile (dbl-only-routines): Add sincostab.
10709 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10710 Use __sincostab not sincos.
10711 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10712 name is a macro.
10713 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10714 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10715 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10716 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10717 using __copysign.
10718 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10719 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10720 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10721 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10722 and __inv.
10723 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10724 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10725 __copysign.
10726 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10727 define aliases when function name is a macro.
10728 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10729 sysdeps/ieee754/dbl-64/sincos.tbl.
10730 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10731 fma4-enabled routines.
10732 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10733 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10734 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10735 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10736 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10737 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10738 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10739 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10740 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10741 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10742 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10743 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10744 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10745 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10746 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10747 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10748 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10749 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10750 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10751 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10752 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10753 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10754 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10755 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10756 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10757 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10758 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10759 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10760 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10761 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10762
58985aa9
UD
10763 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10764 rename.
10765 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10766 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10767 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10768 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10769 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10770 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10771 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10772 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10773
a201fbcf
AS
107742011-10-24 Andreas Schwab <schwab@redhat.com>
10775
10776 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10777
fc2ee42a
LD
107782011-10-23 Ulrich Drepper <drepper@gmail.com>
10779
bb3129bd
UD
10780 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10781
0275fff8
UD
10782 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10783 prediction.
10784 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10785
2fa2ae85
UD
10786 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10787 Remove unused variable magic_bits.
10788 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10789
fc2ee42a
LD
10790 * string/strnlen.c: Define and use STRNLEN macro.
10791 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10792 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10793 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10794 * wcsmbs/wcslen.c: Define and use WCSLEN.
10795 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10796 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10797 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10798 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10799 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10800 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10801 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10802
ce7dd29f
LD
108032011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10804
10805 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10806 strnlen-sse2-no-bsf.
10807 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10808 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10809 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10810 Add strnlen support.
10811 (USE_AS_STRNLEN): New macro.
10812 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10813 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10814 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10815 * sysdeps/x86_64/wcslen.S: New file.
10816
979c70a3
MZ
108172011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10818
10819 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10820 XMM-moves are used for copying on small sizes.
10821
2d09f82f
LD
108222011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10823
10824 * wcsmbs/Makefile (strop-tests): Add wcschr.
10825 * wcsmbs/test-wcschr.c: New file.
10826 * string/test-strchr.c: Update.
10827 Add wcschr support.
10828 (WIDE): New macro.
10829
619fccca
LD
108302011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10831
2d09f82f 10832 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
10833 * wcsmbs/test-wcslen.c: New file.
10834 * string/test-strlen.c: Update.
10835 Add wcslen support.
10836 (WIDE): New macro.
10837
09f699ea
UD
108382011-10-23 Ulrich Drepper <drepper@gmail.com>
10839
10840 * po/it.po: Update from translation team.
10841
95584d3b
LD
108422011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10843
10844 * sysdeps/x86_64/wcscmp.S: Update.
10845 Fix wrong comparison semantics.
10846 wcscmp shall use signed comparison not unsigned.
10847 Don't use substraction to avoid overflow bug.
10848 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10849 * wcsmbc/wcscmp.c: Likewise.
10850 * string/test-strcmp.c: Likewise.
10851 Add new tests to check cases with negative values.
10852
c8b3296b
UD
108532011-10-23 Ulrich Drepper <drepper@gmail.com>
10854
10855 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10856 * sysdeps/x86_64/dla.h: ...here. New file.
10857 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10858 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10859 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10860 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10861 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10862 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10863 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10864 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10865 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10866
246ad57a
AS
108672011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10868
10869 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10870 __ynl_finite aliases.
10871
a1a87169
UD
108722011-10-22 Ulrich Drepper <drepper@gmail.com>
10873
0d355eb7
UD
10874 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10875
a1a87169
UD
10876 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10877 define DLA_FMA.
10878 [DLA_FMA] (EMULV): Use DLA_FMA.
10879 [DLA_FMA] (MUL12): Use EMULV.
10880 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10881 that are not needed.
10882 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10883 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10884 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10885 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10886 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10887 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10888 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10889
ee2aafe0
AS
108902011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10891
10892 * math/s_nan.c: Undef __nan.
10893 * math/s_nanf.c: Undef __nanf.
10894 * math/s_nanl.c: Undef __nanl.
10895 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10896 "math_private.h".
10897
bc62c2fb
UD
108982011-10-22 Ulrich Drepper <drepper@gmail.com>
10899
77425c63
UD
10900 * math/s_catan.c: Add branch predictions.
10901 * math/s_catanf.c: Likewise.
10902 * math/s_catanh.c: Likewise.
10903 * math/s_catanhf.c: Likewise.
10904 * math/s_catanhl.c: Likewise.
10905 * math/s_catanl.c: Likewise.
10906 * math/s_cexp.c: Likewise.
10907 * math/s_cexpf.c: Likewise.
10908 * math/s_cexpl.c: Likewise.
10909 * math/s_clog.c: Likewise.
10910 * math/s_clog10.c: Likewise.
10911 * math/s_clog10f.c: Likewise.
10912 * math/s_clog10l.c: Likewise.
10913 * math/s_clogf.c: Likewise.
10914 * math/s_clogl.c: Likewise.
10915 * math/s_csqrt.c: Likewise.
10916 * math/s_csqrtf.c: Likewise.
10917 * math/s_csqrtl.c: Likewise.
10918 * math/s_ctanf.c: Likewise.
10919 * math/s_ctanh.c: Likewise.
10920 * math/s_ctanhf.c: Likewise.
10921 * math/s_ctanhl.c: Likewise.
10922 * math/s_ctanl.c: Likewise.
10923
bc62c2fb
UD
10924 * math/math_private.h: Define __nan, __nanf, __nanl.
10925 * math/s_cacosh.c: Include <math_private.h>.
10926 * math/s_cacoshl.c: Likewise.
10927 * math/s_casinh.c: Likewise.
10928 * math/s_casinhf.c: Likewise.
10929 * math/s_casinhl.c: Likewise.
10930 * math/s_ccos.c: Rely entire on ccosh.
10931 * math/s_ccosf.c: Rely entire on ccoshf.
10932 * math/s_ccosl.c: Rely entirely on ccoshl.
10933 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10934 Remove tests for FE_INVALID.
10935 * math/s_ccoshf.c: Likewise.
10936 * math/s_ccoshl.c: Likewise.
10937 * math/s_csin.c: Likewise.
10938 * math/s_csinf.c: Likewise.
10939 * math/s_csinh.c Likewise.
10940 * math/s_csinhf.c: Likewise.
10941 * math/s_csinhl.c: Likewise.
10942 * math/s_csinl.c: Likewise.
10943 * math/s_ctan.c: Likewise.
10944 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10945 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10946 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10947
8ec250a4
UD
109482011-10-21 Ulrich Drepper <drepper@gmail.com>
10949
c196fed8
UD
10950 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10951 compilation problems.
10952
8ec250a4
UD
10953 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10954 __builtin_expect.
10955
8d4f46c6
UD
109562011-10-20 Ulrich Drepper <drepper@gmail.com>
10957
ed72b654
UD
10958 * sysdeps/i386/configure.in: Test for -mfma4 option.
10959 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10960 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10961 COMMON_CPUID_INDEX_80000001.
10962 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10963 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10964 use it if FMA3 is not supported.
10965 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10966
8d4f46c6
UD
10967 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10968 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10969
d45c60c2
AS
109702011-10-20 Andreas Schwab <schwab@redhat.com>
10971
10972 [BZ #12892]
10973 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10974 it would create a cycle with a link time dependency.
10975
d9a4d2ab
UD
109762011-10-19 Ulrich Drepper <drepper@gmail.com>
10977
855d1560
UD
10978 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10979 instruction.
10980 * string/Makefile (strop-tests): Add rawmemchr.
10981 * string/test-rawmemchr.c: New file.
10982
d9a4d2ab
UD
10983 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10984 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10985 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10986 when compiling str{,n}casecmp and when AVX is available. Hook up
10987 new optimized code in initializers.
10988
8f3b1ffe
AS
109892011-10-19 Andreas Schwab <schwab@redhat.com>
10990
10991 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10992 __feraiseexcept instead of feraiseexcept.
10993
d38f1dba
UD
109942011-10-18 Ulrich Drepper <drepper@gmail.com>
10995
d9a8d0ab
UD
10996 * math/math_private.h: Define defaults for libc_fetestexcept and
10997 libc_feupdateenv.
10998 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10999 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11000 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11001 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11002 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11003 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11004 libc_fetestexcept and libc_feupdateenv.
11005
4855e3dd
UD
11006 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
11007 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
11008 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
11009 * sysdeps/x86_64/fpu/math_private.h: Define special version of
11010 libc_feholdexcept_setround.
11011
581d30e3
UD
11012 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
11013 Add s_nearbyint-c and s_nearbyintf-c.
11014 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
11015 nearbyintf inlines.
11016 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
11017 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
11018 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
11019 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
11020
d38f1dba
UD
11021 * math/math_private.h: Define defaults for libc_fegetround,
11022 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
11023 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
11024 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
11025 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
11026 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
11027 standard functions.
11028 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11029 Remove comments and hacks for old compiler versions.
11030 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11031 libc_fegetround, libc_fesetround, libc_feholdexcept, and
11032 libc_feholdexceptl.
11033
caa6c9d8
AS
110342011-10-18 Andreas Schwab <schwab@redhat.com>
11035
11036 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
11037 (__feraiseexcept_renamed): Add __NTH.
11038 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
11039 namespace violations.
11040
97c066e6
UD
110412011-10-17 Ulrich Drepper <drepper@gmail.com>
11042
99ce7b04
UD
11043 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
11044
1004d182
UD
11045 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
11046
228a984d
UD
11047 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
11048 recently added interfaces.
11049 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
11050
c8553a6a
UD
11051 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
11052 about macro parameter expansion.
11053
ed22dcf6
UD
11054 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
11055 __NO_MATH_INLINES is defined. Cleanups.
11056
11057 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
11058 and __floorf is target has SSE4.1.
11059 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
11060 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
11061 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
11062 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
11063
b171c137
UD
11064 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
11065 name.
11066 (floorf): Likewise.
11067
97c066e6
UD
11068 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
11069
629f62ef
AS
110702011-10-17 Andreas Schwab <schwab@redhat.com>
11071
49a43d80
AS
11072 * misc/sys/cdefs.h: Fix last change.
11073
629f62ef
AS
11074 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
11075 database lookup.
11076
e453f6cd
UD
110772011-10-16 Ulrich Drepper <drepper@gmail.com>
11078
aa78043a
UD
11079 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
11080
ad0f5cad
UD
11081 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
11082 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11083 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11084 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11085 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11086 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11087 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11088 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11089 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11090 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11091 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11092 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11093 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11094 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11095 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11096 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11097 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11098 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11099 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11100 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11101 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11102 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11103
11104 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11105 ceil, ceilf, floor, floorf.
11106
11107 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11108 Perform IRELATIVE relocations last.
11109
e453f6cd
UD
11110 * elf/do-rel.h: Add another parameter nrelative, replacing the
11111 local variable with the same name. Change name of the function
11112 to end in Rel or Rela (uppercase).
11113 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11114 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
11115 elf_dynamic_do_##reloc function.
11116
fd5bdc09
UD
111172011-10-15 Ulrich Drepper <drepper@gmail.com>
11118
79b195b5
UD
11119 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11120 is sufficient, at least on modern CPUs.
11121
d4a28569
UD
11122 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11123
b61099b5
UD
11124 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11125 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11126
bcf01e6d
UD
11127 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11128 __expl_finite.
11129 * math/bits/math-finite.h: Add entries for exp.
11130 * math/e_expl.c: Add __*_finite alias.
11131 * sysdeps/i386/fpu/e_exp.S: Likewise.
11132 * sysdeps/i386/fpu/e_expf.S: Likewise.
11133 * sysdeps/i386/fpu/e_expl.c: Likewise.
11134 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11135 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11136 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11137 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11138 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11139 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11140 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11141
ba1a0d59
UD
11142 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11143 is sufficient, at least on modern CPUs.
11144
fd5bdc09
UD
11145 * ctype/ctype-info.c (__ctype_init): Define.
11146 * include/ctype.h (__ctype_init): Declare.
11147 (__ctype_b_loc): The variable is always initialized.
11148 (__ctype_toupper_loc): Likewise.
11149 (__ctype_tolower_loc): Likewise.
11150 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11151 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11152
7872cfb0
AS
111532011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11154
b468825a
AS
11155 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11156
7872cfb0
AS
11157 * configure.in: Also look in $cxxmachine/include for C++ system
11158 headers.
11159
be13f7bf
LD
111602011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11161
11162 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11163 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11164 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11165 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11166 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11167 (USE_AS_WMEMCMP): New macro.
11168 Fixing indents.
11169 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11170 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11171 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11172 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11173 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11174 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11175 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11176 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11177 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11178 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11179 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11180 (USE_AS_WMEMCMP): New macro.
11181 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11182 * sysdeps/string/test-memcmp.c: Update.
11183 Fix simple_wmemcmp.
11184 Add new tests.
11185 * wcsmbs/wmemcmp.c: Update.
11186 (WMEMCMP): New macro.
11187 Fix overflow bug.
11188
556a2007
AJ
111892011-10-12 Andreas Jaeger <aj@suse.de>
11190
11191 [BZ #13268]
11192 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11193
538faaa7
UD
111942011-10-15 Ulrich Drepper <drepper@gmail.com>
11195
ab6737ff
UD
11196 * libio/iofwide.c (do_length): Avoid warning.
11197
538faaa7
UD
11198 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11199
396a21b1
UD
112002011-10-14 Ulrich Drepper <drepper@gmail.com>
11201
cdf2901f
UD
11202 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11203
38ad40ce
UD
11204 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11205 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11206 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11207 * sysdeps/i386/i686/fpu/e_log.S: New file.
11208 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11209 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11210
396a21b1
UD
11211 * ctype/ctype.h: Add support for inlined isXXX functions when
11212 compiling C++ code.
11213
6b1f68c9
AS
112142011-10-14 Andreas Schwab <schwab@redhat.com>
11215
349290c0
AS
11216 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11217
6b1f68c9
AS
11218 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11219
f2282d42
RM
112202011-10-13 Roland McGrath <roland@hack.frob.com>
11221
11222 [BZ #13291]
11223 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11224
5298ffa8
AS
112252011-10-13 Andreas Schwab <schwab@redhat.com>
11226
714fad23
AS
11227 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11228 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11229 feraiseexcept.
11230
81dcc7fb
AS
11231 * sysdeps/x86_64/memrchr.S: Check for zero size.
11232
5298ffa8
AS
11233 * string/stratcliff.c: Add memrchr tests.
11234
951fbcec
LD
112352011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11236
11237 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11238 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11239 rawmemchr-sse2 rawmemchr-sse2-bsf.
11240 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11241 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11242 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11243 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11244 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11245 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11246 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11247 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11248 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11249 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11250 * string/memrchr.c (MEMRCHR): New macro.
11251
0ac5ae23
UD
112522011-10-12 Ulrich Drepper <drepper@gmail.com>
11253
11254 Add integration with gcc's -ffinite-math-only and optimize wrapper
11255 functions in libm.
11256 * Versions.def: Define GLIBC_2.15 version for libm.
11257 * math/Makefile (headers): Add bits/math-finite.h.
11258 * math/bits/math-finite.h: New file.
11259 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11260 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11261 * math/e_acoshl.c: Add __*_finite alias.
11262 * math/e_acosl.c: Likewise.
11263 * math/e_asinl.c: Likewise.
11264 * math/e_atan2l.c: Likewise.
11265 * math/e_atanhl.c: Likewise.
11266 * math/e_coshl.c: Likewise.
11267 * math/e_exp10.c: Likewise.
11268 * math/e_exp10f.c: Likewise.
11269 * math/e_exp10l.c: Likewise.
11270 * math/e_exp2l.c: Likewise.
11271 * math/e_fmodl.c: Likewise.
11272 * math/e_gammal_r.c: Likewise.
11273 * math/e_hypotl.c: Likewise.
11274 * math/e_j0l.c: Likewise.
11275 * math/e_j1l.c: Likewise.
11276 * math/e_jnl.c: Likewise.
11277 * math/e_lgammal_r.c: Likewise.
11278 * math/e_log10l.c: Likewise.
11279 * math/e_log2l.c: Likewise.
11280 * math/e_logl.c: Likewise.
11281 * math/e_powl.c: Likewise.
11282 * math/e_sinhl.c: Likewise.
11283 * math/e_sqrtl.c: Likewise.
11284 * math/e_scalb.c: Completely rewritten and optimized.
11285 * math/e_scalbf.c: Likewise.
11286 * math/e_scalbl.c: Likewise.
11287 * math/w_acos.c: Likewise.
11288 * math/w_acosf.c: Likewise.
11289 * math/w_acosl.c: Likewise.
11290 * math/w_acosh.c: Likewise.
11291 * math/w_acoshf.c: Likewise.
11292 * math/w_acoshl.c: Likewise.
11293 * math/w_asin.c: Likewise.
11294 * math/w_asinf.c: Likewise.
11295 * math/w_asinl.c: Likewise.
11296 * math/w_atan2.c: Likewise.
11297 * math/w_atan2f.c: Likewise.
11298 * math/w_atan2l.c: Likewise.
11299 * math/w_atanh.c: Likewise.
11300 * math/w_atanhf.c: Likewise.
11301 * math/w_atanhl.c: Likewise.
11302 * math/w_exp10.c: Likewise.
11303 * math/w_exp10f.c: Likewise.
11304 * math/w_exp10l.c: Likewise.
11305 * math/w_fmod.c: Likewise.
11306 * math/w_fmodf.c: Likewise.
11307 * math/w_fmodl.c: Likewise.
11308 * math/w_j0.c: Likewise.
11309 * math/w_j0f.c: Likewise.
11310 * math/w_j0l.c: Likewise.
11311 * math/w_j1.c: Likewise.
11312 * math/w_j1f.c: Likewise.
11313 * math/w_j1l.c: Likewise.
11314 * math/w_jn.c: Likewise.
11315 * math/w_jnf.c: Likewise.
11316 * math/w_log.c: Likewise.
11317 * math/w_logf.c: Likewise.
11318 * math/w_logl.c: Likewise.
11319 * math/w_log10.c: Likewise.
11320 * math/w_log10f.c: Likewise.
11321 * math/w_log10l.c: Likewise.
11322 * math/w_log2.c: Likewise.
11323 * math/w_log2f.c: Likewise.
11324 * math/w_log2l.c: Likewise.
11325 * math/w_pow.c: Likewise.
11326 * math/w_powf.c: Likewise.
11327 * math/w_powl.c: Likewise.
11328 * math/w_remainder.c: Likewise.
11329 * math/w_remainderf.c: Likewise.
11330 * math/w_remainderl.c: Likewise.
11331 * math/w_scalb.c: Likewise.
11332 * math/w_scalbf.c: Likewise.
11333 * math/w_scalbl.c: Likewise.
11334 * math/w_sqrt.c: Likewise.
11335 * math/w_sqrtf.c: Likewise.
11336 * math/w_sqrtl.c: Likewise.
11337 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11338 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11339 used.
11340 * math/math_private.h: Declare __kernel_standard_f.
11341 * math/w_cosh.c: Remove cruft and optimize a bit.
11342 * math/w_coshf.c: Likewise.
11343 * math/w_coshl.c: Likewise.
11344 * math/w_exp2.c: Likewise.
11345 * math/w_exp2f.c: Likewise.
11346 * math/w_exp2l.c: Likewise.
11347 * math/w_hypot.c: Likewise.
11348 * math/w_hypotf.c: Likewise.
11349 * math/w_hypotl.c: Likewise.
11350 * math/w_lgamma.c: Likewise.
11351 * math/w_lgamma_r.c: Likewise.
11352 * math/w_lgammaf.c: Likewise.
11353 * math/w_lgammaf_r.c: Likewise.
11354 * math/w_lgammal.c: Likewise.
11355 * math/w_lgammal_r.c: Likewise.
11356 * math/w_sinh.c: Likewise.
11357 * math/w_sinhf.c: Likewise.
11358 * math/w_sinhl.c: Likewise.
11359 * math/w_tgamma.c: Likewise.
11360 * math/w_tgammaf.c: Likewise.
11361 * math/w_tgammal.c: Likewise.
11362 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11363 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11364 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11365 Minor optimizations. Pretty printing. Remove cruft.
11366 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11367 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11368 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11369 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11370 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11371 * sysdeps/i386/fpu/e_asin.S: Likewise.
11372 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11373 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11374 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11375 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11376 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11377 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11378 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11379 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11380 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11381 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11382 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11383 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11384 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11385 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11386 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11387 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11388 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11389 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11390 * sysdeps/i386/fpu/e_log.S: Likewise.
11391 * sysdeps/i386/fpu/e_log10.S: Likewise.
11392 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11393 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11394 * sysdeps/i386/fpu/e_log2.S: Likewise.
11395 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11396 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11397 * sysdeps/i386/fpu/e_logf.S: Likewise.
11398 * sysdeps/i386/fpu/e_logl.S: Likewise.
11399 * sysdeps/i386/fpu/e_pow.S: Likewise.
11400 * sysdeps/i386/fpu/e_powf.S: Likewise.
11401 * sysdeps/i386/fpu/e_powl.S: Likewise.
11402 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11403 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11404 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11405 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11406 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11407 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11408 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11409 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11410 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11411 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11412 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11413 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11414 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11415 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11416 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11417 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11418 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11419 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11420 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11421 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11422 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11423 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11424 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11425 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11426 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11427 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11428 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11429 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11430 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11431 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11432 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11433 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11434 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11435 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11436 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11437 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11438 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11439 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11440 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11441 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11442 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11443 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11444 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11445 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11446 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11447 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11448 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11449 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11450 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11451 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11452 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11453 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11454 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11455 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11456 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11457 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11458 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11459 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11460 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11461 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11462 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11463 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11464 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11465 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11466 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11467 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11468 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11469 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11470 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11471 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11472 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11473 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11474 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11475 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11476 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11477 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11478 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11479 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11480 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11481 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11482 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11483 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11484 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11485 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11486 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11487 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11488 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11489 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11490 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11491 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11492 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11493 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11494 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11495 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11496 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11497 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11498 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11499 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11500 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11501 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11502 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11503 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11504 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11505 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11506 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11507 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11508 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11509 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11510 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11511 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11512 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11513 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11514 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11515 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11516 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11517 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11518 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11519 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11520 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11521 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11522 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11523 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11524 (__isnanf): Likewise.
11525 (__isinf_ns): Likewise.
11526 (__isinf_nsf): Likewise.
11527 (__finite): Likewise.
11528 (__finitef): Likewise.
11529 (__ieee754_sqrt): Define as macro.
11530 (__ieee754_sqrtf): Define as macro.
11531 (__ieee754_sqrtl): Define as macro.
11532 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11533 inlined copy.
11534 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11535 __FINITE_MATH_ONLY__ consistent.
11536 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11537
12cc2fcd
AS
115382011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11539
a843a204
AS
11540 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11541 of rawmemchr.
11542
12cc2fcd
AS
11543 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11544
c853acd5
UD
115452011-10-09 Ulrich Drepper <drepper@gmail.com>
11546
11547 * po/ja.po: Update from translation team.
11548
c658d255
RM
115492011-10-08 Roland McGrath <roland@hack.frob.com>
11550
110946e4
RM
11551 * locale/programs/locarchive.c (prepare_address_space): New function.
11552 (create_archive, enlarge_archive, open_archive): Use it.
11553
50604220
RM
11554 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11555 inside [SHARED], where it is used.
11556
c658d255
RM
11557 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11558
11559 * nss/getent.c (netgroup_keys): Remove unused variable.
11560 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11561
6a621eb7
UD
115622011-10-08 Ulrich Drepper <drepper@gmail.com>
11563
7edb55ce
UD
11564 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11565 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11566 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11567 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11568 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11569 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11570 * math/Makefile (libm-calls): Add s_isinf_ns.
11571 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11572 * math/multc3.c: Likewise.
11573 * math/s_casin.c: Likewise.
11574 * math/s_casinf.c: Likewise.
11575 * math/s_casinl.c: Likewise.
11576 * math/s_ccos.c: Likewise.
11577 * math/s_ccosf.c: Likewise.
11578 * math/s_ccosl.c: Likewise.
11579 * math/s_ctan.c: Likewise.
11580 * math/s_ctanf.c: Likewise.
11581 * math/s_ctanh.c: Likewise.
11582 * math/s_ctanhf.c: Likewise.
11583 * math/s_ctanhl.c: Likewise.
11584 * math/s_ctanl.c: Likewise.
11585 * math/w_fmod.c: Likewise.
11586 * math/w_fmodf.c: Likewise.
11587 * math/w_fmodl.c: Likewise.
11588 * math/w_remainder.c: Likewise.
11589 * math/w_remainderf.c: Likewise.
11590 * math/w_remainderl.c: Likewise.
11591 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11592 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11593 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11594 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11595 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11596 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11597 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11598 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11599
187da0ae
UD
11600 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11601 of the number.
11602 * stdio-common/printf_fphex.c: Likewise.
11603 * stdio-common/printf_size.c: Likewise.
11604
9277c064
UD
11605 * math/e_exp10.c: Include math_private.h using <...> not "...".
11606 * math/e_exp10f.c: Likewise.
11607 * math/e_exp10l.c: Likewise.
11608 * math/e_exp2l.c: Likewise.
11609 * math/e_j0l.c: Likewise.
11610 * math/e_j1l.c: Likewise.
11611 * math/e_jnl.c: Likewise.
11612 * math/e_lgammal_r.c: Likewise.
11613 * math/e_rem_pio2l.c: Likewise.
11614 * math/e_scalb.c: Likewise.
11615 * math/e_scalbf.c: Likewise.
11616 * math/e_scalbl.c: Likewise.
11617 * math/k_cosl.c: Likewise.
11618 * math/k_sinl.c: Likewise.
11619 * math/k_tanl.c: Likewise.
11620 * math/s_cacoshf.c: Likewise.
11621 * math/s_catan.c: Likewise.
11622 * math/s_catanf.c: Likewise.
11623 * math/s_catanh.c: Likewise.
11624 * math/s_catanhf.c: Likewise.
11625 * math/s_catanhl.c: Likewise.
11626 * math/s_catanl.c: Likewise.
11627 * math/s_ccosh.c: Likewise.
11628 * math/s_ccoshf.c: Likewise.
11629 * math/s_ccoshl.c: Likewise.
11630 * math/s_cexp.c: Likewise.
11631 * math/s_cexpf.c: Likewise.
11632 * math/s_cexpl.c: Likewise.
11633 * math/s_clog.c: Likewise.
11634 * math/s_clog10.c: Likewise.
11635 * math/s_clog10f.c: Likewise.
11636 * math/s_clog10l.c: Likewise.
11637 * math/s_clogf.c: Likewise.
11638 * math/s_clogl.c: Likewise.
11639 * math/s_csin.c: Likewise.
11640 * math/s_csinf.c: Likewise.
11641 * math/s_csinh.c: Likewise.
11642 * math/s_csinhf.c: Likewise.
11643 * math/s_csinhl.c: Likewise.
11644 * math/s_csinl.c: Likewise.
11645 * math/s_csqrt.c: Likewise.
11646 * math/s_csqrtf.c: Likewise.
11647 * math/s_csqrtl.c: Likewise.
11648 * math/s_ctan.c: Likewise.
11649 * math/s_ctanf.c: Likewise.
11650 * math/s_ctanh.c: Likewise.
11651 * math/s_ctanhf.c: Likewise.
11652 * math/s_ctanhl.c: Likewise.
11653 * math/s_ctanl.c: Likewise.
11654 * math/s_ldexp.c: Likewise.
11655 * math/s_ldexpf.c: Likewise.
11656 * math/s_ldexpl.c: Likewise.
11657 * math/s_significand.c: Likewise.
11658 * math/s_significandf.c: Likewise.
11659 * math/s_significandl.c: Likewise.
11660 * math/w_acos.c: Likewise.
11661 * math/w_acosf.c: Likewise.
11662 * math/w_acosh.c: Likewise.
11663 * math/w_acoshf.c: Likewise.
11664 * math/w_acoshl.c: Likewise.
11665 * math/w_acosl.c: Likewise.
11666 * math/w_asin.c: Likewise.
11667 * math/w_asinf.c: Likewise.
11668 * math/w_asinl.c: Likewise.
11669 * math/w_atan2.c: Likewise.
11670 * math/w_atan2f.c: Likewise.
11671 * math/w_atan2l.c: Likewise.
11672 * math/w_atanh.c: Likewise.
11673 * math/w_atanhf.c: Likewise.
11674 * math/w_atanhl.c: Likewise.
11675 * math/w_cosh.c: Likewise.
11676 * math/w_coshf.c: Likewise.
11677 * math/w_coshl.c: Likewise.
11678 * math/w_dremf.c: Likewise.
11679 * math/w_exp10.c: Likewise.
11680 * math/w_exp10f.c: Likewise.
11681 * math/w_exp10l.c: Likewise.
11682 * math/w_exp2.c: Likewise.
11683 * math/w_exp2f.c: Likewise.
11684 * math/w_fmod.c: Likewise.
11685 * math/w_fmodf.c: Likewise.
11686 * math/w_fmodl.c: Likewise.
11687 * math/w_hypot.c: Likewise.
11688 * math/w_hypotf.c: Likewise.
11689 * math/w_hypotl.c: Likewise.
11690 * math/w_j0.c: Likewise.
11691 * math/w_j0f.c: Likewise.
11692 * math/w_j0l.c: Likewise.
11693 * math/w_j1.c: Likewise.
11694 * math/w_j1f.c: Likewise.
11695 * math/w_j1l.c: Likewise.
11696 * math/w_jn.c: Likewise.
11697 * math/w_jnf.c: Likewise.
11698 * math/w_jnl.c: Likewise.
11699 * math/w_lgamma.c: Likewise.
11700 * math/w_lgamma_r.c: Likewise.
11701 * math/w_lgammaf.c: Likewise.
11702 * math/w_lgammaf_r.c: Likewise.
11703 * math/w_lgammal.c: Likewise.
11704 * math/w_lgammal_r.c: Likewise.
11705 * math/w_log.c: Likewise.
11706 * math/w_log10.c: Likewise.
11707 * math/w_log10f.c: Likewise.
11708 * math/w_log10l.c: Likewise.
11709 * math/w_log2.c: Likewise.
11710 * math/w_log2f.c: Likewise.
11711 * math/w_log2l.c: Likewise.
11712 * math/w_logf.c: Likewise.
11713 * math/w_logl.c: Likewise.
11714 * math/w_pow.c: Likewise.
11715 * math/w_powf.c: Likewise.
11716 * math/w_powl.c: Likewise.
11717 * math/w_remainder.c: Likewise.
11718 * math/w_remainderf.c: Likewise.
11719 * math/w_remainderl.c: Likewise.
11720 * math/w_scalb.c: Likewise.
11721 * math/w_scalbf.c: Likewise.
11722 * math/w_scalbl.c: Likewise.
11723 * math/w_sinh.c: Likewise.
11724 * math/w_sinhf.c: Likewise.
11725 * math/w_sinhl.c: Likewise.
11726 * math/w_sqrt.c: Likewise.
11727 * math/w_sqrtf.c: Likewise.
11728 * math/w_sqrtl.c: Likewise.
11729 * math/w_tgamma.c: Likewise.
11730 * math/w_tgammaf.c: Likewise.
11731 * math/w_tgammal.c: Likewise.
11732
6a621eb7
UD
11733 * po/ja.po: Update from translation team.
11734
bf582445
AJ
117352011-09-29 Andreas Jaeger <aj@suse.de>
11736
f9efbf3a
AJ
11737 [BZ #13179]
11738 * sunrpc/netname.c (netname2host): Fix logic.
11739
bf582445
AJ
11740 [BZ #6779]
11741 [BZ #6783]
11742 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11743 correctly.
11744 * math/w_remainder.c (__remainder): Likewise.
11745 * math/w_remainderf.c (__remainderf): Likewise.
11746 * math/libm-test.inc (remainder_test): Add test cases.
11747
48693bea
AK
117482011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11749
11750 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11751 sdiv_qrnnd.
11752
42622229
LD
117532011-10-07 Ulrich Drepper <drepper@gmail.com>
11754
11755 * string/test-memcmp.c: Avoid unncessary #defines.
11756 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11757
093ecf92
LD
117582011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11759
11760 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11761 Use new sse2 version for core i3 - i7 as it's faster
11762 than sse42 version.
11763 (bit_Prefer_PMINUB_for_stringop): New.
11764 * sysdeps/x86_64/rawmemchr.S: Update.
11765 Replace with faster SSE2 version.
11766 * sysdeps/x86_64/memrchr.S: New file.
11767 * sysdeps/x86_64/memchr.S: Update.
11768 Replace with faster SSE2 version.
11769
fde56e5c
MP
117702011-09-12 Marek Polacek <mpolacek@redhat.com>
11771
11772 * elf/dl-load.c (lose): Add cast to avoid warning.
11773
21fd49a9
UD
117742011-10-07 Ulrich Drepper <drepper@gmail.com>
11775
5a06e643
UD
11776 * po/ca.po: Update from translation team.
11777
684ae515
UD
11778 * inet/getnetgrent_r.c: Hook up nscd.
11779 * nscd/Makefile (routines): Add nscd_netgroup.
11780 (nscd-modules): Add netgroupcache.
11781 (CFLAGS-netgroupcache.c): Define.
11782 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11783 (cache_search): Add const to second parameter.
11784 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11785 INNETGR.
11786 (dbs): Add netgrdb entry.
11787 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11788 (verify_persistent_db): Handle netgrdb.
11789 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11790 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11791 GETFDNETGR.
11792 (netgroup_response_header): Define.
11793 (innetgroup_response_header): Define.
11794 (datahead): Add netgroup_response_header and innetgroup_response_header
11795 elements.
11796 * nscd/nscd.conf: Add entries for netgroup cache.
11797 * nscd/nscd.h (dbtype): Add netgrdb.
11798 (_PATH_NSCD_NETGROUP_DB): Define.
11799 (netgroup_iov_disabled): Declare.
11800 (xmalloc, xcalloc, xrealloc): Move declarations here.
11801 (cache_search): Adjust prototype.
11802 Add netgroup-related prototypes.
11803 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11804 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11805 (__nscd_innetgr): Declare.
11806 * nscd/selinux.c (perms): Use access_vector_t as element type and
11807 add netgroup-related initializers.
11808 * nscd/netgroupcache.c: New file.
11809 * nscd/nscd_netgroup.c: New file.
11810 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11811 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11812 For four parameters use innetgr.
11813 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11814 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11815 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11816 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11817
21fd49a9
UD
11818 * nscd/connections.c (register_traced_file): Don't register file
11819 for disabled databases.
11820
054c0457
UD
118212011-10-06 Ulrich Drepper <drepper@gmail.com>
11822
32b63198
UD
11823 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11824
054c0457
UD
11825 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11826 from tree and freeing node.
11827
64031225
JO
118282011-09-25 Jiri Olsa <jolsa@redhat.com>
11829
11830 * nss/nsswitch.c (__nss_database_lookup): Handle
11831 nss_parse_service_list out of memory case.
11832
0490345c
JO
118332011-09-15 Jiri Olsa <jolsa@redhat.com>
11834
11835 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11836 out of memory case.
11837
3a62d00d
AS
118382011-10-04 Andreas Schwab <schwab@redhat.com>
11839
11840 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11841 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11842 pass it down.
11843 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11844 elf_machine_rela, elf_machine_lazy_rel.
11845 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11846 (ELF_DYNAMIC_DO_REL): Likewise.
11847 (ELF_DYNAMIC_DO_RELA): Likewise.
11848 (ELF_DYNAMIC_RELOCATE): Likewise.
11849 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11850 to ELF_DYNAMIC_DO_REL.
11851 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11852 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11853 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11854 elf_machine_rela.
11855 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11856 skip_ifunc, don't call ifunc function if non-zero.
11857 (elf_machine_rela): Likewise.
11858 (elf_machine_lazy_rel): Likewise.
11859 (elf_machine_lazy_rela): Likewise.
11860 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11861 (elf_machine_lazy_rel): Likewise.
11862 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11863 Likewise.
11864 (elf_machine_lazy_rel): Likewise.
11865 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11866 Likewise.
11867 (elf_machine_lazy_rel): Likewise.
11868 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11869 (elf_machine_lazy_rel): Likewise.
11870 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11871 (elf_machine_lazy_rel): Likewise.
11872 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11873 (elf_machine_lazy_rel): Likewise.
11874 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11875 (elf_machine_lazy_rel): Likewise.
11876 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11877 (elf_machine_lazy_rel): Likewise.
11878 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11879 (elf_machine_lazy_rel): Likewise.
11880
68577918
UD
118812011-09-28 Ulrich Drepper <drepper@gmail.com>
11882
11883 * nss/nss_files/files-init.c (_nss_files_init): Use static
11884 initialization for all the *_traced_file variables.
11885
68822d74
AS
118862011-09-28 Andreas Schwab <schwab@redhat.com>
11887
11888 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11889
2056100b
RM
118902011-09-27 Roland McGrath <roland@hack.frob.com>
11891
11892 [BZ #13226]
11893 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11894
32c76b63
AS
118952011-09-27 Andreas Schwab <schwab@redhat.com>
11896
11897 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11898 Reread the line before reparsing it.
11899
bf972c9d
AS
119002011-09-26 Andreas Schwab <schwab@redhat.com>
11901
11902 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11903
e057a1b5
JM
119042011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11905 Maxim Kuvyrkov <maxim@codesourcery.com>
11906 Joseph Myers <joseph@codesourcery.com>
11907
11908 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11909 if needed for __stack_chk_guard.
11910
bc7e1c36
RM
119112011-09-19 Roland McGrath <roland@hack.frob.com>
11912
ecb1482f
RM
11913 * sysdeps/posix/spawni.c (script_execute): Always define it.
11914 It will be optimized away if unused.
11915 (maybe_script_execute): New function.
11916 (__spawni): Call it.
11917
bc7e1c36
RM
11918 * Makerules: Don't include tls.make.
11919 (config-tls): Always set to thread.
11920 * tls.make.c: File removed.
11921
1c3b002b
MF
119222011-09-19 Mike Frysinger <vapier@gentoo.org>
11923
11924 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11925 * config.make.in (CPPFLAGS-config): New substituted variable.
11926
2840865d
UD
119272011-09-15 Ulrich Drepper <drepper@gmail.com>
11928
88738eb6
UD
11929 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11930
cbf645a6 11931 [BZ #13192]
2840865d
UD
11932 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11933 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11934
b402e91a
RM
119352011-09-15 Roland McGrath <roland@hack.frob.com>
11936
11937 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11938 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11939 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11940 (CALL_FAIL): Likewise.
11941 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11942 (CALL_FAIL): Macro removed.
11943 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11944
4c1a1f71
UD
119452011-09-15 Ulrich Drepper <drepper@gmail.com>
11946
11947 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11948 for __FINITE_MATH_ONLY__ == 1.
11949
edc121be
AS
119502011-09-15 Andreas Schwab <schwab@redhat.com>
11951
11952 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11953 __ieee754_sqrt instead of sqrt.
11954 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11955 __ieee754_sqrtf instead of sqrtf.
11956 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11957 __floorf instead of floorf.
11958 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11959 __floorf, __truncf instead of floorf, truncf.
11960
cd205654
UD
119612011-09-14 Ulrich Drepper <drepper@gmail.com>
11962
ee4d0315
UD
11963 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11964
cd205654
UD
11965 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11966 __extern_always_inline.
11967 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11968 32-bit.
11969
48b67d71
AS
119702011-09-14 Andreas Schwab <schwab@redhat.com>
11971
11972 * elf/rtld.c (dl_main): Also relocate in dependency order when
11973 doing symbol dependency testing.
11974
1ae12c75
AS
119752011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11976
11977 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11978 Always define `refsym'.
11979
995a80df
AS
119802011-09-13 Andreas Schwab <schwab@redhat.com>
11981
e529793b
AS
11982 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11983 (__FD_ELT): Renamed from __FDELT.
11984 * misc/bits/select2.h (__FD_ELT): Likewise.
11985 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11986 __FD_MASK instead of __FDELT, __FDMASK.
11987 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11988 Likewise.
11989 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11990 Likewise.
11991
52d4fef8
AS
11992 * elf/Makefile (gen-ldd): Fix pattern.
11993
995a80df
AS
11994 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11995 (init_tls): Likewise.
11996
8682f8b0
UD
119972011-09-12 Ulrich Drepper <drepper@gmail.com>
11998
11999 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
12000
de82006d
AS
120012011-09-12 Andreas Schwab <schwab@redhat.com>
12002
a7c8e6a1
AS
12003 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
12004 `struct cmsghdr *' instead of `void *'.
12005 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
12006 Likewise.
12007
0f31fe77
AS
120082011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12009
12010 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
12011 if non-absolute.
12012 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
12013 ldd_rewrite_script.
0f31fe77 12014
32b4c839
UD
120152011-09-11 Ulrich Drepper <drepper@gmail.com>
12016
83cd1420
UD
12017 * configure.in: Remove --with-tls option.
12018 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
12019 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
12020 out in case it is missing.
12021 * sysdeps/ia64/elf/configure.in: Likewise.
12022 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
12023 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
12024 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
12025 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
12026 * sysdeps/sh/elf/configure.in: Likewise.
12027 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
12028 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12029 * sysdeps/x86_64/elf/configure.in: Likewise.
12030 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
12031 * sysdeps/mach/hurd/tls.h: Likewise.
12032
633f745d
UD
12033 [BZ #13067]
12034 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
12035
f318beb8
UD
12036 [BZ #13090]
12037 * configure.in: Fix use of AC_INIT.
12038
32b4c839
UD
12039 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
12040
3ce1f295
UD
120412011-09-10 Ulrich Drepper <drepper@gmail.com>
12042
bb016596
UD
12043 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
12044 __set_errno.
8e58439c
UD
12045 * malloc/hooks.c: Likewise.
12046
aebae053 12047 [BZ #11929]
02d46fc4
UD
12048 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
12049 variables statically.
12050 (narenas): Initialize.
12051 (list_lock): Initialize.
bb016596
UD
12052 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
12053 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
12054 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
12055 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
12056 Add initializers to main_arena and mp_.
12057 (malloc_state): Remove pagesize member. Change all users to use
12058 GLRO(dl_pagesize).
12059
12060 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
12061 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
12062 is always initialized.
12063
22a89187
UD
12064 * malloc/malloc.c: Removed unused configurations and dead code.
12065 * malloc/arena.c: Likewise.
12066 * malloc/hooks.c: Likewise.
02d46fc4 12067 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 12068
d063d164
UD
12069 * include/tls.h: Removed. USE___THREAD must always be defined.
12070 * bits/libc-tsd.h: Don't handle !USE___THREAD.
12071 * elf/dl-libc.c: Likewise.
12072 * elf/dl-tsd.c: Likewise.
12073 * include/errno.h: Likewise.
12074 * include/netdb.h: Likewise.
12075 * include/resolv.h: Likewise.
12076 * inet/herrno-loc.c: Likewise.
12077 * inet/herrno.c: Likewise.
12078 * malloc/arena.c: Likewise.
12079 * malloc/hooks.c: Likewise.
12080 * malloc/malloc.c: Likewise.
12081 * resolv/res-state.c: Likewise.
12082 * resolv/res_libc.c: Likewise.
12083 * sysdeps/i386/dl-machine.h: Likewise.
12084 * sysdeps/ia64/dl-machine.h: Likewise.
12085 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12086 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12087 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12088 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12089 * sysdeps/sh/dl-machine.h: Likewise.
12090 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12091 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12092 * sysdeps/unix/i386/sysdep.S: Likewise.
12093 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12094 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12095 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12096 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12097 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12098 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12099 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12100 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12101 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12102 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12103 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12104 * sysdeps/x86_64/dl-machine.h: Likewise.
12105 * tls.make.c: Likewise.
12106
3ce1f295
UD
12107 * configure.in: Remove --with-__thread option. Make tests for
12108 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12109 tls_model attribute fail if no support is available. Remove
12110 USE_IN_LIBIO.
12111 * Makeconfig: Adjust for dropped configure option. All features are
12112 now mandatory.
12113 * Makerules: Likewise.
12114 * Versions.def: Likewise.
12115 * argp/argp-fmtstream.c: Likewise.
12116 * argp/argp-fmtstream.h: Likewise.
12117 * argp/argp-help.c: Likewise.
12118 * assert/assert.c: Likewise.
12119 * config.h.in: Likewise.
12120 * config.make.in: Likewise.
12121 * configure: Likewise.
12122 * configure.in: Likewise.
12123 * csu/Versions: Likewise.
12124 * csu/init.c: Likewise.
12125 * elf/tst-audit2.c: Likewise.
12126 * elf/tst-tls10.c: Likewise.
12127 * elf/tst-tls10.h: Likewise.
12128 * elf/tst-tls11.c: Likewise.
12129 * elf/tst-tls12.c: Likewise.
12130 * elf/tst-tls14.c: Likewise.
12131 * elf/tst-tlsmod11.c: Likewise.
12132 * elf/tst-tlsmod12.c: Likewise.
12133 * elf/tst-tlsmod13.c: Likewise.
12134 * elf/tst-tlsmod13a.c: Likewise.
12135 * elf/tst-tlsmod14a.c: Likewise.
12136 * elf/tst-tlsmod15b.c: Likewise.
12137 * elf/tst-tlsmod16a.c: Likewise.
12138 * elf/tst-tlsmod16b.c: Likewise.
12139 * elf/tst-tlsmod7.c: Likewise.
12140 * elf/tst-tlsmod8.c: Likewise.
12141 * elf/tst-tlsmod9.c: Likewise.
12142 * gmon/gmon.c: Likewise.
12143 * grp/fgetgrent_r.c: Likewise.
12144 * grp/putgrent.c: Likewise.
12145 * hurd/fopenport.c: Likewise.
12146 * include/libc-symbols.h: Likewise.
12147 * include/tls.h: Likewise.
12148 * intl/gettextP.h: Likewise.
12149 * intl/loadinfo.h: Likewise.
12150 * locale/global-locale.c: Likewise.
12151 * locale/localeinfo.h: Likewise.
12152 * mach/devstream.c: Likewise.
12153 * malloc/arena.c: Likewise.
12154 * malloc/set-freeres.c: Likewise.
12155 * misc/err.c: Likewise.
12156 * misc/getttyent.c: Likewise.
12157 * misc/mntent_r.c: Likewise.
12158 * posix/getopt.c: Likewise.
12159 * posix/wordexp.c: Likewise.
12160 * pwd/fgetpwent_r.c: Likewise.
12161 * resolv/Versions: Likewise.
12162 * resolv/res_hconf.c: Likewise.
12163 * shadow/fgetspent_r.c: Likewise.
12164 * shadow/putspent.c: Likewise.
12165 * stdio-common/printf_fphex.c: Likewise.
12166 * stdio-common/tmpfile.c: Likewise.
12167 * stdlib/abort.c: Likewise.
12168 * stdlib/fmtmsg.c: Likewise.
12169 * sunrpc/auth_unix.c: Likewise.
12170 * sunrpc/clnt_perr.c: Likewise.
12171 * sunrpc/clnt_tcp.c: Likewise.
12172 * sunrpc/clnt_udp.c: Likewise.
12173 * sunrpc/clnt_unix.c: Likewise.
12174 * sunrpc/openchild.c: Likewise.
12175 * sunrpc/svc_simple.c: Likewise.
12176 * sunrpc/svc_tcp.c: Likewise.
12177 * sunrpc/svc_udp.c: Likewise.
12178 * sunrpc/svc_unix.c: Likewise.
12179 * sunrpc/xdr.c: Likewise.
12180 * sunrpc/xdr_array.c: Likewise.
12181 * sunrpc/xdr_rec.c: Likewise.
12182 * sunrpc/xdr_ref.c: Likewise.
12183 * sunrpc/xdr_stdio.c: Likewise.
12184
1248c1c4
PB
121852011-09-09 Ulrich Drepper <drepper@gmail.com>
12186
12187 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12188
121892011-07-03 Andreas Jaeger <aj@suse.de>
12190
12191 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12192 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12193 regenerate with gen-libm-tests.pl.
12194
121952010-05-12 Petr Baudis <pasky@suse.cz>
12196
12197 [BZ #11589]
12198 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12199 around j0() zero points by switching to j1().
12200 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12201 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12202 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12203 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12204
f22e1074
UD
122052011-09-09 Ulrich Drepper <drepper@gmail.com>
12206
f19009c1
UD
12207 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12208 instead of 0.
12209 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12210 instead of 0. .
12211 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12212 Patch in part by Pavel Roskin <proski@gnu.org>.
12213
3f8cc204
UD
12214 [BZ #13138]
12215 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12216 realloc.
12217 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12218 Free memory block if necessary.
12219
f22e1074
UD
12220 [BZ #12847]
12221 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12222 be NULL. Don't lock in this case.
12223
0a2349f9
RM
122242011-09-09 Roland McGrath <roland@hack.frob.com>
12225
12226 * elf/elf.h (ELFOSABI_GNU): New macro.
12227 (ELFOSABI_LINUX): Define to that.
12228
f3cdd467
DZ
122292011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12230
12231 * string/strncat.c (strncat): Undef the symbol in case it has been
12232 defined in bits/string.h.
12233
74718d13
UD
122342011-09-09 Ulrich Drepper <drepper@gmail.com>
12235
633e9e0f
UD
12236 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12237
0a2349f9 12238 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
12239 link map.
12240
f9924780
AJ
122412011-08-17 Andreas Jaeger <aj@suse.de>
12242
12243 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12244
7f5517aa
PP
122452011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12246 Ian Lance Taylor <iant@google.com>
12247
12248 * math/libm-test.inc (lround_test): New testcase.
12249 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12250
762011fe
UD
122512011-09-08 Ulrich Drepper <drepper@gmail.com>
12252
92963737
UD
12253 * Makefile: Remove support for automatic cvs check-ins.
12254 * Makerules: Likewise.
12255 * config.make.in: Likewise.
12256 * configure.in: Likewise.
12257 * intl/Makefile: Likewise.
12258 * locale/Makefile: Likewise.
12259 * po/Makefile: Likewise.
12260 * posix/Makefile: Likewise.
12261 * sysdeps/gnu/Makefile: Likewise.
12262 * sysdeps/mach/hurd/Makefile: Likewise.
12263 * sysdeps/sparc/sparc32/Makefile: Likewise.
12264
b0727fd8
JS
12265 [BZ #13118]
12266 * posix/Makefile (bug-regex32-ENV): Define.
12267 Patch by John Stanley <jpsinthemix@verizon.net>.
12268
a0f33f99
UD
12269 * misc/Makefile (headers): Add bits/select2.h.
12270 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12271 * misc/bits/select2.h: New file.
12272 * include/bits/select2.h: New file.
12273 * debug/Makefile (routines): Add fdelt_chk.
12274 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12275 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12276 FD_ISSET.
12277 * debug/fdelt_chk.c: New file.
12278
762011fe
UD
12279 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12280 * wcsmbs/test-wmemcmp.c: Likewise.
12281 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 12282 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
12283
122842011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12285
12286 * string/Makefile (strop-tests): Add memcmp.
12287 * string/test-wmemcmp.c: New file.
12288 * string/test-memcmp.c: Add wmemcmp support.
12289
7f513ec8
RM
122902011-09-08 Roland McGrath <roland@hack.frob.com>
12291
0442afb4
RM
12292 [BZ #13153]
12293 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12294 2011-07-19 change.
12295
7f513ec8
RM
12296 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12297 garbage value in a __mach_port_mod_refs call in the cases of the
12298 task-self and thread-self ports.
12299
a12b2239
ST
123002011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12301
12302 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12303
610f9ab4
AS
123042011-09-08 Andreas Schwab <schwab@redhat.com>
12305
7f513ec8 12306 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 12307
48882a1a
LD
123082011-09-07 Ulrich Drepper <drepper@gmail.com>
12309
b49865be
UD
12310 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12311
fdc86bc9
UD
12312 * elf/dl-libc.c (dlerror_run): Pass back error code from
12313 dl_catch_error.
12314
c966526a
UD
12315 [BZ #13123]
12316 * elf/dl-load.c (lose): Free l_origin if it is valid.
12317
48882a1a
LD
12318 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12319 names.
12320 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12321 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12322 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12323 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12324 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12325 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12326
77a2a8b4
AZ
123272011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12328
12329 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12330 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12331 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12332 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12333 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12334 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12335 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12336 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12337 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12338 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12339
24f579d8
AM
123402011-08-15 Alan Modra <amodra@gmail.com>
12341
12342 [BZ #13092]
12343 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12344 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12345 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12346 ppc_mcount to static-only-routines.
12347 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12348 __mcount_internal.
12349 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12350 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12351
3d4837df
UD
123522011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12353
12354 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12355 for finite and infinity parameters.
12356
22700377
WS
123572011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12358
12359 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12360 and add nop instructions for throughput optimization.
12361 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12362
5025581e
WS
123632011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12364
12365 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12366 aligned copy for power7 with vector-scalar instructions.
12367 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12368
08a300c9
L
123692011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12370
12371 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12372 AVX check.
12373
59178ef9
AS
123742011-09-07 Andreas Schwab <schwab@redhat.com>
12375
12376 [BZ #13144]
12377 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12378 last change.
12379
e38ba7ab
UD
123802011-09-07 Ulrich Drepper <drepper@gmail.com>
12381
12382 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12383 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12384 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12385 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12386 clock_gettime.
12387
d53a73ac
UD
123882011-09-06 Ulrich Drepper <drepper@gmail.com>
12389
fc8bffcc
UD
12390 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12391 Forgot to demangle the pointer.
12392
ceaa0c5d
UD
12393 * sysdeps/i386/sysdep.h: Define atom_text_section.
12394 * sysdeps/x86_64/sysdep.h: Likewise.
12395 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12396 section with atom_text_section.
12397 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12398 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12399 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12400 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12401 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12402
a77d3c17
UD
12403 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12404 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12405 already be defined. Change to take two parameters and don't assign
12406 result to variable. Adjust all users.
12407 Define INTERNAL_GETTIME if not already defined.
12408 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12409 call.
12410 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12411 HAVE_CLOCK_GETTIME_VSYSCALL.
12412 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12413
d53a73ac
UD
12414 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12415 gettimeofday vsyscall, just use time.
12416
a8f84144
AS
124172011-09-06 Andreas Schwab <schwab@redhat.com>
12418
12419 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12420 <errno.h>.
12421
ef606249
UD
124222011-09-06 Ulrich Drepper <drepper@gmail.com>
12423
12424 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12425 syscall on x86-64.
12426 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12427 syscall.
12428 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12429 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12430 syscall if possible.
12431
6585cb60
UD
124322011-09-05 Ulrich Drepper <drepper@gmail.com>
12433
12434 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12435 e_ident. Don't pass to find_mapsXX.
12436 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12437
a5f524e4
LD
124382011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12439
12440 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12441 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12442 * sysdeps/x86_64/multiarch/strchr.S: Update.
12443 Check bit_slow_BSF bit.
12444 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12445 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12446 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12447
554881ef
UD
124482011-09-05 Ulrich Drepper <drepper@gmail.com>
12449
d96de963
UD
12450 [BZ #13134]
12451 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12452 before glibc 2.15.
12453 (tryshell): Define.
12454 (__spawni): Change last parameter to be flag. Test
12455 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12456 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12457 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12458 * posix/spawni.c: Likewise.
12459 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12460 * posix/spawnp.c: Likewise. Change normal version to use
12461 SPAWN_XFLAGS_USE_PATH.
12462 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12463 SPAWN_XFLAGS_TRY_SHELL.
12464
d48e5868
UD
12465 [BZ #13150]
12466 * posix/glob.h: Remove gcc 1.x support.
12467
554881ef
UD
12468 [BZ #13068]
12469 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12470
693fb948
LD
124712011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12472
12473 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12474 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12475 strrchr-sse2-bsf
12476 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12477 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12478 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12479 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12480 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12481 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12482
1b48c537
UD
124832011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12484
49d42c37
UD
12485 * sysdeps/x86_64/wcscmp.S: New file.
12486
1b48c537
UD
12487 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12488 wcscmp-c wcscmp-sse2
12489 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12490 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12491 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12492 * wcsmbs/wcscmp.c: Allow renaming.
12493
15c95c5d
DM
124942011-09-05 David S. Miller <davem@davemloft.net>
12495
12496 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12497 stack slot, rather than the struct return pointer slot.
12498 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12499 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12501 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12502
2f0ad8f3
UD
125032011-09-05 Ulrich Drepper <drepper@gmail.com>
12504
d88ae418
UD
12505 * po/ja.po: Update from translation team.
12506
2f0ad8f3
UD
12507 [BZ #13144]
12508 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12509 kernel in 64-bit binaries.
12510
5f4318d1
DM
125112011-09-01 David S. Miller <davem@davemloft.net>
12512
12513 * elf/elf.h (HWCAP_SPARC_*): Move to..
12514 * sysdeps/sparc/sysdep.h: this new file and add new values.
12515 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12516 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12517 _DL_HWCAP_COUNT to 24.
12518 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12519 entries.
12520 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12521 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12522 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12523 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12524 instead of magic constants.
12525 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12526
3ba57516
DM
125272011-08-31 David S. Miller <davem@davemloft.net>
12528
12529 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12530 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12531 Reimplement to do errno handling inline.
12532 (SYSCALL_ERROR_HANDLER): New macro.
12533 (__SYSCALL_STRING): Do not do errno handling in asm.
12534 (__CLONE_SYSCALL_STRING): Delete.
12535 (__INTERNAL_SYSCALL_STRING): Delete.
12536 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12537 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12538 (PSEUDO): Reimplement to do errno handling inline.
12539 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12540 (SYSCALL_ERROR_HANDLER): New macro.
12541 (__SYSCALL_STRING): Do not do errno handling in asm.
12542 (__CLONE_SYSCALL_STRING): Delete.
12543 (__INTERNAL_SYSCALL_STRING): Delete.
12544 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12545 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12546 i386.
12547 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12548 (inline_syscall*): Add 'err' argument.
12549 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12550 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12551 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12552 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12553
12554 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12555 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12556
2bc17433
AS
125572011-08-30 Andreas Schwab <schwab@redhat.com>
12558
12559 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12560
fbeb5f4d
JO
125612011-08-29 Jiri Olsa <jolsa@redhat.com>
12562
12563 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12564 directive.
12565
ad69cc26
DM
125662011-08-24 David S. Miller <davem@davemloft.net>
12567
12568 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12569
39dd69df
AS
125702011-08-24 Andreas Schwab <schwab@redhat.com>
12571
12572 * elf/Makefile: Add rules to build and run unload8 test.
12573 * elf/unload8.c: New file.
12574 * elf/unload8mod1.c: New file.
12575 * elf/unload8mod1x.c: New file.
12576 * elf/unload8mod2.c: New file.
12577 * elf/unload8mod3.c: New file.
12578
12579 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12580 it wasn't used.
12581
2c0b250a
DM
125822011-08-23 David S. Miller <davem@davemloft.net>
12583
12584 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12585 subtract stack bias.
12586 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12587 %sp not %fp in calculations.
12588 (_JMPBUF_UNWINDS_ADJ): Likewise.
12589
22044b48
DM
12590 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12591 (aio_suspend): Call it to force an exception region around the
12592 AIO_MISC_WAIT() invocation.
12593
2cae4995
AS
125942011-08-23 Andreas Schwab <schwab@redhat.com>
12595
12596 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12597 backslash.
12598
873a772e
AJ
125992011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12600
12601 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12602 protection macro.
12603 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12604 and <dl-machine.h>.
12605 (Elf64_FuncDesc): Remove.
12606
25ad0df1
DM
126072011-08-22 David S. Miller <davem@davemloft.net>
12608
12609 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12610 sigaltstack check, add missing cfi directives.
12611 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12612 missing cfi directives, and sigaltstack handling.
12613
e888bcbe
AS
126142011-08-16 Andreas Schwab <schwab@redhat.com>
12615
12616 [BZ #11724]
12617 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12618 object is seen twice.
12619 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12620
12621 * elf/Makefile (distribute): Add tst-initorder2.c.
12622 (tests): Add tst-initorder2.
12623 (modules-names): Add tst-initorder2a tst-initorder2b
12624 tst-initorder2c tst-initorder2d. Add rules to build them.
12625 ($(objpfx)tst-initorder2.out): New rule.
12626 * elf/tst-initorder2.c: New file.
12627 * elf/tst-initorder2.exp: New file.
12628
87162f46
AS
126292011-08-22 Andreas Schwab <schwab@redhat.com>
12630
70538b7f
AS
12631 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12632
f55ffe58
AS
12633 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12634 dependencies back to end of function.
12635
87162f46
AS
12636 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12637 $(elfobjdir)/ld.so.
12638
91b392a4
UD
126392011-08-21 Ulrich Drepper <drepper@gmail.com>
12640
12641 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12642 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12643 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12644 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12645 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12646 of __vdso_gettimeofday.
12647 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12648 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12649 attribute_hidden.
12650 (_libc_vdso_platform_setup): Remove initialization of
12651 __vdso_gettimeofday and __vdso_time.
12652
5c43483f
UD
126532011-08-20 Ulrich Drepper <drepper@gmail.com>
12654
775a77e7
UD
12655 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12656 and fgetc_unlocked.
12657 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12658 getc_unlocked.
89f447ed 12659
49c74ba9
UD
12660 * elf/dl-open.c (add_to_global): Report additions to the global scope
12661 for LD_DEBUG=scopes.
12662 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 12663 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 12664
5c43483f
UD
12665 [BZ #13114]
12666 * stdio-common/Makefile (tests): Add bug24.
12667 * stdio-common/bug24.c: New file.
12668
a101b025
AJ
126692011-08-19 Andreas Jaeger <aj@suse.de>
12670
12671 [BZ #13114]
12672 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12673 non-existant file when using close-on-exec mode.
12674
c88f1766
UD
126752011-08-20 Ulrich Drepper <drepper@gmail.com>
12676
0276a718
UD
12677 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12678 the very first instruction.
12679
c88f1766
UD
12680 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12681 the CFI state in the end.
12682 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12683 inclusion of dl-trampoline.h.
12684 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12685
51ccffa0
AS
126862011-08-19 Andreas Schwab <schwab@redhat.com>
12687
94d7165f
AS
12688 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12689 expectations for long double.
12690
51ccffa0
AS
12691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12692 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12693
fd708658 126942011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
12695
12696 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12697 artificual limit depends upon the system page size.
12698
44f0a71e
UD
126992011-08-17 Ulrich Drepper <drepper@gmail.com>
12700
12701 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12702 * resolv/Makefile: Define CFLAGS-libresolv.
12703
8de79a24
AS
127042011-08-17 Andreas Schwab <schwab@redhat.com>
12705
12706 * nss/makedb.c (compute_tables): Make variables used in nested
12707 function static.
12708
27724598
UD
127092011-08-17 Ulrich Drepper <drepper@gmail.com>
12710
c5305d88
UD
12711 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12712 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12713 if buffer was too small.
12714
27724598
UD
12715 * elf/pldd.c (main): Attach to all threads in the process.
12716 Rewrite /proc handling to use *at functions.
12717
076fe015
UD
127182011-08-16 Ulrich Drepper <drepper@gmail.com>
12719
174baab3
UD
12720 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12721 specifies first scope to show.
12722 (dl_open_worker): Update callers. Move printing scope of new
12723 object to before the relocation.
44f0a71e 12724 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
12725 * sysdeps/generic/ldsodefs.h: Update declaration.
12726
076fe015
UD
12727 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12728 string for the scope number.
12729
a60df2c3
UD
127302011-08-14 Ulrich Drepper <drepper@gmail.com>
12731
12732 * nscd/servicescache.c (cache_addserv): Make sure written is always
12733 initialized.
12734
5e4287d1
RM
127352011-08-14 Roland McGrath <roland@hack.frob.com>
12736
85ae0589
RM
12737 * sysdeps/i386/i486/bits/atomic.h
12738 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12739 statement expression, so as to suppress "set but not used" warning.
12740 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12741
69f63097
RM
12742 * string/strncat.c (STRNCAT): Use prototype definition.
12743
675456ef
RM
12744 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12745 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12746 -Iprograms here.
12747 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12748 (localedef-modules): Add localedef.
12749 (locale-modules): Add locale.
12750
5e4287d1
RM
12751 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12752 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12753 to avoid a warning.
12754
9c96ff23
DM
127552011-08-14 David S. Miller <davem@davemloft.net>
12756
12757 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12758 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12759
f9ddf089
UD
127602011-08-13 Ulrich Drepper <drepper@gmail.com>
12761
44f0a71e 12762 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
12763 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12764 * elf/rtld.c (dl_main): Set l_name of vDSO.
12765 Call _dl_show_scope when DL_DEBUG_SCOPES.
12766 (process_dl_debug): Recognize scopes flag and also set it for all.
12767 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12768 Declare _dl_show_scope.
12769
1dc27704
UD
12770 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12771 (do_dlopen): Pass caller_dlopen to dl_open.
12772 (__libc_dlopen_mode): Initialize caller_dlopen.
12773
f9ddf089
UD
12774 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12775 of libc. Make tolower call locale-independent. Optimize a bit by
12776 using isdigit instead of isalnum.
12777 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12778
9ac533d3
UD
127792011-08-12 Ulrich Drepper <drepper@gmail.com>
12780
12781 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12782 was a dependency or dynamically loaded.
12783
89edf2e9
UD
127842011-08-11 Ulrich Drepper <drepper@gmail.com>
12785
8e999d29
UD
12786 * intl/l10nflist.c: Allow architecture-specific pop function.
12787 * sysdeps/x86_64/l10nflist.c: New file.
12788
89edf2e9
UD
12789 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12790 classification.
12791
14d96785
AS
127922011-08-10 Andreas Schwab <schwab@redhat.com>
12793
12794 * include/dirent.h: Add libc_hidden_proto for scandirat and
12795 scandirat64. Don't declare __scandirat64.
12796 * dirent/scandirat.c: Add libc_hidden_def.
12797 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12798 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12799
6761ac04
DM
128002011-08-10 David S. Miller <davem@davemloft.net>
12801
12802 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12803 enum.
12804 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12805 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12806 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12807
c55fbd1e
UD
128082011-08-09 Ulrich Drepper <drepper@gmail.com>
12809
12810 * Versions.def [libc]: Add GLIBC_2.15.
12811 * dirent/Makefile (routines): Add scandirat and scandirat64.
12812 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12813 GLIBC_2.15.
12814 * dirent/dirent.h: Declare scandirat and scandirat64.
12815 * dirent/scandirat.c: New file.
12816 * dirent/scandirat64.c: New file.
12817 * sysdeps/wordsize-64/scandirat.c: New file.
12818 * sysdeps/wordsize-64/scandirat64.c: New file.
12819 * dirent/opendir.c: Define opendirat.
12820 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12821 using scandirat.
12822 * dirent/scandir64.c: Adjust for scandir.c change.
12823 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12824 __scandirat64, and __scandir_cancel_handler.
12825 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12826 additional parameter and use openat instead of open (outside of ld.so).
12827 Add new __opendir as wrapper around __opendirat.
12828 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12829 here without requiring old scandirat implementation.
12830
879165f2
UD
128312011-08-08 Ulrich Drepper <drepper@gmail.com>
12832
12833 * dirent/scandir.c (cancel_handler): Renamed to
12834 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12835 defined. Adjust users.
12836 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12837 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12838
cb7e923b
UD
128392011-08-04 Ulrich Drepper <drepper@gmail.com>
12840
16292edd
UD
12841 * string/test-string.h (IMPL): Use __STRING to expand name and then
12842 stringify it.
12843
cb7e923b
UD
12844 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12845 of cleanups.
12846
cff82933
LD
128472011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12848
12849 * string/Makefile: Update.
12850 (strop-tests): Append strncat.
12851 * string/test-wcscmp.c: New file.
12852 New comprehensive test for wcscmp.
12853 * string/test-strcmp.c: Update.
12854 (WIDE): New define.
12855
9be9bfcc
AS
128562011-07-22 Andreas Schwab <schwab@redhat.com>
12857
12858 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12859 line.
12860
2e96f1c7
AS
128612011-07-26 Andreas Schwab <schwab@redhat.com>
12862
12863 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12864 encoding to ACE if AI_IDN.
12865
85188888
JJ
128662011-08-01 Jakub Jelinek <jakub@redhat.com>
12867
12868 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12869 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12870
5fa16e9b
LD
128712011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12872
12873 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12874 Fix overflow bug in strncat.
12875 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12876
12877 * string/test-strncat.c: Update.
12878 Add new tests for checking overflow bugs.
12879
128802011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12881
12882 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12883 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12884 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12885 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12886 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12887 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12888 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12889 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12890 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12891
12892 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12893 (USE_AS_STRCAT): Define.
12894 Add strcat and strncat support.
12895 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12896
8c1a459f
AS
128972011-07-25 Andreas Schwab <schwab@redhat.com>
12898
12899 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12900 __n bigger than INT_MAX+1.
12901 (__strncmp_g): Likewise.
12902
bba33c28
UD
129032011-07-23 Ulrich Drepper <drepper@gmail.com>
12904
798be72d
UD
12905 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12906 * libio/stido.h: Likewise.
12907
8accd4dc
UD
12908 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12909 (AF_NFC): Define.
12910 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12911 (AF_NFC): Define.
12912
cbff0d96
UD
12913 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12914 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12915 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12916 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12917 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12918
9191c04a
UD
12919 [BZ #13021]
12920 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12921 installed.
12922
bba33c28
UD
12923 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12924 typo.
12925 (_dl_x86_64_save_sse): Likewise.
12926
90f139dd
UD
129272011-07-22 Ulrich Drepper <drepper@gmail.com>
12928
1aae088a
UD
12929 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12930 OSXSAVE.
12931 (_dl_x86_64_save_sse): Likewise.
12932
8e2045f5
UD
12933 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12934
90f139dd
UD
12935 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12936
1d002f25
AS
129372011-07-21 Andreas Schwab <schwab@redhat.com>
12938
12939 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12940 change.
12941 (_dl_x86_64_save_sse): Use correct AVX check.
12942
21137f89
UD
129432011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12944
12945 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12946 bug in strncpy/strncat.
12947 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12948
a65c0b7a
UD
129492011-07-21 Ulrich Drepper <drepper@gmail.com>
12950
12951 * string/tester.c (test_strcat): Add tests for different alignments
12952 of source and destination.
12953 (test_strncat): Likewise.
12954
6986b98a
UD
129552011-07-20 Ulrich Drepper <drepper@gmail.com>
12956
90bb2039
UD
12957 [BZ #12852]
12958 * posix/glob.c (glob): Check passed in values before using them in
12959 expressions to avoid some overflows.
12960 (glob_in_dir): Likewise.
12961
5644ef54
UD
12962 [BZ #13007]
12963 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12964 check for AVX enablement so that we don't crash with old kernels and
12965 new hardware.
12966 * elf/tst-audit4.c: Add same checks here.
12967 * elf/tst-audit6.c: Likewise.
12968
12969 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 12970
bfc9dc9b
AS
129712011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12972
12973 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12974
702e64bb
UD
129752011-07-20 Ulrich Drepper <drepper@gmail.com>
12976
12977 * po/cs.po: Update from translation team.
12978 * po/bg.po: Likewise.
12979
295e904f
MP
129802011-07-12 Marek Polacek <mpolacek@redhat.com>
12981
12982 * misc/sys/cdefs.h: Add support for const attribute.
12983 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12984 to gnu_dev_{major,minor,makedev} functions.
12985
3ff94596
MP
129862011-07-20 Marek Polacek <mpolacek@redhat.com>
12987
12988 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12989
28b59fca
AS
129902011-07-20 Andreas Schwab <schwab@redhat.com>
12991
12992 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12993 strlen results.
12994
19df733e
AK
129952011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12996
12997 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12998 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12999 register in order to avoid conflicts with the soft frame pointer
13000 being held in r11 when necessary.
13001 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13002 (INTERNAL_VSYSCALL_NCS): Likewise.
13003
c8835729
MP
130042011-07-14 Marek Polacek <mpolacek@redhat.com>
13005
13006 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
13007 * elf/dl-fini.c (_dl_fini): Adjust caller.
13008 * elf/dl-close.c (_dl_close_worker): Likewise.
13009 * sysdeps/generic/ldsodefs.h: Adjust declaration.
13010
b902330c
MP
130112011-07-15 Marek Polacek <mpolacek@redhat.com>
13012
8991e135
MP
13013 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
13014 "aux_cache->nlibs < 0".
13015
b902330c
MP
13016 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
13017 in the reload-count case.
13018
99710781
LD
130192011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13020
13021 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13022 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
13023 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
13024 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
13025 * sysdeps/x86_64/multiarch/strcat.S: New file.
13026 * sysdeps/x86_64/multiarch/strncat.S: New file.
13027 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
13028 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
13029 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
13030 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
13031 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
13032 (USE_AS_STRCAT): Define.
13033 Add strcat and strncat support.
13034 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13035 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13036 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
13037 * string/strncat.c: Update.
13038 (USE_AS_STRNCAT): Define.
13039 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13040 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
13041 and i7.
13042 * sysdeps/x86_64/multiarch/init-arch.h
13043 (bit_Prefer_PMINUB_for_stringop): New.
13044 (index_Prefer_PMINUB_for_stringop): Likewise.
13045 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
13046 bit_Prefer_PMINUB_for_stringop.
13047
7dc6bd90
UD
130482011-07-19 Ulrich Drepper <drepper@gmail.com>
13049
13050 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
13051 buffer64.
13052 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
13053 of casting of buffer.
13054 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
13055 buffer32 and buffer64.
13056 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
13057 writes instead of casting of buffer.
13058 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
13059 buffer32.
13060 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
13061 casting of buffer.
13062
e0e72284
AS
130632011-07-19 Andreas Schwab <schwab@redhat.com>
13064
13065 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
13066
feb1eb0b
UD
130672011-07-19 Ulrich Drepper <drepper@gmail.com>
13068
13069 * nscd/nscd.c (termination_handler): Don't do anything for a database
13070 if it has not yet been initialized.
13071
298711ff
UD
130722011-07-18 Ulrich Drepper <drepper@gmail.com>
13073
13074 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13075
130762011-07-15 Marek Polacek <mpolacek@redhat.com>
13077
13078 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13079
f9d68389
UD
130802011-07-18 Ulrich Drepper <drepper@gmail.com>
13081
13082 * po/nl.po: Update from translation team.
13083 * po/sv.po: Likewise.
13084
db290cf5
RM
130852011-07-16 Roland McGrath <roland@hack.frob.com>
13086
13087 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13088 now disallowed by GCC.
5c550700 13089
fd5e21c7
RM
13090 * configure.in (use-default-link): Default to yes if a test -shared
13091 link meets our qualifications.
13092 * configure: Regenerated.
13093
5c550700
RM
13094 * config.make.in (output-format): New variable.
13095 * configure.in: Check for ld --print-output-format support.
13096 * configure: Regenerated.
13097 * Makerules ($(common-objpfx)format.lds)
13098 [$(output-format) != unknown]: Just use $(output-format),
13099 instead of the linker-script munging.
13100
9fa2c032
RM
131012011-07-14 Roland McGrath <roland@hack.frob.com>
13102
a6928d51
RM
13103 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13104 of $(common-objpfx)shlib.lds.
13105 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13106
661607b3
RM
13107 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13108 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13109
9fa2c032
RM
13110 * configure.in (-z relro check): Adjust test code to add a large
13111 writable data section after it.
13112 * configure: Regenerated.
13113
defe9061
RM
131142011-07-11 Roland McGrath <roland@hack.frob.com>
13115
13116 * configure.in (-z relro check): Fix test code to make the variable
13117 truly const.
13118 * configure: Regenerated.
13119
319b9ad4
UD
131202011-07-11 Ulrich Drepper <drepper@gmail.com>
13121
13122 * nscd/nscd.h (struct traced_file): Define.
13123 (struct database_dyn): Remove inotify_descr, reset_res, and filename
13124 elements. Add traced_files.
13125 (inotify_fd): Declare.
13126 (register_traced_file): Declare.
13127 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13128 (inotify_fd): Export.
13129 (resolv_conf_descr): Remove.
13130 (nscd_init): Move inotify descriptor creation to main.
13131 Don't register files for notification here.
13132 (register_traced_file): New function.
13133 (invalidate_cache): Don't use reset_res to determine whether to call
13134 res_init, go through the list of registered files.
13135 (main_loop_poll): The inotify descriptors are now stored in the
13136 structures for the traced files.
13137 (main_loop_epoll): Likewise
13138 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13139 to __nss_disable_nscd.
13140 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13141 for a database anymore. Check the records for all the registered
13142 files instead.
13143 * nss/Makefile (libnss_files-routines): Add files-init.
13144 (libnss_db-routines): Add db-init.
13145 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13146 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13147 * nss/nss_db/db-init.c: New file.
13148 * nss/nss_files/files-init.c: New file.
13149 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13150 __nss_lookup_function.
13151 (__nss_lookup_function): Call nss_load_library.
13152 (nss_load_all_libraries): New function.
13153 (__nss_disable_nscd): Take parameter with callback function for files
13154 to register. Set is_nscd. Load all the DSOs for the NSS modules
13155 used for the cached services.
13156 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13157 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13158 options for features to all the files in nscd.
13159
13160 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13161
23bee3e8
RM
131622011-07-10 Roland McGrath <roland@hack.frob.com>
13163
13164 * csu/elf-init.c (__libc_csu_init): Comment typo.
13165
46a5b7f0
UD
131662011-07-09 Ulrich Drepper <drepper@gmail.com>
13167
13168 * po/pl.po: Update from translation team.
13169 * po/ja.po: Likewise.
13170 * po/ru.po: Likewise.
13171 * po/ko.po: Likewise.
13172 * po/fr.po: Likewise.
13173
d30cf5bb
RM
131742011-07-09 Roland McGrath <roland@hack.frob.com>
13175
113ddea4
RM
13176 * configure.in (.ctors/.dtors header and trailer check):
13177 Use an empirical test on a built program.
13178 * configure: Regenerated.
13179
574920b4
RM
13180 * configure.in (-z relro check): Use an empirical test on a built DSO.
13181 Detect, but do not require, on ia64.
13182 * configure: Regenerated.
13183
d30cf5bb
RM
13184 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13185 Update tests that use readelf to use $READELF instead.
13186 * configure: Regenerated.
13187
8538fdb3
UD
131882011-07-08 Ulrich Drepper <drepper@gmail.com>
13189
13190 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13191 if the result is not used.
13192
04d08991
AJ
131932011-07-05 Andreas Jaeger <aj@suse.de>
13194
13195 [BZ#9696]
13196 * stdlib/tst-strtod.c: Add testcase.
13197
de283087
AD
131982011-07-07 Ulrich Drepper <drepper@gmail.com>
13199
4e5f31c8 13200 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 13201 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
13202 The latter has a higher limit. Take additional parameter to pass to
13203 the new function.
13204 (__pathconf): Pass file to __statfs_link_max.
13205 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13206 __statfs_link_max.
13207 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13208 __statfs_link_max.
13209
de283087
AD
13210 [BZ #12868]
13211 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13212 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13213 Handle Lustre.
13214 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13215 (__statfs_filesize_max): Likewise.
13216 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13217
c75fa153
AJ
132182011-07-05 Andreas Jaeger <aj@suse.de>
13219
13220 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13221
1a544854
UD
132222011-07-06 Marek Polacek <mpolacek@redhat.com>
13223
13224 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13225 `status' variable.
13226 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13227 Likewise.
13228
6f0eec67
UD
132292011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13230
13231 * Makefile (strop-tests): Add strncat.
13232 * string/test-strncat.c: New file.
13233
aae30307
UD
132342011-06-30 Marek Polacek <mpolacek@redhat.com>
13235
13236 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13237
c0cfb5eb
UD
132382011-06-21 Andreas Jaeger <aj@suse.de>
13239
13240 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13241 Copy rule from iconvdata/Makefile.
13242
01636b21
UD
132432011-07-06 Ulrich Drepper <drepper@gmail.com>
13244
13245 [BZ #12922]
13246 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13247 but no long options are defined, just return 'W'.
13248
9895c8bc
UD
132492011-06-22 Marek Polacek <mpolacek@redhat.com>
13250
13251 [BZ #9696]
13252 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13253
5d4cf042
UD
132542011-07-06 Ulrich Drepper <drepper@gmail.com>
13255
13256 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13257 netgroups to read.
960e5535 13258 (innetgr): Likewise.
5d4cf042 13259
751eb97e
RM
132602011-07-05 Roland McGrath <roland@hack.frob.com>
13261
13262 * config.make.in (install_root): Default to $(DESTDIR).
13263
f15f1e45
UD
132642011-07-05 Ulrich Drepper <drepper@gmail.com>
13265
13266 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13267
4e34ac6a
RM
132682011-07-02 Roland McGrath <roland@hack.frob.com>
13269
5e9b6af4
RM
13270 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13271
84f9ea0f
RM
13272 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13273 containing directory rather than embedding absolute directory names.
13274
ea5ee9f7
RM
13275 * scripts/check-local-headers.sh: Rewritten using awk.
13276 Match by word, not by line. Print error messages for matches.
13277 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13278
1b74661a
RM
13279 * Makerules [shlib-lds-flags empty]:
13280 ($(common-objpfx)libc_pic.opts): New target.
13281 ($(common-objpfx)libc_pic.os.clean): New target.
13282 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13283
13284 * config.make.in (OBJCOPY): New variable.
13285 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13286 * configure: Regenerated.
13287
f781ef40
RM
13288 * config.make.in (use-default-link): New variable.
13289 * configure.in (use_default_link): Grok --with-default-link to set it.
13290 * configure: Regenerated.
13291 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13292 (shlib-lds, shlib-lds-flags): Define to empty.
13293
2d4fa81e
RM
13294 * Makerules (shlib-lds): New variable.
13295 (shlib-lds-flags): New variable.
13296 (build-shlib, build-moduile, build-module-asneeded): Use it.
13297 ($(common-objpfx)libc.so): Use $(shlib-lds).
13298 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13299 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13300
31fffa6b
RM
13301 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13302 DT_FLAGS/DT_FLAGS_1 with zero flags.
13303
4e34ac6a
RM
13304 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13305 linker script munging.
13306
fcfc776b
UD
133072011-07-02 Ulrich Drepper <drepper@gmail.com>
13308
13309 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13310 as 128-bit value.
13311 * crypt/sha512.c (sha512_process_block): Perform total addition using
13312 128-bit if possible.
13313 (__sha512_finish_ctx): Likewise.
13314 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13315 as 64-bit value.
13316 * crypt/sha256.c (SWAP64): Define.
13317 (sha256_process_block): Perform total addition using 64-bit if
13318 possible.
13319 (__sha256_finish_ctx): Likewise.
13320
99231d9a
UD
133212011-07-01 Ulrich Drepper <drepper@gmail.com>
13322
13323 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13324 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13325 * nscd/hstcache.c (cache_addhst): Likewise.
13326 * nscd/grpcache.c (cache_addgr): Likewise.
13327 * nscd/aicache.c (addhstaiX): Likewise
13328 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13329
445b4a53
TK
133302011-07-01 Thorsten Kukuk <kukuk@suse.de>
13331
13332 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13333 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13334 * nscd/hstcache.c (cache_addhst): Likewise.
13335 * nscd/grpcache.c (cache_addgr): Likewise.
13336 * nscd/aicache.c (addhstaiX): Likewise
13337
6d4d8e8e
AS
133382011-07-01 Andreas Schwab <schwab@redhat.com>
13339
13340 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13341 domain only when needed.
13342
89f654c5
AS
133432011-06-30 Andreas Schwab <schwab@redhat.com>
13344
13345 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13346 is always restored.
13347
cf3b23ff
UD
133482011-06-29 Ulrich Drepper <drepper@gmail.com>
13349
13350 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13351 are re-adding the entry.
13352 * nscd/servicescache.c (cache_addserv): Likewise.
13353
751626f9
AJ
133542011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13355
13356 * sysdeps/generic/dl-irel.h: fix protection against multiple
13357 inclusions.
13358 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13359
9113ea1f
UD
133602011-06-28 Ulrich Drepper <drepper@gmail.com>
13361
5c0b8d90
UD
13362 [BZ #12935]
13363 * malloc/memusage.sh: Fix quoting in message.
13364 * debug/xtrace.sh: Likewise.
13365
9113ea1f
UD
13366 * configure.in: Remove support for --experimental-malloc option, make
13367 it the default.
13368 * config.make.in: Likewise.
13369 * malloc/Makefile: Likewise.
13370
a4172181
AS
133712011-06-27 Andreas Schwab <schwab@redhat.com>
13372
13373 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13374 two-byte characters.
13375
78a7eee7
RM
133762011-06-27 Roland McGrath <roland@hack.frob.com>
13377
62bede13
RM
13378 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13379 AC_CACHE_CHECK invocation.
13380 * configure: Regenerated.
13381
78a7eee7
RM
13382 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13383
5ce33a62
UD
133842011-06-27 Ulrich Drepper <drepper@gmail.com>
13385
034807a9
UD
13386 [BZ #12350]
13387 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13388 bit from old_res_options.
13389
4902da17
UD
13390 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13391
5ce33a62
UD
13392 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13393 value type for setfct.
13394
c2344f56
L
133952011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13396
13397 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13398 __gettimeofday instead of gettimeofday.
13399
68468076
UD
134002011-06-26 Ulrich Drepper <drepper@gmail.com>
13401
13402 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13403
acb0d739
L
134042011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13405
13406 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13407
13408 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13409 info.
13410
8912479f
L
134112011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13412
13413 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13414 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13415 strcpy-sse2-unaligned strncpy-sse2-unaligned
13416 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13417 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13418 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13419 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13420 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13421 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13422 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13423 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13424 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13425 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13426 (STRCPY): Support SSE2 and SSSE3 versions.
13427
d5495a11
UD
134282011-06-24 Ulrich Drepper <drepper@gmail.com>
13429
13430 [BZ #12874]
13431 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13432 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13433 kernels which artificially limit size of requests.
13434
0b1cbaae
L
134352011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13436
13437 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13438 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13439 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13440 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13441 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13442 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13443 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13444 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13445 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13446 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13447 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13448 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13449 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13450 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13451 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13452 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13453 Enable unaligned load optimization for Intel Core i3, i5 and i7
13454 processors.
13455 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13456 Define.
13457 (index_Fast_Unaligned_Load): Define.
13458 (HAS_FAST_UNALIGNED_LOAD): Define.
13459
07f494a0
MP
134602011-06-23 Marek Polacek <mpolacek@redhat.com>
13461
13462 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13463
fa3fc0fe
UD
134642011-06-22 Ulrich Drepper <drepper@gmail.com>
13465
13466 [BZ #12907]
13467 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13468 until it is clear that the information is realy needed.
13469 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13470
e12df166
AS
134712011-06-22 Andreas Schwab <schwab@redhat.com>
13472
13473 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13474
852eb34d
UD
134752011-06-22 Ulrich Drepper <drepper@gmail.com>
13476
84e2a551
UD
13477 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13478 /sys/devices/system/cpu/online if it is usable.
13479
852eb34d
UD
13480 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13481 reading the information from the /proc filesystem to once a second.
13482
6e502e19
UD
134832011-06-21 Andreas Jaeger <aj@suse.de>
13484
13485 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13486 NULL after inclusion of kernel headers.
13487
75d39ff2
UD
134882011-06-21 Ulrich Drepper <drepper@gmail.com>
13489
51f9aa6a
UD
13490 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13491 calls to internal_setent.
13492
c0244a9d
UD
13493 [BZ #12885]
13494 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13495 addresses using gethostbyname4_r ignore IPv4 addresses.
13496
c5e3c2ae
UD
13497 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13498 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13499
75d39ff2
UD
13500 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13501
42675c6f
DM
135022011-06-20 David S. Miller <davem@davemloft.net>
13503
13504 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13505 inclusions.
13506 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13507
13508 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13509 (elf_irel): Use it.
13510 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13511 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13512 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13513 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13514 * sysdeps/x86_64/dl-irel.h: Likewise.
13515
13516 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13517 * elf/dl-sym.c: Likewise.
13518
57912a71
UD
135192011-06-15 Ulrich Drepper <drepper@gmail.com>
13520
13521 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13522 need to dereference resplen2.
13523
ee22793d
AS
135242011-06-14 Andreas Schwab <schwab@redhat.com>
13525
13526 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13527
a9e836b0
UD
135282011-06-15 Ulrich Drepper <drepper@gmail.com>
13529
77fb9117
UD
13530 * Makeconfig: Define vardbdir and inst_vardbdir.
13531 * nss/Makefile: Add rules to install db-Makefile.
13532
40c1b22c
UD
13533 * nss/nss_db/db-XXX.c: Cleanup.
13534
9f2da732
UD
13535 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13536 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13537 GLIBC_PRIVATE.
13538 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13539 * nss/makedb.c: Implement -g option to specify that value strings
13540 are generated and should not be added to table iterated over for
13541 get*ent calls.
13542 * nss/nss_db/db-initgroups.c: New file.
13543
82e9a1f7
UD
13544 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13545 interface.
13546
c41af17e
UD
13547 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13548 (internal_getgrouplist): Adjust to name change.
13549 Update use_initgroups_entry if this is not the first call.
13550 * nss/databases.def: Add initgroups entry.
13551
a9e836b0
UD
13552 * nss/makedb.c (compute_tables): Check result of multiple hash table
13553 sizes to minimize maximum chain length.
13554
2666d441
UD
135552011-06-14 Ulrich Drepper <drepper@gmail.com>
13556
13557 * Versions.def: Add entry for libnss_db.
13558 * shlib-versions: Likewise.
13559 * nss/Makefile: Add rules to build libnss_db.
13560 * nss/Versions: Add libnss_db information. Organize libnss_files
13561 entries better.
13562 * nss/db-Makefile: Add gshadow support. Change rules for the new
13563 makedb progra. Some minor improvements to generate smaller files.
13564 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13565 here from...
13566 * nss/makedb.c: ...here.
13567 Improve database format to be smaller and require less memory at
13568 runtime.
13569 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13570 db anymore.
13571 * nss/nss_db/db-netgrp.c: Likewise.
13572 * nss/nss_db/db-open.c: Likewise.
13573 * nss/nss_files/flies-XXX.x: Adjust comments.
13574 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13575 * nss/nss_files/files-grp.c: Likewise.
13576 * nss/nss_files/files-hosts.c: Likewise.
13577 * nss/nss_files/files-network.c: Likewise.
13578 * nss/nss_files/files-proto.c: Likewise.
13579 * nss/nss_files/files-pwd.c: Likewise.
13580 * nss/nss_files/files-rpc.c: Likewise.
13581 * nss/nss_files/files-service.c: Likewise.
13582 * nss/nss_files/files-sgrp.c: Likewise.
13583 * nss/nss_files/files-spwd.c: Likewise.
13584 * nss/nss_db/db-alias.c: Removed.
13585 * nss/nss_db/dummy-db.h: Removed.
13586
9ee76b5a
UD
135872011-06-02 Ulrich Drepper <drepper@gmail.com>
13588
13589 * nss/makedb.c: Rewritten to not use database library.
13590 * nss/Makefile: Update to build new makedb program.
13591
c71ca1f8
AJ
135922011-06-14 Andreas Jaeger <aj@suse.de>
13593
13594 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13595 memset declaration.
13596
3154bfb8
UD
135972011-06-10 Andreas Schwab <schwab@redhat.com>
13598
13599 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13600 tmpbuf.
13601
b350afab
RM
136022011-06-10 Roland McGrath <roland@hack.frob.com>
13603
decd4e50
RM
13604 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13605 * elf/Makefile ($(objpfx)ld.so): Likewise.
13606
5615eaf2
RM
13607 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13608 Don't list ld.so twice in dependencies.
13609
13610 * posix/bug-regex31.c: Include <stdlib.h>.
13611
13612 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13613
13614 * nis/nss_compat/compat-spwd.c
13615 (getspent_next_nss_netgr): Remove unused variable.
13616 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13617
13618 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13619 nonmembers" output to use the right array.
13620
13621 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13622
13623 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13624
13625 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13626 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13627 * catgets/gencat.c (read_input_file): Likewise.
13628 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13629
13630 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13631 variable definition inside #if's controlling its use.
13632
13633 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13634
13635 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13636
13637 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13638
13639 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13640 unreachable code.
13641
13642 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13643
b68e08db
RM
13644 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13645 * configure: Regenerated.
13646
b350afab
RM
13647 * Makerules: Revert last change.
13648 * elf/Makefile: Likewise.
13649
28368601
RM
136502011-06-09 Roland McGrath <roland@hack.frob.com>
13651
13652 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13653 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13654 (reloc-link): Likewise.
13655
11988f8f
UD
136562011-06-09 Ulrich Drepper <drepper@gmail.com>
13657
13658 * elf/Makefile: Add rules to build pldd.
13659 * elf/pldd.c: New file.
13660 * elf/pldd-xx.c: New file.
13661
e80fab37
UD
136622011-06-07 Ulrich Drepper <drepper@gmail.com>
13663
13664 * version.h: Update for 2.15 development version.
13665
9b849836
DM
136662011-06-07 David S. Miller <davem@davemloft.net>
13667
13668 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13669 ifuncs.
13670 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13671 elf_machine_lazy_rel): Likewise.
13672 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13673 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13674 elf_machine_lazy_rel): Likewise.
13675 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13676 dl_hwcap via passed in argument.
13677 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13678 Likewise.
13679
5a31b283
AK
136802011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13681
13682 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13683
069e52f8
RM
136842011-06-06 Roland McGrath <roland@hack.frob.com>
13685
13686 [BZ #12849]
13687 * manual/fdl-1.1.texi: New file, verbatim from:
13688 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13689 * manual/lgpl-2.1.texi: New file, verbatim from:
13690 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13691 * manual/Makefile (licenses): New variable, list those new file names.
13692 (texis): Use it.
13693 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13694
13695 * manual/fdl.texi: File removed.
13696 * manual/lesser.texi: File removed.
13697 * manual/libc.texinfo (Copying, Documentation License):
13698 Use new @include file names, put @appendix directive before @include.
13699
f16846a5
JJ
137002011-06-04 Jakub Jelinek <jakub@redhat.com>
13701
13702 [BZ #12841]
13703 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13704 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13705 (mq_open): Add __NTH.
13706
3d29045b
L
137072011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13708
13709 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13710 Assume Intel Core i3/i5/i7 processor if AVX is available.
13711
8c297311
UD
137122011-05-31 Ulrich Drepper <drepper@gmail.com>
13713
13714 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13715 typo.
13716
c8fc0c91
UD
137172011-05-31 Andreas Schwab <schwab@redhat.com>
13718
13719 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13720 memory. Use alloca_account. Fix memory leak when retrying.
13721
5b27a807
UD
137222011-05-31 Ulrich Drepper <drepper@gmail.com>
13723
356f8bc6
UD
13724 * version.h (RELEASE): Bump for 2.14 release.
13725 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13726
5b27a807
UD
13727 * config.make.in (RANLIB): Remove entry.
13728
01f16ab0
UD
137292011-05-30 Ulrich Drepper <drepper@gmail.com>
13730
41fce8bd
UD
13731 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13732 (libc.pot): Work around missing support for .ksh extension in xgettext.
13733
4769ae77
UD
13734 [BZ #12684]
13735 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13736 if both request failed.
13737 (send_dg): In case of server errors clear resplen or *resplen2.
13738
6b1e7d19
UD
13739 [BZ #12454]
13740 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13741 when there are multiple maps.
13742 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13743 (_dl_fini): Remove test here.
13744
01f16ab0
UD
13745 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13746
b1ebd700
UD
137472011-05-29 Ulrich Drepper <drepper@gmail.com>
13748
7ae22829
UD
13749 [BZ #12350]
13750 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13751 bit from old_res_options.
13752 (gaih_inet): Likewise.
13753
553149f6 13754 [BZ #11099]
18a84741 13755 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
13756 as signed.
13757
652ffab1
UD
13758 * resolv/res_init.c (res_setoptions): Make the code more compact.
13759
16985fd0
UD
13760 [BZ #11558]
13761 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13762 set RES_USEVC.
13763
0464f746
UD
13764 [BZ #11634]
13765 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13766
7d17596c
UD
13767 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13768
cf6bbbd7
UD
13769 [BZ #11781]
13770 * malloc/malloc.h: Declare malloc hook variables as volatile.
13771
13f1ab36
UD
13772 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13773 in last patch.
13774
b1ebd700
UD
13775 [BZ #11799]
13776 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 13777 raise in the comment.
80e2212d
UD
13778 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13779 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13780 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 13781
ce67228d
UD
137822011-05-28 Ulrich Drepper <drepper@gmail.com>
13783
8887a920
UD
13784 [BZ #12811]
13785 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13786 grow the buffers more if it already has to be sufficient.
13787 (build_wcs_upper_buffer): Likewise.
13788 * posix/regexec.c (check_matching): Likewise.
13789 (clean_state_log_if_needed): Likewise.
13790 (extend_buffers): Don't enlarge buffers beyond size of the input
13791 buffer.
13792 Patches mostly by Emil Wojak <emil@wojak.eu>.
13793 * posix/bug-regex32.c: New file.
13794 * posix/Makefile (tests): Add bug-regex32.
13795
4f031072
UD
13796 * locale/findlocale.c (_nl_find_locale): Return right away if
13797 _nl_explode_name failed.
13798 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13799
d0478f0c
UD
13800 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13801
de81b246
UD
13802 * debug/xtrace.sh: Unify messages.
13803 * malloc/memusage.sh: Likewise.
13804
c738465a
UD
13805 [BZ #12813]
13806 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13807 time symbol from vDSO. Substitute with vsyscall if not available.
13808 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13809 __vdso_time.
13810
f1f929d7
UD
13811 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13812 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13813 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13814 Add sendmmsg and internal_sendmmsg.
13815 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13816 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13817 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13818
ce67228d
UD
13819 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13820 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13821 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13822
e57420c6
UD
138232011-05-27 Ulrich Drepper <drepper@gmail.com>
13824
a8509ca5
UD
13825 [BZ #12813]
13826 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13827 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13828 available.
13829 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13830 __vdso_getcpu.
13831
e57420c6
UD
13832 [BZ #12814]
13833 * iconvdata/Makefile (tests): Add bug-iconv9.
13834 * iconvdata/bug-iconv9.c: New file.
13835
4d07db15
AS
138362011-05-27 Andreas Schwab <schwab@redhat.com>
13837
13838 [BZ #12814]
13839 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13840
ea486f69
JJ
138412011-05-25 Jakub Jelinek <jakub@redhat.com>
13842
13843 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13844 (struct user_regs_struct): Change intcs field back to cs.
13845
6f038433
UD
138462011-05-25 Ulrich Drepper <drepper@gmail.com>
13847
13848 * po/ja.po: Update from translation team.
13849
67f86a25
UD
138502011-05-23 Ulrich Drepper <drepper@gmail.com>
13851
13852 [BZ #12795]
13853 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13854 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13855
def7fbd6
AS
138562011-05-20 Andreas Schwab <schwab@redhat.com>
13857
13858 * stdlib/longlong.h: Update from GCC.
13859
f50ef8f1
AS
138602011-05-23 Andreas Schwab <schwab@redhat.com>
13861
13862 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13863 parameter name.
13864 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13865 Add parameter name.
13866 (__sysconf): Pass it down.
13867
de7ce8f1
UD
138682011-05-22 Ulrich Drepper <drepper@gmail.com>
13869
f2962a71
UD
13870 [BZ #12671]
13871 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13872 some situations.
13873 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13874 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13875 add in in __libc_use_alloca calls. Adjust callers.
13876 (glob): Use malloc in some situations.
13877
de7ce8f1
UD
13878 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13879 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13880 pltexit.
13881
aec84f53
UD
138822011-05-21 Ulrich Drepper <drepper@gmail.com>
13883
05bb4a68
UD
13884 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13885 and CLOCK_BOOTTIME_ALARM.
13886
7ea72f99
UD
13887 [BZ #12782]
13888 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13889 is returned.
13890
7e4afad5
UD
13891 * string/_strerror.c (__strerror_r): Print negative errors as signed
13892 numbers.
13893
8e211fec
UD
13894 [BZ #12777]
13895 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13896 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13897 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13898
f7d82dc9
UD
13899 * configure.in: Fix typo in redirection and correct removal of test
13900 files in two cases.
13901
cc9e536d
UD
13902 [BZ #12788]
13903 * locale/setlocale.c (new_composite_name): Fix test to check for
13904 identical name of all categories.
13905
aec84f53
UD
13906 [BZ #12792]
13907 * libio/filedoalloc.c (local_isatty): New function.
13908 (_IO_file_doallocate): Use local_isatty.
13909 * stdio-common/perror.c (perror): In case a new stream is used
13910 forward the stream error.
13911 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13912 error flag.
13913
78e64fdc
RT
139142011-05-20 Ulrich Drepper <drepper@gmail.com>
13915
34a9094f
UD
13916 [BZ #11869]
13917 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13918 alloca.
13919 * include/alloca.h (extend_alloca_account): Define.
13920
78e64fdc
RT
13921 [BZ #11857]
13922 * posix/regex.h: Fix comments with documentation of user-accessible
13923 fields after compilation and describe correct free'ing of pattern
13924 after re_compile_pattern.
13925 Patch by Reuben Thomas <rrt@sc3d.org>.
13926
457bddfc
RA
139272011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13928
13929 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13930 and -mno-altivec to prevent the compiler from using Altivec and/or
13931 VSX instructions when the corresponding registers are not available.
13932
a4527b51
AS
139332011-05-19 Andreas Schwab <schwab@redhat.com>
13934
13935 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13936
ed690b2f
UD
139372011-05-19 Ulrich Drepper <drepper@gmail.com>
13938
13939 * libio/freopen.c (freopen): Use __dup2, not dup2.
13940 * libio/freopen64.c (freopen64): Likewise.
13941
8db73634
L
139422011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13943
13944 [BZ #12775]
13945 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13946 * math/Makefile (tests): Add test-powl.
13947 (CFLAGS-test-powl.c): Define.
13948 * math/test-powl.c: New file.
13949
0a197a9d
L
139502011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13951
13952 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13953
ee30c380
UD
139542011-05-17 Ulrich Drepper <drepper@gmail.com>
13955
13956 [BZ #11837]
13957 * iconvdata/gb18030.c: Update to GB18020-2005.
13958
6ce75379
UD
139592011-05-16 Ulrich Drepper <drepper@gmail.com>
13960
a4b89fd8
AR
13961 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13962 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13963 Patch by Aharon Robbins <arnold@skeeve.com>.
13964
ea389b12
UD
13965 [BZ #11892]
13966 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13967 on the stack.
13968
68a3f91f
UD
13969 [BZ #11895]
13970 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13971 through underflows.
13972
15cc7dd1
UD
13973 [BZ #12766]
13974 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13975 point to strings before performing equality test for error_one_per_line
13976 mode.
13977
f3799213
UD
13978 [BZ #11697]
13979 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13980
d79a9c94
UD
13981 [BZ #11820]
13982 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13983 (struct user_fpregs_struct): Avoid __uint*_t types.
13984
56e5eb46
UD
13985 [BZ #6420]
13986 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13987 symbol info. Use it instead of calling _dl_addr locally.
13988 (lock_and_info): New function.
13989 (tr_freehook): Call lock_and_info and pass symbol info as additional
13990 parameter to tr_where.
13991 (tr_mallochook): Likewise.
13992 (tr_reallochook): Likewise.
13993 (tr_memalignhook): Likewise.
13994
6ce75379
UD
13995 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13996 used and couldn't be at all thread-safe.
13997
f8a3b5bf
UD
139982011-05-15 Ulrich Drepper <drepper@gmail.com>
13999
94b7cc37
UD
14000 * libio/freopen.c (freopen): Don't close old file descriptor
14001 before the new one is opened. Instead dup the new file descriptor
14002 to the old one after the new stream is created.
14003 * libio/freopen64.c (freopen64): Likewise.
14004 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
14005 * libio/fileops.c (_IO_new_file_close_it): Handle new
14006 _IO_FLAGS2_NOCLOSE flag.
14007 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
14008 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
14009 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
14010 _IO_FLAGS2_NOCLOSE flag.
14011 * include/unistd.h: Add hidden_proto for dup3.
14012 Define __have_dup3.
14013 * io/dup3.c: Define hidden symbol.
14014 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
14015
bd25564e
UD
14016 [BZ #7101]
14017 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
14018 when an incomplete long option is used.
14019 * posix/tst-getopt_long1.c: New file.
14020 * posix/Makefile (tests): Add tst-getopt_long1.
14021
c84cfef4
UD
14022 [BZ #10138]
14023 * scripts/config.guess: Update from autoconf-2.68.
14024 * scripts/config.sub: Likewise.
14025
3b85df27
UD
14026 [BZ #10157]
14027 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
14028 tests into ...
14029 (has_cpuclock): ...this. New function.
14030 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
14031 macro here based on has_cpuclock code.
14032
15a856b1
UD
14033 [BZ #10149]
14034 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14035 First byte (not low byte) is now always NUL.
14036 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
14037
05f399e6
UD
14038 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14039 Use non-cancelable interfaces.
14040
10a52685 14041 [BZ #9809]
94ecc67d
UD
14042 * locale/iso-639.def: Add entry for Sorani.
14043
f8a3b5bf
UD
14044 [BZ #11901]
14045 * include/stdlib.h: Move include protection to the right place.
14046 Define abort_msg_s. Declare __abort_msg with it.
14047 * stdlib/abort.c (__abort_msg): Adjust type.
14048 * assert/assert.c (__assert_fail_base): New function. Majority
14049 of code from __assert_fail. Allocate memory for __abort_msg with
14050 mmap.
14051 (__assert_fail): Now call __assert_fail_base.
14052 * assert/assert-perr.c: Remove bulk of implementation. Use
14053 __assert_fail_base.
14054 * include/assert.hL Declare __assert_fail_base.
14055 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
14056 mmap.
14057 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
14058
1af4e298
UD
140592011-05-14 Ulrich Drepper <drepper@gmail.com>
14060
f8a3b5bf 14061 [BZ #11952]
d26dfc60
MG
14062 [BZ #12453]
14063 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
14064 until all modules are registered in the DTV.
14065 * elf/Makefile: Add rules to build and run tst-tls19.
14066 * elf/tst-tls19.c: New file.
14067 * elf/tst-tls19mod1.c: New file.
14068 * elf/tst-tls19mod2.c: New file.
14069 * elf/tst-tls19mod3.c: New file.
14070 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
14071
2fc54d6f
UD
14072 [BZ #12083]
14073 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
14074 correctly.
14075
98d76b46
UD
14076 [BZ #12601]
14077 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
14078 two-byte sequence errors.
14079 * iconvdata/Makefile (tests): Add bug-iconv8.
14080 * iconvdata/bug-iconv8.c: New file.
14081
da3c19ef
UD
14082 [BZ #12626]
14083 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
14084 buf2 definition.
14085
ca408c15
UD
14086 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14087
d6f67f7d
UD
14088 [BZ #12432]
14089 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14090 (dummy_getcfa): New function.
14091 (init): Get _Unwind_GetCFA address, use dummy if not found.
14092 (backtrace_helper): In recursion check, also check whether CFA changes.
14093 (__backtrace): Completely initialize arg.
14094
1af4e298 14095 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
14096 storing incomplete byte sequence in state object. Avoid testing for
14097 guaranteed too small input if we know there is enough data available.
1af4e298 14098
da62f81b
AS
140992011-05-11 Andreas Schwab <schwab@redhat.com>
14100
14101 * Makeconfig (+link-pie): Indent.
14102 * Rules (binaries-pie): Define if $(have-fpie) and
14103 $(build-shared).
14104 (binaries-shared): Also filter out $(binaries-pie).
14105 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14106 * nscd/Makefile (others-pie): Add nscd.
14107 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14108 ($(objpfx)nscd): Remove command override.
14109 * login/Makefile (others-pie): Add pt_chown.
14110 ($(objpfx)pt_chown): Remove command override.
14111 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14112 remove command overrides.
14113
fcabc0f8
UD
141142011-05-13 Ulrich Drepper <drepper@gmail.com>
14115
20030ae6
UD
14116 * libio/tst_putwc.c: Fix error messages.
14117
fcabc0f8
UD
14118 [BZ #12724]
14119 * libio/fileops.c (_IO_new_file_close_it): Always flush when
14120 currently writing and seek to current position when not.
14121 * libio/Makefile (tests): Add bug-fclose1.
14122 * libio/bug-fclose1.c: New file.
14123
320a5dc0
PB
141242011-05-12 Ulrich Drepper <drepper@gmail.com>
14125
14126 [BZ #12511]
14127 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14128 don't set DF_1_NODELETE here.
14129 (do_lookup_x): When entering new entry test for copy relocation
14130 and if necessary set DF_1_NODELETE flag.
14131 * elf/tst-unique4.cc: New file.
14132 * elf/tst-unique4.h: New file.
14133 * elf/tst-unique4lib.cc: New file.
14134 * elf/Makefile: Add rules to build and run tst-unique4.
14135 Patch by Piotr Bury <pbury@goahead.com>.
14136
22836f52
UD
141372011-05-11 Ulrich Drepper <drepper@gmail.com>
14138
f574184a
UD
14139 [BZ #12052]
14140 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14141
e1fb097f
UD
14142 [BZ #12625]
14143 * misc/mntent_r.c (addmntent): Flush the stream after the output
14144
22836f52
UD
14145 [BZ #12393]
14146 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14147 (is_trusted_path_normalize): Skip initial colon. Append slash
14148 to empty buffer. Duplicate is_trusted_path code but allow
14149 constructed patch to be prefix.
14150 (is_dst): Allow $ORIGIN followed by /.
14151 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14152 Correct testing of result of is_trusted_path_normalize
14153 (decompose_rpath): Fix warning.
14154
7b3b0b2a
UD
141552011-05-10 Ulrich Drepper <drepper@gmail.com>
14156
14157 [BZ #11257]
14158 * grp/initgroups.c (internal_getgrouplist): When we found the service
14159 list through the initgroups entry in nsswitch.conf do not always
14160 continue on a successful lookup. Don't always use the
eac80ce2 14161 __nss_group_database value if it is set.
7b3b0b2a
UD
14162 * nss/nsswitch.conf (initgroups): Change action for successful db
14163 lookup to continue for compatibility.
14164
2a81eaa5
UD
141652011-05-09 Ulrich Drepper <drepper@gmail.com>
14166
be97a69e
UD
14167 [BZ #11532]
14168 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14169 and CP774 modules.
14170 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14171 and CP774 modules.
14172 * iconvdata/tst-tables.sh: Likewise.
14173 * iconvdata/cp770.c: New file.
14174 * iconvdata/cp771.c: New file.
14175 * iconvdata/cp772.c: New file.
14176 * iconvdata/cp773.c: New file.
14177 * iconvdata/cp774.c: New file.
14178 * iconvdata/testdata/CP770: New file.
14179 * iconvdata/testdata/CP770..UTF8: New file.
14180 * iconvdata/testdata/CP771: New file.
14181 * iconvdata/testdata/CP771..UTF8: New file.
14182 * iconvdata/testdata/CP772: New file.
14183 * iconvdata/testdata/CP772..UTF8: New file.
14184 * iconvdata/testdata/CP773: New file.
14185 * iconvdata/testdata/CP773..UTF8: New file.
14186 * iconvdata/testdata/CP774: New file.
14187 * iconvdata/testdata/CP774..UTF8: New file.
14188
14189 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14190 END CHARMAP line.
14191 * iconvdata/gen-8bit-gap.sh: Likewise.
14192 * iconvdata/gen-8bit.sh: Likewise.
14193
c1e9e399
UD
14194 * locale/iso-639.def: Add ary entry.
14195
24c55fb3 14196 [BZ #11258]
96b4b1b0
UD
14197 * locale/C-translit.h.in: Add U20A1 transliteration.
14198
bdc2f971
KB
14199 [BZ #12178]
14200 * locale/iso-639.def: Add wae entry.
14201 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14202
2952b117
UD
14203 [BZ #12545]
14204 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14205 for n.
14206
2a81eaa5
UD
14207 [BZ #12711]
14208 * locale/C-translit.h.in: Add entry for U20B9.
14209 Patch by pravin.d.s@gmail.com.
14210
28377d1b
UD
142112011-05-08 Ulrich Drepper <drepper@gmail.com>
14212
7fb90fb8
UD
14213 [BZ #12713]
14214 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14215 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
14216 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14217 in rtld. Use *stat64.
7fb90fb8 14218 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 14219 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 14220 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
14221 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14222 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14223 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14224 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14225 __fstatat64 macros.
7fb90fb8
UD
14226 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14227 * dirent/rewinddir.c: Add libc_hidden_def.
14228 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 14229 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 14230
28377d1b
UD
14231 * include/dirent.h (__alloc_dir): Add flags parameter.
14232 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14233 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14234 __alloc_dir.
14235 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14236 from fdopendir if O_CLOEXEC is already set.
14237
66bdbaa4
AM
142382011-03-15 Alan Modra <amodra@gmail.com>
14239
14240 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14241 l_tls_firstbyte_offset non-zero. Save padding offset in
14242 l_tls_firstbyte_offset for later use.
14243 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14244 freeing static tls block.
14245
95721191
JN
142462011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14247
14248 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14249 where #ifdef was intended. The intent is to prevent ARG_MAX from
14250 being defined by the kernel headers.
14251
f87dfb1f
UD
142522011-05-07 Ulrich Drepper <drepper@gmail.com>
14253
14254 [BZ #12734]
14255 * resolv/resolv.h: Define RES_NOTLDQUERY.
14256 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14257 no-tld-query and set RES_NOTLDQUERY.
14258 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14259 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14260 modern BIND to search name as TLD unless forbidden.
14261
47c3cd7a
UD
142622011-05-07 Petr Baudis <pasky@suse.cz>
14263 Ulrich Drepper <drepper@gmail.com>
14264
14265 [BZ #12393]
14266 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14267 (is_trusted_path): ...to here.
c1e9ea35 14268 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 14269 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 14270 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 14271
8a35c912
PP
142722011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14273
14274 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14275 __BEGIN/__END_DECLS.
14276
acd41f47
UD
142772011-05-06 Ulrich Drepper <drepper@gmail.com>
14278
14279 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14280 NSS_STATUS_NOTFOUND if no record was found.
14281
597df647
AS
142822011-05-05 Andreas Schwab <schwab@redhat.com>
14283
14284 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14285 (headers-not-in-tirpc): Remove rpc/netdb.h
14286 * resolv/netdb.h: Revert last change.
14287
b9af1301
PP
142882011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14289
14290 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14291 circular dependency between libgcc.a and libc.a.
14292
4e34d5f5
AS
142932011-05-05 Andreas Schwab <schwab@redhat.com>
14294
14295 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14296 * nis/Makefile: Don't install rpcsvc/*.
14297 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14298 instead of <rpc/types.h>.
14299 (MAXHOSTNAMELEN): Define.
14300
00ee369c
AS
143012011-05-03 Andreas Schwab <schwab@redhat.com>
14302
14303 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14304
0b592a30
MB
143052011-04-28 Maciej Babinski <mbabinski@google.com>
14306
14307 [BZ #12714]
14308 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14309 gethostbyname4_r when IPv6 results are possible.
14310
6e04cbbe
UD
143112011-05-02 Ulrich Drepper <drepper@gmail.com>
14312
14313 [BZ #12723]
14314 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14315 _PC_PIPE_BUF handling.
14316
e4ecafe0
BH
143172011-04-30 Bruno Haible <bruno@clisp.org>
14318
14319 [BZ #12717]
14320 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14321 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14322 to 'int'.
14323 * inet/getnameinfo.c (getnameinfo): Likewise.
14324
125ee683
UD
143252011-04-29 Ulrich Drepper <drepper@gmail.com>
14326
14327 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14328 to groups setting in database lookup.
14329 * nss/nsswitch.conf: Add initgroups entry.
14330
b722481a
EB
143312011-04-22 Ulrich Drepper <drepper@gmail.com>
14332
14333 [BZ #12685]
14334 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14335 mode string.
14336 Patch by Eric Blake <eblake@redhat.com>.
14337
4df46dbd
L
143382011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14339
14340 * sunrpc/Makefile (need-export-routines): Add svc_run.
14341 (routines): Remove svc_run.
14342 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14343 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14344 * sunrpc/svc_run.c (svc_run): Likewise.
14345 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14346
e84142d2
UD
143472011-04-21 Ulrich Drepper <drepper@gmail.com>
14348
14349 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14350 problem in reallocation in last patch.
14351
877175d8
UD
143522011-04-20 Ulrich Drepper <drepper@gmail.com>
14353
14354 * sunrpc/Makefile: Move inclusion of Rules.
14355
ab8eed78
UD
143562011-04-19 Ulrich Drepper <drepper@gmail.com>
14357
14358 * nss/nss_files/files-initgroups.c: New file.
14359 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14360 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14361 _nss_files_initgroups_dyn.
14362
e3d8f584
RS
143632011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14364
14365 * elf/elf.h (R_ARM_IRELATIVE): Define.
14366
af190f45
UD
143672011-04-19 Ulrich Drepper <drepper@gmail.com>
14368
14369 * po/ru.po: Update from translation team.
14370
53cf59ef
UD
143712011-04-17 Ulrich Drepper <drepper@gmail.com>
14372
14373 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14374 dependencies.
14375
4c559bcd
MF
143762011-02-06 Mike Frysinger <vapier@gentoo.org>
14377
14378 [BZ #12653]
14379 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14380 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14381 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14382 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14383 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14384
4420675c
AS
143852011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14386
14387 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14388 differing bytes.
14389 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14390 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14391 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14392
75ea32ab
UD
143932011-04-17 Ulrich Drepper <drepper@gmail.com>
14394
14395 [BZ #12420]
14396 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14397 storing it.
14398 * stdlib/bug-getcontext.c: New file.
14399 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14400
27390476
AK
144012011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14402
14403 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14404 instructions into .machine "z9-109".
14405 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14406 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14407
10442705
AK
144082011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14409
14410 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14411 between environment variables and auxiliary vector.
14412
7b57bfe5
UD
144132011-04-16 Ulrich Drepper <drepper@gmail.com>
14414
14415 * Makefile: Add rules to build linkobj/libc.so.
14416 * include/libc-symbols.h: Define libc_hidden_nolink.
14417 * include/rpc/auth.h: Mark functions which are to be hidden.
14418 * include/rpc/auth_des.h: Likewise.
14419 * include/rpc/auth_unix.h: Likewise.
14420 * include/rpc/clnt.h: Likewise.
14421 * include/rpc/des_crypt.h: Likewise.
14422 * include/rpc/key_prot.h: Likewise.
14423 * include/rpc/pmap_clnt.h: Likewise.
14424 * include/rpc/pmap_prot.h: Likewise.
14425 * include/rpc/pmap_rmt.h: Likewise.
14426 * include/rpc/rpc_msg.h: Likewise.
14427 * include/rpc/svc.h: Likewise.
14428 * include/rpc/svc_auth.h: Likewise.
14429 * include/rpc/xdr.h: Likewise.
14430 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14431 * nss/Makefile: Likewise.
14432 * sunrpc/Makefile: Don't install headers. Build library with normal
14433 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14434 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14435 for the compat linking library. Remove use of INTDEF/INTUSE.
14436 * sunrpc/auth_none.c: Likewise.
14437 * sunrpc/auth_unix.c: Likewise.
14438 * sunrpc/authdes_prot.c: Likewise.
14439 * sunrpc/authuxprot.c: Likewise.
14440 * sunrpc/clnt_gen.c: Likewise.
14441 * sunrpc/clnt_perr.c: Likewise.
14442 * sunrpc/clnt_raw.c: Likewise.
14443 * sunrpc/clnt_simp.c: Likewise.
14444 * sunrpc/clnt_tcp.c: Likewise.
14445 * sunrpc/clnt_udp.c: Likewise.
14446 * sunrpc/clnt_unix.c: Likewise.
14447 * sunrpc/des_crypt.c: Likewise.
14448 * sunrpc/des_soft.c: Likewise.
14449 * sunrpc/get_myaddr.c: Likewise.
14450 * sunrpc/key_call.c: Likewise.
14451 * sunrpc/key_prot.c: Likewise.
14452 * sunrpc/netname.c: Likewise.
14453 * sunrpc/pm_getmaps.c: Likewise.
14454 * sunrpc/pm_getport.c: Likewise.
14455 * sunrpc/pmap_clnt.c: Likewise.
14456 * sunrpc/pmap_prot.c: Likewise.
14457 * sunrpc/pmap_prot2.c: Likewise.
14458 * sunrpc/pmap_rmt.c: Likewise.
14459 * sunrpc/publickey.c: Likewise.
14460 * sunrpc/rpc_cmsg.c: Likewise.
14461 * sunrpc/rpc_common.c: Likewise.
14462 * sunrpc/rpc_dtable.c: Likewise.
14463 * sunrpc/rpc_prot.c: Likewise.
14464 * sunrpc/rpc_thread.c: Likewise.
14465 * sunrpc/rtime.c: Likewise.
14466 * sunrpc/svc.c: Likewise.
14467 * sunrpc/svc_auth.c: Likewise.
14468 * sunrpc/svc_authux.c: Likewise.
14469 * sunrpc/svc_raw.c: Likewise.
14470 * sunrpc/svc_run.c: Likewise.
14471 * sunrpc/svc_simple.c: Likewise.
14472 * sunrpc/svc_tcp.c: Likewise.
14473 * sunrpc/svc_udp.c: Likewise.
14474 * sunrpc/svc_unix.c: Likewise.
14475 * sunrpc/svcauth_des.c: Likewise.
14476 * sunrpc/xcrypt.c: Likewise.
14477 * sunrpc/xdr.c: Likewise.
14478 * sunrpc/xdr_array.c: Likewise.
14479 * sunrpc/xdr_float.c: Likewise.
14480 * sunrpc/xdr_intXX_t.c: Likewise.
14481 * sunrpc/xdr_mem.c: Likewise.
14482 * sunrpc/xdr_rec.c: Likewise.
14483 * sunrpc/xdr_ref.c: Likewise.
14484 * sunrpc/xdr_sizeof.c: Likewise.
14485 * sunrpc/xdr_stdio.c: Likewise.
14486
e6c61494
UD
144872011-04-10 Ulrich Drepper <drepper@gmail.com>
14488
14489 [BZ #12650]
14490 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14491 * sysdeps/ia64/dl-tls.h: Likewise.
14492 * sysdeps/powerpc/dl-tls.h: Likewise.
14493 * sysdeps/s390/dl-tls.h: Likewise.
14494 * sysdeps/sh/dl-tls.h: Likewise.
14495 * sysdeps/sparc/dl-tls.h: Likewise.
14496 * sysdeps/x86_64/dl-tls.h: Likewise.
14497 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14498
34fe483e
AS
144992011-03-14 Andreas Schwab <schwab@redhat.com>
14500
14501 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14502 rpath element also skip the following colon.
14503 (expand_dynamic_string_token): Add is_path parameter and pass
14504 down to DL_DST_REQUIRED and _dl_dst_substitute.
14505 (decompose_rpath): Call expand_dynamic_string_token with
14506 non-zero is_path. Ignore empty rpaths.
14507 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14508 with zero is_path.
14509
f12a32e6
AS
145102011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14511
14512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14513 Make cancelable.
14514
38a7d692
UD
145152011-04-09 Ulrich Drepper <drepper@gmail.com>
14516
14517 [BZ #12655]
14518 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14519 Patch by Filipe David Manana <fdmanana@apache.org>.
14520
e451d22b
AS
145212011-04-07 Andreas Schwab <schwab@redhat.com>
14522
14523 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14524 Maintain aligned stack.
14525 (CHECK_RSP): Remove unused macro.
14526
dedc7c7b
UD
145272011-04-03 Ulrich Drepper <drepper@gmail.com>
14528
14529 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14530 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14531
94521213
UD
145322011-04-02 Ulrich Drepper <drepper@gmail.com>
14533
14534 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14535
8cb700c0 14536 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 14537
0354e355
L
145382011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14539
14540 [BZ #12518]
14541 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14542 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14543 * sysdeps/x86_64/memmove.c: New file.
14544 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14545 (memcpy): Renamed to ...
14546 (__new_memcpy): This.
14547 (memcpy): Provide GLIBC_2_14 memcpy.
14548 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14549 (memcpy): Provide GLIBC_2_2_5 memcpy.
14550
8593482f
UD
145512011-04-01 Ulrich Drepper <drepper@gmail.com>
14552
14553 [BZ #12631]
14554 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14555
81a5726b
AS
145562011-03-30 Andreas Schwab <schwab@redhat.com>
14557
14558 * misc/syncfs.c: New file.
14559 * misc/Makefile (routines): Add syncfs.
14560 * posix/unistd.h: Declare syncfs.
14561 * sysdeps/unix/syscalls.list: Add syncfs.
14562
00e5419f
AS
145632011-04-01 Andreas Schwab <schwab@redhat.com>
14564
14565 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14566 open_by_handle_at.
14567 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14568 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14569 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14570 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14571 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14572 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14573 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14574
748876bf
UD
145752011-04-01 Ulrich Drepper <drepper@gmail.com>
14576
658e451d
UD
14577 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14578 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14579 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14580 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14581 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14582 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14583 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14584
748876bf
UD
14585 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14586 sync_file_range.c with -fexceptions.
14587 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14588 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14589 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14590 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14591 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14592 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14593 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
14594 sync_file_range as cancellation point
14595 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14596 now a wrapper around __call_sync_file_range with cancellation handling.
14597 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14598 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14599 function name to __call_sync_file_range.
14600 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14601 Add call_sync_file_range.
748876bf 14602
6e63d5e1
AS
146032011-04-01 Andreas Schwab <schwab@redhat.com>
14604
14605 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 14606 bits/timex.h.
6e63d5e1 14607
46998f74
UD
146082011-04-01 Ulrich Drepper <drepper@gmail.com>
14609
4c1423ed
UD
14610 * iconv/iconv.h: Fix typo in comment.
14611 * io/fcntl.h: Likewise.
14612 * libio/stdio.h: Likewise.
14613 * posix/spawn.h: Likewise.
14614 * posix/unistd.h: Likewise.
14615 * stdlib/stdlib.h: Likewise.
14616 * time/time.h: Likewise.
14617 * wcsmbs/wchar.h: Likewise.
14618
158648c0
UD
14619 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14620 open_by_handle): Add.
14621 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14622 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14623 Augment a few comments.
14624 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14625 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14626 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14627 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14628 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14629 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14630 open_by_handle.
14631
46998f74
UD
14632 * io/fcntl.h (AT_EMPTY_PATH): Define.
14633
83fe108b
UD
146342011-03-30 Ulrich Drepper <drepper@gmail.com>
14635
14636 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14637 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14638 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14639 to...
14640 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
14641 * Versions.def: Add GLIBC_2.14.
14642 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14643 Export.
83fe108b 14644
bb242059
UD
146452011-03-22 Ulrich Drepper <drepper@gmail.com>
14646
14647 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14648 round counter.
14649 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14650
c97a1282
L
146512011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14652
14653 [BZ #12597]
14654 * string/test-strncmp.c (do_page_test): New function.
14655 (check2): Likewise.
14656 (test_main): Call check2.
14657 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14658
2a115601
UD
146592011-03-20 Ulrich Drepper <drepper@gmail.com>
14660
14661 [BZ #12587]
14662 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14663 Handle cache information in CPU leaf 4.
14664 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14665
8126d904
UD
146662011-03-18 Ulrich Drepper <drepper@gmail.com>
14667
042c49c6 14668 [BZ #12583]
8126d904
UD
14669 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14670 character representation.
14671 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14672
ccfe366e
RA
146732011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14674
14675 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14676 END(__isnan) to END(__isnanf) to match function entry point/label
14677 EALIGN(__isnanf,...).
14678
c6e13027
JJ
146792011-03-10 Jakub Jelinek <jakub@redhat.com>
14680
14681 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14682
33f85a3f
UD
146832011-03-10 Ulrich Drepper <drepper@gmail.com>
14684
028478fa
UD
14685 [BZ #12510]
14686 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14687 copy from the symbol referenced in the relocation to initialize the
14688 used variable.
14689 Patch by Piotr Bury <pbury@goahead.com>.
14690 * elf/Makefile: Add rules to build and tst-unique3.
14691 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14692 * elf/tst-unique3.cc: New file.
14693 * elf/tst-unique3.h: New file.
14694 * elf/tst-unique3lib.cc: New file.
14695 * elf/tst-unique3lib2.cc: New file.
14696
33f85a3f
UD
14697 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14698
03592fc7
MF
146992011-03-10 Mike Frysinger <vapier@gentoo.org>
14700
14701 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14702 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14703 to _start.
03592fc7 14704
6a5ee102
UD
147052011-03-06 Ulrich Drepper <drepper@gmail.com>
14706
14707 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14708 to-be-loaded object along a path to loader is ld.so.
14709
7e4ba49c
HJ
147102011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14711 Ulrich Drepper <drepper@gmail.com>
14712
14713 * sysdeps/x86_64/memset.S: After aligning destination, code
14714 branches to different locations depending on the value of
14715 misalignment, when multiarch is enabled. Fix this.
14716
147172011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14718
14719 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14720 Set _x86_64_preferred_memory_instruction for AMD processsors.
14721 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14722 Set bit_Prefer_SSE_for_memop for AMD processors.
14723
13a804de
UD
147242011-03-04 Ulrich Drepper <drepper@gmail.com>
14725
14726 * libio/fmemopen.c (fmemopen): Optimize a bit.
14727
9d25c392
AS
147282011-03-03 Andreas Schwab <schwab@redhat.com>
14729
14730 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14731
a5543c6a
RM
147322011-03-03 Roland McGrath <roland@redhat.com>
14733
14734 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14735
012d35f7
DM
147362011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14737
7e4ba49c 14738 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
14739 __bzero_ultra1 instead of __memset_ultra1.
14740
4bff6e01
AS
147412011-02-23 Andreas Schwab <schwab@redhat.com>
14742 Ulrich Drepper <drepper@gmail.com>
14743
14744 [BZ #12509]
14745 * include/link.h (struct link_map): Add l_orig_initfini.
14746 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14747 returning unsuccessfully.
14748 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14749 close of a file loaded at startup, restore the original l_initfini
14750 list.
14751 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14752 list, store the pointer.
14753 * elf/Makefile ($(objpfx)noload-mem): New rule.
14754 (noload-ENV): Define.
14755 (tests): Add $(objpfx)noload-mem.
14756 * elf/noload.c: Include <memcheck.h>.
14757 (main): Call mtrace. Close all opened handles.
14758
f2092faf
AS
147592011-02-17 Andreas Schwab <schwab@redhat.com>
14760
14761 [BZ #12454]
14762 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14763 dependencies are missing.
14764
6c8a2e88
ST
147652011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14766
f2092faf 14767 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
14768 Hurd needs munmap.
14769 * sysdeps/mach/hurd/ifreq.h: New file.
14770
84a42118
PB
147712011-01-27 Petr Baudis <pasky@suse.cz>
14772 Ulrich Drepper <drepper@gmail.com>
14773
071f805e 14774 [BZ 12445]#
84a42118
PB
14775 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14776 to extend_alloca().
14777 * stdio-common/bug23.c: New file.
14778 * stdio-common/Makefile (tests): Add bug23.
14779
e23fe25b
AS
147802010-09-28 Andreas Schwab <schwab@redhat.com>
14781 Ulrich Drepper <drepper@gmail.com>
14782
14783 [BZ #12489]
14784 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14785 before performing relro protection. At old place add assertion
14786 to make sure nothing changed.
14787
d3f02e10
NS
147882011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14789 Glauber de Oliveira Costa <glommer@gmail.com>
14790
14791 * elf/elf.h: Add new ARM TLS relocs.
14792
d55fd7a5
RA
147932011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14794
14795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14796 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14797 cast from r3.
14798 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14799 'tests' variable.
14800 * sysdeps/wordsize-64/tst-writev.c: New file.
14801
2206397e
RA
148022011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14803
14804 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14805 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14806 insns in _dl_start to prevent a TOC reference before relocs are
14807 resolved.
14808
e9433893
UD
148092011-02-15 Ulrich Drepper <drepper@gmail.com>
14810
14811 [BZ #12469]
14812 * Makeconfig: Remove RANLIB definition.
14813 * Makerules: Don't use RANLIB.
14814 * aclocal.m4: Remove ranlib test.
14815 * configure.in: No need to check for ranlib.
14816 * elf/rtld-Rules: Don't use RANLIB.
14817
f75286c6
ST
148182011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14819
8e31c82d
ST
14820 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14821 protection macro.
14822 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14823 inclusion protection macro.
14824
f75286c6
ST
14825 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14826 SIGRTMIN and SIGRTMAX and print information in that case only when
14827 SIGRTMIN is defined.
14828
c1d0e639
JJ
148292011-02-11 Jakub Jelinek <jakub@redhat.com>
14830
14831 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14832 arginfo fn returning -1.
14833
14834 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14835 and thousands string is zero terminated.
14836
edf9294e
AS
148372011-02-03 Andreas Schwab <schwab@redhat.com>
14838
14839 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14840 sysdeps/unix/sysv/linux/bits/socket.h.
14841
2b7e92df
ST
148422011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14843
edf9294e
AS
14844 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14845 (__CPU_COUNT): Remove old macros.
14846 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14847 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14848 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
14849 (__sched_cpualloc, __sched_cpufree): Add declarations.
14850
a4c7ea7b
UD
148512011-02-05 Ulrich Drepper <drepper@gmail.com>
14852
14853 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14854 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14855 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14856 (readdhstai): Return value of addhstaiX call.
14857 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14858 (addgrbyX): Return value returned by cache_addgr.
14859 (readdgrbyname): Return value returned by addgrbyX.
14860 (readdgrbygid): Likewise.
14861 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14862 (addpwbyX): Return value returned by cache_addpw.
14863 (readdpwbyname): Return value returned by addhstbyX.
14864 (readdpwbyuid): Likewise.
14865 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14866 (addservbyX): Return value returned by cache_addserv.
14867 (readdservbyname): Return value returned by addservbyX:
14868 (readdservbyport): Likewise.
14869 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14870 (addhstbyX): Return value returned by cache_addhst.
14871 (readdhstbyname): Return value returned by addhstbyX.
14872 (readdhstbyaddr): Likewise.
14873 (readdhstbynamev6): Likewise.
14874 (readdhstbyaddrv6): Likewise.
14875 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14876 (readdinitgroups): Return value returned by addinitgroupsX.
14877 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14878 (prune_cache): Keep track of timeout value of re-added entries.
14879 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14880 * nscd/nscd.h: Adjust prototypes of readd* functions.
14881
a0bf67cc
RM
148822011-02-04 Roland McGrath <roland@redhat.com>
14883
14884 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14885 (nis_stats): Likewise.
14886 * nis/nis_modify.c (nis_modify): Likewise.
14887 * nis/nis_remove.c (nis_remove): Likewise.
14888 * nis/nis_add.c (nis_add): Likewise.
14889
14890 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14891
14892 * posix/fnmatch_loop.c: Add some consts.
14893
14894 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14895
435b95eb
L
148962011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14897
14898 [BZ #12460]
14899 * config.make.in (config-cflags-novzeroupper): Define.
14900 * configure.in: Substitute libc_cv_cc_novzeroupper.
14901 * elf/Makefile (AVX-CFLAGS): Define.
14902 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14903 (CFLAGS-tst-auditmod4a.c): Likewise.
14904 (CFLAGS-tst-auditmod4b.c): Likewise.
14905 (CFLAGS-tst-auditmod6b.c): Likewise.
14906 (CFLAGS-tst-auditmod6c.c): Likewise.
14907 (CFLAGS-tst-auditmod7b.c): Likewise.
14908 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14909
8517b15e
UD
149102011-02-02 Ulrich Drepper <drepper@gmail.com>
14911
14912 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14913 function to the callback.
14914 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14915
10a656fe
AS
149162011-02-02 Andreas Schwab <schwab@redhat.com>
14917
14918 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14919 of errno.
14920
968dad0a
UD
149212011-01-19 Ulrich Drepper <drepper@gmail.com>
14922
9f94d2ea 14923 [BZ #11724]
968dad0a
UD
14924 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14925 of constructors.
14926 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14927 of destructors.
14928 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14929
14930 [BZ #11724]
14931 * elf/Makefile: Add rules to build and run new test.
14932 * elf/tst-initorder.c: New file.
14933 * elf/tst-initorder.exp: New file.
14934 * elf/tst-initordera1.c: New file.
14935 * elf/tst-initordera2.c: New file.
14936 * elf/tst-initordera3.c: New file.
14937 * elf/tst-initordera4.c: New file.
14938 * elf/tst-initorderb1.c: New file.
14939 * elf/tst-initorderb2.c: New file.
14940 * elf/tst-order-a1.c: New file.
14941 * elf/tst-order-a2.c: New file.
14942 * elf/tst-order-a3.c: New file.
14943 * elf/tst-order-a4.c: New file.
14944 * elf/tst-order-b1.c: New file.
14945 * elf/tst-order-b2.c: New file.
14946 * elf/tst-order-main.c: New file.
14947 New test case by George Gensure <werkt0@gmail.com>.
14948
86e92359
UD
149492010-10-01 Andreas Schwab <schwab@redhat.com>
14950
14951 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14952 decoding ACE if AI_CANONIDN.
14953
5d5732b0
UD
149542011-01-18 Ulrich Drepper <drepper@gmail.com>
14955
14956 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14957
a77e8cbc
UD
149582011-01-17 Ulrich Drepper <drepper@gmail.com>
14959
6392473f
UD
14960 * version.h (RELEASE): Bump for 2.13 release.
14961 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14962
620a0529
UD
14963 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14964
18ba70a5
UD
14965 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14966 MADV_NOHUGEPAGE.
32465c3e
UD
14967 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14968 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14969 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14970 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14971 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14972 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14973
c0dafcf1
UD
14974 * posix/getconf.c: Update copyright year.
14975 * catgets/gencat.c: Likewise.
14976 * csu/version.c: Likewise.
14977 * debug/catchsegv.sh: Likewise.
14978 * debug/xtrace.sh: Likewise.
14979 * elf/ldconfig.c: Likewise.
14980 * elf/ldd.bash.in: Likewise.
14981 * elf/sprof.c (print_version): Likewise.
14982 * iconv/iconv_prog.c: Likewise.
14983 * iconv/iconvconfig.c: Likewise.
14984 * locale/programs/locale.c: Likewise.
14985 * locale/programs/localedef.c: Likewise.
14986 * malloc/memusage.sh: Likewise.
14987 * malloc/mtrace.pl: Likewise.
14988 * nscd/nscd.c (print_version): Likewise.
14989 * nss/getent.c: Likewise.
14990
a77e8cbc
UD
14991 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14992 PF_CAIF, and PF_ALG.
14993 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14994
77e8bddf
AS
149952011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14996
1f20b93a
AS
14997 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14998 (modules-names): Use them.
14999 (ifunc-test-modules, ifunc-pie-tests): Define.
15000 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
15001 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
15002 (test-extras): Likewise.
15003 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
15004 $(compile-command.c).
15005 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
15006 (all-built-dso): Define.
15007 (check-textrel.out, check-execstack.out): Depend on it.
15008
77e8bddf
AS
15009 * configure.in: Don't override --enable-multi-arch.
15010
bc425b33
UD
150112011-01-15 Ulrich Drepper <drepper@gmail.com>
15012
15013 [BZ #6812]
15014 * nscd/hstcache.c (tryagain): Define.
15015 (cache_addhst): Return tryagain not notfound for temporary errors.
15016 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
15017 failed.
15018
794c3ad3
UD
150192011-01-14 Ulrich Drepper <drepper@gmail.com>
15020
70181fdd
UD
15021 [BZ #10563]
15022 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
15023 to make the syscall.
15024 * sysdeps/unix/sysv/linux/setgroups.c: New file.
15025
794c3ad3
UD
15026 [BZ #12378]
15027 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
15028 and fall back to matching as normal character if the string ends before
15029 the matching ']' is found. This is what POSIX requires.
15030 * posix/testfnm.c: Adjust test result.
15031 * posix/globtest.sh: Adjust test result. Add new test.
15032 * posix/tst-fnmatch.input: Likewise.
15033 * posix/tst-fnmatch2.c: Add new test.
15034
68dc9497
AS
150352010-12-28 Andreas Schwab <schwab@linux-m68k.org>
15036
15037 * elf/Makefile (check-execstack): Revert last change. Depend on
15038 check-execstack.h.
15039 (check-execstack.h): New target.
15040 (generated): Add check-execstack.h.
15041 * elf/check-execstack.c: Include "check-execstack.h".
15042 (main): Revert last change.
15043 (handle_file): Return zero if GNU_STACK is absent and
15044 DEFAULT_STACK_PERMS doesn't include PF_X.
15045
451f001b
UD
150462011-01-13 Ulrich Drepper <drepper@gmail.com>
15047
cfa28e56
UD
15048 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
15049 in child fails because the descriptor is already closed.
8cf8ce17
UD
15050 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
15051 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
15052 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 15053
1086d70d
UD
15054 [BZ #12397]
15055 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
15056 syscall.
15057
451f001b
UD
15058 [BZ #10484]
15059 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
15060 temporary buffer used to handle multi lookups locally.
a85b5cb4 15061 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 15062
08769175
UD
150632011-01-12 Ulrich Drepper <drepper@gmail.com>
15064
15065 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
15066 loader is ld.so.
15067
5e49c52e
UD
150682011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
15069
15070 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
15071 alignment for SSE2.
15072
60522a5f
UD
150732011-01-12 Ulrich Drepper <drepper@gmail.com>
15074
15075 [BZ #12394]
15076 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
15077 characters. When rounding increased number of integer digits recompute
15078 number of groups.
15079 * stdio-common/tst-grouping.c: New file.
15080 * stdio-common/Makefile: Add rules to build and run tst-grouping.
15081
f257bbd7
UD
150822011-01-09 Ulrich Drepper <drepper@gmail.com>
15083
15084 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15085 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
15086
15087 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15088 void.
15089 * bits/select.h: Likewise.
15090
fa9c15cb
UD
150912011-01-08 Ulrich Drepper <drepper@gmail.com>
15092
15093 * po/ja.po: Update from translation team.
15094
16c2895f
DM
150952011-01-04 David S. Miller <davem@sunset.davemloft.net>
15096
15097 [BZ #11155]
15098 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15099 implementation just like for lxstat, fxstatat, et al.
15100
2543fef2
JM
151012010-12-27 Jim Meyering <meyering@redhat.com>
15102
15103 [BZ #12348]
15104 * posix/regexec.c (build_trtable): Return failure indication upon
15105 calloc failure. Otherwise, re_search_internal could infloop on OOM.
15106
98727dbe
UD
151072010-12-25 Ulrich Drepper <drepper@gmail.com>
15108
5bd6dc5c
UD
15109 [BZ #12201]
15110 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15111 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15112 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15113 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15114
97983464
UD
15115 [BZ #12207]
15116 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15117
98727dbe
UD
15118 [BZ #12204]
15119 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15120 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15121
4a531bb0
L
151222010-12-15 H.J. Lu <hongjiu.lu@intel.com>
15123
15124 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15125 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15126 script has SORT_BY_INIT_PRIORITY.
15127 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15128 NO_CTORS_DTORS_SECTIONS is defined.
15129 * elf/soinit.c: Likewise.
15130 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15131 NO_CTORS_DTORS_SECTIONS is defined.
15132 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15133 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15134 * sysdeps/sh/init-first.c: Likewise.
15135 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15136
07eb4b71
UD
151372010-12-24 Ulrich Drepper <drepper@gmail.com>
15138
15139 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15140 always use the slow path.
15141
30950a5f
RA
151422010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15143
15144 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15145 similar rule which adds the sysdep directories to the header search in
15146 order to pick up the correct platform stackinfo.h.
15147 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15148 perform test if it is, otherwise return successfully without testing.
15149 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15150 DEFAULT_STACK_PERMS define in stackinfo.h.
15151 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15152 defined in stackinfo.h.
15153 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15154 DEFAULT_STACK_PERMS defined in stackinfo.h.
15155 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15156 * sysdeps/ia64/stackinfo.h: Likewise.
15157 * sysdeps/s390/stackinfo.h: Likewise.
15158 * sysdeps/sh/stackinfo.h: Likewise.
15159 * sysdeps/sparc/stackinfo.h: Likewise.
15160 * sysdeps/x86_64/stackinfo.h: Likewise.
15161 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15162 PF_X for powerpc64. Retain PF_X for powerpc32.
15163
db753e2c
UD
151642010-12-19 Ulrich Drepper <drepper@gmail.com>
15165
14b697f7
UD
15166 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15167 accurately.
db753e2c
UD
15168 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15169 GETDENTS_64BIT_ALIGNED.
15170
28300719
UD
151712010-12-14 Ulrich Drepper <dreper@gmail.com>
15172
14b697f7 15173 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 15174
4f197237
AS
151752010-12-10 Andreas Schwab <schwab@redhat.com>
15176
dbb0472f
AS
15177 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15178 _GNU_SOURCE.
15179
4f197237
AS
15180 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15181 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15182 Remove __restrict.
15183 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15184 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15185
fb88ac72
UD
151862010-12-09 Ulrich Drepper <drepper@gmail.com>
15187
15188 [BZ #11655]
15189 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15190 are initialized.
15191
42acbb92
JJ
151922010-12-09 Jakub Jelinek <jakub@redhat.com>
15193
15194 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15195
c038d98d
UD
151962010-12-03 Ulrich Drepper <drepper@gmail.com>
15197
15198 * po/it.po: Update from translation team.
15199
3a4a2499
L
152002010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15201
15202 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15203 unused codes.
15204
1e24cf6e
UD
152052010-11-30 Ulrich Drepper <drepper@gmail.com>
15206
15207 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15208
a7690819
AS
152092010-11-24 Andreas Schwab <schwab@redhat.com>
15210
15211 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15212 specially.
15213 (gaih_getanswer_slice): Likewise.
15214
3bf8d1b1
JJ
152152010-10-20 Jakub Jelinek <jakub@redhat.com>
15216
15217 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15218
6db52fbb
PB
152192010-05-31 Petr Baudis <pasky@suse.cz>
15220
15221 [BZ #11149]
15222 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15223 silently even in the chroot mode.
15224
eaca7569
UD
152252010-11-22 Ulrich Drepper <drepper@gmail.com>
15226
15227 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15228 last patch a bit. Pretty printing
15229
3056dcdb
UD
152302010-05-31 Petr Baudis <pasky@suse.cz>
15231
15232 [BZ #10085]
15233 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15234 initialization of skip_initgroups_dyn.
15235
cf7c9078
UD
152362010-11-19 Ulrich Drepper <drepper@gmail.com>
15237
15238 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15239 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15240
a1fb5e3e
UD
152412010-11-16 Ulrich Drepper <drepper@gmail.com>
15242
15243 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15244
3540d66b
AS
152452010-11-11 Andreas Schwab <schwab@redhat.com>
15246
15247 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15248 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15249 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15250 ($(objpfx)tst-fnmatch-mem): New rule.
15251 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15252 * posix/tst-fnmatch.c (main): Call mtrace.
15253
13b69574
L
152542010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15255
15256 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15257 Support Intel processor model 6 and model 0x2c.
15258
da93d214
LM
152592010-11-10 Luis Machado <luisgpm@br.ibm.com>
15260
15261 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15262 signed comparison.
15263
8ca52c6e
L
152642010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15265
15266 [BZ #12205]
15267 * string/test-strncasecmp.c (check_result): New function.
15268 (do_one_test): Use it.
15269 (check1): New function.
15270 (test_main): Use it.
15271 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15272 Support strcasecmp and strncasecmp.
15273
69da074d
UD
152742010-11-08 Ulrich Drepper <drepper@gmail.com>
15275
15276 [BZ #12194]
15277 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15278 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15279
ff02d528
L
152802010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15281
15282 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15283 IFUNC support.
15284 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15285 memset-x86-64.
15286 * sysdeps/x86_64/multiarch/bzero.S: New file.
15287 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15288 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15289 * sysdeps/x86_64/multiarch/memset.S: New file.
15290 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15291 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15292 Set bit_Prefer_SSE_for_memop for Intel processors.
15293 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15294 Define.
15295 (index_Prefer_SSE_for_memop): Define.
15296 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15297
344d0b54
LM
152982010-11-04 Luis Machado <luisgpm@br.ibm.com>
15299
15300 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15301 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15302
c0dde15b
UD
153032010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15304
15305 [BZ #12191]
15306 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15307 (__x86_64_raw_data_cache_size_half): Likewise.
15308 (__x86_64_raw_shared_cache_size): Likewise.
15309 (__x86_64_raw_shared_cache_size_half): Likewise.
15310
15311 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15312 (__x86_64_raw_data_cache_size_half): Likewise.
15313 (__x86_64_raw_shared_cache_size): Likewise.
15314 (__x86_64_raw_shared_cache_size_half): Likewise.
15315 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15316 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15317 and __x86_64_raw_shared_cache_size_half. Round
15318 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15319 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15320 to multiple of 256 bytes.
15321
0e516e0e
MS
153222010-11-03 Ulrich Drepper <drepper@gmail.com>
15323
15324 [BZ #12167]
15325 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15326 of inacessible symlinks. Verify result of symlink before returning it.
15327 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15328 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15329
0e012e87
ER
153302010-10-28 Erich Ritz <erichritz@gmail.com>
15331
15332 * math/math.h (isinf): Fix typo in comment.
15333
de0ff7bc
UD
153342010-11-01 Ulrich Drepper <drepper@gmail.com>
15335
15336 * po/da.po: Update from translation team.
15337
fa41c84d
UD
153382010-10-26 Ulrich Drepper <drepper@gmail.com>
15339
15340 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15341 is added to the list.
15342
f0967738
AK
153432010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15344 Ulrich Drepper <drepper@gmail.com>
15345
15346 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15347 the global list here. Move code to...
15348 (_dl_add_to_namespace_list): ...here. New function.
15349 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15350 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15351 * elf/dl-load.c (lose): Don't remove the element from the list.
15352 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15353 (_dl_map_object): Likewise.
15354
153552010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
15356
15357 [BZ #12159]
15358 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15359 into all bytes of SSE register.
15360 Patch by Richard Li <richardpku@gmail.com>.
15361
f0967738 153622010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
15363
15364 [BZ #12140]
15365 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15366 perturbing.
15367
d0b9e94f
MB
153682010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15369
15370 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15371 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15372 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15373 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15375 submachine.
15376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15377
8e9f92e9
AS
153782010-10-22 Andreas Schwab <schwab@redhat.com>
15379
15380 * include/dlfcn.h (__RTLD_SECURE): Define.
15381 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15382 mode & __RTLD_SECURE instead.
15383 (open_path): Rename preloaded parameter to secure.
15384 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15385 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15386 * elf/dl-deps.c (openaux): Likewise.
15387 * elf/rtld.c (struct map_args): Remove is_preloaded.
15388 (map_doit): Don't use it.
15389 (dl_main): Likewise.
15390 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15391 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15392
bc96fbda
AS
153932010-09-09 Andreas Schwab <schwab@redhat.com>
15394
15395 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15396 (sysd-rules-targets): Remove duplicates.
15397 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15398 rtld-%.$o dependency.
15399
22cd1c9b
AS
154002010-10-18 Andreas Schwab <schwab@redhat.com>
15401
15402 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15403 _dl_map_object do it.
15404
18edac48
UD
154052010-10-19 Ulrich Drepper <drepper@gmail.com>
15406
15407 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15408 fast fma builtins, define the macros in the C99 standard.
15409 (FP_FAST_FMAF): Likewise.
15410 (FP_FAST_FMAL): Likewise.
15411 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15412
15413 * bits/mathdef.h: Update copyright year.
15414 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15415
d2050124
MM
154162010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15417
15418 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15419 builtins, define the macros in the C99 standard.
15420 (FP_FAST_FMAF): Likewise.
15421 (FP_FAST_FMAL): Likewise.
15422 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15423 multiply/add.
15424 (FP_FAST_FMAF): Likewise.
15425
475facd1
JJ
154262010-10-15 Jakub Jelinek <jakub@redhat.com>
15427
15428 [BZ #3268]
15429 * math/libm-test.inc (fma_test): Some new testcases.
15430 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15431 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15432 y and infinite z. Do multiplication by C already in long double.
15433 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15434 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15435 y and infinite z. Do bitwise or of inexact bit into u.d.
15436 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15437 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15438 * sysdeps/i386/fpu/s_fma.S: Removed.
15439 * sysdeps/i386/fpu/s_fmal.S: Removed.
15440
7c08a05c
JJ
154412010-10-16 Jakub Jelinek <jakub@redhat.com>
15442
15443 [BZ #3268]
15444 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15445 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15446 computation is not scheduled after fetestexcept. Fix value
15447 of minimum denormal long double.
15448
f3f7372d
JJ
154492010-10-14 Jakub Jelinek <jakub@redhat.com>
15450
15451 [BZ #3268]
15452 * math/libm-test.inc (fma_test): Add some more tests.
15453 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15454 correctly.
15455
14d43591
AS
154562010-10-15 Andreas Schwab <schwab@redhat.com>
15457
15458 * scripts/data/localplt-s390-linux-gnu.data: New file.
15459 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15460
5e908464
JJ
154612010-10-13 Jakub Jelinek <jakub@redhat.com>
15462
15463 [BZ #3268]
15464 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15465 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15466 instead of dbl-64.
15467 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15468 inlines.
15469 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15470 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15471 if one of x and y is very large and the other is subnormal.
15472 * sysdeps/s390/fpu/s_fmaf.c: New file.
15473 * sysdeps/s390/fpu/s_fma.c: New file.
15474 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15475 * sysdeps/powerpc/fpu/s_fma.S: New file.
15476 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15477 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15478 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15479
154802010-10-12 Jakub Jelinek <jakub@redhat.com>
15481
15482 [BZ #3268]
15483 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15484 fma tests.
15485 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15486 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15487 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15488 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15489 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15490 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15491 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15492
b833d51f
UD
154932010-10-12 Ulrich Drepper <drepper@redhat.com>
15494
15495 [BZ #12078]
15496 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15497 * posix/bug-regex31.input: Add test case.
15498
1751705d
UD
154992010-10-11 Ulrich Drepper <drepper@gmail.com>
15500
e9b9cbf5
UD
15501 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15502 * posix/bug-regex31.input: New file.
15503
15504 [BZ #12078]
15505 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15506 (parse_sub_exp): Fix last change, use postorder.
15507
ef06edbe
UD
15508 * posix/bug-regex31.c: New file.
15509 * posix/Makefile: Add rules to build and run bug-regex31.
15510
a129c80d
UD
15511 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15512
15513 [BZ #12078]
15514 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15515
b76b818e
UD
15516 [BZ #12108]
15517 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15518 to have entries in sys_siglist.
15519
1751705d
UD
15520 [BZ #12093]
15521 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15522 be NULL.
15523
9ff8d36f
JJ
155242010-10-07 Jakub Jelinek <jakub@redhat.com>
15525
15526 [BZ #3268]
15527 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15528 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15529 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15530 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15531 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15532 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15533 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15534 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15535 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15536 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15537 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15538 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15539 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15540 * math/ftestexcept.c (fetestexcept): Likewise.
15541 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15542 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15543 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15544 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15545 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15546 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15547 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15548
af325969
UD
155492010-10-11 Ulrich Drepper <drepper@gmail.com>
15550
c579b202 15551 [BZ #12107]
af325969
UD
15552 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15553 newline.
15554
67a67b95
UD
155552010-10-06 Ulrich Drepper <drepper@gmail.com>
15556
15557 * string/bug-strstr1.c: New file.
15558 * string/Makefile: Add rules to build and run bug-strstr1.
15559
5fb308bc
EB
155602010-10-05 Eric Blake <eblake@redhat.com>
15561
15562 [BZ #12092]
15563 * string/str-two-way.h (two_way_long_needle): Always clear memory
15564 when skipping input due to the shift table.
15565
45db99c7
UD
155662010-10-03 Ulrich Drepper <drepper@gmail.com>
15567
3b111893
UD
15568 [BZ #12005]
15569 * malloc/mcheck.c: Handle large requests.
15570
45db99c7
UD
15571 [BZ #12077]
15572 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15573 for strncmp and strncasecmp.
15574 * string/stratcliff.c: Add tests for strcmp and strncmp.
15575 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15576
cf7a1eb8
NI
155772010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15578
15579 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15580 __set_fpscr.
15581
6484ba5e
AJ
155822010-09-30 Andreas Jaeger <aj@suse.de>
15583
15584 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15585 (CGROUP_SUPER_MAGIC): Define.
15586 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15587 Handle btrfs and cgroup file systems.
15588 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15589 Likewise.
15590
91c42559
LM
155912010-09-27 Luis Machado <luisgpm@br.ibm.com>
15592
15593 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15594 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15595
87a97932
AK
155962010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15597
15598 [BZ #12067]
15599 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15600 trying to locate the ELF header.
15601
c21cc9bc
AS
156022010-09-27 Andreas Schwab <schwab@redhat.com>
15603
15604 [BZ #11611]
15605 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15606 Mask out sign-bit copies when constructing f_fsid.
15607
315970f6
PB
156082010-09-24 Petr Baudis <pasky@suse.cz>
15609
15610 * debug/stack_chk_fail_local.c: Add missing licence exception.
15611 * debug/warning-nop.c: Likewise.
15612
1ac7a2c7
JM
156132010-09-15 Joseph Myers <joseph@codesourcery.com>
15614
15615 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15616 implementing getdents64 using getdents syscall, set d_type if
15617 __ASSUME_GETDENTS32_D_TYPE.
15618
56801c50
AS
156192010-09-16 Andreas Schwab <schwab@redhat.com>
15620
15621 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15622 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15623
dda51327
UD
156242010-09-21 Ulrich Drepper <drepper@redhat.com>
15625
15626 [BZ #12037]
15627 * posix/unistd.h: Undo change of feature selection for ftruncate from
15628 2010-01-11.
15629
8ffcee4a
UD
156302010-09-20 Ulrich Drepper <drepper@redhat.com>
15631
a545ecd9 15632 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
15633 detection.
15634
e24f0a8b
AS
156352010-09-20 Andreas Schwab <schwab@redhat.com>
15636
15637 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15638 fanotify_mark.
15639 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15640
7291c56f
AS
156412010-09-14 Andreas Schwab <schwab@redhat.com>
15642
15643 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15644 variables after CHECK_SP call.
15645 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15646
bc5fb037
AS
156472010-09-13 Andreas Schwab <schwab@redhat.com>
15648 Ulrich Drepper <drepper@redhat.com>
15649
15650 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15651 re-relocationg ld.so.
15652 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15653 _dl_init_paths call.
15654 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15655 here anymore.
15656
e66e7419
UD
156572010-09-14 Ulrich Drepper <drepper@redhat.com>
15658
15659 * resolv/res_init.c (__res_vinit): Count the default server we added.
15660
c044aa75
CLT
156612010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15662 Ulrich Drepper <drepper@redhat.com>
15663
15664 [BZ #11968]
15665 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15666 (____longjmp_chk): Use %ebx for saving value across system call.
15667 Add unwind info.
15668
32cf4069
AS
156692010-09-06 Andreas Schwab <schwab@redhat.com>
15670
15671 * manual/Makefile: Don't mix pattern rules with normal rules.
15672
817328ee
AS
156732010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15674
15675 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15676 operation.
15677 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15678 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15679 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15680 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15681 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15682 Likewise.
15683
29fddf61
UD
156842010-09-04 Ulrich Drepper <drepper@redhat.com>
15685
15686 [BZ #11979]
15687 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15688 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15689
0959ffc9
UD
156902010-09-02 Ulrich Drepper <drepper@redhat.com>
15691
15692 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15693 * sysdeps/x86_64/addmul_1.S: Likewise.
15694 * sysdeps/x86_64/lshift.S: Likewise.
15695 * sysdeps/x86_64/mul_1.S: Likewise.
15696 * sysdeps/x86_64/rshift.S: Likewise.
15697 * sysdeps/x86_64/sub_n.S: Likewise.
15698 * sysdeps/x86_64/submul_1.S: Likewise.
15699
ece29840
ST
157002010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15701
0959ffc9
UD
15702 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15703 Define __sched_param instead of SCHED_* and sched_param when
ece29840 15704 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 15705 * bits/sched.h [__need_schedparam]
ece29840 15706 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
15707 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15708 (__defined_schedparam): Define to 1.
ece29840
ST
15709 (__sched_param): New structure, identical to sched_param.
15710 (__need_schedparam): Undefine.
15711
e53a31fe
MF
157122010-08-31 Mike Frysinger <vapier@gentoo.org>
15713
fdc0c10d
MF
15714 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15715 (epoll_create1): Declare.
15716
e53a31fe
MF
15717 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15718
a726d796
AS
157192010-08-31 Andreas Schwab <schwab@redhat.com>
15720
15721 [BZ #7066]
15722 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15723 shifting retval into place.
15724
2f3e3dc7
UD
157252010-09-01 Ulrich Drepper <drepper@redhat.com>
15726
f2933da9
UD
15727 * nis/rpcsvc/nis.h: Update copyright notice.
15728 * nis/rpcsvc/nis.x: Likewise.
15729 * nis/rpcsvc/nis_callback.h: Likewise.
15730 * nis/rpcsvc/nis_callback.x: Likewise.
15731 * nis/rpcsvc/nis_object.x: Likewise.
15732 * nis/rpcsvc/nis_tags.h: Likewise.
15733 * nis/rpcsvc/yp.h: Likewise.
15734 * nis/rpcsvc/yp.x: Likewise.
15735 * nis/rpcsvc/ypupd.h: Likewise.
15736 * nis/yp_xdr.c: Likewise.
15737 * nis/ypupdate_xdr.c: Likewise.
15738
2f3e3dc7
UD
15739 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15740 mainly the body of pmap_getport. Add parameters to specify timeouts.
15741 (pmap_getport): Use __libc_rpc_getport.
15742 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15743 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15744 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15745
f3dcc2f9
AS
157462010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15747
15748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15749 fanotify_mark.
15750
6d34eb5b
RM
157512010-08-27 Roland McGrath <roland@redhat.com>
15752
15753 * sysdeps/i386/i686/multiarch/Makefile
15754 (CFLAGS-varshift.c): New variable.
15755
9ea3de11
UD
157562010-08-27 Ulrich Drepper <drepper@redhat.com>
15757
c96d23fc
UD
15758 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15759 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15760
9ea3de11
UD
15761 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15762
15763 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15764
623aac7f
L
157652010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15766
15767 * sysdeps/x86_64/strlen.S: Unroll the loop.
15768 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15769 strlen-sse2 strlen-sse2-bsf.
15770 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15771 __strlen_no_bsf if bit_Slow_BSF is set.
15772 (__strlen_sse42): Removed.
15773 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15774 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15775
8b2b7715
RM
157762010-08-25 Roland McGrath <roland@redhat.com>
15777
15778 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15779 * sysdeps/x86_64/multiarch/varshift.c: New file.
15780 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15781 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15782 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15783 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15784
e73015f2
L
157852010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15786
15787 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15788 strlen-sse2 strlen-sse2-bsf.
15789 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15790 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15791 (__strlen_sse2): Removed.
15792 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15793 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15794 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15795 bit_Slow_BSF for Atom.
15796 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15797 (index_Slow_BSF): Define.
15798 (HAS_SLOW_BSF): Define.
15799
df24a73e
UD
158002010-08-25 Ulrich Drepper <drepper@redhat.com>
15801
15802 [BZ #10851]
15803 * resolv/res_init.c (__res_vinit): When no server address at all
15804 is given default to loopback.
15805
f2ac4868
RM
158062010-08-24 Roland McGrath <roland@redhat.com>
15807
09055553
RM
15808 * configure.in: Remove config-name.h generation.
15809 * configure: Regenerated.
15810 * config-name.in: File removed.
15811 * scripts/config-uname.sh: New file.
15812 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15813 ($(objdir)config-name.h): New target.
15814
f2ac4868
RM
15815 * sunrpc/rpc_parse.h: Avoid nested comment.
15816
73f27d5e
RH
158172010-08-24 Richard Henderson <rth@redhat.com>
15818 Ulrich Drepper <drepper@redhat.com>
15819 H.J. Lu <hongjiu.lu@intel.com>
15820
15821 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15822 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15823 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15824 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15825 _mm_alignr_epi8 with _mm_loadu_si128.
15826 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15827 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15828 (__m128i_shift_right): Removed.
15829 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15830 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15831 * sysdeps/x86_64/multiarch/varshift.h: New file.
15832 * sysdeps/x86_64/multiarch/varshift.S: New file.
15833
84b9230c
MF
158342010-08-21 Mike Frysinger <vapier@gentoo.org>
15835
15836 * configure.in: Move assembler checks to before sysdep dir checking.
15837
9bbd0ddc
PB
158382010-08-20 Petr Baudis <pasky@suse.cz>
15839
15840 * LICENSES: Sync the sunrpc license.
15841
9da4bb31
UD
158422010-08-19 Ulrich Drepper <drepper@redhat.com>
15843
a7ab6ec8
UD
15844 * sunrpc/auth_des.c: Update copyright notice once again.
15845 * sunrpc/auth_none.c: Likewise.
15846 * sunrpc/auth_unix.c: Likewise.
15847 * sunrpc/authdes_prot.c: Likewise.
15848 * sunrpc/authuxprot.c: Likewise.
15849 * sunrpc/bindrsvprt.c: Likewise.
15850 * sunrpc/clnt_gen.c: Likewise.
15851 * sunrpc/clnt_perr.c: Likewise.
15852 * sunrpc/clnt_raw.c: Likewise.
15853 * sunrpc/clnt_simp.c: Likewise.
15854 * sunrpc/clnt_tcp.c: Likewise.
15855 * sunrpc/clnt_udp.c: Likewise.
15856 * sunrpc/clnt_unix.c: Likewise.
15857 * sunrpc/des_crypt.c: Likewise.
15858 * sunrpc/des_soft.c: Likewise.
15859 * sunrpc/get_myaddr.c: Likewise.
15860 * sunrpc/getrpcport.c: Likewise.
15861 * sunrpc/key_call.c: Likewise.
15862 * sunrpc/key_prot.c: Likewise.
15863 * sunrpc/openchild.c: Likewise.
15864 * sunrpc/pm_getmaps.c: Likewise.
15865 * sunrpc/pm_getport.c: Likewise.
15866 * sunrpc/pmap_clnt.c: Likewise.
15867 * sunrpc/pmap_prot.c: Likewise.
15868 * sunrpc/pmap_prot2.c: Likewise.
15869 * sunrpc/pmap_rmt.c: Likewise.
15870 * sunrpc/rpc/auth.h: Likewise.
15871 * sunrpc/rpc/auth_unix.h: Likewise.
15872 * sunrpc/rpc/clnt.h: Likewise.
15873 * sunrpc/rpc/des_crypt.h: Likewise.
15874 * sunrpc/rpc/key_prot.h: Likewise.
15875 * sunrpc/rpc/netdb.h: Likewise.
15876 * sunrpc/rpc/pmap_clnt.h: Likewise.
15877 * sunrpc/rpc/pmap_prot.h: Likewise.
15878 * sunrpc/rpc/pmap_rmt.h: Likewise.
15879 * sunrpc/rpc/rpc.h: Likewise.
15880 * sunrpc/rpc/rpc_des.h: Likewise.
15881 * sunrpc/rpc/rpc_msg.h: Likewise.
15882 * sunrpc/rpc/svc.h: Likewise.
15883 * sunrpc/rpc/svc_auth.h: Likewise.
15884 * sunrpc/rpc/types.h: Likewise.
15885 * sunrpc/rpc/xdr.h: Likewise.
15886 * sunrpc/rpc_clntout.c: Likewise.
15887 * sunrpc/rpc_cmsg.c: Likewise.
15888 * sunrpc/rpc_common.c: Likewise.
15889 * sunrpc/rpc_cout.c: Likewise.
15890 * sunrpc/rpc_dtable.c: Likewise.
15891 * sunrpc/rpc_hout.c: Likewise.
15892 * sunrpc/rpc_main.c: Likewise.
15893 * sunrpc/rpc_parse.c: Likewise.
15894 * sunrpc/rpc_parse.h: Likewise.
15895 * sunrpc/rpc_prot.c: Likewise.
15896 * sunrpc/rpc_sample.c: Likewise.
15897 * sunrpc/rpc_scan.c: Likewise.
15898 * sunrpc/rpc_scan.h: Likewise.
15899 * sunrpc/rpc_svcout.c: Likewise.
15900 * sunrpc/rpc_tblout.c: Likewise.
15901 * sunrpc/rpc_util.c: Likewise.
15902 * sunrpc/rpc_util.h: Likewise.
15903 * sunrpc/rpcinfo.c: Likewise.
15904 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15905 * sunrpc/rpcsvc/key_prot.x: Likewise.
15906 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15907 * sunrpc/rpcsvc/mount.x: Likewise.
15908 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15909 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15910 * sunrpc/rpcsvc/rex.x: Likewise.
15911 * sunrpc/rpcsvc/rstat.x: Likewise.
15912 * sunrpc/rpcsvc/rusers.x: Likewise.
15913 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15914 * sunrpc/rpcsvc/spray.x: Likewise.
15915 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15916 * sunrpc/rtime.c: Likewise.
15917 * sunrpc/svc.c: Likewise.
15918 * sunrpc/svc_auth.c: Likewise.
15919 * sunrpc/svc_authux.c: Likewise.
15920 * sunrpc/svc_raw.c: Likewise.
15921 * sunrpc/svc_run.c: Likewise.
15922 * sunrpc/svc_simple.c: Likewise.
15923 * sunrpc/svc_tcp.c: Likewise.
15924 * sunrpc/svc_udp.c: Likewise.
15925 * sunrpc/svc_unix.c: Likewise.
15926 * sunrpc/svcauth_des.c: Likewise.
15927 * sunrpc/xcrypt.c: Likewise.
15928 * sunrpc/xdr.c: Likewise.
15929 * sunrpc/xdr_array.c: Likewise.
15930 * sunrpc/xdr_float.c: Likewise.
15931 * sunrpc/xdr_mem.c: Likewise.
15932 * sunrpc/xdr_rec.c: Likewise.
15933 * sunrpc/xdr_ref.c: Likewise.
15934 * sunrpc/xdr_sizeof.c: Likewise.
15935 * sunrpc/xdr_stdio.c: Likewise.
15936
9da4bb31
UD
15937 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15938 handling.
15939
bdaa77bc
AS
159402010-08-19 Andreas Schwab <schwab@redhat.com>
15941
15942 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15943
fe2f79db
LM
159442010-08-19 Luis Machado <luisgpm@br.ibm.com>
15945
15946 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15947 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15948 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15949 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15950 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15951 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15952 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15953 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15954 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15955 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15956 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15957 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15958 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15959 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15960
b9b42ee0
AB
159612010-07-26 Anton Blanchard <anton@samba.org>
15962
15963 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15964 * malloc/arena.c (heap_trim): Likewise.
15965
1c06ba31
UD
159662010-08-16 Ulrich Drepper <drepper@redhat.com>
15967
15968 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15969 here. Not...
15970 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15971 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15972
f8392f40
L
159732010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15974
15975 * sysdeps/i386/elf/Makefile: New file.
15976
3162f12e
AS
159772010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15978
15979 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15980 from fanotify_init.
15981 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15982 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15983
28c90b2c
UD
159842010-08-15 Ulrich Drepper <drepper@redhat.com>
15985
15986 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15987 of strncasecmp_l.
1feccb6c 15988 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 15989
ca6bb004
UD
159902010-08-14 Ulrich Drepper <drepper@redhat.com>
15991
e9f82e0d
UD
15992 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15993 strncase_l-nonascii.
15994 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15995 Add strncase_l-ssse3.
15996 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15997 * sysdeps/x86_64/strcmp.S: Likewise.
15998 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15999 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
16000 * sysdeps/x86_64/strncase.S: New file.
16001 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
16002 * sysdeps/x86_64/strncase_l.S: New file.
16003 * string/Makefile (strop-tests): Add strncasecmp.
16004 * string/test-strncasecmp.c: New file.
16005
16006 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
16007 warning.
16008
ca6bb004
UD
16009 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
16010 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
16011
052fa7b3
AS
160122010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16013
16014 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
16015
962dba78
UD
160162010-08-12 Ulrich Drepper <drepper@redhat.com>
16017
16018 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
16019 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
16020 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
16021
bebff237
AM
160222010-05-01 Alan Modra <amodra@gmail.com>
16023
16024 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
16025 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
16026 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
16027 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
16028 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
16029 tidying. Don't tail-call __sigjmp_save for static lib.
16030 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
16031 save location.
16032 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
16033 (CALL_MCOUNT): Add eh info, and nop after bl.
16034 (TAIL_CALL_SYSCALL_ERROR): New macro.
16035 (PSEUDO_RET): Use it.
16036 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16037 Correct save location of integer regs and cr.
16038 (_dl_profile_resolve): Correct cr save location. Delete nops
16039 after bl when SHARED. Reduce cfi size a little by better
16040 placement of cfi directives.
16041 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
16042 make a stack frame. Instead use parm save area as a temp.
16043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
16044 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
16045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16046 Don't make a stack frame for parent, use parm save area.
16047 Increase child stack frame to 112 bytes. Don't save unused reg,
16048 and adjust reg usage. Set up cfi on error recovery and
16049 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
16050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16051 (__makecontext): Add dummy nop after jump to exit.
16052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
16053 Use correct parm save area and cr save, reduce stack frame.
16054 Correct cfi for possible PSEUDO_RET frame setup.
16055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
16056 Branch to local label emitted by PSEUDO_RET rather than
16057 __syscall_error.
16058
02637374
AS
160592010-08-12 Andreas Schwab <schwab@redhat.com>
16060
16061 [BZ #11904]
16062 * locale/programs/locale.c (print_assignment): New function.
16063 (show_locale_vars): Use it.
16064
c3e2f19b
UD
160652010-08-11 Ulrich Drepper <drepper@redhat.com>
16066
3cdaa6ad
UD
16067 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
16068 field.
16069 (struct statfs64): Likewise.
16070 (_STATFS_F_FLAGS): Define.
16071 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
16072 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16073 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
16074 (ST_VALID): Define locally.
16075 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
16076 __statvfs_getflags, use the provided value.
16077 * sysdeps/unix/sysv/linux/kernel-features.h: Define
16078 __ASSUME_STATFS_F_FLAGS.
16079
754f7da3
UD
16080 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
16081
10b3bedc
UD
16082 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
16083 Add sys/fanotify.h.
16084 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16085 fanotify_mask for GLIBC_2.13.
16086 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16087 fanotify_init and fanotify_mark.
16088 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16089 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16090
c08fb0d7
UD
16091 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16092 Add prlimit.
16093 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16094 prlimit64 for GLIBC_2.13.
16095 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16096 prlimit64.
16097 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16098 syscall.
16099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16100 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16101 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16102 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16103 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
16104 add prlimit alias.
16105 * sysdeps/unix/sysv/linux/prlimit.c: New file.
16106
15bac72b
UD
16107 [BZ #11903]
16108 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16109 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16110
c3e2f19b
UD
16111 * nss/Makefile: Add rules to build and run tst-nss-test1.
16112 * shlib-versions: Add entry for libnss_test1.
16113 * nss/nss_test1.c: New file.
16114 * nss/tst-nss-test1.c: New file.
16115
16116 * nss/nsswitch.c (__nss_database_custom): Define new variable.
16117 (__nss_configure_lookup): Set appropriate entry in
16118 __nss_configure_lookup to true.
16119 * nss/nsswitch.h: Define enum with indeces of databases in
16120 databases and __nss_database_custom arrays. Declare
16121 __nss_database_custom.
16122 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16123 to avoid using nscd when custom rules are installed.
16124 * nss/getXXbyYY_r.c: Likewise.
16125 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16126
16127 * nss/nss_files/files-parse.c: Whitespace fixes.
16128
f15ce4d8
UD
161292010-08-09 Ulrich Drepper <drepper@redhat.com>
16130
16131 [BZ #11883]
16132 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16133 * posix/fnmatch_loop.c: Likewise.
16134
d22e4cc9
AK
161352010-07-17 Andi Kleen <ak@linux.intel.com>
16136
16137 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16138 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16139 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16140 * Versions.def [GLIBC_2.13]: Add.
16141
805bc17d
UD
161422010-08-06 Ulrich Drepper <drepper@redhat.com>
16143
16144 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16145 Also fail if tpwd after pwuid call is NULL.
16146
5a42321d
ST
161472010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16148
16149 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16150 when converting to ms.
16151
fd3ebeda
ST
161522010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16153
16154 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16155 EOPNOTSUPP errors with ENOTTY.
16156 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16157 EOPNOTSUPP errors with ENOTTY.
16158
73507d3a
UD
161592010-07-31 Ulrich Drepper <drepper@redhat.com>
16160
16161 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16162 Add strcasecmp_l-ssse3.
16163 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16164 strcasecmp.
16165 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16166 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16167 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16168
fe36dd02
UD
161692010-07-30 Ulrich Drepper <drepper@redhat.com>
16170
66f6765a
UD
16171 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16172
42e08a54
UD
16173 * string/Makefile (strop-tests): Add strcasecmp.
16174 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16175 strcasecmp_l-nonascii.
16176 (gen-as-const-headers): Add locale-defines.sym.
16177 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16178 * sysdeps/x86_64/strcasecmp.S: New file.
16179 * sysdeps/x86_64/strcasecmp_l.S: New file.
16180 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16181 * sysdeps/x86_64/locale-defines.sym: New file.
16182 * string/test-strcasecmp.c: New file.
16183
fe36dd02
UD
16184 * string/test-strcasestr.c: Test both ends of the range of characters.
16185 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16186
48cbc0d6
RM
161872010-07-29 Roland McGrath <roland@redhat.com>
16188
76e6d6bc 16189 [BZ #11856]
48cbc0d6
RM
16190 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16191
880113d9
UD
161922010-07-27 Ulrich Drepper <drepper@redhat.com>
16193
16194 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16195 for ld.so.
16196
deb9cabb
AS
161972010-07-27 Andreas Schwab <schwab@redhat.com>
16198
16199 * manual/memory.texi (Malloc Tunable Parameters): Document
16200 M_PERTURB.
16201
1c7570ff
RM
162022010-07-26 Roland McGrath <roland@redhat.com>
16203
16204 [BZ #11840]
16205 * configure.in (-fgnu89-inline check): Set and substitute
16206 gnu89_inline, not libc_cv_gnu89_inline.
16207 * configure: Regenerated.
16208 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16209
24fb0f88
UD
162102010-07-26 Ulrich Drepper <drepper@redhat.com>
16211
16212 * string/test-strnlen.c: New file.
16213 * string/Makefile (strop-tests): Add strnlen.
16214 * string/tester.c (test_strnlen): Add a few more test cases.
16215 * string/tst-strlen.c: Better error reporting.
16216
16217 * sysdeps/x86_64/strnlen.S: New file.
16218
8e96b93a
UD
162192010-07-24 Ulrich Drepper <drepper@redhat.com>
16220
16221 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16222 lower-latency instructions.
16223
dbc676d4
UD
162242010-07-23 Ulrich Drepper <drepper@redhat.com>
16225
16226 * string/test-strcasestr.c: New file.
16227 * string/test-strstr.c: New file.
16228 * string/Makefile (strop-tests): Add strstr and strcasestr.
16229 * string/str-two-way.h: Don't undefine MAX.
16230 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16231
f6a31e0e
AS
162322010-07-21 Andreas Schwab <schwab@redhat.com>
16233
16234 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16235 strcasestr-nonascii.
16236 (CFLAGS-strcasestr-nonascii.c): Define.
16237 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16238 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16239 Remove unused attribute.
16240
5dbc3b6c
RM
162412010-07-20 Roland McGrath <roland@redhat.com>
16242
16243 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16244 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16245 ld.so.cache was broken. With it, there is no way to disable dsocaps
16246 like LD_HWCAP_MASK can disable hwcaps.
16247
23d101d8
EPM
162482010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16249
16250 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16251
cc9f2e47
UD
162522010-07-16 Ulrich Drepper <drepper@redhat.com>
16253
16254 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16255 call in strcasestr.
16256 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16257 __strcasestr_sse42_nonascii.
16258 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16259 strcasestr-nonascii.c.
16260 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16261
77c1b069
LM
162622010-06-15 Luis Machado <luisgpm@br.ibm.com>
16263
16264 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16265 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16266 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16267 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16268
440566c3
UD
162692010-07-09 Ulrich Drepper <drepper@redhat.com>
16270
16271 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16272 fcntl.
16273
5be9d05d
AS
162742010-07-06 Andreas Schwab <schwab@redhat.com>
16275
c30b7ee2 16276 [BZ #11577]
5be9d05d
AS
16277 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16278 dl_signal_cerror.
16279
8a492a67
UD
162802010-07-06 Ulrich Drepper <drepper@redhat.com>
16281
16282 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16283 _PC_PIPE_BUF using F_GETPIPE_SZ.
16284
713df3d5
RM
162852010-07-05 Roland McGrath <roland@redhat.com>
16286
16287 * manual/arith.texi (Rounding Functions): Fix rint description
16288 implicit in round description.
16289
702e8f14
UD
162902010-07-02 Ulrich Drepper <drepper@redhat.com>
16291
16292 * elf/Makefile: Fix linking for a few tests to make recent linker
16293 happy.
16294
52ed8be9
AS
162952010-06-30 Andreas Schwab <schwab@redhat.com>
16296
16297 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16298 $(common-objpfx)libc_nonshared.a.
16299
f47c9a11
LM
163002010-06-21 Luis Machado <luisgpm@br.ibm.com>
16301
16302 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16303 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16304 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16305 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16306 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16307 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16308 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16309 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16324 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16325 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16326 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16327 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16328 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16329 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16330 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16331 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16332 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16333 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16334 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16335 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16350
6fb8cbcb
L
163512010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16352
16353 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16354 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16355 * string/memmove.c (memmove): Renamed to ...
16356 (MEMMOVE): ...this. Default to memmove.
16357 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16358 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16359 (END_CHK): Define.
16360 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16361 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16362 mempcpy-ssse3-back memmove-ssse3-back.
16363 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16364 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16365 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16366 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16367 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16368 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16369 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16370 * sysdeps/x86_64/multiarch/memmove.c: New file.
16371 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16372 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16373 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16374 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16375 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16376 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16377 Define.
16378 (index_Fast_Copy_Backward): Define.
16379 (HAS_ARCH_FEATURE): Define.
16380 (HAS_FAST_REP_STRING): Define.
16381 (HAS_FAST_COPY_BACKWARD): Define.
16382
4e733bac 163832010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
16384
16385 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16386 Restore proper fallback handling.
16387
63c4ed22
UD
163882010-06-19 Ulrich Drepper <drepper@redhat.com>
16389
ac2b484c
UD
16390 [BZ #11701]
16391 * posix/group_member.c (__group_member): Correct checking loop.
16392
63c4ed22
UD
16393 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16394 OOM in getpwuid_r correctly. Return error number when the caller
16395 should return, otherwise -1.
16396 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16397 call returning > 0 value.
16398 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16399
765ade4b
AS
164002010-06-07 Andreas Schwab <schwab@redhat.com>
16401
16402 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16403 libc_nonshared.a from targets in modules-names.
16404
80da2e09
KS
164052010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16406
16407 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16408 requires it.
16409
158db122
LM
164102010-06-10 Luis Machado <luisgpm@br.ibm.com>
16411
16412 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16413 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16414 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16415 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16416
caa78cf8
AS
164172010-06-02 Andreas Schwab <schwab@redhat.com>
16418
16419 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16420
b2ef2c01
UD
164212010-06-14 Ulrich Drepper <drepper@redhat.com>
16422
16423 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16424 and F_GETPIPE_SZ.
16425 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16426 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16427 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16428 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16429 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16430 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16431
fbd643b6
RM
164322010-06-14 Roland McGrath <roland@redhat.com>
16433
16434 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16435
f32f2869
JJ
164362010-06-07 Jakub Jelinek <jakub@redhat.com>
16437
16438 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16439 __REDIRECT followed by __THROW.
16440 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16441 * posix/getopt.h (getopt): Likewise.
16442
2a50c078
EPM
164432010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16444
16445 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16446 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16447 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16448 in AT_FLAGS.
16449 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16450 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16451
eb5ad2eb
LM
164522010-05-28 Luis Machado <luisgpm@br.ibm.com>
16453
16454 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16455
3c88fe1e
L
164562010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16457
16458 [BZ #11640]
16459 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16460 Properly check family and model.
16461
d2f73151
TY
164622010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16463
16464 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16465
ebd2e13d
LM
164662010-05-24 Luis Machado <luisgpm@br.ibm.com>
16467
16468 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16469
b32b8b45
UD
164702010-05-21 Ulrich Drepper <drepper@redhat.com>
16471
16472 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16473 symbol reference.
16474
9acbe24d
AS
164752010-05-19 Andreas Schwab <schwab@redhat.com>
16476
16477 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16478 symbol reference.
16479
f0ccf6ea
AS
164802010-05-21 Andreas Schwab <schwab@redhat.com>
16481
3d04ff3a
AS
16482 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16483 and internal_recvmmsg.
16484 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16485 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16486 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16487 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16488
f0ccf6ea
AS
16489 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16490 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16491 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16492
5b08ac57
AS
164932010-05-20 Andreas Schwab <schwab@redhat.com>
16494
16495 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16496
4828935d
LM
164972010-05-17 Luis Machado <luisgpm@br.ibm.com>
16498
16499 POWER7 optimizations.
16500 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16501 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16502
373d545e
UD
165032010-05-19 Ulrich Drepper <drepper@redhat.com>
16504
16505 * version.h: Update for 2.13 development version.
16506
21a2b1ae
AS
165072010-05-12 Andrew Stubbs <ams@codesourcery.com>
16508
16509 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16510 exceptions. Return 0.
16511
3f7dcb2b
RM
165122010-05-07 Roland McGrath <roland@redhat.com>
16513
16514 * elf/ldconfig.c (main): Add a const.
16515
5f24d53a 165162010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 16517
a160f8d8
UD
16518 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16519 (args_options): Add no-idn option.
16520 (ahosts_keys_int): Add idn_flags to ai_flags.
16521 (parse_option): Handle 'i' option to clear idn_flags.
16522
5f24d53a
UD
16523 * malloc/malloc.c (_int_free): Possible race in the most recently
16524 added check. Only act on the data if no current modification
16525 happened.
265bb1ce
UD
16526
16527See ChangeLog.17 for earlier changes.