]> sourceware.org Git - glibc.git/blame - ChangeLog
locales/tr_CY: LC_TIME with copy cannot contain additional data
[glibc.git] / ChangeLog
CommitLineData
3ee947b1
L
12012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2
3 [BZ #14117]
a2f34833
L
4 * sysdeps/i386/fpu_control.h: Removed.
5 * sysdeps/x86_64/fpu_control.h: Moved to ...
6 * sysdeps/x86/fpu_control.h: Here.
7
3ee947b1
L
8 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
9 (_FPU_SETCW): Likewise.
10
ed1825f8
L
112012-06-15 H.J. Lu <hongjiu.lu@intel.com>
12
25f1282a
L
13 [BZ #14117]
14 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15 * sysdeps/x86/fpu/bits/mathinline.h: This.
16 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
17
ed1825f8
L
18 [BZ #14050]
19 [BZ #14117]
20 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21 functions if __x86_64__ is defined.
22
36d54b74
CLT
232012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
24
25 * string/endian.h: Add !__ASSEMBLER__ condition for including
26 conversion interfaces.
27
10285c21
JM
282012-06-15 Joseph Myers <joseph@codesourcery.com>
29
30 [BZ #14241]
31 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32 of ABS(x) in calculating zero to negative powers other than odd
33 integers.
34 * math/libm-test.inc (pow_test): Add more tests.
35
06c5abbd
AJ
362012-06-15 Andreas Jaeger <aj@suse.de>
37
38 * manual/contrib.texi (Contributors): Update entry of Liubov
39 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
40 Machado Filho.
41
a3aeac40
CH
422012-06-15 Cyril Hrubis <metan@ucw.cz>
43
44 * string/string.h: Add __wur to GNU version of strerror_r.
45
49bdf4c1
L
462012-06-14 H.J. Lu <hongjiu.lu@intel.com>
47
48 [BZ #14229]
49 * string/Makefile (tests): Add tst-strtok_r.
50 * string/tst-strtok_r.c: New file.
51 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
52 RAX_LP/RDX_LP on SAVE_PTR.
53
834f9b8d
RM
542012-06-14 Roland McGrath <roland@hack.frob.com>
55
56 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
57
75fa1921
JM
582012-06-14 Joseph Myers <joseph@codesourcery.com>
59
60 * libm_test.inc (csqrt_test): Allow more spurious underflow
61 exceptions.
62 (j0_test): Likewise.
63 (j1_test): Likewise.
64 (y0_test): Likewise.
65 (y1_test): Likewise.
66
771766df
CD
672012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
68
69 * po/Makefile (libc.pot): Use UTF-8 charset.
70
ceb9e56b
PP
712012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
72
73 [BZ #14210]
74 Suppress sign-conversion warning from FD_SET.
75 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
76 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
77 not unsigned long int.
78 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
79
ddb28975
L
802012-06-12 H.J. Lu <hongjiu.lu@intel.com>
81
82 [BZ #14050]
83 [BZ #14117]
84 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
85 __extern_always_inline instead of __extern_inline.
86 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
87 (__signbit): Likewise.
88 (__signbitl): Support C++ namespace.
89 (lrintf): New inline function.
90 (lrint): Likewise.
91 (llrintf): Likewise.
92 (llrint): Likewise.
93 (fmaxf): Likewise.
94 (fmax): Likewise.
95 (fminf): Likewise.
96 (fmin): Likewise.
97 (rint): Likewise.
98 (rintf): Likewise.
99 (ceil): Likewise.
100 (ceilf): Likewise.
101 (floor): Likewise.
102 (floorf): Likewise.
103 (nearbyint): Likewise.
104 (nearbyintf): Likewise.
105
d7b4fb26
TS
1062012-06-12 Thomas Schwinge <thomas@codesourcery.com>
107
108 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
109 non-default versions.
110
eb55f5c2
RM
1112012-06-11 Roland McGrath <roland@hack.frob.com>
112
113 [BZ #14218]
114 * manual/argp.texi (Argp): Reword argp_parse description slightly.
115
366af02c
TS
1162012-06-09 Thomas Schwinge <thomas@codesourcery.com>
117
99ff6e5c
TS
118 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
119 (FE_UPWARD, FE_DOWNWARD): Don't define.
120 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
121 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
122
366af02c
TS
123 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
124 reading it.
125 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
126 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
127
793ea851
KK
1282012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
129
130 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
131 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
132 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
133 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
134
a728a38f
L
1352012-06-06 H.J. Lu <hongjiu.lu@intel.com>
136
137 [BZ #14117]
c08010c7
L
138 * sysdeps/i386/fpu/bits/fenv.h: Removed.
139 * sysdeps/i386/fpu/Implies: New file.
140 * sysdeps/x86_64/fpu/Implies: Likewise.
141 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
142 * sysdeps/x86/fpu/bits/fenv.h: This.
143
a728a38f
L
144 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
145 __SSE_MATH__.
146
6e230d11
SP
1472012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
148
149 [BZ #14134]
150 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
151 character 0xffff that matches the last element of the
152 conversion table.
153
1b671feb
AZ
1542012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
155
156 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
157 fmodl commit.
158
6043738b
AZ
1592012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
160
161 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
162 values higher than 25.6283.
163
34ae0b32
AZ
1642012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
165
166 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
167 subnormal exponent extraction and add some __builtin_expect.
168 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
169 Fix for subnormal mantissa calculation.
170
1214ec8f
MF
1712012-06-04 Mike Frysinger <vapier@gentoo.org>
172
173 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
174 cpu2 is -1 and errno is not ENOSYS.
175
f3d1f93c
L
1762012-06-04 H.J. Lu <hongjiu.lu@intel.com>
177
178 [BZ #14117]
0e4a3cd7
L
179 * sysdeps/i386/i486/bits/string.h: Renamed to ...
180 * sysdeps/x86/bits/string.h: This.
181 * sysdeps/x86_64/bits/string.h: Removed.
182
6704c645
L
183 * sysdeps/i386/i486/bits/string.h: Define inline functions only
184 if not compiling for x86-64, but compiling for >= i486.
185
48495318
L
186 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
187 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
188
14adcbfc
L
189 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
190 New macro from Linux kernel 3.4.0.
191 (FP_XSTATE_MAGIC2): Likewise.
192 (FP_XSTATE_MAGIC2_SIZE): Likewise.
193 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
194 (struct _fpx_sw_bytes): New struct.
195 (struct _xsave_hdr): Likewise.
196 (struct _ymmh_state): Likewise.
197 (struct _xstate): Likewise.
198
68e408ab
L
199 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
200 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
201 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
202 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
203 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
204 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
205
f3d1f93c
L
206 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
207 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
208 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
209 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
210 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
211 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
212
d9dc34cd
TMQMF
2132012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
214
215 [BZ #13743]
216 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
217 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
218 (sysdep_headers): Include sys/platform/ppc.h.
219 * sysdeps/powerpc/test-gettimebase.c: Test for
220 __ppc_get_timebase() to catch future ISA opcode/insn changes.
221 * manual/Makefile (appendices): Include platform.texi.
222 * manual/contrib.texi (Contributors): Update @node pointers.
223 * manual/maint.texi (Maintenance): Likewise.
224 (Platform): New node.
225 * manual/platform.texi: New file. Document the new features.
226
4af3879c
SP
2272012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
228 Jakub Jelinek <jakub@redhat.com>
229
230 [BZ #14188]
231 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
232 where __builtin_expect is unavailable.
233
2fd6ff13
DM
2342012-06-03 David S. Miller <davem@davemloft.net>
235
236 * stdlib/longlong.h: Updated from GCC.
237
173f7220
AS
2382012-06-02 Andreas Schwab <schwab@linux-m68k.org>
239
240 [BZ #14042]
241 * sysdeps/powerpc/powerpc32/mcount.c: New file.
242 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
243 __mcount_internal.
244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
245 (GLIBC_2.16): Likewise.
246
f34a1c6f
L
2472012-06-01 H.J. Lu <hongjiu.lu@intel.com>
248
249 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
250
88a4576f
JM
2512012-06-01 Joseph Myers <joseph@codesourcery.com>
252
ea32bcdd
JM
253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
254 (default-abi): New variable.
255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
256 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
257 variable.
258 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
259 Likewise.
260 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
261 Likewise.
262 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
263 Likewise.
264
88a4576f
JM
265 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
266 definition. Document in comment.
267
402fe938
DM
2682012-06-01 David S. Miller <davem@davemloft.net>
269
270 * stdlib/longlong.h: Updated from GCC.
271
3553723f
L
2722012-06-01 H.J. Lu <hongjiu.lu@intel.com>
273
274 [BZ #14117]
3bd872c4
L
275 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
276 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
277 sys/debugreg.h sys/io.h here.
278 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
279 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
280 sys/io.h.
281 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
282 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
283 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
284 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
285 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
286 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
287
3553723f
L
288 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
289 Define only if __x86_64__ is defined.
290
4842e4fe
JM
2912012-06-01 Joseph Myers <joseph@codesourcery.com>
292
c5bfe3d5
JM
293 [BZ #14048]
294 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
295 Use int64_t for variable i.
296 * math/libm-test.inc (fmod_test): Add more tests.
297
4842e4fe
JM
298 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
299 z computation is not scheduled after fetestexcept.
300 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
301 Use math_force_eval instead of asm to ensure calculation scheduled
302 before exception test.
303 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
304 Ensure a1 + u.d computation is not scheduled after fetestexcept.
305
efb73488
AJ
3062012-06-01 Aurelien Jarno <aurelien@aurel32.net>
307
308 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
309 computation is not scheduled after fetestexcept.
310
29bcce7c
L
3112012-06-01 H.J. Lu <hongjiu.lu@intel.com>
312
313 [BZ #14117]
314 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
315 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
316
73a68f94
AZ
3172012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
318
319 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
320 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
321
67b6df78
L
3222012-05-31 H.J. Lu <hongjiu.lu@intel.com>
323
edf2933a 324 [BZ #14117]
ebc64a18
L
325 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
326 <bits/wordsize.h>.
327 (__WCHAR_MIN): Support __WORDSIZE == 64.
328 (__WCHAR_MAX): Likewise.
329
edf2933a
L
330 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
331 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
332
57c6cf40
L
333 [BZ #14183]
334 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
335 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
336
67b6df78 337 [BZ #14117]
8eb6281e
L
338 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
339 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
340
aac639f4
L
341 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
342 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
343
67b6df78
L
344 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
345 Defined to 1 if __x86_64__ isn't defined.
346 (_STAT_VER_LINUX_OLD): New.
347 (st_atime): Remove duplicate.
348 (st_mtime): Likewise.
349 (st_ctime): Likewise.
350
1c2cfe81
DM
3512012-05-31 David S. Miller <davem@davemloft.net>
352
353 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
354 entries.
355
5be8418c
AS
3562012-06-01 Andreas Schwab <schwab@linux-m68k.org>
357
e7725326
AS
358 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
359 gen-libm-test.pl.
360
5be8418c
AS
361 [BZ #14132]
362 * elf/dl-reloc.c: Include <_itoa.h>.
363 (_dl_reloc_bad_type): Remove use of INTUSE.
364 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
365 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
366 * stdio-common/psiginfo.c (psiginfo): Likewise.
367 * stdio-common/psignal.c (psignal): Likewise.
368 * string/strsignal.c (strsignal): Likewise.
369 * include/signal.h (_sys_siglist): Declare hidden proto.
370 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
371 INTVARDEF with libc_hidden_data_def.
372 * stdio-common/itoa-udigits.c: Likewise.
373 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
374 (_itoa_lower_digits_internal): Remove declaration.
375 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
376 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
377 (_sys_sigabbrev_internal): Remove aliases.
378 (_sys_siglist): Define hidden alias.
379
507352f1
MT
3802012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
381
382 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
383 bits/sysctl.h.
384
42bbb1c3
L
3852012-05-31 H.J. Lu <hongjiu.lu@intel.com>
386
387 [BZ #14117]
6bd784b6
L
388 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
389 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
390
8bca20f0
L
391 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
392 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
393 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
394 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
395 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
396 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
397
f9e890a9
L
398 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
399 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
400 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
401
471101a1
L
402 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
403 with __addr.
404 (insw): Likewise.
405 (insl): Likewise.
406 (outsb): Likewise.
407 (outsw): Likewise.
408 (outsl): Likewise.
409
6451c862
L
410 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
411 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
412 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
413
a254b8c9
L
414 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
415 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
416 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
417 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
418 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
419 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
420
b8dfdd92
L
421 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
422 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
423
578cd270
L
424 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
425 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
426
de662f5f
L
427 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
428 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
429 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
430
25653439
L
431 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
432 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
433 to ...
434 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
435
6bad24a0
L
436 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
437 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
438 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
439
42bbb1c3
L
440 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
441 for x86-64.
442 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
443
2d10d547
JM
4442012-05-31 Joseph Myers <joseph@codesourcery.com>
445
446 * math/math.h (M_El): Use two more decimal places.
447 (M_LOG2El): Likewise.
448 (M_LOG10El): Likewise.
449 (M_LN2l): Likewise.
450 (M_LN10l): Likewise.
451 (M_PIl): Likewise.
452 (M_PI_2l): Likewise.
453 (M_PI_4l): Likewise.
454 (M_1_PIl): Likewise.
455 (M_2_PIl): Likewise.
456 (M_2_SQRTPIl): Likewise.
457 (M_SQRT2l): Likewise.
458 (M_SQRT1_2l): Likewise.
459
f230c29b
DM
4602012-05-31 David S. Miller <davem@davemloft.net>
461
462 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
463 values between float registers.
464 * sysdeps/sparc/sparc64/memset.S: Likewise.
465 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
466
fed806c3
MF
4672012-05-31 Mike Frysinger <vapier@gentoo.org>
468
469 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
470 -D_FORTIFY_SOURCE=1.
471 (CPPFLAGS-tst-longjmp_chk.c): Define.
472 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
473 (CPPFLAGS-tst-longjmp_chk2.c): Define.
474 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
475 CFLAGS-tst-wchar-h.c.
476
30917259
MP
4772012-05-31 Marek Polacek <polacek@redhat.com>
478
479 [BZ #14132]
480 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
481 __endmntent_internal): Remove declaration.
482 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
483 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
484 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
485
1c58d5dc
DM
4862012-05-30 David S. Miller <davem@davemloft.net>
487
488 * sysdeps/sparc/sparc32/soft-fp/q_util.c
489 (___Q_simulate_exceptions): Use real FP ops rather than writing
490 into the %fsr.
491 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
492 Likewise.
493
7dc00e0d
L
4942012-05-30 H.J. Lu <hongjiu.lu@intel.com>
495
496 [BZ #14117]
0bd53985
L
497 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
498 * sysdeps/x86/bits/xtitypes.h: This.
499
3a257e66
L
500 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
501 * sysdeps/x86/bits/wordsize.h: This.
502
62f62904
L
503 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
504 * sysdeps/x86/bits/huge_vall.h: This.
505
404fe9d9
L
506 * sysdeps/i386/bits/select.h: Removed.
507 * sysdeps/x86_64/bits/select.h: Renamed to ...
508 * sysdeps/x86/bits/select.h: This.
509
d48d0446
L
510 * sysdeps/i386/bits/setjmp.h: Removed.
511 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
512 * sysdeps/x86/bits/setjmp.h: This.
513
7dc00e0d
L
514 * sysdeps/i386/bits/mathdef.h: Removed.
515 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
516 * sysdeps/x86/bits/mathdef.h: This.
517
03277f8f
AS
5182012-05-30 Andreas Schwab <schwab@linux-m68k.org>
519
520 [BZ #14132]
521 * include/sys/socket.h (__connect_internal)
522 (__libc_sa_len_internal): Remove declaration.
523 (__connect, __libc_sa_len): Declare hidden_proto.
524 (SA_LEN): Remove use of INTUSE.
525 * socket/connect.c: Add libc_hidden_def.
526 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
527 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
528 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
529 alias.
530 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
531 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
532 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
533 of adding _internal alias.
534
13764867
L
5352012-05-30 H.J. Lu <hongjiu.lu@intel.com>
536
537 [BZ #14117]
6bd97696
L
538 * sysdeps/i386/bits/link.h: Removed.
539 * sysdeps/i386/bits/linkmap.h: Likewise.
540 * sysdeps/x86_64/bits/link.h: Renamed to ...
541 * sysdeps/x86/bits/link.h: This.
542 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
543 * sysdeps/x86/bits/linkmap.h: This.
544
f726f0bb
L
545 * sysdeps/i386/bits/endian.h: Removed.
546 * sysdeps/x86_64/bits/endian.h: Renamed to ...
547 * sysdeps/x86/bits/endian.h: This.
548
13764867
L
549 * sysdeps/i386/bits/byteswap.h: Removed.
550 * sysdeps/i386/bits/byteswap-16.h: Likewise.
551 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
552 * sysdeps/x86/bits/byteswap.h: This.
553 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
554 * sysdeps/x86/bits/byteswap-16.h: This.
555 * sysdeps/i386/Implies: Add x86.
556 * sysdeps/x86_64/Implies: Likewise.
557
ae251b0b
DM
5582012-05-30 David S. Miller <davem@davemloft.net>
559
560 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
561 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
562 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
563 (FP_TRAPPING_EXCEPTIONS): Define.
564 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
565 (FP_TRAPPING_EXCEPTIONS): Define.
566 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
567 subnormals only when inexact has been signalled or underflow
568 exceptions are enabled.
569 (_FP_PACK_CANONICAL): Likewise.
570
d5c90867
L
5712012-05-30 H.J. Lu <hongjiu.lu@intel.com>
572
573 [BZ #14183]
574 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
575 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
576
63f1549e
RH
5772012-05-30 Richard Henderson <rth@twiddle.net>
578
8d8f2279
RH
579 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
580 with #ifndef NOT_IN_libc.
581
63f1549e
RH
582 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
583 marked to avoid plt entry.
584
0ab0291b
L
5852012-05-30 H.J. Lu <hongjiu.lu@intel.com>
586
587 [BZ #14112]
588 * Makeconfig (default-abi): New macro.
589 (abi-includes): Likewise.
590 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
591 $(abi-$(default-abi)-lib-soname) for soname if defined.
592 ($(common-objpfx)gnu/lib-names.stmp): Generate from
593 abi-variants.
594 * Makefile (installed-stubs): Likewise.
595 * include/stubs-biarch.h: Removed.
596 * scripts/lib-names.awk: Only handle one library at a time.
597 * scripts/soversions.awk: Remove WORDSIZE support.
598 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
599 entries.
600 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
601 Removed.
602 (syscall-list-default-condition): Likewise.
603 (syscall-list-default-condition): Likewise.
604 (syscall-list-includes): Likewise.
605 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
606 syscall-list-* with abi-*. Handle undefined abi-variants.
607 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
608 * sysdeps/unix/sysv/linux/i386/Implies: New file.
609 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
610 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
611 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
612 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
613 Removed.
614 (syscall-list-32-options): Likewise.
615 (syscall-list-32-condition): Likewise.
616 (syscall-list-64-options): Likewise.
617 (syscall-list-64-condition): Likewise.
618 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
619 macro.
620 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
621 Renamed to ...
622 (abi-*): This.
623 (abi-64-ld-soname): New macro.
624 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
625 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
626 Renamed to ...
627 (abi-*): This.
628 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
629 * sysdeps/x86_64/x32/shlib-versions: Likewise.
630
4da0431d
JM
6312012-05-30 Joseph Myers <joseph@codesourcery.com>
632
3a85279c
JM
633 * sysdeps/unix/sysv/linux/kernel-features.h
634 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
635 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
636 include <kernel-features.h>.
637 [!__NR_ftruncate64]: Remove conditional code.
638 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
639 [__NR_ftruncate64]: Make code unconditional.
640 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
641 * sysdeps/unix/sysv/linux/truncate64.c: Do not
642 include <kernel-features.h>.
643 [!__NR_ftruncate64]: Remove conditional code.
644 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
645 [__NR_ftruncate64]: Make code unconditional.
646 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
648 include <kernel-features.h>.
649 [!__NR_ftruncate64]: Remove conditional code.
650 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
651 [__NR_ftruncate64]: Make code unconditional.
652 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
654 include <kernel-features.h>.
655 [!__NR_ftruncate64]: Remove conditional code.
656 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
657 [__NR_ftruncate64]: Make code unconditional.
658 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
659
4da0431d
JM
660 * configure.in (libc_cv_fpie): Weaken to a compile test using
661 LIBC_TRY_CC_OPTION.
662 * configure: Regenerated.
663
11ef492c
AK
6642012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
665
666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
670 Refreshed.
671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
672 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
677 Refreshed.
678
d66ef399
DM
6792012-05-27 David S. Miller <davem@davemloft.net>
680
681 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
682 (___Q_zero): New.
683 (__Q_simulate_exceptions): Return void. Change to simulate
684 exceptions by writing into the %fsr.
685 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
686 (__Qp_handle_exceptions): Likewise.
687 (numbers): Delete.
688 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
689 __Qp_handle_exceptions.
690 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
691 __Qp_handle_exceptions.
692 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
693 as unused and give dummy FP_RND_NEAREST initializer.
694 (FP_INHIBIT_RESULTS): Define.
695 (___Q_simulate_exceptions): Update declaration.
696 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
697 formatting.
698 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
699 as unused and give dummy FP_RND_NEAREST initializer.
700 (__Qp_handle_exceptions): Update declaration.
701 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
702 formatting.
703
04fb54b5
TS
7042012-05-27 Thomas Schwinge <thomas@codesourcery.com>
705
706 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
707 the temporary FPU control word.
708 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
709 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
710 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
711 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
712 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
713 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
714 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
715 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
716 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
717 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
718 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
719
3f99608f
KK
7202012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
721
722 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
723 fields.
724
65a4de4e
CLT
7252012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
726
727 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
728 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
729 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
730 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
731 Likewise.
732 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
733 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
734 Likewise.
735
15749d40
UD
7362012-05-27 Ulrich Drepper <drepper@gmail.com>
737
738 * po/h.po: Update from translation team.
739
25dbcb27
AS
7402012-05-26 Andreas Schwab <schwab@linux-m68k.org>
741
3d3f8e55
AS
742 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
743
25dbcb27
AS
744 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
745 handling of denormals.
746 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
747 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
748 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
749 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
750 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
751 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
752 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
753 Likewise.
754
7ad47a80 7552012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
756
757 [BZ #14152]
758 * math/libm-test.inc (fma_test): Don't always expect underflow
759 exception.
760
9c6ea9fa
SP
7612012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
762
763 [BZ #12416]
764 * elf/tst-execstack.c: Include stackinfo.h.
765 (do_test): Adjust test case to ensure that pthread_getattr_np
766 behaviour remains the same after marking stack executable.
767
a8239222
JM
7682012-05-25 Joseph Myers <joseph@codesourcery.com>
769
770 * sysdeps/unix/sysv/linux/kernel-features.h
771 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
772 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
773 kernel-features.h.
774 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
775 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
776 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
777 kernel-features.h.
778 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
779 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
780
918b5606
L
7812012-05-25 H.J. Lu <hongjiu.lu@intel.com>
782
783 * configure.in: Define the default includes to being none.
784 * configure: Regenerated.
785
3a097cc7
RM
7862012-05-25 Roland McGrath <roland@hack.frob.com>
787
8422c9a5
RM
788 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
789 * sysdeps/x86_64/setjmp.S: Likewise.
790 * sysdeps/i386/bsd-setjmp.S: Likewise.
791 * sysdeps/i386/bsd-_setjmp.S: Likewise.
792 * sysdeps/i386/setjmp.S: Likewise.
793 * sysdeps/i386/__longjmp.S: Likewise.
794 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
795 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
796
3a097cc7
RM
797 * include/stap-probe.h: New file.
798 * configure.in: Handle --enable-systemtap.
799 * configure: Regenerated.
800 * config.h.in (USE_STAP_PROBE): New #undef.
801 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
802 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
803 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
804
21708942
JM
8052012-05-25 Joseph Myers <joseph@codesourcery.com>
806
807 [BZ #13717]
808 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
809 to 2.4.0 where earlier.
810 * sysdeps/unix/sysv/linux/configure: Regenerated.
811 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
820 [__ASSUME_32BITUIDS]: Make code unconditional.
821 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
822 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
823 <kernel-features.h>.
824 [__ASSUME_32BITUIDS]: Make code unconditional.
825 [!__ASSUME_32BITUIDS]: Remove conditional code.
826 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
827 <kernel-features.h>.
828 [__ASSUME_32BITUIDS]: Make code unconditional.
829 [!__ASSUME_32BITUIDS]: Remove conditional code.
830 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
831 <kernel-features.h>.
832 [__ASSUME_32BITUIDS]: Make code unconditional.
833 [!__ASSUME_32BITUIDS]: Remove conditional code.
834 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
835 <kernel-features.h>.
836 [__ASSUME_32BITUIDS]: Make code unconditional.
837 [!__ASSUME_32BITUIDS]: Remove conditional code.
838 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
839 <kernel-features.h>.
840 [__ASSUME_32BITUIDS]: Make code unconditional.
841 [!__ASSUME_32BITUIDS]: Remove conditional code.
842 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
843 <kernel-features.h>.
844 [__ASSUME_32BITUIDS]: Make code unconditional.
845 [!__ASSUME_32BITUIDS]: Remove conditional code.
846 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
847 <kernel-features.h>.
848 [__ASSUME_32BITUIDS]: Make code unconditional.
849 [!__ASSUME_32BITUIDS]: Remove conditional code.
850 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
851 <kernel-features.h>.
852 [__ASSUME_32BITUIDS]: Make code unconditional.
853 [!__ASSUME_32BITUIDS]: Remove conditional code.
854 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
855 <kernel-features.h>.
856 [__ASSUME_32BITUIDS]: Make code unconditional.
857 [!__ASSUME_32BITUIDS]: Remove conditional code.
858 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
859 <kernel-features.h>.
860 [__ASSUME_32BITUIDS]: Make code unconditional.
861 [!__ASSUME_32BITUIDS]: Remove conditional code.
862 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
863 <kernel-features.h>.
864 [__NR_setresgid] (__setresgid): Do not declare.
865 [__ASSUME_32BITUIDS]: Make code unconditional.
866 [!__ASSUME_32BITUIDS]: Remove conditional code.
867 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
868 <kernel-features.h>.
869 [__NR_setresuid] (__setresuid): Do not declare.
870 [__ASSUME_32BITUIDS]: Make code unconditional.
871 [!__ASSUME_32BITUIDS]: Remove conditional code.
872 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
873 <kernel-features.h>.
874 [__ASSUME_32BITUIDS]: Make code unconditional.
875 [!__ASSUME_32BITUIDS]: Remove conditional code.
876 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
877 <kernel-features.h>.
878 [__ASSUME_32BITUIDS]: Make code unconditional.
879 [!__ASSUME_32BITUIDS]: Remove conditional code.
880 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
881 <kernel-features.h>.
882 [__ASSUME_32BITUIDS]: Make code unconditional.
883 [!__ASSUME_32BITUIDS]: Remove conditional code.
884 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
885 <kernel-features.h>.
886 [__ASSUME_32BITUIDS]: Make code unconditional.
887 [!__ASSUME_32BITUIDS]: Remove conditional code.
888 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
889 <kernel-features.h>.
890 [__ASSUME_32BITUIDS]: Make code unconditional.
891 [!__ASSUME_32BITUIDS]: Remove conditional code.
892 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
893 <kernel-features.h>.
894 [__ASSUME_32BITUIDS]: Make code unconditional.
895 [!__ASSUME_32BITUIDS]: Remove conditional code.
896 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
897 <kernel-features.h>.
898 [__ASSUME_32BITUIDS]: Make code unconditional.
899 [!__ASSUME_32BITUIDS]: Remove conditional code.
900 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
901 <kernel-features.h>.
902 [__ASSUME_32BITUIDS]: Make code unconditional.
903 [!__ASSUME_32BITUIDS]: Remove conditional code.
904 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
905 <kernel-features.h>.
906 [__ASSUME_32BITUIDS]: Make code unconditional.
907 [!__ASSUME_32BITUIDS]: Remove conditional code.
908 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
909 <kernel-features.h>.
910 [__ASSUME_32BITUIDS]: Make code unconditional.
911 [!__ASSUME_32BITUIDS]: Remove conditional code.
912 * sysdeps/unix/sysv/linux/kernel-features.h
913 (__ASSUME_SETRESUID_SYSCALL): Remove.
914 (__ASSUME_SETRESGID_SYSCALL): Likewise.
915 (__ASSUME_32BITUIDS): Likewise.
916 (__ASSUME_LDT_WORKS): Likewise.
917 (__ASSUME_O_DIRECTORY): Likewise.
918 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
919 architecture but not kernel version.
920 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
921 (__ASSUME_MMAP2_SYSCALL): Likewise.
922 (__ASSUME_STAT64_SYSCALL): Likewise.
923 (__ASSUME_IPC64): Likewise.
924 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
925 <kernel-features.h>.
926 [__ASSUME_32BITUIDS]: Make code unconditional.
927 [!__ASSUME_32BITUIDS]: Remove conditional code.
928 * sysdeps/unix/sysv/linux/opendir.c: Do not include
929 <kernel-features.h>.
930 [__ASSUME_O_DIRECTORY]: Make code unconditional.
931 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
932 132096]: Remove conditional code.
933 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
934 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
935 <kernel-features.h>.
936 [__ASSUME_32BITUIDS]: Make code unconditional.
937 [!__ASSUME_32BITUIDS]: Remove conditional code.
938 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
939 <kernel-features.h>.
940 [__ASSUME_32BITUIDS]: Make code unconditional.
941 [!__ASSUME_32BITUIDS]: Remove conditional code.
942 * sysdeps/unix/sysv/linux/setegid.c: Do not include
943 <kernel-features.h>.
944 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
945 unconditional.
946 (__setresgid): Do not declare.
947 [__ASSUME_32BITUIDS]: Make code unconditional.
948 [!__ASSUME_32BITUIDS]: Remove conditional code.
949 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
950 <kernel-features.h>.
951 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
952 unconditional.
953 (__setresuid): Do not declare.
954 [__ASSUME_32BITUIDS]: Make code unconditional.
955 [!__ASSUME_32BITUIDS]: Remove conditional code.
956 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
957 <kernel-features.h>.
958 [__ASSUME_32BITUIDS]: Make code unconditional.
959 [!__ASSUME_32BITUIDS]: Remove conditional code.
960 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
961 <kernel-features.h>.
962 [__ASSUME_32BITUIDS]: Make code unconditional.
963 [!__ASSUME_32BITUIDS]: Remove conditional code.
964
a386f1cc
RH
9652012-05-25 Richard Henderson <rth@twiddle.net>
966
967 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
968 dl_hwcap to ifunc resolver.
969 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
970 elf_ifunc_invoke.
971 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
972 dl_hwcap to ifunc resolver.
973 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
974
b6550497
JM
9752012-05-24 Joseph Myers <joseph@codesourcery.com>
976
977 [BZ #14153]
978 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
979 for |x| <= 2**-26, not 2**-57.
980 * math/libm-test.inc (acos_test): Do not allow spurious underflow
981 exception.
982
b0bc23a1
JL
9832012-05-24 Jeff Law <law@redhat.com>
984
985 * stdio-common/Makefile (tests): Add bug25.
986 * stdio-common/bug25.c: New test.
987
347c92e9
L
9882012-05-24 H.J. Lu <hongjiu.lu@intel.com>
989
990 [BZ #13576]
991 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
992 multiple of MALLOC_ALIGNMENT in size.
993 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
994
6bcc8b3f
JM
9952012-05-24 Joseph Myers <joseph@codesourcery.com>
996
997 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
998 Require >= 256.
999 (FILENAME_MAX): Use macro-int-constant.
1000 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
1001 (_IOFBF): Use macro-int-constant.
1002 (_IOLBF): Likewise.
1003 (_IONBF): Likewise.
1004 (SEEK_CUR): Likewise.
1005 (SEEK_END): Likewise.
1006 (SEEK_SET): Likewise.
1007 (TMP_MAX): Likewise.
1008 (EOF): Use macro-int-constant. Require < 0.
1009 (NULL): Use macro-constant. Require == 0.
1010 (stdin): Require type to be FILE *.
1011 (stdout): Likewise.
1012 (stderr): Likewise.
1013 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
1014 macro-int-constant.
1015 (EXIT_SUCCESS): Likewise.
1016 (NULL): Use macro-constant. Require == 0.
1017 (RAND_MAX): Use macro-int-constant.
1018 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
1019 [C99-based standards] (strtof): Require function.
1020 [C99-based standards] (strtold): Likewise.
1021 [C99-based standards] (strtoll): Likewise.
1022 [C99-based standards] (strtoull): Likewise.
1023 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1024 [ISO || ISO99 || ISO11] (limits.h): Likewise.
1025 [ISO || ISO99 || ISO11] (math.h): Likewise.
1026 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
1027 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1028 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1029
d18ea0c5
AS
10302012-05-24 Andreas Schwab <schwab@linux-m68k.org>
1031
1032 [BZ #14132]
56d25bb8
AS
1033 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
1034 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
1035 * intl/dgettext.c (DCGETTEXT): Likewise.
1036 * intl/gettext.c (DCGETTEXT): Likewise.
1037 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
1038 * posix/regex_internal.h (gettext): Likewise.
1039 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
1040 Remove declaration.
1041 * include/argz.h (__argz_count_internal)
1042 (__argz_stringify_internal): Remove declaration.
1043 (__argz_count, __argz_stringify): Declare hidden proto.
1044 * intl/dcgettext.c: Remove use of INTDEF.
1045 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
1046 * string/argz-stringify.c: Likewise.
1047 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1048 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1049 Declare hidden proto.
d18ea0c5
AS
1050 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1051 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1052 Declare hidden proto.
1053 * include/stdio.h (__asprintf_internal): Don't declare.
1054 (__asprintf): Don't define as macro. Declare hidden proto.
1055 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
1056 (__fsetlocking): Declare hidden proto.
1057 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
1058 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
1059 hidden proto.
1060 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
1061 (_IO_setlinebuf): Remove use of INTUSE.
1062 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
1063 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
1064 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
1065 Remove declaration.
1066 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
1067 (_IO_do_flush): Remove use of INTUSE.
1068 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
1069 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
1070 (_IO_adjust_column, _IO_least_wmarker)
1071 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
1072 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
1073 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
1074 (_IO_default_doallocate, _IO_wdefault_doallocate)
1075 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
1076 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
1077 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
1078 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
1079 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
1080 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
1081 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
1082 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
1083 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
1084 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
1085 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
1086 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
1087 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
1088 proto.
1089 (_IO_flush_all_internal, _IO_adjust_column_internal)
1090 (_IO_default_uflow_internal, _IO_default_finish_internal)
1091 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
1092 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
1093 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
1094 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
1095 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
1096 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
1097 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
1098 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
1099 (_IO_file_close_internal, _IO_file_close_it_internal)
1100 (_IO_file_underflow_internal, _IO_file_overflow_internal)
1101 (_IO_file_init_internal, _IO_file_attach_internal)
1102 (_IO_file_fopen_internal, _IO_file_read_internal)
1103 (_IO_file_sync_internal, _IO_file_seek_internal)
1104 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
1105 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
1106 (_IO_str_underflow_internal, _IO_str_overflow_internal)
1107 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
1108 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
1109 (_IO_list_all_internal, _IO_link_in_internal)
1110 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
1111 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
1112 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
1113 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
1114 (_IO_do_write_internal, _IO_padn_internal)
1115 (_IO_getline_info_internal, _IO_getline_internal)
1116 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
1117 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
1118 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
1119 (_IO_vfscanf_internal, _IO_vfprintf_internal)
1120 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1121 (_IO_init_internal, _IO_un_link_internal): Don't declare.
1122 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1123 with libc_hidden_ver, remove use of INTUSE.
1124 * libio/genops.c: Likewise.
1125 * libio/freopen.c: Likewise.
1126 * libio/freopen64.c: Likewise.
1127 * libio/iofclose.c: Likewise.
1128 * libio/iofdopen.c: Likewise.
1129 * libio/iofflush.c: Likewise.
1130 * libio/iofflush_u.c: Likewise.
1131 * libio/iofgets.c: Likewise.
1132 * libio/iofgets_u.c: Likewise.
1133 * libio/iofopen.c: Likewise.
1134 * libio/iofopncook.c: Likewise.
1135 * libio/iofread.c: Likewise.
1136 * libio/iofread_u.c: Likewise.
1137 * libio/ioftell.c: Likewise.
1138 * libio/iofwrite.c: Likewise.
1139 * libio/iogetline.c: Likewise.
1140 * libio/iogets.c: Likewise.
1141 * libio/iogetwline.c: Likewise.
1142 * libio/iopadn.c: Likewise.
1143 * libio/iopopen.c: Likewise.
1144 * libio/ioseekoff.c: Likewise.
1145 * libio/ioseekpos.c: Likewise.
1146 * libio/iosetbuffer.c: Likewise.
1147 * libio/iosetvbuf.c: Likewise.
1148 * libio/ioungetc.c: Likewise.
1149 * libio/ioungetwc.c: Likewise.
1150 * libio/iovdprintf.c: Likewise.
1151 * libio/iovsprintf.c: Likewise.
1152 * libio/iovsscanf.c: Likewise.
1153 * libio/memstream.c: Likewise.
1154 * libio/obprintf.c: Likewise.
1155 * libio/oldfileops.c: Likewise.
1156 * libio/oldiofclose.c: Likewise.
1157 * libio/oldiofdopen.c: Likewise.
1158 * libio/oldiofopen.c: Likewise.
1159 * libio/oldiopopen.c: Likewise.
1160 * libio/oldstdfiles.c: Likewise.
1161 * libio/putc.c: Likewise.
1162 * libio/setbuf.c: Likewise.
1163 * libio/setlinebuf.c: Likewise.
1164 * libio/stdfiles.c: Likewise.
1165 * libio/strops.c: Likewise.
1166 * libio/vasprintf.c: Likewise.
1167 * libio/vscanf.c: Likewise.
1168 * libio/vsnprintf.c: Likewise.
1169 * libio/vswprintf.c: Likewise.
1170 * libio/wfiledoalloc.c: Likewise.
1171 * libio/wfileops.c: Likewise.
1172 * libio/wgenops.c: Likewise.
1173 * libio/wmemstream.c: Likewise.
1174 * libio/wstrops.c: Likewise.
1175 * libio/__fpurge.c: Likewise.
1176 * libio/__fsetlocking.c: Likewise.
1177 * assert/assert.c: Likewise.
1178 * debug/fgets_chk.c: Likewise.
1179 * debug/fgets_u_chk.c: Likewise.
1180 * debug/fread_chk.c: Likewise.
1181 * debug/fread_u_chk.c: Likewise.
1182 * debug/gets_chk.c: Likewise.
1183 * debug/obprintf_chk.c: Likewise.
1184 * debug/vasprintf_chk.c: Likewise.
1185 * debug/vdprintf_chk.c: Likewise.
1186 * debug/vsnprintf_chk.c: Likewise.
1187 * debug/vsprintf_chk.c: Likewise.
1188 * malloc/mtrace.c: Likewise.
1189 * misc/error.c: Likewise.
1190 * misc/syslog.c: Likewise.
1191 * stdio-common/asprintf.c: Likewise.
1192 * stdio-common/fxprintf.c: Likewise.
1193 * stdio-common/getw.c: Likewise.
1194 * stdio-common/isoc99_fscanf.c: Likewise.
1195 * stdio-common/isoc99_scanf.c: Likewise.
1196 * stdio-common/isoc99_vfscanf.c: Likewise.
1197 * stdio-common/isoc99_vscanf.c: Likewise.
1198 * stdio-common/isoc99_vsscanf.c: Likewise.
1199 * stdio-common/printf-prs.c: Likewise.
1200 * stdio-common/printf_fp.c: Likewise.
1201 * stdio-common/printf_fphex.c: Likewise.
1202 * stdio-common/printf_size.c: Likewise.
1203 * stdio-common/putw.c: Likewise.
1204 * stdio-common/scanf.c: Likewise.
1205 * stdio-common/sprintf.c: Likewise.
1206 * stdio-common/tmpfile.c: Likewise.
1207 * stdio-common/vfprintf.c: Likewise.
1208 * stdio-common/vfscanf.c: Likewise.
1209 * stdlib/strfmon_l.c: Likewise.
1210 * sunrpc/openchild.c: Likewise.
1211 * sunrpc/xdr_stdio.c: Likewise.
1212 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1213 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1214
d6c33fda
RM
12152012-05-24 Roland McGrath <roland@hack.frob.com>
1216
c1487492
RM
1217 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1218
1219 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1220 in the third column, to generate for the shared library an IFUNC
1221 that uses _dl_vdso_vsym.
1222 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1223 * Makeconfig (object-suffixes-noshared): New variable.
1224
1225 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1226 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1227 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1228 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1229
d6c33fda
RM
1230 [BZ #14132]
1231 * include/sys/time.h (__gettimeofday): Remove macro.
1232 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1233 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1234 Remove INTDEF.
1235 (__gettimeofday): Add libc_hidden_def.
1236 (gettimeofday): Add libc_hidden_weak.
1237 * sysdeps/mach/gettimeofday.c: Likewise.
1238 * sysdeps/posix/gettimeofday.c: Likewise.
1239 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1240 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1241 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1242 (__gettimeofday_internal): Remove strong_alias.
1243 (__gettimeofday): Add libc_hidden_def.
1244 (gettimeofday): Add libc_hidden_weak.
1245 * sysdeps/unix/syscalls.list (gettimeofday):
1246 Remove __gettimeofday_internal alias.
1247
b5a2bbe6
L
12482012-05-24 Daniel Jacobowitz <drow@false.org>
1249 H.J. Lu <hongjiu.lu@intel.com>
1250
1251 [BZ #12495]
1252 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1253 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1254 (largebin_index_32_big): New.
1255 (largebin_index): Use it for 16-byte alignment.
1256 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1257 correction with front_misalign.
1258
cfba4fda
L
12592012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1260
7f907421
L
1261 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1262 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1263 Likewise.
1264 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1265 Likewise.
1266 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1267 Likewise.
1268 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1269 Likewise.
1270 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1271 Likewise.
1272 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1273 Likewise.
1274 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1275 Likewise.
1276 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1277 Likewise.
1278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1279 Likewise.
1280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1281 Likewise.
1282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1283 Likewise.
1284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1285 Likewise.
1286
cfba4fda
L
1287 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1288 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1289
80bad0cc
JM
12902012-05-24 Joseph Myers <joseph@codesourcery.com>
1291
7a25eb06
JM
1292 [BZ #10846]
1293 [BZ #14036]
1294 * math/libm-test.inc (exp_test): Add test from bug 14036.
1295 (pow_test): Add test from bug 10846.
1296
795405f9
JM
1297 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1298 and other flags.
1299 (special_function): Do not include flags in test name.
1300 (parse_args): Likewise.
1301 * sysdeps/i386/fpu/libm-test-ulps: Update.
1302 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1303 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1304 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1306
80bad0cc
JM
1307 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1308 exceptions.
1309 * math/libm-test.inc ("Philosophy"): Update comment about
1310 exception testing.
1311 (UNDERFLOW_EXCEPTION): New macro.
1312 (UNDERFLOW_EXCEPTION_OK): Likewise.
1313 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1314 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1315 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1316 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1317 (INVALID_EXCEPTION_OK): Update value.
1318 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1319 (OVERFLOW_EXCEPTION_OK): Likewise.
1320 (IGNORE_ZERO_INF_SIGN): Likewise.
1321 (test_exceptions): Handle underflow exceptions.
1322 (acos_test): Update for underflow exception expectations.
1323 (cexp_test): Likewise.
1324 (clog_test): Likewise.
1325 (clog10_test): Likewise.
1326 (csqrt_test): Likewise.
1327 (ctan_test): Likewise.
1328 (ctanh_test): Likewise.
1329 (exp_test): Likewise.
1330 (exp10_test): Likewise.
1331 (exp2_test): Likewise.
1332 (expm1_test): Likewise.
1333 (fma_test): Likewise.
1334 (j0_test): Likewise.
1335 (jn_test): Likewise.
1336 (nexttoward_test): Likewise.
1337 (pow_test): Likewise.
1338 (scalbn_test): Likewise.
1339 (scalbln_test): Likewise.
1340 (tan_test): Likewise.
1341 (y1_test): Likewise.
1342 * sysdeps/i386/fpu/libm-test-ulps: Update.
1343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1344
9e0e3d0b
DM
13452012-05-23 David S. Miller <davem@davemloft.net>
1346
1347 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1348 (__libc_sigaction): Remove unused local variables.
1349
ccd0a08f
L
13502012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1351
1352 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1353
62bdf9a6
PE
13542012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1355
f8591f80
PE
1356 mktime: avoid signed integer overflow
1357 * time/mktime.c (__mktime_internal): Do not mishandle the case
1358 where diff == INT_MIN.
1359
94c7d826
PE
1360 mktime: simplify computation of average
1361 * time/mktime.c (ranged_convert): Use new time_t_avg function
1362 instead of rolling our own (probably-slower) code.
1363
ce73d683
PE
1364 mktime: do not assume signed right shift propagates sign bit
1365 * time/mktime.c (isdst_differ): New static function.
1366 (__mktime_internal): No need to normalize tm_isdst now.
1367 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1368 tm_isdst values.
1369
72a22e59
PE
1370 mktime: merge another wrapv change from gnulib
1371 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1372 from some compilers.
1373
68605433
PE
1374 mktime: remove incorrect attempt at unusual arithmetics
1375 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1376 The code didn't really work on such machines anyway.
1377 (TYPE_MINIMUM): Assume two's complement.
1378 (twos_complement_arithmetic): Verify that long_int and time_t
1379 are two's complement (or unsigned, in the latter case).
1380
03cf7fe3
PE
1381 mktime: check signed shifts on long_int and time_t, too
1382 * time/mktime.c (SHR): Check that shifts work as desired
1383 on the types long_int and time_t too, as SHR is used on
1384 such types.
1385
f04dfbc2
PE
1386 mktime: do not assume 'long' is wide enough
1387 * time/mktime.c (verify): Move decl up.
1388 (long_int): New type.
1389 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1390 to remove assumption in the code that 'long' is wide enough to
1391 store year values. This assumption is not true on x32 and on
1392 some non-glibc platforms.
1393
62bdf9a6
PE
1394 mktime: merge wrapv change from gnulib
1395 * time/mktime.c (WRAPV): New macro.
1396 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1397 (guess_time_tm, __mktime_internal): Do not assume that signed
1398 integer overflow wraps around; modern compilers generate code
1399 where this assumption is no longer valid.
1400
5e292e4f
L
14012012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1402
1403 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1404 Replace "jmp L(pseudo_end)" with "ret".
1405 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1406 Likewise.
1407
8caf8c87
AJ
14082012-05-23 Andreas Jaeger <aj@suse.de>
1409
1410 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1411 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1412
1a09dc56
AJ
14132012-05-23 Andreas Jaeger <aj@suse.de>
1414 Maximilian Attems <max@stro.at>
1415
1416 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1417 New macros.
1418
1c87aba0
L
14192012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1420
1421 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1422 code so that pseudo_end is just ret and the stack pointer is
1423 correct also for static library in error case.
1424
40e45bd5
JM
14252012-05-23 Joseph Myers <joseph@codesourcery.com>
1426
c2670533
JM
1427 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1428 move to syscalls.list.
1429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1433
40e45bd5
JM
1434 * manual/install.texi (Running make install): Do not mention Linux
1435 kernel version for which pt_chown is not needed.
1436 (Linux): Do not mention problems with nscd with 2.0 kernels.
1437 * INSTALL: Regenerated.
1438
be08eda5
AJ
14392012-05-23 Andreas Jaeger <aj@suse.de>
1440
1441 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1442 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1443 macro.
1444 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1445 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1446 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1447 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1448 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1449 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1450 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1451 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1452 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1453 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1454 * sysdeps/unix/sysv/linux/bits/in.h
1455 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1456
a6a056bb
RM
14572012-05-22 Roland McGrath <roland@hack.frob.com>
1458
1459 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1460 (PREPARE_VERSION): Just use assert instead, it will be elided
1461 under [NDEBUG] anyway.
1462
c9009328
L
14632012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1464
1465 * sysdeps/unix/sysv/linux/Makefile: Include
1466 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 1467 (sysdep_routines): Remove sysctl.
c9009328
L
1468 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1469 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1470 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1471 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1472 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1473
73338355
AJ
14742012-05-22 Andreas Jaeger <aj@suse.de>
1475
1476 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1477 that pseudo_end is just ret and the stack pointer is correct also
1478 for static library in error case.
1479
d44638b0
PP
14802012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1481
1482 [BZ #14122]
1483 * nss/nsswitch.c (defconfig_entries): New variable.
1484 (__nss_database_lookup): Don't leak defconfig entries.
1485 (nss_parse_service_list): Don't leak on error paths.
1486 (free_database_entries): New function.
1487 (free_defconfig): New function.
1488 (free_mem): Move common code to free_database_entries.
1489
31a39bd8
L
14902012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1491
da0331a8
L
1492 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1493 Add arch_prctl.
1494 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1495
31a39bd8
L
1496 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1497 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1498 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1499 New macro.
1500 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1501 (INTERNAL_SYSCALL_TYPES): Likewise.
1502 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1503 (LOAD_REGS_TYPES_[1-6]): Likewise.
1504 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1505 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1506
45470df3
AZ
15072012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1508
1509 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1510 copysignl for GLIBC_2_0.
1511 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1512 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1513 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1514 logbl for GLIBC_2_0.
1515 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1516 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1517
98a61bcb
L
15182012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1519
a4f6e481
L
1520 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1521 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1522
f63d5db6
L
1523 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1524 Use "neg %eax".
1525
98a61bcb
L
1526 * time/mktime.c: Update copyright years.
1527
95770f14
PE
15282012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1529
6226efbd
PE
1530 mktime: merge comment-quoting-style change from gnulib
1531 * time/mktime.c: Quote 'like this' in comments.
1532 The GNU coding standards suggest that we no longer quote `like this',
1533 as "`" and "'" are typically rendered asymmetrically nowadays.
1534 The typical gnulib style is to quote 'like this' when quoting
1535 code, and "like this" when quoting English.
1536
b99e4f78
PE
1537 * time/mktime.c (compile-command): Add "-I.".
1538
643e01e6
PE
1539 mktime: merge mktime-internal.h change from gnulib
1540 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1541
2554247d
PE
1542 mktime: merge time_r change from gnulib
1543 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1544
826dd0ab
PE
1545 mktime: merge DEBUG change from gnulib
1546 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1547 case system <time.h> has a #define.
1548
bd83aabe
PE
1549 mktime: merge <sys/types.h> change from gnulib
1550 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1551 since <time.t> is now guaranteed to define time_t.
1552
95770f14
PE
1553 mktime: merge HAVE_CONFIG_H change from gnulib
1554 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1555
5e1a27a9
L
15562012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1557
0e44a77e
L
1558 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1559 Use "neg %eax".
1560
5e1a27a9
L
1561 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1562 __rlim_t cast.
1563 (struct rusage): Use anonymous union to pad each field to
1564 __syscall_slong_t.
1565
46259bec
DM
15662012-05-21 David S. Miller <davem@davemloft.net>
1567
1568 * Makefules (o-iterator): Remove .s cases.
1569 (compile-command.s): Delete.
1570 (COMPILE.s): Delete.
1571 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1572
59f0c22e
JM
15732012-05-21 Joseph Myers <joseph@codesourcery.com>
1574
1575 * configure.in (libc_cv_predef_stack_protector): Only consider
1576 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1577 * configure: Regenerated.
1578
20c07380
L
15792012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1580
bbb3154b
L
1581 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1582 New macro. Use R*LP on int and pointer.
1583 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
1584 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1585 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
1586 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1587
20c07380
L
1588 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1589 [__WORDSIZE_TIME64_COMPAT32] instead of
1590 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1591 (struct utmp): Likewise.
1592 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1593 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1594 Renamed to ...
1595 (__WORDSIZE_TIME64_COMPAT32): This.
1596 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1597 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1598 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1599 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1600 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1601 (__WORDSIZE_TIME64_COMPAT32): New macro.
1602
d8d1017e
AJ
16032012-05-21 Andreas Jaeger <aj@suse.de>
1604
1605 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1606 only if [SHARED]. Add prototype for __wcschr_ia32.
1607
6c7fb145
RM
16082012-05-21 Roland McGrath <roland@hack.frob.com>
1609
1610 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1611 of %rbp unmolested in the jmp_buf while mangling the low bits.
1612 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1613 unmolested high bits of %rbp while demangling the low bits.
1614 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1615
66274218
AJ
16162012-05-21 Andreas Jaeger <aj@suse.de>
1617
07c58f8f
AJ
1618 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1619 * sunrpc/svc_simple.c: Use it for registerrpc.
1620 * sunrpc/xcrypt.c: Use it for passwd2des.
1621
66274218
AJ
1622 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1623
61f65140
L
16242012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1625
1626 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1627 Don't define if [__SYSCALL_WORDSIZE != 32].
1628 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1629 New macro.
1630
5fefb436
AJ
16312012-05-21 Bruno Haible <bruno@clisp.org>
1632 Andreas Jaeger <aj@suse.de>
1633
1634 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1635 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1636 inptr and inend for must_buffer_ch.
1637 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1638 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1639 * stdio-common/Makefile (tests): Remove bug15.
1640 (bug15-ENV): Remove macro.
1641 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1642 anymore.
1643
d8e272ab
AJ
16442012-05-19 Andreas Jaeger <aj@suse.de>
1645 Roland McGrath <roland@hack.frob.com>
1646
1647 * manual/contrib.texi: Completely rewritten. It contains now an
1648 alphabetical list of contributors and their contributions.
1649
4a56a162
RH
16502012-05-21 Richard Henderson <rth@twiddle.net>
1651
1652 * misc/getauxval.c (__getauxval): Use unsigned long int.
1653 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1654 (getauxval): Use unsigned long int.
1655
d024d23c
L
16562012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1657
1658 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1659
cbc00a03
RM
16602012-05-21 Roland McGrath <roland@hack.frob.com>
1661
1662 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1663 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1664 __alignof__ (long double).
1665
478143fa
AZ
16662012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1667
1668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1669
c7683a6d
RH
16702012-05-20 Richard Henderson <rth@twiddle.net>
1671
1672 * misc/getauxval.c: New file.
1673 * misc/sys/auxv.h: New file.
1674 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1675 (routines): Add getauxval.
1676 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1677 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1678 * elf/dl-sysdep.c (_dl_auxv): Remove.
1679 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1680 * elf/dl-support.c (_dl_auxv): New variable.
1681 (_dl_aux_init): Initialize it.
1682 * manual/startup.texi (Auxiliary Vector): New node.
1683 * sysdeps/generic/bits/hwcap.h: New file.
1684 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1685 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1686 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1687 * sysdeps/sparc/sysdep.h: ... here. Include it.
1688 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1689 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
1690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1691 Update.
c7683a6d
RH
1692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1693 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1694 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1695 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1696 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1697 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1698 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1699 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1700
a6f1845d
AZ
17012012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1702
1703 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1704
cbcbe830
DM
17052012-05-19 David S. Miller <davem@davemloft.net>
1706
1707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1708
e0b16cc2
JM
17092012-05-19 Joseph Myers <joseph@codesourcery.com>
1710
1711 [BZ #14123]
1712 * math/s_ccosh.c: Include <float.h>
1713 (__ccosh): Avoid internal overflow calculating sinh and cosh
1714 values before multiplying by sin and cos values.
1715 * math/s_ccoshf.c: Likewise.
1716 * math/s_ccoshl.c: Likewise.
1717 * math/s_csin.c: Likewise.
1718 * math/s_csinf.c: Likewise.
1719 * math/s_csinl.c: Likewise.
1720 * math/s_csinh.c: Likewise.
1721 * math/s_csinhf.c: Likewise.
1722 * math/s_csinhl.c: Likewise.
1723 * math/libm-test.inc (ccos_test): Add more tests.
1724 (ccosh_test): Likewise.
1725 (csin_test): Likewise.
1726 (csinh_test): Likewise.
1727 * sysdeps/i386/fpu/libm-test-ulps: Update.
1728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1729
6ad13e08
L
17302012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1731
f66f0ce8
L
1732 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1733 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1734
6ad13e08
L
1735 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1736
b1d072a7
JM
17372012-05-19 Joseph Myers <joseph@codesourcery.com>
1738
1739 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1740 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1741 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1742 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1743 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1744 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1745 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1746 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1747 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1748 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1749 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1750 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1751 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1752 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1753 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1754 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1755 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1756 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1757 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1758 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1759 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1760 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1761 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1762 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1763 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1764 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1765 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1766 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1767 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1768 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1769 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1770
9eae47cb
AJ
17712012-05-18 Andreas Jaeger <aj@suse.de>
1772
1773 * csu/.gitignore: Delete.
1774
bb07f69f
L
17752012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1776
1777 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1778 (timex): Use __syscall_slong_t.
1779
e6bdb741
AJ
17802012-05-18 Andreas Jaeger <aj@suse.de>
1781 Carlos O'Donell <carlos_odonell@mentor.com>
1782
1783 * manual/install.texi (Configuring and compiling): Update
1784 description about files modified in the source directory.
d6c33fda 1785 * INSTALL: Regenerated.
e6bdb741 1786
1b74487e
L
17872012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1788
1789 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1790 value. Use "or" to set return value to -1.
1791 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1792 negate return value.
1793
a88b64b9
TMQMF
17942012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1795
1796 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1797 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1798 failure if the compiler has Graphite support disabled.
1799 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1800 Likewise.
1801 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1802 CFLAGS-memmove.c): Likewise.
1803 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1804 Likewise.
1805
3707636e
L
18062012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1807
610b8622
L
1808 * sysdeps/x86_64/x32/_itoa.h: New file.
1809
7cd195df
L
1810 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1811 getdents system call only if kernel and user dirents have the
1812 same d_ino and d_off.
1813
94b07d20
L
1814 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1815 LLONG_MAX != LONG_MAX.
1816 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1817 (_fitoa_word): Likewise.
1818
18298070
L
1819 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1820 years.
1821 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1822 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1823 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1824
553c7ea4
L
1825 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1826 include <bits/wordsize.h>. Check __x86_64__ instead of
1827 __WORDSIZE.
1828 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1829 if __x86_64__ is defined. Use anonymous union on fpstate.
1830
3707636e
L
1831 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1832 anonymous union.
1833
b53ef01a
AS
18342012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1835
37fb1dc0
AS
1836 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1837 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1838 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1839 Refer to _rtld_local_ro instead of _rtld_global_ro.
1840 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1841 Likewise.
1842 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1843 Likewise.
1844 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1845 Likewise.
1846 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1847 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1848 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1849
b53ef01a
AS
1850 * sysdeps/powerpc/powerpc32/dl-machine.c
1851 (__elf_machine_runtime_setup) [PROF]: Don't reference
1852 _dl_prof_resolve.
1853
7a185db2
AJ
18542012-05-18 Andreas Jaeger <aj@suse.de>
1855
1856 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1857 function only available for GCCs before 3.4 since GCC 3.4
1858 introduced a builtin.
1859 (lrint): Likewise.
1860 (llrintf): Likewise.
1861 (llrint): Likewise.
1862 (fmaxf): Likewise.
1863 (fmax): Likewise.
1864 (fminf): Likewise.
1865 (fmin): Likewise.
1866 (rint): Likewise.
1867 (rintf): Likewise.
1868 (nearbyint): Likewise.
1869 (nearbyintf): Likewise.
1870 (ceil): Likewise.
1871 (ceilf): Likewise.
1872 (floor): Likewise.
1873 (floorf): Likewise.
1874
3e5aef87
L
18752012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1876
428bd707
L
1877 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1878 on both fields and cast pointer to __syscall_ulong_t.
1879
3e5aef87
L
1880 * bits/types.h (__fsword_t): New type.
1881 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1882 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1883 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1884 (__FSWORD_T_TYPE): Likewise.
1885 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1886 (__FSWORD_T_TYPE): Likewise.
1887 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1888 (__FSWORD_T_TYPE): Likewise.
1889 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1890 (__FSWORD_T_TYPE): Likewise.
1891 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1892 __SWORD_TYPE with __fsword_t.
1893 (statfs64): Likewise.
1894
1ba7c3dc
DM
18952012-05-17 David S. Miller <davem@davemloft.net>
1896
1897 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1898
59910343
AJ
18992012-05-17 Andreas Jaeger <aj@suse.de>
1900
1901 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1902 warning.
1903
2e4c1e9e
L
19042012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1905
1906 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1907
de7f5ce7
AJ
19082012-05-17 Andreas Jaeger <aj@suse.de>
1909
1910 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1911 when it is used.
1912
286abc3d
CM
19132012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1914
1915 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1916
477cc68e
L
19172012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1918
1919 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1920 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1921
1a0994f5
CD
19222012-05-17 Andreas Jaeger <aj@suse.de>
1923 Carlos O'Donell <carlos_odonell@mentor.com>
1924
1925 [BZ #14059]
1926 * sysdeps/x86_64/multiarch/init-arch.h
1927 (bit_YMM_Usable): Rename to...
1928 (bit_AVX_Usable): ... this.
1929 (bit_FMA4_Usable): New macro.
1930 (bit_XMM_state): New macro.
1931 (bit_YMM_state): New macro.
1932 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1933 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1934 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1935 (CPUID_OSXSAVE): New macro.
1936 (CPUID_AVX): New macro.
1937 (CPUID_FMA4): New macro.
1938 (index_YMM_Usable): Rename to...
1939 (index_AVX_Usable): ... this.
1940 (HAS_AVX): Use HAS_ARCH_FEATURE.
1941 (HAS_FMA4): Likewise.
1942 (HAS_YMM_USABLE): Remove.
1943 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1944 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1945 are present.
1946 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1947 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1948 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1949 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1950 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1951
0af797de
CM
19522012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1953
1954 * math/libm-test.c: Support platforms without multiple rounding modes.
1955 * math/bug-nextafter.c: Support platforms without FP exceptions.
1956 * math/bug-nexttoward.c: Likewise.
1957 * math/test-fenv.c: Likewise.
1958 * math/test-misc.c: Likewise.
1959 * stdlib/bug-getcontext.c: Likewise.
1960
e39745ff
AJ
19612012-05-17 Andreas Jaeger <aj@suse.de>
1962
1963 * manual/examples/search.c (critter_cmp): Change signature to
1964 avoid warnings.
1965 * manual/string.texi (Collation Functions): Likewise.
1966
48970aba
L
19672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1968
1969 * bits/types.h: Fold copyright years.
1970 * bits/typesizes.h: Likewise.
1971 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1972 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1973 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1974 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1975 * time/time.h: Likewise.
1976
bedee953
PP
19772012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1978
1979 [BZ #208]
1980 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1981 in instead of returning them. Return void.
1982 (__libc_mallinfo): Accumulate over all arenas.
1983 (__malloc_stats): Adjust for change in int_mallinfo interface.
1984
61653dfb
RM
19852012-05-16 Roland McGrath <roland@hack.frob.com>
1986
30b99d79
RM
1987 [BZ #10375]
1988 * configure.in (NM): Add AC_CHECK_TOOL for it.
1989 (libc_extra_cflags): New substituted variable.
1990 Check for -fstack-protector being used implicitly.
1991 * configure: Regenerated.
1992 * config.make.in (config-extra-cflags): New variable,
1993 gets @libc_extra_cflags@.
1994 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1995
61653dfb
RM
1996 [BZ #10375]
1997 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1998 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1999 * configure: Regenerated.
2000 * config.make.in (CPPUNDEFS): New substituted variable.
2001 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
2002 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
2003 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
2004
661768bb
L
20052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2006
2007 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
2008 (mq_attr): Use __syscall_slong_t.
2009
d4261567
L
20102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2011
2012 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
2013 Check __x86_64__ instead of __WORDSIZE.
2014 (_STAT_VER_LINUX): Likewise.
2015 (stat): Check __x86_64__ instead of __WORDSIZE. Use
2016 __syscall_ulong_t and __syscall_slong_t.
2017 (stat64): Likewise.
2018
cf3ff365
L
20192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2020
2021 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
2022
76cf3e4d
L
20232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2024
2025 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
2026
a637753a
L
20272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2028
2029 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
2030 __syscall_ulong_t.
2031
d5e05119
L
2032 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
2033 include <bits/wordsize.h>. Check __x86_64__ instead of
2034 __WORDSIZE.
2035 (greg_t): Use "__extension__ long long int" if __x86_64__ is
2036 defined.
2037 (mcontext_t): Replace "unsigned long" with "unsigned long long".
2038
f62ee380
L
2039 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
2040 include <bits/wordsize.h>. Check __x86_64__ instead of
2041 __WORDSIZE.
2042 (user_regs_struct): Use "__extension__ unsigned long long"
2043 instead of "unsigned long" if __x86_64__ is defined.
2044 (user): Likewise. Pad after pointer field if __ILP32__ is
2045 defined.
2046
4e124ced
JM
20472012-05-16 Joseph Myers <joseph@codesourcery.com>
2048
6a3951a0
JM
2049 * configure.in (makeinfo): Require version 4.5 or later. Allow
2050 versions 5 to 9.
2051 * configure: Regenerated.
2052 * manual/install.texi (texinfo): Increase version requirement to
2053 4.5 or later.
2054 * INSTALL: Regenerated.
2055
4e124ced
JM
2056 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
2057
953ca31a
L
20582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2059
2060 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
2061
617aca05
L
2062 * sysdeps/x86_64/x32/ffs.c: New file.
2063
5762f7ae
L
2064 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
2065 __syscall_ulong_t.
2066 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
2067 defined. Use __syscall_ulong_t.
2068 (shminfo): Use __syscall_ulong_t.
2069 (shm_info): Likewise.
2070
a26b6856
L
2071 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
2072 __syscall_ulong_t.
2073
cb2b9ef7
L
2074 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
2075 <bits/wordsize.h>.
2076 (msgqnum_t): Use __syscall_ulong_t.
2077 (msglen_t): Likewise.
2078 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
2079 __syscall_ulong_t.
2080
34683bb0
L
2081 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
2082 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2083
84a68786
L
2084 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
2085
48baa5f1
L
2086 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
2087 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
2088
180be88b
L
2089 * sysvipc/sys/msg.h (msgbuf): Replace long int with
2090 __syscall_slong_t.
2091
5e90c8ad
L
2092 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
2093 include <bits/wordsize.h>. Check __x86_64__ instead of
2094 __WORDSIZE.
2095
23dfb58b
L
2096 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
2097 "unsigned long long int" if __x86_64__ is defined.
2098 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
2099
ce5d54b0
L
2100 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
2101 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2102 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
2103
13dc9eac
L
2104 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
2105 <stdint.h>.
2106 (GET_PC): Cast to uintptr_t first.
2107 (GET_FRAME): Likewise.
2108 (GET_STACK): Likewise.
2109
a7895d15
L
2110 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
2111 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
2112 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
2113 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
2114 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
2115 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
2116 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
2117 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
2118 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2119 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2120 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2121 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2122 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2123 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2124 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2125 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2126 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2127 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2128 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2129 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2130 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2131 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2132 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2133 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2134 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2135 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2136 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2137 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2138 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2139
656416c9
AS
21402012-05-16 Andreas Schwab <schwab@linux-m68k.org>
2141
5bd66283
AS
2142 * Makerules (+depfiles): Also collect depfiles from .oS in
2143 $(extra-objs).
2144 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2145 .oS, $(libnldbl-routines)).
2146
656416c9
AS
2147 * Makerules (native-compile-mkdep-flags): Define.
2148 * sunrpc/Makefile (extra-objs): Add $(addprefix
2149 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2150 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2151 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
2152 calling $(make-target-directory).
2153
a46f2169
L
21542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2155
2156 * bits/types.h (__snseconds_t): Removed.
2157 * time/time.h (struct timespec): Replace __snseconds_t with
2158 __syscall_slong_t.
2159 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2160 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2161 Likewise.
2162 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2163 (__SNSECONDS_T_TYPE): Likewise.
2164 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2165 (__SNSECONDS_T_TYPE): Likewise.
2166 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2167 (__SNSECONDS_T_TYPE): Likewise.
2168
6af6528b
L
21692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2170
2171 * sysdeps/mach/hurd/bits/typesizes.h
2172 (__SYSCALL_SLONG_TYPE): New macro.
2173 (__SYSCALL_ULONG_TYPE): Likewise.
2174
de986b56
L
21752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2176
2177 * bits/types.h (__syscall_slong_t): New type.
2178 (__syscall_ulong_t): Likewise.
2179
2180 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2181 (__SYSCALL_ULONG_TYPE): Likewise.
2182 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2183 (__SYSCALL_SLONG_TYPE): Likewise.
2184 (__SYSCALL_ULONG_TYPE): Likewise.
2185 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2186 (__SYSCALL_SLONG_TYPE): Likewise.
2187 (__SYSCALL_ULONG_TYPE): Likewise.
2188 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2189 (__SYSCALL_SLONG_TYPE): Likewise.
2190 (__SYSCALL_ULONG_TYPE): Likewise.
2191
85736dc7
L
21922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2193
2194 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2195 Add sigaltstack-offsets.sym.
2196 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2197 <sigaltstack-offsets.h>.
2198 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2199 longjmp_msg pointer.
2200 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2201 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2202 signal stack.
2203 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2204
cc03b296
JM
22052012-05-15 Joseph Myers <joseph@codesourcery.com>
2206
a9538892
JM
2207 * elf/stackguard-macros.h: Remove file.
2208 * sysdeps/generic/stackguard-macros.h: New file.
2209 * sysdeps/i386/stackguard-macros.h: Likewise.
2210 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2211 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2212 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2213 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2214 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2215 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2216 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2217 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2218 <elf/stackguard-macros.h>.
2219
cc03b296
JM
2220 [BZ #14109]
2221 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2222 __aligned__ in attribute.
2223 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2224 (gregset_t): Likewise.
2225
93171016
L
22262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2227
2228 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2229 * sysdeps/x86_64/64/Implies-after: Here. New file.
2230 * sysdeps/x86_64/x32/Implies-after: New file.
2231
d86813a0
L
22322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2233
2234 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2235 and access return value for _dl_profile_fixup. Use R10_LP to
2236 load frame size.
2237
2953ec75
L
22382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2239
2240 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2241
3b550e9e
L
22422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2243
2244 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2245 * sysdeps/x86_64/x32/sysdep.h: New file.
2246
eda41706
L
22472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2248
2249 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2250 * sysdeps/x86_64/setjmp.S: Likewise.
2251
9ea01d93
AZ
22522012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2253
2254 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2255 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2256 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2257 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2258 remove unused global constant.
2259
02a91938
CM
22602012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2261
2262 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2263 include of <not-cancel.h>.
2264
6540185f
RM
22652012-05-15 Roland McGrath <roland@hack.frob.com>
2266
2267 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2268
509072a0
AJ
22692012-05-15 Jeff Law <law@redhat.com>
2270 Andreas Jaeger <aj@suse.de>
2271
2272 [BZ #13594]
2273 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2274 out from...
2275 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2276 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2277 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2278 code changing __hst_map_handle.map.
2279
ba75122d
RM
22802012-05-15 Roland McGrath <roland@hack.frob.com>
2281
2282 * configure.in (sysnames): Look for Implies-before and Implies-after
2283 files.
2284 * configure: Regenerated.
2285
890d8bd8
L
22862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2287
2288 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2289 8-byte data alignment with LP_SIZE alignment.
2290
f6ee6623
L
22912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2292
2293 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2294 into R10_LP.
2295
ea2626f6
L
22962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2297
2298 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2299
085f715e
L
23002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2301
2302 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2303 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2304 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2305 Likewise.
2306 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2307
be8498fc
L
23082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2309
2310 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2311 (stackinfo_sub_sp): Likewise.
2312
70bc83b9
L
23132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2314
2315 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2316 RAX_LP.
2317
9bc0b730
L
23182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2319
2320 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2321 into R*_LP.
2322
6d2850e7
L
23232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2324
2325 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2326 sizes into R*_LP.
2327
3cb84561
L
23282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2329
2330 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2331
54e2ed81
L
23322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2333
2334 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2335 into R11_LP and load __x86_64_shared_cache_size_half into
2336 R8_LP.
2337
8a17f349
L
23382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2339
2340 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2341 R8_LP.
2342
777b1eea
AZ
23432012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2344
2345 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2346 logb for POWER7.
2347 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2348 logbf for POWER7.
2349 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2350 logbl for POWER7.
2351 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2352 powerpc32/power7/fpu/s_logb.c via #include.
2353 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2354 powerpc32/power7/fpu/s_logbf.c via #include.
2355 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2356 powerpc32/power7/fpu/s_logbl.c via #include.
2357
d20d4ac2
JM
23582012-05-15 Joseph Myers <joseph@codesourcery.com>
2359
2360 * README.libm: Remove file.
2361
6cdef1ab
L
23622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2363
2364 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2365 count for x32. Use R*_LP and omit operand-size suffix.
2366
0b254d8f
L
23672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2368
2369 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2370 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2371 * sysdeps/x86_64/x32/shlib-versions: New file.
2372
ceb809dc
RM
23732012-05-14 Roland McGrath <roland@hack.frob.com>
2374
2375 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2376 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2377 Use _dl_fatal_printf instead.
2378
37f1abd4
JM
23792012-05-14 Joseph Myers <joseph@codesourcery.com>
2380
2381 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2382 set if not set by the user. Do not allow for being unset.
2383 * sysdeps/unix/sysv/linux/configure: Regenerated.
2384
11de3a33
L
23852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2386
2387 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2388 the `q' suffix from lea and replace .quad with ASM_ADDR.
2389
e02f153a
L
23902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2391
2392 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2393 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2394 instead of $17.
2395 (PTR_DEMANGLE): Likewise.
2396
520ae0fd
L
23972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2398
2399 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2400 (LP_OP): Likewise.
2401 (ASM_ADDR): Likewise.
2402 (RAX_LP): Likewise.
2403 (RBP_LP): Likewise.
2404 (RBX_LP): Likewise.
2405 (RCX_LP): Likewise.
2406 (RDI_LP): Likewise.
2407 (RSI_LP): Likewise.
2408 (RSP_LP): Likewise.
2409 (R8_LP): Likewise.
2410 (R9_LP): Likewise.
2411 (R10_LP): Likewise.
2412 (R10_LP): Likewise.
2413 (R11_LP): Likewise.
2414 (R12_LP): Likewise.
2415 (R13_LP): Likewise.
2416 (R14_LP): Likewise.
2417 (R15_LP): Likewise.
2418
b985be81
L
24192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2420
2421 * sysdeps/x86_64/x32/dl-machine.h: New file.
2422
6a4888ff
AJ
24232012-05-14 Andreas Jaeger <aj@suse.de>
2424
2425 * manual/Makefile (subdir): Remove export of subdir.
2426 (all): Remove target.
2427 (.PHONY): Remove all from list.
2428 (mkinstalldirs): Remove.
2429 (.PHONY): Remove installdirs from list.
2430 ($(inst_infodir)/libc.info): Use make-target-directory.
2431 (installdirs): Remove.
2432 (subdir_%): Remove.
2433 (glibc-targets): Remove.
2434 (lib): Remove.
2435 (stubs): Remove.
2436 ($(objpfx)stubs ../po/manual.pot): Remove.
2437 ($(objpfx)stamp%): Remove.
2438 (make-target-directory): Remove.
2439 (subdir_install): Remove.
2440 (routines): Remove.
2441 (aux): Remove.
2442 (sources): Remove.
2443 (objects): Remove.
2444 (headers): Remove.
2445
2446 [BZ #13750]
2447 * manual/.gitignore: Remove, it's not needed anymore.
2448 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2449 all files in it.
2450 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2451 directory.
2452 (texis): Renamed to $(objpfx)texis.
2453 (texis-path): New, contains path to generated files.
2454 (chapters.%): Use texis-path for complete path, add extra argument
2455 libc-texinfo.sh.
2456 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2457 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2458 (summary,texi, stamp-summary): Use complete path of
2459 files. Generate files in build dir.
2460 (dir-add.texi): Build in build dir.
2461 (libm-err.texi,stamp-libm-err): Likewise.
2462 (version.texi, stamp-version): Likewise.
2463 (.%c.texi): Likewise.
2464 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2465 (mostlyclean): Remove target.
2466 (realclean): Remove target.
2467 (generated): Add new variable with contents from mostlyclean and
2468 realclean, remove entries duplicated in common-mostlyclean, add
2469 stamp-libm-err and stamp-version.
2470 (generated-dirs): Add libc directory.
2471 ($(inst_infodir)/libc.info): Install files from build dir.
2472
2473 * manual/install.texi (Configuring and compiling): Adjust since
2474 the info files are not part of the tar ball anymore.
2475
7ac77294
AJ
24762012-05-14 Andreas Jaeger <aj@suse.de>
2477
2478 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2479 variable.
2480
ffb7875d
JM
24812012-05-14 Joseph Myers <joseph@codesourcery.com>
2482
2483 [BZ #13717]
2484 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2485 to 2.2.0 where earlier.
2486 * sysdeps/unix/sysv/linux/configure: Regenerated.
2487 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2488 Remove conditional code.
2489 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2490 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2491 Remove conditional code.
2492 [!__NR_lchown]: Likewise.
2493 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2494 [__NR_lchown]: Likewise.
2495 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2496 comment referencing __ASSUME_LCHOWN_SYSCALL.
2497 * sysdeps/unix/sysv/linux/i386/sigaction.c
2498 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2499 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2500 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2501 Remove conditional code.
2502 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2503 (__protocol_available): Remove #if 0 code.
2504 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2505 conditional code.
2506 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2507 * sysdeps/unix/sysv/linux/kernel-features.h
2508 (__ASSUME_GETCWD_SYSCALL): Don't define.
2509 (__ASSUME_REALTIME_SIGNALS): Likewise.
2510 (__ASSUME_PREAD_SYSCALL): Likewise.
2511 (__ASSUME_PWRITE_SYSCALL): Likewise.
2512 (__ASSUME_POLL_SYSCALL): Likewise.
2513 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2514 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2515 non-SPARC.
2516 (__ASSUME_SIOCGIFNAME): Don't define.
2517 (__ASSUME_MSG_NOSIGNAL): Likewise.
2518 (__ASSUME_SENDFILE): Define unconditionally.
2519 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2520 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2521 conditional code.
2522 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2523 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2524 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2525 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2526 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2527 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2528 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2530 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2531 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2533 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2534 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2536 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2537 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2539 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2540 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2542 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2543 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2545 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2546 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2548 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2549 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2551 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2552 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2553 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2554 Remove conditional code.
2555 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2556 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2557 Remove conditional code.
2558 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2559 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2560 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2561 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2562 Remove conditional code.
2563 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2564 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2565 Remove conditional code.
2566 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2567 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2568 Remove conditional code.
2569 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2570 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2571 Remove conditional code.
2572 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2573 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2574 Remove conditional code.
2575 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2576 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2577 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2578 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2579 * sysdeps/unix/sysv/linux/sigaction.c
2580 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2581 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2582 * sysdeps/unix/sysv/linux/sigpending.c
2583 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2584 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2585 * sysdeps/unix/sysv/linux/sigprocmask.c
2586 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2587 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2588 * sysdeps/unix/sysv/linux/sigsuspend.c
2589 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2590 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2591 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2592 (__libc_missing_rt_sigs): Remove.
2593 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2594 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2595 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2596 Remove conditional code.
2597 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2598 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2599 return 1.
2600 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2601 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2602 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2603 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2604
1bfb7291
AJ
26052012-05-14 Andreas Jaeger <aj@suse.de>
2606
caae5a81
AJ
2607 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2608 it's not used in glibc.
2609 (__coshm1): Likewise.
2610 (__acosh1p): Likewise.
2611 (__sgn): Likewise.
2612
1bfb7291
AJ
2613 * manual/string.texi (Copying and Concatenation): Add missing
2614 variable in concat example.
2615 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2616
c044d724
L
26172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2618
144c5467 2619 [BZ #14103]
c044d724
L
2620 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2621 __builtin_clzl with __builtin_clzll.
2622
2523c62b
L
26232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2624
2625 [BZ #14104]
2626 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2627 libc_freeres_ptr.
2628
d7bb4c42
LD
26292012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2630
2631 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2632 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2633 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2634 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2635
9dc4e1fb
MF
26362012-05-14 Mike Frysinger <vapier@gentoo.org>
2637
2638 * NEWS: Update ia64 info.
2639
c7df0112
AS
26402012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2641
2642 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2643 used as bcopy.
2644
dc70356c
TS
26452012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2646
2647 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2648 * sysdeps/unix/syscalls.list (dup3): Likewise.
2649 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2650 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2651
9fb1a21f
L
26522012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2653
2654 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2655 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2656
4822a2a5
L
26572012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2658
2659 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2660 thread pointer.
2661 (TLS_IE): Use mov/add instead of movq/addq to load thread
2662 pointer.
2663 (TLS_GD_PREFIX): New.
2664 (TLS_GD): Use it.
2665
842b81d6
DM
26662012-05-11 David S. Miller <davem@davemloft.net>
2667
2668 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2669 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2670 (_FPU_SETCW): Likewise.
2671
1cf463cd
L
26722012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2673
2674 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2675 is 32-byte aligned.
2676
60cc4a18
AS
26772012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2678
2679 [BZ #11837]
2680 * iconvdata/gb18030.c: Update tables.
2681 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2682 characters specially.
2683 (BODY for TO_LOOP): Add encoding of missing ranges.
2684
febb44a4
TS
26852012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2686
2687 [BZ #13673]
2688 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2689 * sysdeps/mach/hurd/dup3.c: Likewise.
2690 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2691 * sysdeps/powerpc/memmove.c:: Likewise.
2692
0a10fb9e
L
26932012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2694
2695 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2696 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2697
df8a552f
L
26982012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2699
2700 * elf/elf.h (R_X86_64_RELATIVE64): New.
2701 (R_X86_64_NUM): Updated.
2702 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2703 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2704 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2705 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2706 tst-quad1pie tst-quad2pie
2707 (modules-names): Add tst-quadmod1 tst-quadmod2.
2708 ($(objpfx)tst-quad1): New dependency.
2709 ($(objpfx)tst-quad2): Likewise.
2710 ($(objpfx)tst-quad1pie): Likewise.
2711 ($(objpfx)tst-quad2pie): Likewise.
2712 * sysdeps/x86_64/tst-quad1.c: New file.
2713 * sysdeps/x86_64/tst-quad1pie.c: New file.
2714 * sysdeps/x86_64/tst-quad2.c: Likewise.
2715 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2716 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2717 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2718 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2719 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2720
f34d6f84
ST
27212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2722
f42d41d1
ST
2723 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2724 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2725 * streams/stropts.h (t_scalar_t): Define type.
2726
3c3571fc
ST
2727 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2728 (_PATH_PRESERVE): Set to "/var/lib".
2729 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2730
61f06bd3
ST
2731 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2732 instead of int.
2733
918d4d71
ST
2734 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2735 if __dir_mkfile succeeded.
2736
f34d6f84
ST
2737 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2738 checking for _hurd_dtablesize. Unlock it right after having
2739 finished _hurd_dtable allocation.
2740
10589b4a
TS
27412012-05-10 Thomas Schwinge <thomas@schwinge.name>
2742
674cdbc7
TS
2743 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2744 * sysdeps/mach/hurd/configure: Regenerated.
2745 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2746 special-casing to...
2747 * sysdeps/gnu/configure.in: ... this new file.
2748 * sysdeps/unix/sysv/linux/configure: Regenerated.
2749 * sysdeps/gnu/configure: New generated file.
2750
8e41b99f
TS
2751 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2752 for Linux: use nsec instead of usec, as well as:
2753 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2754 members of type struct timespec.
2755 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2756 New macros.
2757 (struct stat64): Likewise.
2758 (_STATBUF_ST_NSEC): New macro.
2759 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2760
10589b4a
TS
2761 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2762 __strtoul_internal rather than strtoul.
2763
63643c85
PT
27642012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2765
2766 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2767 and reject them.
2768
3faebe6a
ST
27692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2770
2771 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2772 which preserves existing values.
2773 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2774
c6474b07
PT
27752012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2776
2777 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2778 TIMEOUT values. Return EINVAL for NFDS values either negative or
2779 greater than FD_SETSIZE.
2780
1043890b
ST
27812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2782
2783 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2784 allocated, call __vm_protect to finish enabling the existing space, and
2785 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2786 allocate the remainder.
2787
37ed8b9b
PT
27882012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2789
2790 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2791 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2792
db653660
ST
27932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2794
37ed8b9b
PT
2795 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2796 sysdeps/mach/hurd/readlink.c.
b29d4053 2797
db653660
ST
2798 * posix/tst-sysconf.c (posix_options): Only use
2799 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2800 _POSIX_SYNCHRONIZED_IO when they are defined
2801 * sysdeps/mach/hurd/bits/posix_opt.h:
2802 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2803 (_XOPEN_REALTIME): Undefine macro.
2804 (_XOPEN_REALTIME_THREADS): Undefine macro.
2805 (_XOPEN_SHM): Undefine macro.
2806 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2807 macro to -1.
2808 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2809 macro to -1.
2810 (_POSIX_ASYNC_IO): Undefine macro.
2811 (_POSIX_PRIORITIZED_IO): Undefine macro.
2812 (_POSIX_SPIN_LOCKS): Define macro to -1.
2813
ee16e894
ST
2814 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2815 SA_NODEFER, SA_RESETHAND.
2816 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2817 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2818 F_DUPFD_CLOEXEC.
2819
6103ae3b
TS
28202012-05-10 Thomas Schwinge <thomas@schwinge.name>
2821
2822 * elf/Makefile (pldd-modules): Define unconditionally.
2823
80b4e5f3
TS
28242012-05-10 Thomas Schwinge <thomas@schwinge.name>
2825
2826 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2827
edadcbd6
ST
28282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2829
2830 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2831 Return ENOENT when name is empty.
2832 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2833
80694780
TS
28342012-05-10 Thomas Schwinge <thomas@schwinge.name>
2835
1792c087
TS
2836 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2837
80694780
TS
2838 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2839
6b645f0d
ST
28402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2841
80694780
TS
2842 Fix mlock in all cases except non-readable pages.
2843 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2844 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 2845
6b645f0d
ST
2846 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2847 (__mkdir): When path is `/', just fail with EEXIST.
2848 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2849
e468f8a3
TS
28502012-05-10 Thomas Schwinge <thomas@schwinge.name>
2851
2852 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2853 <sys/uio.h> (for writev).
2854 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2855 and <sys/param.h> (for MIN).
2856
a4186cff
PT
28572012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2858
2859 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2860 REQUESTED_TIME. Properly set the remaining time and return EINTR
2861 if interrupted.
2862
510bbf14
TS
28632012-05-10 Thomas Schwinge <thomas@schwinge.name>
2864
2865 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2866 Depend on against $(link-rpcuserlibs).
2867
5d5722e8
ST
28682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2869
a4186cff
PT
2870 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2871 (__libc_stack_end): Do not use attribute_relro.
2872 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2873 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 2874 to libthread-provided value.
a4186cff
PT
2875 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2876 attribute_relro.
5d5722e8 2877
37233df9
TS
28782012-05-10 Thomas Schwinge <thomas@schwinge.name>
2879
be971a2b
TS
2880 [BZ #3748]
2881 * bits/libc-lock.h (__libc_once_get): New macro.
2882 * sysdeps/mach/bits/libc-lock.h: Likewise.
2883 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2884 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2885 instead of using implementation details.
2886
37233df9
TS
2887 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2888 * libio/freopen.c: Likewise.
2889 * libio/freopen64.c: Likewise.
2890 * misc/syslog.c: Likewise.
2891 * nscd/connections.c: Likewise.
2892 * nscd/netgroupcache.c: Likewise.
2893 * sysdeps/posix/getcwd.c: Likewise.
2894
38de94a5
RM
28952012-05-10 Roland McGrath <roland@hack.frob.com>
2896
2897 * math/w_ilogbf.c: Add #include <limits.h>.
2898
67530489
ST
28992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2900
a4186cff 2901 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
2902 path instead of returning without unlocking.
2903
67530489
ST
2904 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2905 immediate-write ioctls.
2906 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2907
5aa3a74a
TS
29082012-05-10 Thomas Schwinge <thomas@schwinge.name>
2909
18bad2ae
TS
2910 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2911 __builtin_frame_address instead of making assumptions about the
2912 location of the return address relative to DATA. Force early load of
2913 the return address.
2914 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2915 __builtin_frame_address.
2916
5aa3a74a
TS
2917 dup3 for GNU Hurd.
2918 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2919 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2920 implement dup3 and do some further code clean-ups.
2921 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2922 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2923
ecd0de9a
ST
29242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2925
cd9fa985
ST
2926 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2927
a4186cff
PT
2928 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2929 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2930 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2931 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2932 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2933 d->port.lock.
802ca5a5 2934
a4186cff
PT
2935 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2936 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2937 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 2938
bcf55240
TS
29392012-05-10 Thomas Schwinge <thomas@schwinge.name>
2940
6960eb42
TS
2941 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2942 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2943 definitions.
2944
eb43375f
TS
2945 accept4 for GNU Hurd.
2946 * include/sys/socket.h (__libc_accept4): New prototype.
2947 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2948 to implement __libc_accept4.
2949 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2950 __libc_accept4.
2951 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2952
bcf55240
TS
2953 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2954 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2955 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2956 signal-defines.sym.
2957
6178c55b
ST
29582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2959
a4186cff 2960 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 2961
6f080c2f
TS
29622012-05-10 Thomas Schwinge <thomas@schwinge.name>
2963
2964 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2965 assertion on O_CLOEXEC flag.
2966 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2967 * hurd/intern-fd.c: Likewise.
2968 * hurd/port2fd.c: Likewise.
2969
bcfe3a54
ST
29702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2971
2972 [BZ #3906]
2973 * bits/in.h (IPV6_PKTINFO): Define new macro.
2974 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2975
89c9aa49
AZ
29762012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2977
2978 [BZ #13954]
2979 [BZ #13955]
2980 [BZ #13956]
2981 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2982 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2983 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2984 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2985 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2986 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2987 * math/libm-test.inc (logb_test) : Additional logb tests.
2988
021db4be
AJ
29892012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2990 Andreas Jaeger <aj@suse.de>
2991
2992 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2993 * configure: Regenerated.
2994 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2995 * config.make.in (link-obsolete-rpc): New substituted variable.
2996 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2997 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2998 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2999 (shared-only-routines): Don't set it under [link-obsolete-rpc],
3000 so that libc.a contains the symbols.
3001 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3002 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
3003 * sunrpc/auth_none.c: Likewise.
3004 * sunrpc/auth_unix.c: Likewise.
3005 * sunrpc/authdes_prot.c: Likewise.
3006 * sunrpc/authuxprot.c: Likewise.
3007 * sunrpc/clnt_gen.c: Likewise.
3008 * sunrpc/clnt_perr.c: Likewise.
3009 * sunrpc/clnt_raw.c: Likewise.
3010 * sunrpc/clnt_simp.c: Likewise.
3011 * sunrpc/clnt_tcp.c: Likewise.
3012 * sunrpc/clnt_udp.c: Likewise.
3013 * sunrpc/clnt_unix.c: Likewise.
3014 * sunrpc/des_crypt.c: Likewise.
3015 * sunrpc/des_soft.c: Likewise.
3016 * sunrpc/get_myaddr.c: Likewise.
3017 * sunrpc/key_call.c: Likewise.
3018 * sunrpc/key_prot.c: Likewise.
3019 * sunrpc/netname.c: Likewise.
3020 * sunrpc/pm_getmaps.c: Likewise.
3021 * sunrpc/pm_getport.c: Likewise.
3022 * sunrpc/pmap_clnt.c: Likewise.
3023 * sunrpc/pmap_prot.c: Likewise.
3024 * sunrpc/pmap_prot2.c: Likewise.
3025 * sunrpc/pmap_rmt.c: Likewise.
3026 * sunrpc/publickey.c: Likewise.
3027 * sunrpc/rpc_cmsg.c: Likewise.
3028 * sunrpc/rpc_common.c: Likewise.
3029 * sunrpc/rpc_dtable.c: Likewise.
3030 * sunrpc/rpc_prot.c: Likewise.
3031 * sunrpc/rpc_thread.c: Likewise.
3032 * sunrpc/rtime.c: Likewise.
3033 * sunrpc/svc.c: Likewise.
3034 * sunrpc/svc_auth.c: Likewise.
3035 * sunrpc/svc_raw.c: Likewise.
3036 * sunrpc/svc_run.c: Likewise.
3037 * sunrpc/svc_tcp.c: Likewise.
3038 * sunrpc/svc_udp.c: Likewise.
3039 * sunrpc/svc_unix.c: Likewise.
3040 * sunrpc/svcauth_des.c: Likewise.
3041 * sunrpc/xcrypt.c: Likewise.
3042 * sunrpc/xdr.c: Likewise.
3043 * sunrpc/xdr_array.c: Likewise.
3044 * sunrpc/xdr_float.c: Likewise.
3045 * sunrpc/xdr_intXX_t.c: Likewise.
3046 * sunrpc/xdr_mem.c: Likewise.
3047 * sunrpc/xdr_rec.c: Likewise.
3048 * sunrpc/xdr_ref.c: Likewise.
3049 * sunrpc/xdr_sizeof.c: Likewise.
3050 * sunrpc/xdr_stdio.c: Likewise.
3051
b5c086a2
RM
30522012-05-10 Roland McGrath <roland@hack.frob.com>
3053
3054 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
3055 change. Update copyright years.
3056
6d74dd09
JM
30572012-05-10 Joseph Myers <joseph@codesourcery.com>
3058
3059 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
3060
28e72501
MK
30612012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
3062 Joseph Myers <joseph@codesourcery.com>
3063 Paul Pluzhnikov <ppluzhnikov@google.com>
3064
3065 [BZ #14012]
3066 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
3067 requiring rpcgen.
3068 [cross-compiling] (extra-libs): Likewise.
3069 [cross-compiling] (extra-libs-others): Likewise.
3070 [cross-compiling] (librpcsvc-routines): Likewise.
3071 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
3072 [cross-compiling] (omit-deps): Likewise.
3073 (sunrpc-CPPFLAGS): New variable.
3074 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
3075 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
3076 (cross-rpcgen-objs): New variable.
3077 (extra-objs): Append $(cross-rpcgen-objs).
3078 ($(cross-rpcgen-objs)): New rule.
3079 ($(objpfx)cross-rpcgen): Likewise.
3080 (rpcgen-cmd): Define to use $(built-program-file). Expand
3081 comment.
3082 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
3083 ($(objpfx)x%.stmp): Likewise.
3084 * sunrpc/proto.h [IS_IN_build] (_): Define.
3085 [IS_IN_build] (_libc_intl_domainname): Likewise.
3086
c8c59454
L
30872012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3088
3089 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
3090 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
3091 and R_X86_64_TPOFF64.
3092
6f27cd16
JM
30932012-05-10 Joseph Myers <joseph@codesourcery.com>
3094
3095 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
3096 sysdeps/unix/sysv/syscalls.list.
3097 (stime): Likewise.
3098 (utime): Likewise.
3099 * sysdeps/unix/sysv/syscalls.list: Remove file.
3100
02467e1c
PE
31012012-05-10 Paul Eggert <eggert@cs.ucla.edu>
3102
3103 [BZ #3440]
3104 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
3105 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
3106 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
3107 (__LC_IDENTIFICATION): Make these macros useful in #if
3108 expressions, as required by C99.
3109
da392631
AS
31102012-05-10 Andreas Schwab <schwab@linux-m68k.org>
3111
3112 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
3113 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
3114 after this.
3115
8115f29b
L
31162012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3117
3118 * stdlib/longlong.h: Updated from GCC.
3119
bdd74070
AJ
31202012-05-09 Andreas Jaeger <aj@suse.de>
3121
edfe0dbe
AJ
3122 * nscd/nscd.c (run_modes): Make named enum, reorder so that
3123 default is first entry.
3124 (run_mode): Set type.
3125 (main): Remove informal message about syslog.
3126 (options): Fix typo.
3127
bcfe3a54
ST
3128 [BZ #14053]
3129 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 3130 to asm.
bcfe3a54
ST
3131 (lrint): Likewise.
3132 (llrintf): Likewise.
3133 (llrint): Likewise.
3134 (rint): Likewise.
3135 (rintf): Likewise.
3136 (nearbyint): Likewise.
3137 (nearbyintf): Likewise.
bdd74070 3138
91d8d69e
AJ
31392012-05-09 Andreas Jaeger <aj@suse.de>
3140 Pedro Alves <palves@redhat.com>
3141
3142 * nscd/nscd.c (run_mode): Use enum.
3143 (main): Cleanup coding style issue.
3144
bb90b80b
AJ
31452012-05-09 Alexandre Oliva <aoliva@redhat.com>
3146 Andreas Jaeger <aj@suse.de>
3147
bcfe3a54
ST
3148 * nscd/nscd.c (go_background): Replaced with...
3149 (run_mode): ... this.
bb90b80b 3150 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
3151 (options): Add -F --foreground.
3152 (main): Implement it.
3153 (parse_opt): Parse it.
bb90b80b 3154
1a4b75a1
AJ
31552012-05-09 Andreas Jaeger <aj@suse.de>
3156
3157 [BZ #14083]
3158 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3159 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3160 -Wconversion warning.
3161 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3162 Likewise.
3163
b1cc2472
JM
31642012-05-09 Joseph Myers <joseph@codesourcery.com>
3165
3166 * conform/data/locale.h-data (NULL): Use macro-constant. Require
3167 == 0.
3168 (LC_ALL): Use macro-int-constant.
3169 (LC_COLLATE): Likewise.
3170 (LC_CTYPE): Likewise.
3171 (LC_MESSAGES): Likewise.
3172 (LC_MONETARY): Likewise.
3173 (LC_NUMERIC): Likewise.
3174 (LC_TIME): Likewise.
3175 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3176 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3177 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3178 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3179 Specify type.
3180 [C99-based standards] (float_t): Expect type.
3181 [C99-based standards] (double_t): Expect type.
3182 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3183 type.
3184 [C99-based standards] (HUGE_VALL): Likewise.
3185 [C99-based standards] (INFINITY): Likewise.
3186 [C99-based standards] (NAN): Likewise.
3187 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3188 [C99-based standards] (FP_NAN): Likewise.
3189 [C99-based standards] (FP_NORMAL): Likewise.
3190 [C99-based standards] (FP_SUBNORMAL): Likewise.
3191 [C99-based standards] (FP_ZERO): Likewise.
3192 [C99-based standards] (FP_FAST_FMA): Use
3193 optional-macro-int-constant. Specify type. Require == 1.
3194 [C99-based standards] (FP_FAST_FMAF): Likewise.
3195 [C99-based standards] (FP_FAST_FMAL): Likewise.
3196 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3197 [C99-based standards] (FP_ILOGBNAN): Likewise.
3198 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3199 Specify type.
3200 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3201 [C99-based standards] (math_errhandling): Specify type.
3202 [ISO99 || ISO11] (signgam): Do not allow.
3203 [non-C99-based standards] (copysignf): Do not allow.
3204 [non-C99-based standards] (exp2f): Likewise.
3205 [non-C99-based standards] (log2f): Likewise.
3206 [non-C99-based standards] (modff): Allow.
3207 [non-C99-based standards] (erff): Do not allow.
3208 [non-C99-based standards] (erfcf): Likewise.
3209 [non-C99-based standards] (gammaf): Likewise.
3210 [non-C99-based standards] (hypotf): Likewise.
3211 [non-C99-based standards] (j0f): Likewise.
3212 [non-C99-based standards] (j1f): Likewise.
3213 [non-C99-based standards] (jnf): Likewise.
3214 [non-C99-based standards] (lgammaf): Likewise.
3215 [non-C99-based standards] (tgammaf): Likewise.
3216 [non-C99-based standards] (y0f): Likewise.
3217 [non-C99-based standards] (y1f): Likewise.
3218 [non-C99-based standards] (ynf): Likewise.
3219 [non-C99-based standards] (isnanf): Likewise.
3220 [non-C99-based standards] (acoshf): Likewise.
3221 [non-C99-based standards] (asinhf): Likewise.
3222 [non-C99-based standards] (atanhf): Likewise.
3223 [non-C99-based standards] (cbrtf): Likewise.
3224 [non-C99-based standards] (expm1f): Likewise.
3225 [non-C99-based standards] (ilogbf): Likewise.
3226 [non-C99-based standards] (log1pf): Likewise.
3227 [non-C99-based standards] (logbf): Likewise.
3228 [non-C99-based standards] (nextafterf): Likewise.
3229 [non-C99-based standards] (remainderf): Likewise.
3230 [non-C99-based standards] (rintf): Likewise.
3231 [non-C99-based standards] (scalbf): Likewise.
3232 [non-C99-based standards] (copysignl): Likewise.
3233 [non-C99-based standards] (exp2l): Likewise.
3234 [non-C99-based standards] (log2l): Likewise.
3235 [non-C99-based standards] (modfl): Allow.
3236 [non-C99-based standards] (erfl): Do not allow.
3237 [non-C99-based standards] (erfcl): Likewise.
3238 [non-C99-based standards] (gammal): Likewise.
3239 [non-C99-based standards] (hypotl): Likewise.
3240 [non-C99-based standards] (j0l): Likewise.
3241 [non-C99-based standards] (j1l): Likewise.
3242 [non-C99-based standards] (jnl): Likewise.
3243 [non-C99-based standards] (lgammal): Likewise.
3244 [non-C99-based standards] (tgammal): Likewise.
3245 [non-C99-based standards] (y0l): Likewise.
3246 [non-C99-based standards] (y1l): Likewise.
3247 [non-C99-based standards] (ynl): Likewise.
3248 [non-C99-based standards] (isnanl): Likewise.
3249 [non-C99-based standards] (acoshl): Likewise.
3250 [non-C99-based standards] (asinhl): Likewise.
3251 [non-C99-based standards] (atanhl): Likewise.
3252 [non-C99-based standards] (cbrtl): Likewise.
3253 [non-C99-based standards] (expm1l): Likewise.
3254 [non-C99-based standards] (ilogbl): Likewise.
3255 [non-C99-based standards] (log1pl): Likewise.
3256 [non-C99-based standards] (logbl): Likewise.
3257 [non-C99-based standards] (nextafterl): Likewise.
3258 [non-C99-based standards] (remainderl): Likewise.
3259 [non-C99-based standards] (rintl): Likewise.
3260 [non-C99-based standards] (scalbl): Likewise.
3261 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3262 [non-C99-based standards] (FP_*): Do not allow.
3263 [C99-based standards] (FP_*): Change to
3264 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3265 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3266 allow.
3267 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3268 (SIG_ERR): Likewise.
3269 [X/Open-based standards] (SIG_HOLD): Likewise.
3270 (SIG_IGN): Likewise.
3271 (SIGABRT): Use macro-int-constant. Specify type. Require
3272 positive value.
3273 (SIGFPE): Likewise.
3274 (SIGILL): Likewise.
3275 (SIGINT): Likewise.
3276 (SIGSEGV): Likewise.
3277 (SIGTER): Likewise.
3278 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3279 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3280 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3281 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3282 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3283 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3284 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3285 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3286 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3287 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3288 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3289 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3290 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3291 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3292 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3293 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3294 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3295 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3296 [X/Open-based standards] (SIGTRAP): Likewise.
3297 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3298 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3299 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3300 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3301 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3302 allow.
3303
b9f1922d
IW
33042012-05-08 Ian Wienand <ianw@vmware.com>
3305
3306 [BZ #14080]
3307 * time/tzset.c (__tzset_parse_tz): Update default rules for
3308 daylight time changes in the Energy Policy Act of 2005.
3309
1db86e88
AJ
33102012-05-09 Andreas Jaeger <aj@suse.de>
3311
3312 [BZ #13983]
3313 * elf/ldconfig.c (parse_conf): Change string to make clear that
3314 ldconfig only issued a warning if ld.so.conf does not exist.
3315
dee4a4e3
DM
33162012-05-08 David S. Miller <davem@davemloft.net>
3317
ee0db190
DM
3318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3319 movxtod instead of popping the value on the stack.
3320
dee4a4e3
DM
3321 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3322
6a43ec98
CD
33232012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3324
3325 * config.h.in: Add HAVE_ARM_PCS_VFP.
3326
05c2c961
RMG
33272012-05-08 Roland Mc Grath <roland@hack.frob.com>
3328
bcfe3a54
ST
3329 [BZ #13979]
3330 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3331 checking but the checks are disabled for any reason.
05c2c961 3332
4b30f61a
L
33332012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3334
3335 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3336 and ELF64_R_TYPE with ELFW(R_TYPE).
3337
eee2bc67
JM
33382012-05-08 Joseph Myers <joseph@codesourcery.com>
3339
7ea5391a
JM
3340 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3341 (ulimit): Likewise.
3342
eee2bc67
JM
3343 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3344 (settimeofday): Likewise.
3345
abb66a67
MF
33462012-05-08 Mike Frysinger <vapier@gentoo.org>
3347
3348 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3349 a struct th_u2 inside the union, and move tu_block/tu_code into
3350 a new th_u3 union of tu_block/tu_code inside of that. Move
3351 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3352 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3353 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3354 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3355 (th_stuff): Change to th_u1.tu_stuff.
3356 (th_data): Define.
3357 (th_msg): Change to th_u1.th_u2.tu_data.
3358
7f18b530
DM
33592012-05-07 David S. Miller <davem@davemloft.net>
3360
05760585
DM
3361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3362
7f18b530
DM
3363 [BZ #14074]
3364 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3365 (SETUP_PIC_REG): Use it.
3366 (SETUP_PIC_REG_LEAF): Use it.
3367
495fd99f
JM
33682012-05-07 Joseph Myers <joseph@codesourcery.com>
3369
3370 [BZ #13885]
3371 [BZ #13923]
3372 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3373 USE_AS_EXPM1L.
3374 (EXPL_FINITE): Likewise.
3375 (FLDLOG): Likewise.
3376 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3377 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3378 e_expl.S.
3379 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3380 USE_AS_EXPM1L.
3381 (EXPL_FINITE): Likewise.
3382 (FLDLOG): Likewise.
3383 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3384 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3385 e_expl.S.
3386 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3387 test of -max_value argument for long double.
3388 * sysdeps/i386/fpu/libm-test-ulps: Update.
3389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3390
6693d694
DM
33912012-05-06 David S. Miller <davem@davemloft.net>
3392
3393 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3394 quad soft-float symbols whose references which are compiler
3395 generated.
3396 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3397
6c23e11c
JM
33982012-05-06 Joseph Myers <joseph@codesourcery.com>
3399
d8b82cad
JM
3400 [BZ #13884]
3401 [BZ #13914]
3402 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3403 USE_AS_EXP10L.
3404 (EXPL_FINITE): Likewise.
3405 (FLDLOG): Likewise.
3406 (c0): Likewise.
3407 (c1): Likewise.
3408 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3409 Adjust comments for base varying.
3410 (__expl_finite): Change alias to EXPL_FINITE.
3411 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3412 e_expl.S.
3413 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3414 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3415 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3416 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3417 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3418 USE_AS_EXP10L.
3419 (EXPL_FINITE): Likewise.
3420 (FLDLOG): Likewise.
3421 (c0): Likewise.
3422 (c1): Likewise.
3423 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3424 Adjust comments for base varying.
3425 (__expl_finite): Change alias to EXPL_FINITE.
3426 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3427 tests for bugs.
3428 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3429
6c23e11c
JM
3430 [BZ #14064]
3431 * math/libm-test.inc (check_float_internal): Correct ulp
3432 calculation for subnormal expected results.
3433
29ba805c
AJ
34342012-05-06 Andreas Jaeger <aj@suse.de>
3435
3436 * Makeconfig (+math-flags): New, set to -frounding-math.
3437 (+cflags): Add +math-flags so that all of glibc gets compiled with
3438 it.
3439
3440 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3441
7b17aeda
JM
34422012-05-05 Joseph Myers <joseph@codesourcery.com>
3443
5779f134
JM
3444 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3445 Disable one test.
3446
41498f4d
JM
3447 [BZ #13787]
3448 [BZ #13922]
3449 [BZ #14036]
3450 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3451 (__ieee754_expl): Allow for and saturate large arguments.
3452 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3453 (u_threshold): Likewise.
3454 (__exp): Call __ieee754_exp before checking for overflow and
3455 underflow.
3456 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3457 (u_threshold): Likewise.
3458 (__expf): Call __ieee754_expf before checking for overflow and
3459 underflow.
3460 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3461 (u_threshold): Likewise.
3462 (__expl): Call __ieee754_expl before checking for overflow and
3463 underflow.
3464 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3465 (__ieee754_expl): Allow for and saturate large arguments.
3466 * math/libm-test.inc (exp_test): Add another test. Do not allow
3467 missing overflow exception on overflow.
3468 (expm1_test): Do not allow missing overflow exception on overflow.
3469
6698b8bf
JM
3470 * sysdeps/i386/fpu/e_expl.c: Move to ...
3471 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3472 rather than using inline asm.
3473 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3474 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3475 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3476
7b17aeda
JM
3477 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3478 (nice): Likewise.
3479 (poll): Likewise.
3480 (signal): Likewise.
3481 (time): Likewise.
3482 (times): Likewise.
3483
f7c85819
JM
34842012-05-04 Joseph Myers <joseph@codesourcery.com>
3485
3486 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3487 sysdeps/unix/common/syscalls.list.
3488 (fchmod): Likewise.
3489 (fchown): Likewise.
3490 (ftruncate): Likewise.
3491 (getrusage): Likewise.
3492 (gettimeofday): Likewise.
3493 (setpgid): Likewise.
3494 (setregid): Likewise.
3495 (setreuid): Likewise.
3496 (sigaction): Likewise.
3497 (truncate): Likewise.
3498 (vhangup): Likewise.
3499 * sysdeps/unix/common/syscalls.list: Remove file.
3500 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3501 * sysdeps/unix/sysv/linux/Implies: Likewise.
3502
336270d0
L
35032012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3504
3505 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3506 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3507 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3508 Moved to ...
3509 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3510 Here.
3511 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3512 to ...
3513 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3514 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3515 to ...
3516 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3517 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3518 to ...
3519 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3520 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3521 to ...
3522 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3523 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3524 to ...
3525 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3526 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3527 to ...
3528 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3529 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3530 to ...
3531 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3532 Here.
3533 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3534 to ...
3535 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3536 Here.
3537 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3538 to ...
3539 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3540 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3541 Moved to ...
3542 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3543 Here.
3544 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3545 to ...
3546 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3547
d128e450
JM
35482012-05-04 Joseph Myers <joseph@codesourcery.com>
3549
fa8ee516
JM
3550 * sysdeps/unix/common/bits/dirent.h: Remove file.
3551 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3552
d128e450
JM
3553 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3554 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3555 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3556 * sysdeps/unix/bsd/isatty.c: Likewise.
3557 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3558 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3559 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3560
ff8faaf0 35612012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 3562
62881be4 3563 [BZ #13563]
31dc8730
AZ
3564 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3565 long double comparison inaccuracies.
3566 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3567 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3568
6fef930c
AS
35692012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3570
3571 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3572 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3573
8f203e6c
JM
35742012-05-04 Joseph Myers <joseph@codesourcery.com>
3575
3576 [BZ #14049]
3577 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3578 nonzero digits before rounding a hex value.
3579 * stdlib/tst-strtod.c (tests): Add another test.
3580
5197d9c2
AK
35812012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3582
3583 * sysdeps/s390/fpu/libm-test-ulps: Update.
3584
f0c1dedf
AJ
35852012-05-03 Andreas Jaeger <aj@suse.de>
3586
3587 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3588 does not get optimized out.
3589 (malloc_opt_barrier): New.
3590
a65ef2ae 35912012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 3592 Roland McGrath <roland@hack.frob.com>
a65ef2ae 3593
2b942cb7 3594 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 3595 intermediate file deletion.
2b942cb7 3596 (generated): Add .symlist files.
a65ef2ae 3597
54b71e02
JM
35982012-05-03 Joseph Myers <joseph@codesourcery.com>
3599
3600 [BZ #13775]
3601 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3602 Redirect under this condition.
3603 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3604 [__USE_GNU] (__dprintf_chk): Not under this condition.
3605 [__USE_GNU] (__vdprintf_chk): Likewise.
3606 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3607 under this condition.
3608 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3609 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3610 [__USE_XOPEN2K8] (vdprintf): Likewise.
3611 [__USE_GNU] (__dprintf_chk): Not under this condition.
3612 [__USE_GNU] (__vdprintf_chk): Likewise.
3613 [__USE_GNU] (dprintf): Likewise.
3614 [__USE_GNU] (vdprintf): Likewise.
3615
d3dfcc41
RM
36162012-05-03 Roland McGrath <roland@hack.frob.com>
3617
3618 * elf/Makefile (common-generated): Set this instead of generated for
3619 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3620 $(all-built-dso)-derived lists.
3621
7ac30cc5
AJ
36222012-05-03 Andreas Jaeger <aj@suse.de>
3623
0c51e550
AJ
3624 * sysdeps/i386/fpu/libm-test-ulps: Update.
3625
7ac30cc5
AJ
3626 * FAQ: Removed.
3627 * FAQ.in: Likewise.
3628 * scripts/gen-FAQ.pl: Likewise.
3629 * manual/install.texi (Installation): Point to online location of
3630 FAQ.
3631 * Makefile (files-for-dist): Remove FAQ.
3632 (FAQ): Remove.
3633
d4c2917f
AM
36342012-05-02 Allan McRae <allan@archlinux.org>
3635
3636 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3637 (LDFLAGS-reldepmod5.so): Likewise.
3638 (LDFLAGS-reldep6mod1.so): Likewise.
3639 (LDFLAGS-reldep6mod4.so): Likewise.
3640 (LDFLAGS-reldep8mod3.so): Likewise.
3641 (LDFLAGS-unload4mod1.so): Likewise.
3642 (LDFLAGS-unload4mod2.so): Likewise.
3643 (LDFLAGS-tst-initorder): Likewise.
3644 (LDFLAGS-tst-initordera2.so): Likewise.
3645 (LDFLAGS-tst-initordera3.so): Likewise.
3646 (LDFLAGS-tst-initordera4.so): Likewise.
3647 (LDFLAGS-tst-initorderb2.so): Likewise.
3648 (LDFLAGS-noload): Likewise.
3649 (LDFLAGS-next): Likewise.
3650 (LDFLAGS-order2mod1.so): Likewise.
3651 (LDFLAGS-order2mod2.so): Likewise.
3652 (LDFLAGS-tst-initorder2): Likewise.
3653 (LDFLAGS-tst-initorder2a.so): Likewise.
3654 (LDFLAGS-tst-initorder2b.so): Likewise.
3655 (LDFLAGS-tst-initorder2c.so): Likewise.
3656 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3657
d77f993f
DM
36582012-05-02 David S. Miller <davem@davemloft.net>
3659
3660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3661
171a70b4
PP
36622012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3663
3664 [BZ #14055]
3665 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3666
0be196ad
AJ
36672012-05-02 Andreas Jaeger <aj@suse.de>
3668
3669 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3670 since we manipulate rounding mode.
3671 (CPPFLAGS-test-idouble.c): Likewise.
3672 (CPPFLAGS-test-ifloat.c): Likewise.
3673 (CFLAGS-test-ldouble.c): Likewise.
3674 (CFLAGS-test-double.c): Likewise.
3675 (CFLAGS-test-float.c): Likewise.
3676 (CFLAGS-test-misc.c): Likewise.
3677 (CFLAGS-test-test-fenv.c): Likewise.
3678
4f9d04aa
AZ
36792012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3680
2b942cb7
RM
3681 [BZ #2550]
3682 [BZ #2570]
3683 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3684 comparisons to determine direction to adjust input.
4f9d04aa 3685
82a79e7d
RM
36862012-05-01 Roland McGrath <roland@hack.frob.com>
3687
f5a01ca9
RM
3688 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3689 output to the target.
3690
90fe4186
RM
3691 * scripts/localplt.awk: New file.
3692 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3693 (check-localplt-CFLAGS): Variable removed.
3694 ($(all-built-dso:=.jmprel)): New static pattern rule.
3695 (generated): Add those targets.
3696 (localplt-built-dso): New variable.
3697 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3698
3699 * elf/check-localplt.c: File removed.
3700
82397ed6
RM
3701 * scripts/check-execstack.awk: New file.
3702 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3703 (check-execstack-CFLAGS): Variable removed.
3704 ($(objpfx)check-execstack.h): Target removed.
3705 ($(objpfx)execstack-default): New target.
3706 (generated): Add that instead of check-execstack.h.
3707 ($(all-built-dso:=.phdr)): New static pattern rule.
3708 (generated): Add those targets.
3709 * elf/check-execstack.c: File removed.
3710
82a79e7d
RM
3711 * scripts/check-textrel.awk: New file.
3712 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3713 (check-textrel-CFLAGS): Variable removed.
3714 (all-built-dso): Use := to define.o
3715 ($(all-built-dso:=.dyn)): New static pattern rule.
3716 (generated): Add those targets.
3717 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3718 * config.make.in (READELF): New substituted variable.
3719 * elf/check-textrel.c: File removed.
3720
62fde54f 37212012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 3722
615605c9
JM
3723 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3724 allow.
3725 * conform/data/ctype.h-data [C99-based standards] (isblank):
3726 Expect function.
3727 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3728 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3729 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3730 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3731 Specify type. Require positive value.
3732 (EILSEQ): Likewise.
3733 (ERANGE): Likewise.
3734 [ISO || POSIX] (EILSEQ): Do not expect.
3735 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3736 Specify type. Require positive value.
3737 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3738 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3739 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3740 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3741 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3742 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3743 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3744 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3745 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3746 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3747 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3748 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3749 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3750 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3751 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3752 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3753 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3754 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3755 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3756 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3757 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3758 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3759 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3760 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3761 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3762 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3763 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3764 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3765 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3766 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3767 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3768 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3769 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3770 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3771 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3772 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3773 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3774 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3775 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3776 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3777 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3778 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3779 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3780 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3781 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3782 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3783 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3784 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3785 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3786 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3787 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3788 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3789 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3790 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3791 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3792 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3793 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3794 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3795 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3796 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3797 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3798 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3799 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3800 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3801 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3802 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3803 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3804 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3805 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3806 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3807 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3808 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3809 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3810 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3811 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3812 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3813 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3814 Require >= 2.
3815 (FLT_ROUNDS): Expect as macro, not constant.
3816 (FLT_MANT_DIG): Use macro-int-constant.
3817 (DBL_MANT_DIG): Likewise.
3818 (LDBL_MANT_DIG): Likewise.
3819 (FLT_DIG): Likewise.
3820 (DBL_DIG): Likewise.
3821 (LDBL_DIG): Likewise.
3822 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3823 (DBL_MIN_EXP): Likewise.
3824 (LDBL_MIN_EXP): Likewise.
3825 (FLT_MAX_EXP): Use macro-int-constant.
3826 (DBL_MAX_EXP): Likewise.
3827 (LDBL_MAX_EXP): Likewise.
3828 (FLT_MAX_10_EXP): Likewise.
3829 (DBL_MAX_10_EXP): Likewise.
3830 (LDBL_MAX_10_EXP): Likewise.
3831 (FLT_MAX): Use macro-constant.
3832 (DBL_MAX): Likewise.
3833 (LDBL_MAX): Likewise.
3834 (FLT_EPSILON): Use macro-constant. Give upper bound.
3835 (DBL_EPSILON): Likewise.
3836 (LDBL_EPSILON): Likewise.
3837 (FLT_MIN): Likewise.
3838 (DBL_MIN): Likewise.
3839 (LDBL_MIN): Likewise.
3840 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3841 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3842 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3843 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3844 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3845 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3846 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3847 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3848 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3849 [ISO11] (FLT_TRUE_MIN): Likewise.
3850 [ISO11] (LDBL_TRUE_MIN): Likewise.
3851 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3852 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3853 (SCHAR_MIN): Use macro-int-constant. Specify type.
3854 (SCHAR_MAX): Likewise.
3855 (UCHAR_MAX): Likewise.
3856 (CHAR_MIN): Likewise.
3857 (CHAR_MAX): Likewise.
3858 (MB_LEN_MAX): Use macro-int-constant.
3859 (SHRT_MIN): Use macro-int-constant. Specify type.
3860 (SHRT_MAX): Likewise.
3861 (USHRT_MAX): Likewise.
3862 (INT_MAX): Likewise.
3863 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3864 bound negative.
3865 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3866 bound with "U".
3867 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3868 bound with "L".
3869 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3870 bound negative. Suffix upper bound with "L".
3871 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3872 bound with "UL".
3873 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3874 Specify type.
3875 [C99-based standards] (LLONG_MAX): Likewise.
3876 [C99-based standards] (ULLONG_MAX): Likewise.
3877 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3878 == 0.
3879 [ISO11] (max_align_t): Require type.
3880 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3881
c9140a62
JM
3882 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3883 from $CFLAGS, without defining away __attribute__ calls.
3884 (checknamespace): Use $CFLAGS_namespace.
3885
9af0bf29
JM
3886 * conform/conformtest.pl (@keywords): Only include C99 keywords
3887 for standards based on C99 or C11.
3888
343222a2
JM
3889 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3890 Disable tests.
3891 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3892 UNIX98]: Likewise.
3893
661f8cf0
JM
3894 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3895 usability of symbols in #if.
3896
ee74b9cb
JM
3897 * conform/conformtest.pl: If macro or constant types start
3898 "promoted:", expect the symbol to be of the following type
3899 promoted by the integer promotions.
62fde54f 3900
aafc49b3
JM
3901 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3902 in one place. Also handle "macro-constant".
3903
fefdf574
JM
3904 * conform/conformtest.pl: Only accept expected macro values with
3905 "==". Parse all "macro" lines in one place.
3906 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3907
f2d922fe
JM
3908 * conform/conformtest.pl: Handle braced types on "constant" lines
3909 instead of handling "typed-constant".
3910 * conform/data/signal.h-data: Use "constant" instead of
3911 "typed-constant".
3912
d22956c9
JM
3913 * conform/conformtest.pl: Handle "optional-" at start of lines in
3914 one place rather than duplicating several cases. Handle each
3915 format of "macro" line with initial "optional-".
3916
028e2e38
JM
3917 * conform/conformtest.pl: Only accept expected constant or
3918 optional-constant values with "==". Parse all "constant" lines in
3919 one place. Parse all "optional-constant" lines in one place.
3920 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3921 * conform/data/fmtmsg.h-data: Likewise.
3922 * conform/data/netinet/in.h-data: Likewise.
3923 * conform/data/tar.h-data: Likewise.
3924 * conform/data/limits.h-data: Use "==" form on "constant" and
3925 "optional-constant" lines.
3926
1b8f2850
JM
3927 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3928 Use -std=c99 for XOPEN2K.
3929 (@knownproblems): Remove.
3930 (newtoken): Don't check %isknown.
3931
a05a144b
JM
3932 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3933 Do not expect macro.
3934 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3935 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3936 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3937 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3938 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3939 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3940 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3941 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3942 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3943 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3944 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3945 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3946 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3947 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3948 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3949 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3950 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3951 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3952 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3953 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3954 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3955 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3956 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3957 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3958 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3959 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3960 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3961 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3962 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3963 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3964 [XPG3] (acosh): Likewise.
3965 [XPG3] (asinh): Likewise.
3966 [XPG3] (atanh): Likewise.
3967 [XPG3] (cbrt): Likewise.
3968 [XPG3] (expm1): Likewise.
3969 [XPG3] (ilogb): Likewise.
3970 [XPG3] (log1p): Likewise.
3971 [XPG3] (logb): Likewise.
3972 [XPG3] (nextafter): Likewise.
3973 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3974 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3975 [XPG3] (remainder): Likewise.
3976 [XPG3] (rint): Likewise.
3977 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3978 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3979 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3980 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3981 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3982 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3983 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3984 [UNIX98 || XOPEN2K] (scalb): Expect.
3985 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3986 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3987 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3988 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3989 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3990 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3991 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3992 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3993 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3994 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3995 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3996 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3997 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3998 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3999 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
4000 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
4001 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
4002 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
4003 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
4004 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
4005 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
4006 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
4007 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
4008 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
4009 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
4010 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
4011 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
4012 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
4013 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
4014 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
4015 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
4016 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
4017 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
4018 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
4019 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
4020 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
4021 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
4022 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
4023 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
4024 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
4025 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
4026 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
4027 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
4028 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
4029 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
4030 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
4031 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
4032 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
4033 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
4034 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
4035 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
4036 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
4037 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
4038 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
4039 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
4040 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
4041 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
4042 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
4043 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
4044 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
4045 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
4046 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
4047 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
4048 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
4049 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
4050 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
4051 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
4052 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
4053 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
4054 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
4055 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
4056 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
4057 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
4058 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
4059 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
4060 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
4061 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
4062 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
4063 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
4064 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
4065 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
4066 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
4067 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
4068 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
4069 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
4070 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
4071 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
4072 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
4073 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
4074 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
4075 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
4076 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
4077 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
4078 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
4079 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
4080 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
4081 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
4082 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
4083 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
4084 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
4085 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
4086 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
4087 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
4088 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
4089 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
4090 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
4091 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
4092 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
4093 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
4094 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
4095 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
4096 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
4097 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
4098 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
4099 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
4100 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
4101 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
4102 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
4103 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
4104 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
4105 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
4106 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
4107 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
4108 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
4109 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
4110 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
4111 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
4112 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
4113 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
4114 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
4115 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
4116 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
4117 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
4118 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
4119 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4120 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4121 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4122
73c5ebe3
JM
4123 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4124 _XOPEN_SOURCE_EXTENDED for XPG4.
4125
39c33b6c
JM
4126 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4127
62fde54f
JM
4128 * Makeconfig (localtime): Remove variable.
4129 (inst_localtime-file): Likewise.
4130
0741d64c
AS
41312012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4132
4133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4134 Update.
4135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4136 Update.
4137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4138 Update.
4139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4140 Update.
4141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4142 Update.
4143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4144 Update.
4145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4146 Update.
4147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4148 Update.
4149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4150 Update.
4151
7cb029ee
JM
41522012-05-01 Joseph Myers <joseph@codesourcery.com>
4153
4154 [BZ #2550]
4155 [BZ #2570]
4156 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4157 comparisons to determine direction to adjust input.
4158 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4159 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4160 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4161 Likewise.
4162 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4163 Likewise.
4164 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4165 Likewise.
4166 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4167 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4168 Likewise.
4169 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4170 Likewise.
4171 * math/libm-test.inc (nexttoward_test): Add more tests.
4172
412bd966
AS
41732012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4174
4175 [BZ #14040]
4176 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4177 in version GLIBC_2.1, not GLIBC_2.0.
4178 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4179 Likewise.
4180
9568c0c2
JM
41812012-04-30 Joseph Myers <joseph@codesourcery.com>
4182
adfbc8ac
JM
4183 [BZ #13942]
4184 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4185 (1 - x) * (1 + x).
4186 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4187 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4188 * math/libm-test.inc (acos_test): Add more tests.
4189 (asin_test): Likewise.
4190 * sysdeps/i386/fpu/libm-test-ulps: Update.
4191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4192
5ba3cc69
JM
4193 [BZ #14034]
4194 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4195 of square root.
4196 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4197 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4198 * math/libm-test.inc (acos_test_tonearest): New function.
4199 (acos_test_towardzero): Likewise.
4200 (acos_test_downward): Likewise.
4201 (acos_test_upward): Likewise.
4202 (asin_test_tonearest): Likewise.
4203 (asin_test_towardzero): Likewise.
4204 (asin_test_downward): Likewise.
4205 (asin_test_upward): Likewise.
4206 (main): Call the new functions.
4207 * sysdeps/i386/fpu/libm-test-ulps: Update.
4208 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4209
9568c0c2
JM
4210 [BZ #13884]
4211 [BZ #13924]
4212 * math/e_exp10.c: Include <float.h>.
4213 (__ieee754_exp10): Handle underflow here rather than multiplying
4214 large negative argument by M_LN10.
4215 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4216 of __ieee754_expf.
4217 * math/e_exp10l.c: Include <float.h>.
4218 (__ieee754_exp10l): Handle underflow here rather than multiplying
4219 large negative argument by M_LN10l.
4220 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4221 spurious overflow exception on underflow.
4222
5ac3ea17
MP
42232012-04-29 Marek Polacek <polacek@redhat.com>
4224
4225 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4226 (__fortify_function): New macro.
4227 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4228 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4229 __extern_always_inline.
4230 * libio/bits/stdio2.h: Likewise.
4231 * libio/bits/stdio.h: Likewise.
4232 * string/string.h: Likewise.
4233 * string/bits/string3.h: Likewise.
4234 * include/stdio.h: Likewise.
4235 * stdlib/bits/stdlib.h: Likewise.
4236 * stdlib/stdlib.h: Likewise.
4237 * rt/bits/mqueue2.h: Likewise.
4238 * rt/mqueue.h: Likewise.
4239 * posix/bits/unistd.h: Likewise.
4240 * posix/unistd.h: Likewise.
4241 * io/bits/poll2.h: Likewise.
4242 * io/bits/fcntl2.h: Likewise.
4243 * io/fcntl.h: Likewise.
4244 * io/sys/poll.h: Likewise.
4245 * misc/bits/syslog.h: Likewise.
4246 * misc/bits/syslog-ldbl.h: Likewise.
4247 * misc/sys/syslog.h: Likewise.
4248 * socket/bits/socket2.h: Likewise.
4249 * socket/sys/socket.h: Likewise.
4250 * debug/tst-chk1.c: Likewise.
4251 * wcsmbs/bits/wchar2.h: Likewise.
4252 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4253 * wcsmbs/wchar.h: Likewise.
4254
ecf0ebfb
AJ
42552012-04-29 Andreas Jaeger <aj@suse.de>
4256
4257 * Makerules (tests): Remove enable-check-abi protection.
4258 (check-abi-warn): Remove.
4259 (check-abi-%): Remove check-abi-warn usage.
4260
4261 * configure.in: Remove check-abi configure option.
4262 * configure: Regenerated.
4263 * config.make.in (enable-check-abi): Remove.
4264
6d5c57fa
AS
42652012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4266
24c5d07e 4267 [BZ #14033]
ded5180a
AS
4268 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4269 double functions to double *_finite functions.
4270
7e0d315d
AS
4271 [BZ #13941]
4272 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4273 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4274 LDBL_MIN_EXP.
4275 * stdio-common/Makefile (tests): Add tst-sprintf3.
4276 * stdio-common/tst-sprintf3.c: New file.
4277
6d5c57fa
AS
4278 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4279 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4280
0749ff8b
JM
42812012-04-28 Joseph Myers <joseph@codesourcery.com>
4282
4283 * conform/conformtest.pl: Remove duplicate typed-constant
4284 handling.
4285
8dbd5d7b
DM
42862012-04-28 David S. Miller <davem@davemloft.net>
4287
4288 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4289 (check-abi-%): Remove AWK script prerequisite and explicit
4290 abilist directory.
4291 (check-abi): Rewrite to just diff the symlist with the abilist.
4292 (config-tls, config-abi-config): Delete, no longer used.
4293 (update-abi-%): Remove AWK script and explicit abilist directory.
4294 (update-abi): Rewrite to simply compare and conditionally copy the
4295 symlist and the sysdep abilist file. Remove update-abi-config
4296 checks.
4297 * abilist/ld.abilist: Remove.
4298 * abilist/libBrokenLocale.abilist: Remove.
4299 * abilist/libanl.abilist: Remove.
4300 * abilist/libcrypt.abilist: Remove.
4301 * abilist/libdl.abilist: Remove.
4302 * abilist/librt.abilist: Remove.
4303 * abilist/libthread_db.abilist: Remove.
4304 * abilist/libutil.abilist: Remove.
4305 * scripts/extract-abilist.awk: Remove.
4306 * scripts/merge-abilist.awk: Remove.
4307 * sysdeps/generic/libcidn.abilist: New file.
4308 * sysdeps/generic/libnss_compat.abilist: New file.
4309 * sysdeps/generic/libnss_db.abilist: New file.
4310 * sysdeps/generic/libnss_dns.abilist: New file.
4311 * sysdeps/generic/libnss_files.abilist: New file.
4312 * sysdeps/generic/libnss_hesiod.abilist: New file.
4313 * sysdeps/generic/libnss_nis.abilist: New file.
4314 * sysdeps/generic/libnss_nisplus.abilist: New file.
4315 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4316 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4317 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4318 file.
4319 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4320 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4321 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4322 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4323 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4324 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4325 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4326 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4327 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4328 file.
4329 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4330 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4331 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4332 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4333 file.
4334 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4335 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4336 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4337 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4338 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4339 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4340 file.
4341 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4342 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4343 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4344 file.
4345 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4346 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4347 New file.
4348 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4349 New file.
4350 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4351 New file.
4352 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4353 New file.
4354 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4355 New file.
4356 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4357 New file.
4358 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4359 New file.
4360 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4361 New file.
4362 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4363 New file.
4364 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4365 New file.
4366 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4367 New file.
4368 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4369 New file.
4370 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4371 New file.
4372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4373 file.
4374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4375 New file.
4376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4377 New file.
4378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4379 file.
4380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4381 New file.
4382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4383 New file.
4384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4385 file.
4386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4387 New file.
4388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4389 New file.
4390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4391 New file.
4392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4393 New file.
4394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4395 New file.
4396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4397 New file.
4398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4400 file.
4401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4402 New file.
4403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4404 file.
4405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4406 file.
4407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4408 file.
4409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4410 file.
4411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4412 file.
4413 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4414 New file.
4415 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4416 file.
4417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4418 file.
4419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4420 New file.
4421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4422 file.
4423 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4425 file.
4426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4427 New file.
4428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4429 file.
4430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4431 file.
4432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4433 file.
4434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4435 file.
4436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4437 file.
4438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4439 New file.
4440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4441 file.
4442 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4443 file.
4444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4445 New file.
4446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4447 file.
4448 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4449 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4450 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4451 file.
4452 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4453 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4454 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4455 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4456 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4457 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4458 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4459 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4460 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4461 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4462 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4463 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4464 file.
4465 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4466 New file.
4467 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4468 file.
4469 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4470 file.
4471 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4472 file.
4473 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4474 file.
4475 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4476 file.
4477 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4478 New file.
4479 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4480 New file.
4481 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4482 file.
4483 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4484 New file.
4485 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4486 file.
4487 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4488 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4489 file.
4490 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4491 New file.
4492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4493 file.
4494 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4495 file.
4496 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4497 file.
4498 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4499 file.
4500 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4501 file.
4502 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4503 New file.
4504 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4505 New file.
4506 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4507 file.
4508 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4509 New file.
4510 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4511 file.
4512
41d73a1b
JM
45132012-04-28 Joseph Myers <joseph@codesourcery.com>
4514
4515 * conform/conformtest.pl: Fix typo in handling typed-constant from
4516 allow-header.
4517
28aeeda4
JM
45182012-04-27 Joseph Myers <joseph@codesourcery.com>
4519
adae8f5e
JM
4520 * README: Cut down references to pre-2.6 Linux kernels and
4521 Linuxthreads. Update lists of configurations in libc and ports
4522 and sort alphabetically. Say "or newer" with Linux kernel version
4523 requirements.
4524
28aeeda4
JM
4525 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4526
a462cb63
RA
45272012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4528
4529 [BZ #887]
4530 * math/libm-test.inc (logb_test_downward): New test to expose
4531 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4532 rounding mode.
4533
6ad3493e
JM
45342012-04-27 Joseph Myers <joseph@codesourcery.com>
4535
4536 [BZ #14027]
4537 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4538 to be done.
4539 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4540 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4541
2ce4f015
JM
45422012-04-26 Joseph Myers <joseph@codesourcery.com>
4543
5aeb141a
JM
4544 * sysdeps/unix/i386/brk.S: Remove file.
4545 * sysdeps/unix/i386/dl-brk.S: Likewise.
4546 * sysdeps/unix/i386/pipe.S: Likewise.
4547 * sysdeps/unix/i386/sigreturn.S: Likewise.
4548 * sysdeps/unix/i386/syscall.S: Likewise.
4549 * sysdeps/unix/i386/vfork.S: Likewise.
4550 * sysdeps/unix/i386/wait.S: Likewise.
4551
7143acae
JM
4552 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4553 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4554
2ce4f015
JM
4555 * configure.in (arm*-none*): Do not allow without
4556 --enable-hacker-mode.
4557 (netbsd*): Remove case setting base_os.
4558 (386bsd*): Likewise.
4559 (freebsd*): Likewise.
4560 (bsdi*): Likewise.
4561 (osf*): Likewise.
4562 (sunos*): Likewise.
4563 (ultrix*): Likewise.
4564 (newsos*): Likewise.
4565 (dynix*): Likewise.
4566 (*bsd*): Likewise.
4567 (sysv*): Likewise.
4568 (isc*): Likewise.
4569 (esix*): Likewise.
4570 (sco*): Likewise.
4571 (minix*): Likewise.
4572 (irix4*): Likewise.
4573 (irix6*): Likewise.
4574 (solaris[2-9]*): Likewise.
4575 (none): Likewise.
4576 * configure: Regenerated.
4577
0ac229c8
AZ
45782012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4579
4580 [BZ #11521]
4581 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4582 overflow or cancellation in calculating denominator.
4583 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4584 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4585 down expression to avoid unexpected rounding in newer GCCs.
4586 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4587
33f244f4
DM
45882012-04-26 David S. Miller <davem@davemloft.net>
4589
4590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4591 long-double compat symbols.
4592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4605
cfa1f3e8
DM
46062012-04-25 David S. Miller <davem@davemloft.net>
4607
4608 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4609 HWCAP_* values only after the memory barriers have been defined.
4610 (atomic_full_barrier): Define.
4611 (atomic_read_barrier): Define.
4612 (atomic_write_barrier): Define.
4613
6e236b92
SP
46142012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4615
4616 * shlib-versions: Add libgcc_s version information.
4617 * sysdeps/generic/libgcc_s.h: Remove.
4618 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4619 libgcc_s.h.
4620 * sysdeps/gnu/unwind-resume.c: Likewise.
4621 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4622
aab39a09
DM
46232012-04-25 David S. Miller <davem@davemloft.net>
4624
4625 * sysdeps/unix/sparc/brk.S: Delete.
4626 * sysdeps/unix/sparc/dl-brk.S: Delete.
4627 * sysdeps/unix/sparc/pipe.S: Delete.
4628 * sysdeps/unix/sparc/sysdep.S: Delete.
4629 * sysdeps/unix/sparc/sysdep.h: Delete.
4630 * sysdeps/unix/sparc/vfork.S: Delete.
4631 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4632 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4633 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4634 ret_ERRVAL, r0, r1, MOVE): Define.
4635 (JUMPTARGET): Remove.
4636 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4637 sysdeps/unix/sparc/sysdep.h
4638 (ENTRY, END): Remove.
4639 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4640
a3cc4f48
JM
46412012-04-25 Joseph Myers <joseph@codesourcery.com>
4642
2ed8cda2
JM
4643 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4644 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4645 -DIS_IN_build.
4646
35d76d59
JM
4647 * timezone/README: Update upstream location and email address for
4648 tzcode and tzdata.
4649 * timezone/zdump.c: Update from tzcode 2012b.
4650 * timezone/zic.c: Likewise.
4651
a3cc4f48
JM
4652 * configure.in (libc_cv_as_needed): Remove test.
4653 * configure: Regenerated.
4654 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4655 conditional definition.
4656 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4657 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4658 * config.make.in (have-as-needed): Remove variable.
4659
ceab42c3
SP
46602012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4661 Paul Pluzhnikov <ppluzhnikov@google.com>
4662
4663 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4664 strings correctly.
4665
3ce2865f
CLT
46662012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4667
4668 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4669 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4670 * sysdeps/sh/strlen.S: Likewise.
4671
f37e0d68
JM
46722012-04-24 Joseph Myers <joseph@codesourcery.com>
4673
ae186e9a
JM
4674 * sysdeps/unix/fork.S: Remove file.
4675 * sysdeps/unix/i386/fork.S: Likewise.
4676 * sysdeps/unix/sparc/fork.S: Likewise.
4677
b96914af
JM
4678 * sysdeps/unix/system.c: Remove file.
4679 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4680
f37e0d68
JM
4681 * sysdeps/unix/getegid.S: Remove file.
4682 * sysdeps/unix/geteuid.S: Likewise.
4683
87ef29ca
RM
46842012-04-24 Roland McGrath <roland@hack.frob.com>
4685
83bcd236
RM
4686 * scripts/check-localplt.awk: New file.
4687 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4688 of diff.
4689 * scripts/data/localplt-generic.data: Add a comment.
4690
87ef29ca
RM
4691 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4692 NODE when __dir_mkfile failed.
4693 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4694 Reported by Ludovic Courtès <ludo@gnu.org>.
4695
e5a6e567
AJ
46962012-04-24 Andreas Jaeger <aj@suse.de>
4697
4698 * Makerules (common-clean): Also remove gen-as-const-headers
4699 files.
4700
c1820385
JM
47012012-04-24 Joseph Myers <joseph@codesourcery.com>
4702
4703 * Makerules (native-compile): Do not change working directory for
4704 build. Use $(OUTPUT_OPTION) in command.
4705 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4706
94e02fc4
AZ
47072012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4708
4709 [BZ #13886]
4710 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4711 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4712 * math/libm-test.inc (floor_test): Add more tests.
4713 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4714
3a533ca3
JM
47152012-04-24 Joseph Myers <joseph@codesourcery.com>
4716
940ab4b3
JM
4717 * sysdeps/unix/getdents.c: Remove file.
4718 * sysdeps/unix/sysv/getdents.c: Likewise.
4719 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4720
90e037bd
JM
4721 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4722 sysdeps/unix/mman/syscalls.list.
4723 (mmap): Likewise.
4724 (mprotect): Likewise.
4725 (msync): Likewise.
4726 (munmap): Likewise.
4727 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4728 * sysdeps/unix/mman/syscalls.list: Remove.
4729 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4730
3a533ca3
JM
4731 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4732 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4733 * configure: Regenerated.
4734 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4735 $(libgcc_s_suffix).
4736 * config.make.in (libgcc_s_suffix): Remove variable.
4737
1ad743de
JM
47382012-04-23 Joseph Myers <joseph@codesourcery.com>
4739
4ad451e2
JM
4740 * sysdeps/unix/sysv/gethostname.c: Move to ...
4741 * sysdeps/posix/gethostname.c: ... here.
4742
5e37ce39
JM
4743 * sysdeps/unix/execve.S: Remove file.
4744
1ad743de
JM
4745 * sysdeps/unix/_exit.S: Remove file.
4746
4e681b5b
AJ
47472012-04-23 Andreas Jaeger <aj@suse.de>
4748
4749 [BZ #13739]
4750 * manual/Makefile: Remove make dist support, there's no
4751 need for a stand-alone documentation tar ball.
4752 (TEXI2DVI): Define always, it's not in Makeconfig.
4753 (dist): Removed.
4754 (tar-it): Removed.
4755 (edition): Removed.
4756 (glibc-doc-$(edition).tar): Removed
4757 (%.Z): Removed.
4758 (%.gz): Removed.
4759 (%.uu): Removed.
4760 (ETAGS): Remove, it's in Makeconfig.
4761 (move-if-change): Remove, it's in Makeconfig.
4762
c0baea34
PE
47632013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4764
4765 [BZ #13970]
4766 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4767 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4768 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4769 (strtod_l, strtof_l, strtold_l): Remove __wur.
4770 It is not necessarily an error to ignore strtol's return value.
4771 One can reliably look at the stored endptr to decide whether
4772 the number had valid syntax.
4773
7c0616fa
AJ
47742012-04-21 Andreas Jaeger <aj@suse.de>
4775
803cb6b7 4776 [BZ #13739]
7c0616fa
AJ
4777 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4778
b0fe253f
JM
47792012-04-21 Joseph Myers <joseph@codesourcery.com>
4780
4781 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4782 * sysdeps/unix/sysv/Versions: Remove file.
4783
8280f22d
MT
47842012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4785
4786 [BZ #13927]
4787 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4788
75ce411f 47892012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
4790
4791 [BZ #7064]
4792 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4793 version from __vm86.
4794
097d59fa
JM
47952012-04-20 Joseph Myers <joseph@codesourcery.com>
4796
a90f3bcb
JM
4797 * sysdeps/unix/common/lxstat.c: Remove file.
4798 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4799
edc7ea78
JM
4800 * sysdeps/unix/sysv/Makefile: Remove file.
4801
cb78c221
JM
4802 * sysdeps/unix/sysv/direct.h: Remove file.
4803
efa6a45f
JM
4804 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4805 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4806 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4807 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4808 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4809 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4810 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4811
9c9f2d0c
JM
4812 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4813
4541c83b
JM
4814 * sysdeps/unix/xmknod.c: Remove file.
4815 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4816
f5d153a0
JM
4817 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4818
aa746595
JM
4819 * sysdeps/unix/sysv/i386/time.S: Remove file.
4820
cce5905e
JM
4821 * sysdeps/unix/fxstat.c: Remove file.
4822 * sysdeps/unix/xstat.c: Likewise.
4823 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4824
37fa3841
JM
4825 * sysdeps/unix/sysv/sigaction.c: Remove file.
4826
ff1962a3
JM
4827 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4828 (sysdep_headers): Remove variable.
4829 [termio.h not in sysdep_headers] (generated): Likewise.
4830 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4831 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4832 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4833 * sysdeps/unix/sysv/tcflow.c: Likewise.
4834 * sysdeps/unix/sysv/tcflush.c: Likewise.
4835 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4836 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4837 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4838 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4839 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4840
e7740d31
JM
4841 * sysdeps/unix/siglist.c: Remove file.
4842
ee06f18b
JM
4843 * sysdeps/unix/getppid.S: Remove file.
4844
097d59fa
JM
4845 * sysdeps/unix/mkdir.c: Remove file.
4846 * sysdeps/unix/rmdir.c: Likewise.
4847
ff3d51ec
AS
48482012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4849
4850 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4851 ERR_MAX value.
4852 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4853 errlist-compat value.
4854
50f81fd7
DM
48552012-04-18 David S. Miller <davem@davemloft.net>
4856
4857 * sysdeps/generic/memcopy.h (reg_char): Delete.
4858 * debug/strcat_chk.c: Use char, not reg_char.
4859 * debug/strcpy_chk.c: Likewise.
4860 * debug/strncat_chk.c: Likewise.
4861 * debug/strncpy_chk.c: Likewise.
4862 * string/memchr.c: Likewise.
4863 * string/memrchr.c: Likewise.
4864 * string/rawmemchr.c: Likewise.
4865 * string/strcat.c: Likewise.
4866 * string/strchr.c: Likewise.
4867 * string/strchrnul.c: Likewise.
4868 * string/strcmp.c: Likewise.
4869 * string/strcpy.c: Likewise.
4870 * string/strncat.c: Likewise.
4871 * string/strncmp.c: Likewise.
4872 * string/strncpy.c: Likewise.
4873
8ff41c46
WS
48742012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4875
4876 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4877 __builtin_memcopy is called when src and dest ranges are known to not
4878 overlap.
4879
6b652f46
WS
48802012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4881
4882 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4883 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4884 fwd_align_merge macro call.
4885 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4886 bwd_align_merge macro call.
4887 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4888
b282631e
WS
48892012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4890
4891 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4892 bwd_align_merge macros.
4893 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4894 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4895 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4896
95aa737c
DM
48972012-04-18 David S. Miller <davem@davemloft.net>
4898
4899 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4900
7a99a614
AJ
49012012-04-18 Andreas Jaeger <aj@suse.de>
4902
4903 [BZ# 6794]
4904 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4905 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4906 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4907
4908 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4909 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4910 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4911
4912 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4913 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4914 Adjust for changed ldbl-128 files.
4915
4916 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4917 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4918 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4919
e5270c23
DM
49202012-04-17 David S. Miller <davem@davemloft.net>
4921
4922 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4923
fb5e92c9
AS
49242012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4925
4926 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4927 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4928 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4929 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4930 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4931 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4932
76da7265
AZ
49332012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4934
4935 [BZ #6794]
4936 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4937 * math/libm-test.inc: Add ilogb errno and exception tests.
4938 * math/w_ilogb.c: New file: ilogb wrapper.
4939 * math/w_ilogbf.c: New file: ilogbf wrapper.
4940 * math/w_ilogbl.c: New file: ilogbl wrapper.
4941 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4942 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4943 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4944 exception being thrown with 0.0 as argument.
4945 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4946 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4947 exception being thrown with 0.0 as argument.
4948 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4949 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4950 exception being thrown with 0.0 as argument.
4951 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4952 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4953 exception being thrown with 0.0 as argument.
4954 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4955 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 4956 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
4957 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4958 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4959 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4960 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4961 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4962 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4963
0396e69d
PB
49642012-04-17 Petr Baudis <pasky@ucw.cz>
4965
4966 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4967 with altivec.
4968
750b5926
MP
49692012-04-16 Marek Polacek <polacek@redhat.com>
4970
4971 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4972
751728a1
MP
49732012-04-16 Marek Polacek <polacek@redhat.com>
4974
4975 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4976 operands of fdivp instruction.
4977
34a27407
L
49782012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4979
4980 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4981 * elf/tst-auditmod3b.c: Likewise.
4982 * elf/tst-auditmod4b.c: Likewise.
4983 * elf/tst-auditmod5b.c: Likewise.
4984 * elf/tst-auditmod6b.c: Likewise.
4985 * elf/tst-auditmod6c.c: Likewise.
4986 * elf/tst-auditmod7b.c: Likewise.
4987 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4988 * sysdeps/x86_64/preconfigure.in: Likewise.
4989 * sysdeps/x86_64/preconfigure: Regenerated.
4990
7e73e17d
L
49912012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4992
4993 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4994 __ILP32__.
4995
c7a6ab72
AB
49962012-04-13 Antoine Balestrat <merkil33@gmail.com>
4997
4998 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4999 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
5000
a9e8e0e0
CL
50012012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
5002
5003 [BZ #13973]
5004 * locale/iso-639.def: Fix gl language name. Spotted by
5005 Yaron Shahrabani.
5006
ec98af7d
RM
50072012-04-12 Roland McGrath <roland@hack.frob.com>
5008
5009 [BZ #2074]
5010 * libio/libio.h (__io_write_fn): Update comment.
5011
247c3ede
PB
50122012-04-12 Petr Baudis <pasky@ucw.cz>
5013
5014 [BZ #2074]
5015 * stdio.texi (Hook Functions): The user provided writer function
5016 is not allowed to return -1.
5017
55939d6d
DM
50182012-04-11 David S. Miller <davem@davemloft.net>
5019
5020 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5021
90020f5a
MF
50222012-04-11 Mike Frysinger <vapier@gentoo.org>
5023
5024 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
5025 Add a leading slash to rtkaio.
5026
288f9098
JM
50272012-04-11 Jim Meyering <meyering@redhat.com>
5028
90020f5a
MF
5029 [BZ #11959]
5030 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
5031 It is not necessarily an error to ignore fwrite's return
5032 value. One can reliably use ferror to test for errors after
5033 the fact.
288f9098 5034
4be2b570
L
50352012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5036
5037 * bits/types.h (__snseconds_t): New type.
5038 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
5039
5040 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
5041 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5042 (__SNSECONDS_T_TYPE): Likewise.
5043 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5044 (__SNSECONDS_T_TYPE): Likewise.
5045 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5046 (__SNSECONDS_T_TYPE): Likewise.
5047
288f9098 50482012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
5049
5050 [BZ #2636]
5051 * manual/time.texi (Processor Time): Return type of times is
5052 elapsed real time since an arbitrary point in the past.
5053 (CPU Time): Move CLK_TCK from here...
5054 (Processor Time): ...to here. Correct description.
5055 * manual/conf.texi (Constants for Sysconf): Correct description of
5056 _SC_CLK_TCK.
5057
d7dd4413
DM
50582012-04-10 David S. Miller <davem@davemloft.net>
5059
5060 [BZ #13967]
5061 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
5062 where the is a gap between DT_REL(A) and DT_JMPREL.
5063
b46068fc
L
50642012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5065
5066 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
5067 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5068 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5069
73d65cc3
SP
50702012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5071
5072 * elf/dl-support.c (_dl_inhibit_cache): New variable.
5073 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
5074 (dl_main): Handle --inhibit-cache.
5075 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
5076 _dl_inhibit_cache.
5077 * elf/dl-load.c (_dl_map_object): Use it.
5078 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
5079
bcc8d661
JM
50802012-04-09 Joseph Myers <joseph@codesourcery.com>
5081
8f9a2fae
JM
5082 [BZ #13872]
5083 * sysdeps/i386/fpu/e_powl.S (p78): New object.
5084 (__ieee754_powl): Saturate large exponents rather than testing for
5085 overflow of y*log2(x).
5086 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5087 * math/libm-test.inc (pow_test): Do not permit spurious overflow
5088 exceptions.
5089
bcc8d661
JM
5090 [BZ #11521]
5091 * math/s_ctan.c: Include <float.h>.
5092 (__ctan): Avoid internal overflow or cancellation in calculating
5093 denominator.
5094 * math/s_ctanf.c: Likewise.
5095 * math/s_ctanl.c: Likewise.
5096 * math/s_ctanh.c: Likewise.
5097 * math/s_ctanhf.c: Likewise.
5098 * math/s_ctanhl.c: Likewise.
5099 * math/libm-test.inc (ctan_test): Add more tests.
5100 (ctanh_test): Likewise.
5101 * sysdeps/i386/fpu/libm-test-ulps: Update.
5102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5103
823fbbb4
AJ
51042012-04-09 Andreas Jaeger <aj@suse.de>
5105
03879793
AJ
5106 [BZ #6894]
5107 * manual/filesys.texi (Directory Entries): Mention that d_namlen
5108 is an optional BSD extension.
5109
823fbbb4
AJ
5110 [BZ #10254]
5111 * manual/stdio.texi (Opening Streams): Document additional fopen
5112 parameters.
5113
8de131cb
RM
51142012-04-09 Roland McGrath <roland@hack.frob.com>
5115
5116 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
5117 %eax without telling the compiler.
5118
c0ed9d7d
CD
51192012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
5120
5121 [BZ # 13963]
5122 * manual/install.texi: Use sourceware.org.
5123
c483f6b4
JM
51242012-04-09 Joseph Myers <joseph@codesourcery.com>
5125
d7dd9453
JM
5126 [BZ #13873]
5127 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5128 (__ieee754_pow): Generate overflow and underflow using huge*huge
5129 and tiny*tiny rather than just returning constant infinity or zero
5130 for large exponents.
5131 * math/libm-test.inc (pow_test): Require overflow exceptions for
5132 applicable cases of large exponents.
5133
c483f6b4
JM
5134 [BZ #706]
5135 * sysdeps/i386/fpu/e_pow.S (p10): New object.
5136 (__ieee754_pow): Use iterative multiplication algorithm only for
5137 integer exponents with absolute value below 1024. Check for odd
5138 integer exponents when using algorithm for real exponents.
5139 * math/libm-test.inc (pow_test): Add more tests.
5140 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5141
d2de7579
JM
51422012-04-08 Joseph Myers <joseph@codesourcery.com>
5143
5144 [BZ #13705]
5145 * math/libm-test.inc (exp_test): Do not allow overflow exception
5146 on underflow test.
5147
f77f1232
AJ
51482012-04-08 Aurelien Jarno <aurelien@aurel32.net>
5149
5150 [BZ #13705]
5151 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5152 instead of __kernel_standard_f.
5153
3884932b
MF
51542012-04-08 Mike Frysinger <vapier@gentoo.org>
5155
5156 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5157 * sysdeps/x86_64/memset_chk.S: Likewise.
5158
54472e9c
AJ
51592012-04-08 Andreas Jaeger <aj@suse.de>
5160
6ab0fbfc
AJ
5161 [BZ #10153]
5162 * manual/startup.texi (Environment Access): Describe return value
5163 for putenv and setenv.
5164
61efba8c
AJ
5165 [BZ #6895]
5166 * manual/filesys.texi (Directory Entries): Add description for
5167 DT_LNK.
5168
95c3f29a
AJ
5169 [BZ #6890]
5170 * manual/filesys.texi (Directory Entries): Clarify that it's file
5171 system not operating system in the description of DT_UNKNOWN.
5172
54472e9c
AJ
5173 [BZ #6578]
5174 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5175
624254b1
SC
51762012-04-08 Stephen Compall <s11@member.fsf.org>
5177
5178 [BZ #6649]
5179 * manual/llio.texi (Opening and Closing Files): Add cross
5180 reference to explain mode argument.
5181
1e4920e0
MF
51822012-04-07 Mike Frysinger <vapier@gentoo.org>
5183
5184 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5185 * sysdeps/x86_64/memset_chk.S: Likewise.
5186
5ed848f3
DM
51872012-04-07 David S. Miller <davem@davemloft.net>
5188
5189 * elf/elf.h (R_SPARC_WDISP10): Define.
5190 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5191 R_SPARC_SIZE32.
5192 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5193 R_SPARC_SIZE64 and R_SPARC_H34.
5194
96154cd8
CD
51952012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5196
5197 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5198 conditions and remove no longer applicable assertion.
5199
9904dc47
L
52002012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5201
5202 * bits/byteswap.h: Include <features.h>.
5203 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5204 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5205
f8887d0a
L
52062012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5207
5208 * bits/byteswap.h (__bswap_16): Removed.
5209 Include <bits/byteswap-16.h> to get __bswap_16.
5210 * sysdeps/i386/bits/byteswap.h: Likewise.
5211 * sysdeps/s390/bits/byteswap.h: Likewise.
5212 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5213 * bits/byteswap-16.h: New file.
5214 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5215 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5216 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5217 * string/Makefile (headers): Add bits/byteswap-16.h.
5218
62470f60
PP
52192012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5220
5221 [BZ #13895]
5222 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5223 extra indirection.
5224 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5225 * nss/tst-nss-static.c: New.
5226
4dad7bab
RM
52272012-04-06 Robert Millan <rmh@gnu.org>
5228
5229 [BZ #6486]
5230 * manual/llio.texi (File Position Primitive): lseek
5231 refers to WHENCE when it really means OFFSET.
5232
e9142a17
AJ
52332012-04-06 Andreas Jaeger <aj@suse.de>
5234
2c040eff
AJ
5235 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5236 strncmp declarations.
5237
e9142a17
AJ
5238 * abilist/libc.abilist: Add __poll and __ppoll.
5239
ff9f1c5f
DM
52402012-04-05 David S. Miller <davem@davemloft.net>
5241
dcd2ae90
DM
5242 * scripts/check-local-headers.sh: Accept a host triplet in the
5243 path matched by the exclude regexp.
5244
993eb054
DM
5245 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5246 definition.
5247 * sysdeps/powerpc/powerpc32/dl-machine.h
5248 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5249 * sysdeps/s390/s390-32/dl-machine.h
5250 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5251 * sysdeps/sparc/sparc32/dl-machine.h
5252 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5253 * sysdeps/sparc/sparc64/dl-machine.h
5254 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5255
ff9f1c5f
DM
5256 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5257 lazy binding.
48e2e132 5258 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
5259 undefined symbol errors.
5260
48e2e132 5261 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
5262 DT_NEEDED entries.
5263
e80d6f94
MM
52642012-04-05 Michael Matz <matz@suse.de>
5265
5266 [BZ #13592]
5267 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5268
349fa79f
AJ
52692012-04-05 Andreas Jaeger <aj@suse.de>
5270
5271 [BZ #13908]
5272 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5273 comment.
5274
f402708f
KK
52752012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5276
5277 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5278 which ROUND is no valid rounding mode.
5279
2ecccfc9
KK
52802012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5281
5282 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5283 read again.
5284 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5285
8a53f50f
KK
52862012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5287
5288 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5289 an exception using FPU order intentionally.
5290
52912012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5292
5293 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5294 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5295 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5296 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5297
d653abb7
SJ
52982012-04-05 Simon Josefsson <simon@josefsson.org>
5299
5300 [BZ #12340]
5301 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5302 EINVAL when BUFLEN is too smal.
5303
c3b1bf7d
TS
53042012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5305
5306 [BZ #13553]
5307 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5308 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5309
b1aa60f3
AJ
53102012-04-03 Andreas Jaeger <aj@suse.de>
5311
c3b1bf7d 5312 [BZ #13938]
67f60a26
AJ
5313 * manual/setjmp.texi (System V contexts): Fix sentence.
5314
b1aa60f3
AJ
5315 [BZ #13926]
5316 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5317 New macro for this case.
5318 [!__GNUC__] (__bswap_64): New inline function for this case.
5319 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5320 * bits/byteswap.h: Likewise.
5321 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5322 ull, guard with __GLIBC_HAVE_LONG_LONG.
5323
5324 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5325 __GLIBC_HAVE_LONG_LONG.
5326
5327 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5328 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5329
39c59c35
TMQMF
53302012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5331
5332 [BZ #13691]
5333 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5334 inptr and inend, rather than using last_ch.
5335
135ffda8
DM
53362012-04-02 David S. Miller <davem@davemloft.net>
5337
5338 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5339 * stdio-common/printf-parse.h (read_int): Change return type to
5340 'int', return -1 on INT_MAX overflow.
5341 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5342 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5343 overflows INT_MAX. Check for overflow of in-format-string precision
5344 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5345 SIZE_MAX not INT_MAX for integer overflow test.
5346 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5347 skip the construct in the format string but do not record anything.
5348 * stdio-common/bug22.c: Adjust to test both width/prevision
5349 INT_MAX overflow as well as total length INT_MAX overflow. Check
5350 explicitly for proper errno values.
5351
228c019e
TS
53522012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5353
302cadd3
TS
5354 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5355 CHAR_MAX.
5356 * string/test-strcmp.c [! WIDE]: Likewise.
5357 * time/tst-mktime2.c: Likewise for INT_MAX.
5358 * string/test-string.h: #include <sys/param.h> for MIN.
5359
228c019e
TS
5360 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5361 * sysdeps/i386/init-first.c (init): Likewise.
5362 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5363 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5364 * sysdeps/sh/init-first.c (init): Likewise.
5365
cfa633f5
UD
53662012-04-01 Ulrich Drepper <drepper@gmail.com>
5367
5368 * po/ru.po: Update from translation team.
d1635ef8 5369 * po/vi.po: Likewise.
cfa633f5 5370
6cd0a5ea
SP
53712012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5372
5373 * resolv/nss_dns/dns-host.c: Merge copyright years.
5374
4b43400f
LD
53752012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5376
5377 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5378 Optimize memcpy with prefetch if
5379 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5380 src, dst pointers have unequal 16 byte alignments.
5381
48c41d04
SP
53822012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5383
5384 [BZ #13928]
5385 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5386 from a CNAME entry and return the minimum ttl for the query.
5387 (gaih_getanswer_slice): Likewise.
5388
b8dc394d
JL
53892012-03-30 Jeff Law <law@redhat.com>
5390
5391 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5392 due to long keys.
5393 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5394 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5395
2f5a5ed0
JL
5396 * resolv/nss_dns/dns-host.c: Update copyright year.
5397
1d39e359
UD
53982012-03-30 Ulrich Drepper <drepper@gmail.com>
5399
c030f70c 5400 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 5401 requests to save a system call. Fix check that all bytes are sent.
c030f70c 5402
1d39e359
UD
5403 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5404 comments for sendmmsg.
5405
54062012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
5407
5408 [BZ #13691]
5409 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5410 with only 1 character between 0x0041 and 0x01b0.
5411 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5412 * wcsmbs/tst-mbsnrtowcs.c: New file.
5413
20fde227
DM
54142012-03-29 David S. Miller <davem@davemloft.net>
5415
5416 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5417 small copies by hand.
5418
984a4237
JL
54192012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5420
5421 [BZ #13761]
5422 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5423 _nss_compat_initgroups_dyn): Fall back to malloc/free
5424 for large group memberships.
5425
18c9d62b
DM
54262012-03-28 David S. Miller <davem@davemloft.net>
5427
88d85d4f
DM
5428 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5429 that branches into memcpy.
5430 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5431 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5432 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5433 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5434 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5435 bits.
5436 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5437 implementation too.
5438 * sysdeps/sparc/mempcpy.S: New file.
5439
e5aa83e1
DM
5440 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5441 the IFUNC routine in the libc case.
5442 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5443
88570753
DM
5444 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5445 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5446 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5447 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5448 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5449 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5450 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5451 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5452
249d7567
DM
5453 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5454 loop to 256 bytes instead of 64 bytes and fix test signedness.
5455
18c9d62b
DM
5456 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5457 * sysdeps/sparc/sparc32/Makefile: rather than here...
5458 * sysdeps/sparc/sparc64/Makefile: and here.
5459
05f3d1f6
UD
54602012-03-28 Ulrich Drepper <drepper@gmail.com>
5461
5462 * malloc/mallocbug.c: Avoid warnings about unused variables.
5463
86ae07a8
JL
54642012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5465
5466 [BZ #13760]
5467 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5468 in the right place. Discard and retry query if response is
5469 larger than input buffer size.
5470
41bf21a1
JM
54712012-03-28 Joseph Myers <joseph@codesourcery.com>
5472
d6270972
JM
5473 [BZ #369]
5474 [BZ #2678]
5475 [BZ #3866]
5476 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5477 x for large integer exponent.
5478 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5479 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5480 sign of result as needed afterwards.
5481 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5482 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5483 result for underflowing pow the same as for overflow.
5484 (__kernel_standard_l): Handle powl overflow and underflow here
5485 rather than calling __kernel_standard.
5486 * math/libm-test.inc (pow_test): Add more tests.
5487
414fca03 5488 [BZ #3868]
41bf21a1
JM
5489 [BZ #13879]
5490 [BZ #13910]
5491 [BZ #13911]
5492 [BZ #13912]
5493 [BZ #13913]
5494 [BZ #13915]
5495 [BZ #13916]
5496 [BZ #13917]
5497 [BZ #13918]
5498 [BZ #13919]
5499 [BZ #13920]
5500 [BZ #13921]
5501 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5502 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5503 (__kernel_standard_l): New function.
5504 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5505 __kernel_standard.
5506 * math/w_acosl.c (__acosl): Likewise.
5507 * math/w_asinl.c (__asinl): Likewise.
5508 * math/w_atan2l.c (__atan2l): Likewise.
5509 * math/w_atanhl.c (__atanhl): Likewise.
5510 * math/w_coshl.c (__coshl): Likewise.
5511 * math/w_exp10l.c (__exp10l): Likewise.
5512 * math/w_exp2l.c (__exp2l): Likewise.
5513 * math/w_fmodl.c (__fmodl): Likewise.
5514 * math/w_hypotl.c (__hypotl): Likewise.
5515 * math/w_j0l.c (__j0l, __y0l): Likewise.
5516 * math/w_j1l.c (__j1l, __y1l): Likewise.
5517 * math/w_jnl.c (__jnl, __ynl): Likewise.
5518 * math/w_lgammal.c (__lgammal): Likewise.
5519 * math/w_log10l.c (__log10l): Likewise.
5520 * math/w_log2l.c (__log2l): Likewise.
5521 * math/w_logl.c (__logl): Likewise.
5522 * math/w_powl.c (__powl): Likewise.
5523 * math/w_remainderl.c (__remainderl): Likewise.
5524 * math/w_scalbl.c (sysv_scalbl): Likewise.
5525 * math/w_sinhl.c (__sinhl): Likewise.
5526 * math/w_sqrtl.c (__sqrtl): Likewise.
5527 * math/w_tgammal.c (__tgammal): Likewise.
5528 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5529 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5530 * math/libm-test.inc (acos_test): Add more tests.
5531 (acosh_test): Likewise.
5532 (asin_test): Likewise.
5533 (atanh_test): Likewise.
5534 (exp_test): Likewise.
5535 (exp10_test): Likewise.
5536 (exp2_test): Likewise.
5537 (expm1_test): Likewise.
5538 (lgamma_test): Likewise.
5539 (log_test): Likewise.
5540 (log10_test): Likewise.
5541 (log1p_test): Likewise.
5542 (log2_test): Likewise.
5543 (pow_test): Do not allow some spurious overflow exceptions.
5544 (sqrt_test): Add more tests.
5545 (tgamma_test): Likewise.
5546 (y0_test): Likewise.
5547 (y1_test): Likewise.
5548 (yn_test): Likewise.
5549
dd62fda6
AB
55502012-03-27 Anton Blanchard <anton@samba.org>
5551
5552 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5553 MAP_HUGETLB.
5554 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5555 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5556 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5557
1e3cdfda
AJ
55582012-03-27 David S. Miller <davem@davemloft.net>
5559
b855ab85
DM
5560 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5561
1e3cdfda
AJ
5562 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5563 have-as-vis3 check.
5564
55652012-03-27 Andreas Jaeger <aj@suse.de>
5566
5567 * sysdeps/x86_64/elf/configure.in: Moved to ...
5568 * sysdeps/x86_64/configure.in: ... here.
5569 * sysdeps/x86_64/elf/start.S: Moved to ...
5570 * sysdeps/x86_64/start.S: ... here.
5571 * sysdeps/x86_64/elf/configure: Delete.
5572
5573 * sysdeps/x86_64/configure.in: Merge contents from
5574 sysdeps/i386/configure.in (without i686 check).
5575
5576 * sysdeps/i386/elf/Versions: Merge into ...
5577 * sysdeps/i386/Versions: ... this.
5578 * sysdeps/i386/elf/Versions: Delete file.
5579 * sysdeps/i386/elf/start.S: Moved to ...
5580 * sysdeps/i386/start.S: ...here.
5581 * sysdeps/i386/elf/configure.in: Merge into...
5582 * sysdeps/i386/configure.in: ...here.
5583 * sysdeps/i386/elf/configure.in: Delete file.
5584 * sysdeps/i386/elf/configure: Delete file.
5585
5586 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5587 * debug/backtracesyms.c: ... here.
5588 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5589 * debug/backtracesymsfd.c: ... here.
5590 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5591 * sysdeps/generic/ifunc-sel.h: ... here.
5592
5593 * sysdeps/unix/i386/start.c: Delete file.
5594 * sysdeps/unix/sparc/start.c: Delete file.
5595 * sysdeps/unix/start.c: Delete file.
5596
5597 * sysdeps/sh/elf/configure.in: Moved to ...
5598 * sysdeps/sh/configure.in: ... here.
5599 * sysdeps/sh/elf/start.S: Moved to ...
5600 * sysdeps/sh/start.S: ... here.
5601 * sysdeps/sh/elf/configure: Delete file.
5602
5603 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5604 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5605 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5606 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5607 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5608 * sysdeps/powerpc/powerpc64/start.S: here.
5609 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5610 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5611 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5612 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5613 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5614
5615 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5616 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5617 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5618 * sysdeps/powerpc/powerpc32/start.S: ... here.
5619 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5620 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5621 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5622
5623 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5624 * sysdeps/powerpc/ifunc-sel.h: ... here.
5625 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5626 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5627
5628 * sysdeps/sparc/elf/configure.in: Moved to ...
5629 * sysdeps/sparc/configure.in: ... here.
5630 * sysdeps/sparc/elf/configure: Delete file.
5631 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5632 * sysdeps/sparc/sparc32/start.S: ... here.
5633 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5634 * sysdeps/sparc/sparc64/start.S: ... here.
5635 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5636 * sysdeps/sparc/sparc32/Makefile: ... this.
5637 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5638 * sysdeps/sparc/sparc64/Makefile: ... this.
5639
5640 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5641 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5642 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5643 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5644 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5645 * sysdeps/s390/s390-32/setjmp.S: ... here.
5646 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5647 * sysdeps/s390/s390-32/configure.in: ... here.
5648 * sysdeps/s390/s390-32/elf/configure: Delete file.
5649 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5650 * sysdeps/s390/s390-32/start.S: ... here.
5651
5652 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5653 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5654 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5655 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5656 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5657 * sysdeps/s390/s390-64/setjmp.S: ... here.
5658 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5659 * sysdeps/s390/s390-64/configure.in: ... here
5660 * sysdeps/s390/s390-64/elf/configure: Delete file.
5661 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5662 * sysdeps/s390/s390-64/start.S: ... here.
5663 * sysdeps/s390/s390-64/elf/configure: Delete.
5664
5665 * configure.in: Remove support for elf directories in sysdeps.
5666
5667 * configure: Regenerated.
5668 * sysdeps/i386/configure: Regenerated.
5669 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5670 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5671 * sysdeps/s390/s390-32/configure: Regenerated.
5672 * sysdeps/s390/s390-64/configure: Regenerated.
5673 * sysdeps/sh/configure: Regenerated.
5674 * sysdeps/sparc/configure: Regenerated.
5675 * sysdeps/x86_64/configure: Regenerated.
5676
a3f61311
AS
56772012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5678
c876e002
AS
5679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5680
a3f61311
AS
5681 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5682 denormal result into account.
5683
ac4c54f0
RM
56842012-03-25 Roland McGrath <roland@hack.frob.com>
5685
5686 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5687 Reported by Allan McRae <allan@archlinux.org>.
5688
6a9b9c02
JL
56892012-03-23 Jeff Law <law@redhat.com>
5690
5691 * nss/getnssent.c (__nss_getent): Fix typo.
5692
4c42a0c1
DM
56932012-03-23 David S. Miller <davem@davemloft.net>
5694
5695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5696
1532c7ac
L
56972012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5698
5699 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5700 to pad to uint64_t for each field.
5701 (dl_tls_index): Replace unsigned long with uint64_t.
5702
3ff42526
PP
57032012-03-23 Daniel Jacobowitz <dmj@google.com>
5704 Paul Pluzhnikov <ppluzhnikov@google.com>
5705
5706 [BZ #6528]
5707 * grp/Makefile (otherlibs): Don't set it.
5708 * inet/Makefile (otherlibs): Likewise.
5709 * login/Makefile (otherlibs): Likewise.
5710 * nscd/Makefile (otherlibs): Likewise.
5711 * posix/Makefile (otherlibs): Likewise.
5712 * pwd/Makefile (otherlibs): Likewise.
5713 * rt/Makefile (otherlibs): Likewise.
5714 * sunrpc/Makefile (otherlibs): Likewise.
5715 * nss/Makefile (otherlibs): Likewise.
5716 Add libnss_files to routines and static-only-routines.
5717 ($(objpfx)getent): Remove rule.
5718 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5719 static-only-routines.
5720
7c69cd14
JM
57212012-03-22 Joseph Myers <joseph@codesourcery.com>
5722
5723 [BZ #13892]
5724 * math/s_cexp.c: Include <float.h>.
5725 (__cexp): Handle exp result overflowing not necessarily
5726 overflowing both real and imaginary parts of result.
5727 * math/s_cexpf.c: Likewise.
5728 * math/s_cexpl.c: Likewise.
5729 * math/libm-test.inc (cexp_test): Add more tests.
5730 * sysdeps/i386/fpu/libm-test-ulps: Update.
5731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5732
81b035fe
L
57332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5734
5735 * include/link.h (ELFW): New macro.
5736 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5737 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5738
1da7940c
L
57392012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5740
5741 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5742 with uint64_t.
5743
b749dbb9
L
57442012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5745
5746 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5747 declaration.
5748 (struct La_x32_retval): Likewise.
5749
2ff87f3f
L
57502012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5751
5752 * sysdeps/x86_64/preconfigure.in: New file.
5753 * sysdeps/x86_64/preconfigure: New generated file.
5754
c0df8e69
JM
57552012-03-22 Joseph Myers <joseph@codesourcery.com>
5756
48e44791
JM
5757 [BZ #13824]
5758 * math/e_exp2l.c: Include <float.h>.
5759 (__ieee754_exp2l): Handle overflow and underflow cases
5760 separately. Only pass fractional part of argument to
5761 __ieee754_expl.
5762 * math/libm-test.inc (exp2_test): Add more tests.
5763
c0df8e69
JM
5764 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5765 negating x to take absolute value.
5766 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5767 Likewise.
5768 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5769 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5770 Likewise.
5771 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5772 computing low part if x was negated.
5773 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5774
c8e43ba7
L
57752012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5776
5777 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5778 la_x32_gnu_pltexit.
5779 (pltexit): Cast int_retval to ptrdiff_t.
5780 * elf/tst-auditmod3b.c: Likewise.
5781 * elf/tst-auditmod4b.c: Likewise.
5782 * elf/tst-auditmod5b.c: Likewise.
5783 * elf/tst-auditmod6b.c: Likewise.
5784 * elf/tst-auditmod6c.c: Likewise.
5785 * elf/tst-auditmod7b.c: Likewise.
5786
5787 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5788 and x32_gnu_pltexit.
5789
5790 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5791 __ELF_NATIVE_CLASS.
5792 (La_x32_regs): New macro.
5793 (La_x32_retval): Likewise.
5794 (la_x32_gnu_pltenter): New function prototype.
5795 (la_x32_gnu_pltexit): Likewise.
5796
7998fa78
AS
57972012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5798
dcb33988
AS
5799 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5800 exponent.
5801
233fc563
AS
5802 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5803
7998fa78
AS
5804 * configure.in (libc_cv_cc_nofma): Check for option to disable
5805 generation of FMA instructions.
5806 * configure: Regenerate.
5807 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5808 * sysdeps/ieee754/dbl-64/Makefile: New file.
5809 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5810 Remove brandred-fma4.
5811 (CFLAGS-brandred-fma4.c): Remove.
5812 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5813 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5814 define.
5815 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5816 define.
5817
8e95c99a
L
58182012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5819
5820 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5821 LLONG_MAX != LONG_MAX.
5822 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5823 (_fitoa_word): Likewise.
5824 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5825 LLONG_MAX != LONG_MAX.
5826 * stdio-common/_itowa.h: Include <_itoa.h>.
5827 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5828 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5829 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5830 only if not defined.
5831 (_ITOA_WORD_TYPE): Likewise.
5832 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5833 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5834
6f4db457
DM
58352012-03-21 David S. Miller <davem@davemloft.net>
5836
5837 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5838
7785fe5a
L
58392012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5840
5841 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5842 of x86_64 when setting libc_cv_slibdir, libdir and
5843 libc_cv_localedir.
5844 * sysdeps/unix/sysv/linux/configure: Regenerated.
5845
4535cd55
JM
58462012-03-21 Joseph Myers <joseph@codesourcery.com>
5847
5848 * manual/lang.texi (Old Varargs): Remove section.
5849 (How Variadic): Update menu.
5850 (va_start): Do not mention varargs.h.
5851
17228132
TS
58522012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5853 Joseph Myers <joseph@codesourcery.com>
5854
5855 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5856 link test.
5857 * configure: Regenerated.
5858
8149f976
TS
58592012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5860
05f3d1f6
UD
5861 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5862 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5863 conformtest.pl
8149f976 5864
1a4ac776
JM
58652012-03-21 Joseph Myers <joseph@codesourcery.com>
5866
be22ce65
JM
5867 * NOTES: Remove.
5868 * Makefile (files-for-dist): Remove NOTES.
5869 (NOTES): Remove rule.
5870 * README: Don't refer to NOTES.
5871 * manual/creature.texi: Don't include macros.texi.
5872 * manual/intro.texi (creature.texi): Remove comment referring to
5873 NOTES.
5874
40b601fb
JM
5875 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5876 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5877 * configure: Regenerated.
5878 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5879 LIBC_TRY_CC_OPTION.
5880 (libc_cv_as_i686): Likewise.
5881 (libc_cv_cc_avx): Likewise.
5882 (libc_cv_cc_sse2avx): Likewise.
5883 (libc_cv_cc_fma4): Likewise.
5884 (libc_cv_cc_novzeroupper): Likewise.
5885 * sysdeps/i386/configure: Regenerated.
5886
1a4ac776
JM
5887 [BZ #13883]
5888 * sysdeps/i386/fpu/s_cexp.S: Remove.
5889 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5890 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5891 * math/libm-test.inc (cexp_test): Add more tests.
5892 * sysdeps/i386/fpu/libm-test-ulps: Update.
5893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5894
a458e7fe
AM
58952012-03-21 Allan McRae <allan@archlinux.org>
5896
5897 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5898
0cb7efc5
JM
58992012-03-21 Joseph Myers <joseph@codesourcery.com>
5900
5901 [BZ #13871]
5902 * math/w_exp2.c: Do not include <float.h>.
5903 (o_threshold, u_threshold): Remove.
5904 (__exp2): Calculate result before checking finiteness and calling
5905 __kernel_standard.
5906 * math/w_exp2f.c: Likewise.
5907 * math/w_exp2l.c: Likewise.
5908 * math/libm-test.inc (exp2_test): Require overflow exception for
5909 1e6 input.
2460d3aa
JM
5910
5911 [BZ #3866]
5912 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5913 range of signed 64-bit integers before using fistpll. Remove
5914 checks for whether integers fit in mantissa bits.
5915 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5916 the range of signed 32-bit integers before using fistpl. Remove
5917 checks for whether integers fit in mantissa bits.
5918 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5919 (__ieee754_powl): Test for y outside the range of signed 64-bit
5920 integers before using fistpll. Reduce 64-bit values to 63-bit
5921 ones as needed.
5922 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5923 divide-by-zero is raised for zero to large negative powers.
5924 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5925 (__ieee754_powl): Test for y outside the range of signed 64-bit
5926 integers before using fistpll. Reduce 64-bit values to 63-bit
5927 ones as needed.
5928 * math/libm-test.inc (pow_test): Add more tests.
5929
eb96ffb0
L
59302012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5931
5932 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5933 <stdio-common/_itoa.h>.
5934 * debug/segfault.c: Likewise.
5935 * elf/dl-cache.c: Likewise.
5936 * elf/dl-minimal.c: Likewise.
5937 * elf/dl-misc.c: Likewise.
5938 * elf/dl-sysdep.c: Likewise.
5939 * elf/dl-version.c: Likewise.
5940 * elf/rtld.c: Likewise.
5941 * hurd/hurdsock.c: Likewise.
5942 * hurd/lookup-retry.c: Likewise.
5943 * malloc/malloc.c: Likewise.
5944 * malloc/mtrace.c: Likewise.
5945 * nscd/nscd_getgr_r.c: Likewise.
5946 * nscd/nscd_getpw_r.c: Likewise.
5947 * nscd/nscd_getserv_r.c: Likewise.
5948 * posix/getopt_init.c: Likewise.
5949 * posix/wordexp.c: Likewise.
5950 * stdio-common/_itoa.c: Likewise.
5951 * stdio-common/printf_fphex.c: Likewise.
5952 * stdio-common/vfprintf.c: Likewise.
5953 * string/_strerror.c: Likewise.
5954 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5955 * sysdeps/i386/i686/hp-timing.h: Likewise.
5956 * sysdeps/mach/_strerror.c: Likewise.
5957 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5958 * sysdeps/mach/hurd/sethostid.c: Likewise.
5959 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5960 * sysdeps/mach/xpg-strerror.c: Likewise.
5961 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5962 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5963 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5964 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5965 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5966 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5967 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5968 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5969 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5970 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5971 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5972 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5973 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5974 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5975 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5976 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5977 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5978 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5979 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5980 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5981 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5982
5983 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5984
5985 * stdio-common/_itoa.h: Moved to ...
5986 * sysdeps/generic/_itoa.h: Here.
5987
5988 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5989
5990 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5991 instead of "_itoa.h" and "_itowa.h".
5992 * stdio-common/vfprintf.: Likewise.
5993
d1af992d
L
59942012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5995
5996 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5997 <bits/wordsize.h>.
5998 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5999 (__signbit): Likwise.
6000 (llrintf): Likwise.
6001 (llrint): Likwise.
6002
114883e0
L
60032012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6004
6005 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
6006 __WORDSIZE != 64.
6007
c135cc1b
JM
60082012-03-20 Joseph Myers <joseph@codesourcery.com>
6009
6010 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
6011 OVERFLOW_EXCEPTION_OK.
6012 * math/libm-test.inc ("Philosophy"): Update comment about
6013 exception testing.
6014 (OVERFLOW_EXCEPTION): Define.
6015 (OVERFLOW_EXCEPTION_OK): Likewise.
6016 (INVALID_EXCEPTION_OK): Renumber.
6017 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6018 (IGNORE_ZERO_INF_SIGN): Likewise.
6019 (test_exceptions): Handle FE_OVERFLOW.
6020 (exp10_test): Expect overflow exceptions.
6021 (exp2_test): Likewise.
6022 (expm1_test): Likewise.
6023 (nextafter_test): Likewise.
6024 (pow_test): Likewise.
6025 (scalbn_test): Likewise.
6026 (scalbln_test): Likewise.
6027
95443d88
L
60282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6029
6030 * sysdeps/x86_64/bits/atomic.h
6031 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
6032 64bit integer.
6033 (atomic_exchange_acq): Likewise.
6034 (__arch_exchange_and_add_body): Likewise.
6035 (__arch_add_body): Likewise.
6036 (atomic_add_negative): Likewise.
6037 (atomic_add_zero): Likewise.
6038
490df6c4
L
60392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6040
c2722551 6041 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
6042 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
6043
5e52b189
L
60442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6045
6046 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
6047 Check __x86_64__ instead of __WORDSIZE.
6048
a9879d4c
L
60492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6050
6051 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
6052
5df98260
DM
60532012-03-19 David S. Miller <davem@davemloft.net>
6054
e1497744
DM
6055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6056
5df98260
DM
6057 * sysdeps/sparc/fpu/fenv_private.h: New file.
6058 * sysdeps/sparc/fpu/math_private.h: Use it.
6059 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
6060 Remove.
6061 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
6062 (libc_feholdexcept_setroundl): Remove.
6063 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
6064 Remove.
6065 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
6066 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
6067
b4c35121
L
60682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6069
6070 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
6071 int64_t instead of long int.
6072 (INSERT_WORDS64): Likwise.
6073
56965fd7
L
60742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6075
6076 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
6077 _Unwind_GetCFA return to _Unwind_Ptr first.
6078
83d1aec8
JM
60792012-03-19 Joseph Myers <joseph@codesourcery.com>
6080
1897ad44
JM
6081 [BZ #13629]
6082 * math/s_clog.c: Include <float.h>.
6083 (__clog): Scale large or subnormal inputs.
6084 * math/s_clogf.c: Likewise.
6085 * math/s_clogl.c: Likewise.
6086 * math/s_clog10.c: Include <float.h>.
6087 (M_LOG10_2): Define.
6088 (__clog10): Scale large or subnormal inputs.
6089 * math/s_clog10f.c: Likewise.
6090 * math/s_clog10l.c: Likewise.
6091 * math/libm-test.inc (clog_test): Add more tests.
6092 (clog10_test): Likewise.
6093 * sysdeps/i386/fpu/libm-test-ulps: Update.
6094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6095
7726d6a9
JM
6096 [BZ #11451]
6097 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
6098 x and y.
6099 * math/libm-test.inc (atan2_test): Add another test.
6100
83d1aec8
JM
6101 * Makerules (common-objdir-compile): Remove.
6102 * sysdeps/unix/Makefile (config-generated): Do not add
6103 $(unix-generated) to variable.
6104 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
6105 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
6106 Remove rule.
6107 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
6108 Likewise.
6109 [generic bits/local_lim.h] (before-compile): Do not append to
6110 variable.
6111 [generic bits/local_lim.h] (common-generated): Likewise.
6112 [generic sys/param.h] (before-compile): Do not append to variable.
6113 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
6114 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
6115 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
6116 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
6117 include.
6118 [generic sys/param.h] (sys/param.h-includes): Remove variable.
6119 [generic sys/param.h] (sys/param.h-includes): Remove rule.
6120 [generic sys/param.h] ($(addprefix
6121 $(common-objpfx),$(sys/param.h-includes))): Likewise.
6122 [generic sys/param.h] (common-generated): Do not append to
6123 variable.
6124 [generic sys/param.h] (sysdep_headers): Likewise.
6125 [generic bits/errno.h] (before-compile): Do not append to
6126 variable.
6127 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6128 rule.
6129 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6130 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6131 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6132 [generic bits/errno.h] (common-generated): Do not append to
6133 variable.
6134 [generic bits/ioctls.h] (before-compile): Do not append to
6135 variable.
6136 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6137 rule.
6138 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6139 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6140 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6141 rule.
6142 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6143 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6144 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6145 [generic bits/ioctls.h] (common-generated): Do not append to
6146 variable.
6147 [generic sys/syscall.h] (syscall.h): Remove variable.
6148 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6149 rule.
6150 [generic sys/syscall.h] (before-compile): Do not append to
6151 variable.
6152 [generic sys/syscall.h] (common-generated): Likewise.
6153 * sysdeps/unix/errnos-tmpl.c: Remove file.
6154 * sysdeps/unix/errnos.awk: Likewise.
6155 * sysdeps/unix/ioctls-tmpl.c: Likewise.
6156 * sysdeps/unix/ioctls.awk: Likewise.
6157 * sysdeps/unix/mk-local_lim.c: Likewise.
6158 * sysdeps/unix/snarf-ioctls: Likewise.
6159
4851a949
RH
61602012-03-19 Richard Henderson <rth@twiddle.net>
6161
bd37f2ee
RH
6162 * sysdeps/i386/fpu/fenv_private.h: New file.
6163 * sysdeps/i386/fpu/math_private.h: Use it.
6164 (math_opt_barrier, math_force_eval): Remove.
6165 (libc_feholdexcept_setround_53bit): Remove.
6166 (libc_feupdateenv_53bit): Remove.
6167 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6168 (math_opt_barrier, math_force_eval): Remove.
6169 (libc_feholdexcept): Remove.
6170 (libc_feholdexcept_setround): Remove.
6171 (libc_fetestexcept, libc_fesetenv): Remove.
6172 (libc_feupdateenv_test): Remove.
6173 (libc_feupdateenv, libc_feholdsetround): Remove.
6174 (libc_feresetround): Remove.
6175
d0adc922
RH
6176 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6177 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6178
0fe0f1f8
RH
6179 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6180 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6181 (libc_feupdateenv_testl): New.
6182 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6183 (libc_feupdateenv_testf): New.
6184 (libc_feupdateenv): Use libc_feupdateenv_test.
6185 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6186 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6187
eb92c487
RH
6188 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6189 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6190 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6191 (libc_feresetround_noex): New.
6192 (libc_feresetround_noexf): New.
6193 (libc_feresetround_noexl): New.
6194 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6195 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6196 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6197 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6198 SET_RESTORE_ROUND.
6199 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6200 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6201 (__cos): Likewise.
6202 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6203 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6204 SET_RESTORE_ROUND_NOEX.
6205 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6206 SET_RESTORE_ROUND_NOEXF.
6207 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6208 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6209 (libc_feholdsetroundf): New.
6210 (libc_feresetround, libc_feresetroundf): New.
6211
7d2e8012
RH
6212 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6213 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6214 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6215
b4dabbb4
RH
6216 * sysdeps/generic/math_private.h: Include <fenv.h>.
6217 (default_libc_feholdexcept): New.
6218 (default_libc_feholdexcept_setround): New.
6219 (default_libc_fesetenv, default_libc_feupdateenv): New.
6220 (libc_feholdexcept): Only define if undefined.
6221 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6222 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6223 (libc_feholdexcept_setroundl): Likewise.
6224 (libc_feholdexcept_setround_53bit): Likewise.
6225 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6226 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6227 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6228 (libc_feupdateenv_53bit): Likewise.
6229 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6230 (libc_feholdexcept): Convert from macro to inline function.
6231 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6232 (libc_fesetenv, libc_feupdateenv): Likewise.
6233
4851a949
RH
6234 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6235 not previously defined.
6236 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6237 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6238 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6239 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6240 * sysdeps/ieee754/flt-32/math_private.h: New file.
6241 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6242 math_private.h below SET_FLOAT_WORD.
6243 (__isnan, __isinf_ns, __finite): Remove.
6244 (__isnanf, __isinf_nsf, __finitef): Remove.
6245
e79d442e
AS
62462012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6247
6248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6249
90b80344
DM
62502012-03-17 David S. Miller <davem@davemloft.net>
6251
6252 [BZ #6471]
6253 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6254 for 2.16.
6255
edc21804
DM
62562012-03-16 David S. Miller <davem@davemloft.net>
6257
77e927af
DM
6258 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6259 warnings.
6260
374976dd
DM
6261 [BZ #6471]
6262 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6263 properly.
6264 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6265 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6266 sysdep_routines when subdir is sysvipc.
6267 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6268 __getshmlba helper.
6269
edc21804
DM
6270 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6271
473c3ef3
L
62722012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6273
6274 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6275 [__LP64__].
6276
eb0f39b6
L
62772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6278
6279 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6280 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6281 (__lround): Renamed to ...
6282 (__llround): This. Replace long int with long long int.
6283 Define lround functions as aliases of llround functions.
6284 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6285
6b6cd74b
L
62862012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6287
6288 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6289 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6290 adresses to uintptr_t. Replace "long int" and "unsigned long
6291 int" with "greg_t" on va_arg.
6292
f1a77b01
L
62932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6294
6295 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6296 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6297
6298 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6299 Move e_machine check before EI_CLASS check. Handle x32
6300 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6301 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6302 SKIP_EM_IA_64 and include
6303 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6304
6305 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6306 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6307 (add_system_dir): New macro.
6308
6309 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6310 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6311
11b90b9f
JM
63122012-03-16 Joseph Myers <joseph@codesourcery.com>
6313
c36e1d23
JM
6314 [BZ #2551]
6315 [BZ #2552]
6316 [BZ #2553]
6317 [BZ #2554]
6318 [BZ #2562]
6319 [BZ #2563]
6320 [BZ #2565]
6321 [BZ #2566]
6322 [BZ #2576]
6323 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6324 (y0): Likewise.
6325 * math/w_j0f.c (j0f): Likewise.
6326 (y0f): Likewise.
6327 * math/w_j0l.c (__j0l): Likewise.
6328 (__y0l): Likewise.
6329 * math/w_j1.c (j1): Likewise.
6330 (y1): Likewise.
6331 * math/w_j1f.c (j1f): Likewise.
6332 (y1f): Likewise.
6333 * math/w_j1l.c (__j1l): Likewise.
6334 (__y1l): Likewise.
6335 * math/w_jn.c (jn): Likewise.
6336 (yn): Likewise.
6337 * math/w_jnf.c (jnf): Likewise.
6338 (ynf): Likewise.
6339 * math/w_jnl.c (__jnl): Likewise.
6340 (__ynl): Likewise.
6341 * math/libm-test.inc (j0_test): Add more tests.
6342 (j1_test): Likewise.
6343 (jn_test): Likewise. Add trailing semicolon to existing test.
6344 (y0_test): Likewise.
6345 (y1_test): Likewise.
6346 * sysdeps/i386/fpu/libm-test-ulps: Update.
6347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6348
11b90b9f
JM
6349 [BZ #13851]
6350 [BZ #13854]
6351 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6352 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6353 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6354 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6355 (__tanl): Set errno for infinite argument.
6356 * sysdeps/i386/fpu/mptan.c: Remove.
6357 * sysdeps/i386/fpu/s_tan.S: Likewise.
6358 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6359 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6360 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6361 * math/libm-test.inc (tan_test): Add more tests and enable more
6362 tests for double and long double.
6363 * sysdeps/i386/fpu/libm-test-ulps: Update.
6364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6365
6a1bd2a1
JK
63662012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6367
6368 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6369 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6370
10a803e0
RM
63712012-03-16 Roland McGrath <roland@hack.frob.com>
6372
6373 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6374 * configure.in: Use it for both main tree and add-ons.
6375 * configure: Regenerated.
6376
f196c7f7
L
63772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6378
6379 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6380
8848d99d
JM
63812012-03-16 Joseph Myers <joseph@codesourcery.com>
6382
96cbe7f4
JM
6383 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6384 in comment.
6385
8848d99d
JM
6386 [BZ #13851]
6387 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6388 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6389 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6390 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6391 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6392 infinite argument.
6393 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6394 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6395 != 0 for prec == 2.
6396 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6397 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6398 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6399 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6400 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6401 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6402 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6403 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6404 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6405 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6406 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6407 * math/libm-test.inc (cos_test): Add more tests and enable more
6408 tests for long double.
6409 (sin_test): Likewise.
6410 (sincos_test): Likewise.
6411 * sysdeps/i386/fpu/libm-test-ulps: Update.
6412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6413
dd7f4703
DM
64142012-03-16 David S. Miller <davem@davemloft.net>
6415
6416 * sysdeps/sparc/fpu/math_private.h: New file.
6417
006f1daa
DM
64182012-03-15 David S. Miller <davem@davemloft.net>
6419
c0c83bc8
DM
6420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6421 file.
e6a62e18 6422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
6423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6424 file.
e6a62e18
DM
6425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6426 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6427 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6428 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6429 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6430 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6431 sysdep routines.
6432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6433
88cb87d9
DM
6434 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6435 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6436
006f1daa 6437 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
6438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6439 sparc-ifunc.h
006f1daa 6440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
6441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6442 Likewise.
6443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6444 Likewise.
006f1daa
DM
6445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
6448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6449 Likewise.
006f1daa
DM
6450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
6454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6455 Likewise.
6456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6457 Likewise.
006f1daa
DM
6458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6462 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6463 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6464 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6465 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6466 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6467 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6468 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6469 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6470 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6471 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6472 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6473 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6474 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6475 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6476 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6477 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6478 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6479 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6480 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6481 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6482
11e0098e
AS
64832012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6484
6485 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6486 scaling.
6487 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6488
e85b09d0
AJ
64892012-03-15 Andreas Jaeger <aj@suse.de>
6490
6491 [BZ #13852]
6492 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6493 ieee754/flt-32 implementation for sin, cos and sincos.
6494 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6495 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6496 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6497 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6498 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6499 ieee754/flt-32 implementation for tan.
6500
6501 * math/libm-test.inc (cos_test): Enable some large input tests for
6502 float as well
6503 (sin_test): Likewise.
6504 (sincos_test): Likewise.
6505 (tan_test): Add tests for large input.
6506
6507 * sysdeps/i386/fpu/libm-test-ulps: Update.
6508
81c64153
AJ
65092012-03-15 Andreas Jaeger <aj@suse.de>
6510
6511 [BZ #13658]
6512 * math/libm-test.inc (cos_test): Add more test cases.
6513 (sin_test): Likewise.
6514 (sincos_test): Likewise.
6515
7bbfa5c6
AJ
65162012-03-15 Andreas Jaeger <aj@suse.de>
6517
6518 [BZ #13837]
6519 * math/libm-test.inc (cos_test): Add a test case for large input
6520 value.
6521 (sin_test): Likewise.
6522 (sincos_test): Likewise.
6523
65242012-03-15 Andreas Jaeger <aj@suse.de>,
6525 Joseph Myers <joseph@codesourcery.com>
6526
6527 [BZ #13658]
0671f479 6528 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
6529 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6530 * sysdeps/i386/fpu/branred.c: Likewise.
6531 * sysdeps/i386/fpu/dosincos.c: Likewise.
6532 * sysdeps/i386/fpu/mpa.c: Likewise.
6533 * sysdeps/i386/fpu/s_cos.S: Likewise.
6534 * sysdeps/i386/fpu/s_sin.S: Likewise.
6535 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6536 * sysdeps/i386/fpu/sincos32.c: Likewise.
6537
6538 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6539 Define.
6540 (libc_feupdateenv_53bit): Define.
6541 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6542 Define.
6543 (libc_feupdateenv_53bit): Define.
6544
6545 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6546 53 bit (without extend i386 double precision).
6547
6548 * math/libm-test.inc (sincos_test): Add tests for large input.
6549 (sin): Likewise.
6550 (cos): Likewise.
6551
6552 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6553
9cad04ea
AS
65542012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6555
6556 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6557
f7062b9a
DM
65582012-03-15 David S. Miller <davem@davemloft.net>
6559
6560 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6561 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6562 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6563 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6568 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6569 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6570 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6571 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6572 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6573 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6574 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
6575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6576 file.
f7062b9a 6577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
6578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6579 file.
f7062b9a 6580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
6581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6582 file.
f7062b9a 6583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
6584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6585 file.
f7062b9a
DM
6586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6587 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6588 fmin/fmax sysdep routines.
6589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6590
7bd951ff
DM
65912012-03-14 David S. Miller <davem@davemloft.net>
6592
559398ab
DM
6593 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6594 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6595 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6596 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6597 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6598 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6599 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6600 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6601 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6602 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6603 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6604 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6605 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6606 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6607 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6608 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6609 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6610 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6611 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6612 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6613 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6614 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6615 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6616 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6617 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6618 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6619 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6620 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6621 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6622 routines.
6623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6624 file.
559398ab 6625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
6626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6627 file.
559398ab 6628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
6629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6630 file.
559398ab 6631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
6632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6633 file.
559398ab 6634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
6635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6636 file.
559398ab 6637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
6638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6639 file.
6640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6641 file.
6642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6643 file.
6644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6645 file.
6646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6647 New file.
6648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6649 file.
6650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6651 file.
559398ab 6652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
6653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6654 file.
559398ab 6655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6657 file.
559398ab 6658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
6659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6660 file.
559398ab 6661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
6662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6663 VIS3 routines.
559398ab
DM
6664
6665 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6666 New file.
6667
5a1c1e32
DM
6668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6669
eae47a36
DM
6670 * sysdeps/sparc/configure.in: New file.
6671 * sysdeps/sparc/configure: Generate.
6672 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6673 * configure: Regenerate.
6674 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6675 * config.make.in (have-as-vis3): New.
6676 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6677 available use -Av9d instead of -Av9a.
6678 * sysdeps/sparc/sparc64/Makefile: Likewise.
6679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
6680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6681 New file.
6682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6683 file.
6684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6685 New file.
6686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6687 file.
eae47a36
DM
6688 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6689 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6690 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6691 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6692 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6693
c0c83bc8
DM
6694 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6695 fzeros/fnegs to load 0x80000000 into a float register instead of
6696 using the stack.
7bd951ff
DM
6697 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6698
bd951ccb
JM
66992012-03-14 Joseph Myers <joseph@codesourcery.com>
6700
6701 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6702 bits/syscall.h.
6703 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6704 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6705 ($(inst_includedir)/bits/syscall.h): Remove rule.
6706 ($(objpfx)bits/syscall.d): Include instead of
6707 $(objpfx)syscall-list.d.
6708 (generated): Change syscall-list.h and syscall-list.d to
6709 bits/syscall.h and bits/syscall.d.
6710
bb4e6db2
RM
67112012-03-14 Roland McGrath <roland@hack.frob.com>
6712
6713 [BZ #13846]
6714 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6715
aa4a2ae1
JM
67162012-03-14 Joseph Myers <joseph@codesourcery.com>
6717
e456826d
JM
6718 [BZ #13841]
6719 * math/s_csqrt.c: Include <float.h>.
6720 (__csqrt): Scale large or subnormal inputs.
6721 * math/s_csqrtf.c: Likewise.
6722 * math/s_csqrtl.c: Likewise.
6723 * math/libm-test.inc (csqrt_test): Add more tests.
6724 * sysdeps/i386/fpu/libm-test-ulps: Update.
6725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6726
aa4a2ae1
JM
6727 [BZ #13840]
6728 * math/libm-test.inc (hypot_test): Add more tests.
6729
7c10fd35
DM
67302012-03-13 David S. Miller <davem@davemloft.net>
6731
6732 [BZ #13840]
6733 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6734 double-precision for the calculation instead of scaling.
6735
f453b98b
JM
67362012-03-13 Joseph Myers <joseph@codesourcery.com>
6737
6738 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6739 manipulate bits before adding and subtracting TWO52[sx].
6740 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6741 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6742 Likewise.
6743 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6744
09a3453f
DM
67452012-03-13 David S. Miller <davem@davemloft.net>
6746
8e59da90
DM
6747 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6748 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6749 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6750 rtld-global-offsets.h
6751 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6752
2a8ab7f2
DM
6753 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6754 large parameters.
6755
10f62770
DM
6756 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6757
5f0bdb18
DM
6758 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6759 'err' in the ifdef scope in which it is actually used.
6760
09a3453f
DM
6761 * nss/nss_db/db-init.c: Include string.h
6762
b4b2eb5e
DM
67632012-03-12 David S. Miller <davem@davemloft.net>
6764
98bb2f1c
DM
6765 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6766 masking out of the most significant byte of random value used.
6767 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6768 Fix coding style in previous change.
6769
b4b2eb5e
DM
6770 * sysdeps/unix/sysv/linux/kernel-features.h
6771 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6772 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6773 expression.
6774 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6775 later.
6776
6e226b09
DM
67772012-03-11 David S. Miller <davem@davemloft.net>
6778
a1bcbd40
DM
6779 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6780 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6781 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6782 for 'resultvar' otherwise things get truncated on 64-bit.
6783
cb9d6174
DM
6784 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6785 Fix masking out of the most significant byte of random value used.
6786
6e226b09
DM
6787 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6788
058c132d
AS
67892012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6790
6791 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6792
2d2cd515
DM
67932012-03-09 David S. Miller <davem@davemloft.net>
6794
6795 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6796 variables with appropriate CPP guards.
6797 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6798 frame pointer, not the stack pointer. Correct layout comments. Fix test
6799 on resulting framesize and the management of the outregs buffer for pltexit.
6800 Preserve floating point return values across _dl_call_pltexit call.
6801 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6802 framesize and the management of the outregs buffer for pltexit.
6803 Preserve floating point return values across _dl_call_pltexit
6804 call.
6805 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6806 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6807 (print_exit): Fix format string for return register value.
6808
9a07f9d0
JM
68092012-03-10 Joseph Myers <joseph@codesourcery.com>
6810
6811 * sunrpc/Makefile (others): Add rpcgen.
6812 ($(objpfx)rpcgen): Remove special build rule and dependency on
6813 libc.
6814 * sunrpc/rpcgen.c: New file.
6815
547b5e30
PE
68162012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6817
c524201a
PE
6818 [BZ #13673]
6819 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6820 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6821 * sysdeps/i386/crti.S: Likewise.
6822 * sysdeps/i386/crtn.S: Likewise.
6823 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6824 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6825 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6826 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6827 * sysdeps/sh/crti.S: Likewise.
6828 * sysdeps/sh/crtn.S: Likewise.
6829 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6830
7b6235f2
PE
6831 [BZ #13673]
6832 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6833 with URL.
6834 * locale/programs/locfile-kw.gperf: Likewise.
6835 * locale/programs/charmap-kw.h: Regenerated.
6836 * locale/programs/locfile-kw.h: Likewise.
6837
547b5e30
PE
6838 [BZ #13673]
6839 * intl/plural.y: Replace FSF snail mail address with URL.
6840 * intl/plural.c: Regenerated.
6841
5f0a5dae
RH
68422012-03-09 Richard Henderson <rth@twiddle.net>
6843
6844 * include/math_private.h: Remove file.
6845 * math/math_private.h: Move file ...
6846 * sysdeps/generic/math_private.h: ... here.
6847
b8c03620
RH
6848 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6849 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6850 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6851
4e234f5d 6852 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
6853 and <math_private.h>.
6854 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6855 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6856 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6857 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6858 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6859 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6860 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6861 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6862 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6863 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6864 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6865 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6866 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6867 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6868 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6869 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6870 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6871 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6872 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6873 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6874 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6875 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6876 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6877 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6878 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6879 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6880 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6881 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6882 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6883 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6884 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6885 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6886 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6887 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6888 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6889 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6890 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6891 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6892 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6893 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6894 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6895 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6896 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6897 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6898 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6899 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6900 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6901 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6902 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6903 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6904 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6905 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6906 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6907 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6908 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6909 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6910 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6911 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6912 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6913 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6914 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6915 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6916 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6917 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6918 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6919 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6920 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6921 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6922 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6923 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6924 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6925 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6926 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6927 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6928 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6929 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6930 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6931 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6932 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6933 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6934 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6935 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6936 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6937 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6938 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6939 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6940 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6941 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6942 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6943 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6944 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6945 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6946 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6947 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6948 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6949 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6950 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6951 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6952 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6953 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6954 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6955 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6956 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6957 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6958 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6959 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6960 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6961 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6962 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6963 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6964 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6965 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6966 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6967 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6968 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6969 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6970 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6971 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6972 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6973 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6974 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6975 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6976 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6977 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6978 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6979 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6980 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6981 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6982 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6983 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6984 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6985 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6986 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6987 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6988 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6989 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6990 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6991 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6992 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6993 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6994 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6995 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6996 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6997 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6998 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6999 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7000 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7001 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7002 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7003 * sysdeps/ieee754/k_standard.c: Likewise.
7004 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7005 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7006 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7007 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7008 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7009 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7010 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7011 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7012 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7013 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7014 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7015 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7016 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7017 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7018 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7019 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7020 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7021 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7022 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7023 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7024 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7025 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7026 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7027 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7028 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7029 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7030 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7031 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7032 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7033 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7034 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7035 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7036 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7037 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7038 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7039 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7040 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7041 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
7042 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7043 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7044 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7045 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7046 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7047 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7048 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7049 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7050 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7051 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7052 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7053 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7054 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7055 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7056 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7057 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7058 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7059 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7060 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
7061 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7062 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7063 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7064 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7065 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7066 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7067 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7068 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7069 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7070 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7071 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7072 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7073 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7074 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7075 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7076 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7077 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7078 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7079 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7080 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
7081 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7082 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7083 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7084 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7085 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7086 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7087 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7088 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
7089 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7090 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7091 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7092 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7093 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7094 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
7095 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7096 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7097 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7098 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7099 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7100 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
7101 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7102 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7103 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
7104 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7105 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7106 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7107 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7108 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
7109 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7110 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7111 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7112 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
7113 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7114 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7115 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7116 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7117 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7118 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7119 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7120 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7121 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7122 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7123 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7124 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7125 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7126 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7127 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7128 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7129 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7130 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7131 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7132 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7133 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7134 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7135 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7136 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7137 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7138 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7139 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7140 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7141 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7142 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7143 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7144 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7145 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7146 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7147 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7148 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7149 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7150 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7151 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7152 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7153 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7154 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7155 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7156 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7157 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7158 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7159 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7160 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7161 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7162 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7163 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7164 * sysdeps/ieee754/s_lib_version.c: Likewise.
7165 * sysdeps/ieee754/s_matherr.c: Likewise.
7166 * sysdeps/ieee754/s_signgam.c: Likewise.
7167 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7168 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7169 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7170 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7171 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7172 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7173 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7174 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7175 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7176 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7177 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7178 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7179 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7180 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7181 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7182 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7183 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7184 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7185 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7186 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7187 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 7188
1991fa03
JM
71892012-03-09 Joseph Myers <joseph@codesourcery.com>
7190
7191 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7192 * sunrpc/rpc_main.c: Likewise.
7193 * sunrpc/rpc_svcout.c: Likewise.
7194
60d6f5a6
DM
71952012-03-09 David S. Miller <davem@davemloft.net>
7196
7197 * include/math_private.h: New file.
7198
4962050e
JM
71992012-03-09 Joseph Myers <joseph@codesourcery.com>
7200
02a6f887
JM
7201 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7202 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7203 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7204 from <bits/socket_type.h>.
7205 (enum __socket_type): Don't define here.
7206 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7207 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7208 bits/socket_type.h.
7209
c6e013c1
JM
7210 [BZ #13566]
7211 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7212 checking __USE_GNU.
7213
4962050e
JM
7214 * Makerules ($(inst_includedir)/%.h): New rule.
7215 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7216 (install-others): Remove variable setting.
7217 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7218
38842f45
RH
72192012-03-08 Richard Henderson <rth@twiddle.net>
7220
67bb6da6
RH
7221 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7222 from macro to inline function; merge with the
7223 !__LIBC_INTERNAL_MATH_INLINES version.
7224 (__ieee754_sqrtf): Likewise.
7225
15194b4b
RH
7226 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7227 to inline function.
7228 (__rintf, __floor, __floorf): Likewise.
7229
64e21ede
RH
7230 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7231 macro to inline function.
7232 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7233
38842f45
RH
7234 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7235 not <math/math_private.h>.
7236
c64bf5fe
DM
72372012-03-08 David S. Miller <davem@davemloft.net>
7238
7239 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7240 copyright year.
7241 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7242
82d86f28
TS
72432012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7244
7245 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7246 normalization.
7247 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7248 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7249
aea5d727
UD
72502012-03-08 Ulrich Drepper <drepper@gmail.com>
7251
7252 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7253 be defined individually, they must be defined as a block. Define
7254 S for printing a string instead of hidint the different by using a
7255 macro for adding the 'l'.
7256 * stdio-common/tst-fphex-wide.c: Adjust.
7257
70bca0a3
MP
72582012-03-07 Marek Polacek <polacek@redhat.com>
7259
7260 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7261
65b81130
MP
72622012-03-08 Marek Polacek <polacek@redhat.com>
7263
7264 [BZ #13806]
7265 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7266 * stdio-common/tst-fphex.c: Define a few macros to make the
7267 test reusable. Use them.
7268 * stdio-common/tst-fphex-wide.c: New file.
7269
07037eeb
JM
72702012-03-08 Joseph Myers <joseph@codesourcery.com>
7271
a7a93d50
JM
7272 [BZ #6911]
7273 * manual/macros.texi (gnusystems): New macro.
7274 (nongnusystems): Likewise.
7275 (gnulinuxhurdsystems): Likewise.
7276 (gnuhurdsystems): Likewise..
7277 (gnulinuxsystems): Likewise.
7278 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7279 variants of the GNU system, not "GNU system".
7280 * manual/conf.texi: Likewise.
7281 * manual/errno.texi: Likewise. Update example of errno macro
7282 expansion.
7283 * manual/filesys.texi: Likewise.
7284 (getumask): Document as specific to GNU/Hurd.
7285 * manual/install.texi: Likewise. Reword some references to
7286 GNU/Linux.
7287 * manual/intro.texi: Likewise.
7288 * manual/io.texi: Likewise.
7289 (File Name Portability): Detail which constraints are inapplicable
7290 to all GNU systems and which are only inapplicable to GNU/Hurd.
7291 * manual/job.texi: Likewise.
7292 * manual/llio.texi: Likewise.
7293 (O_NOCTTY): Document as present on GNU/Linux.
7294 * manual/maint.texi: Likewise.
7295 * manual/memory.texi: Likewise.
7296 * manual/pattern.texi: Likewise.
7297 * manual/pipe.texi: Likewise.
7298 * manual/process.texi: Likewise.
7299 * manual/resource.texi: Likewise.
7300 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7301 child on GNU/Hurd.
7302 * manual/setjmp.texi: Likewise.
7303 * manual/signal.texi: Likewise.
7304 * manual/startup.texi: Likewise.
7305 * manual/stdio.texi: Likewise.
7306 * manual/terminal.texi: Likewise.
7307 (ONLCR): Document as POSIX.
7308 (OXTABS): Document availability on GNU/Linux as XTABS.
7309 (ONOEOT): Document availability separately from other bits.
7310 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7311 * manual/time.texi: Likewise.
7312 * manual/users.texi: Likewise.
7313 * INSTALL: Regenerated.
7314 * sysdeps/gnu/errlist.c: Regenerated.
7315
07037eeb
JM
7316 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7317 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7318 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7319 puts.
7320 * configure: Regenerated.
7321
d1d3431a
JM
73222012-03-07 Joseph Myers <joseph@codesourcery.com>
7323
af6a1e37
JM
7324 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7325 default includes instead of AC_HEADER_CHECK.
7326 * sysdeps/i386/configure: Regenerated.
7327
d1d3431a
JM
7328 [BZ #10716]
7329 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7330 * math/s_cacoshf.c (__cacoshf): Likewise.
7331 * math/s_cacoshl.c (__cacoshl): Likewise.
7332 * math/s_casinh.c (__casinh): Set signs of result from argument.
7333 * math/s_casinhf.c (__casinhf): Likewise.
7334 * math/s_casinhl.c (__casinhl): Likewise.
7335 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7336 (casinh_test): Add more tests.
7337 * sysdeps/i386/fpu/libm-test-ulps: Update.
7338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7339
482ff4da
UD
73402012-03-07 Ulrich Drepper <drepper@gmail.com>
7341
872fda05
UD
7342 * po/zh_TW.po: Update from translation team.
7343
a4300c7a
UD
7344 * login/Makefile (distribute): Remove variable.
7345 * catgets/Makefile: Likewise.
7346 * mach/Makefile: Likewise.
7347 * malloc/Makefile: Likewise.
7348 * misc/Makefile: Likewise.
7349 * iconv/Makefile: Likewise.
7350 * nscd/Makefile: Likewise.
7351 * hurd/Makefile: Likewise.
7352 * manual/Makefile: Likewise.
7353 * locale/Makefile: Likewise.
7354 * intl/Makefile: Likewise.
7355 * conform/Makefile: Likewise.
7356 * nss/Makefile: Likewise.
7357 * time/Makefile: Likewise.
7358 * soft-fp/Makefile: Likewise.
7359 * dirent/Makefile: Likewise.
7360 * gmon/Makefile: Likewise.
7361 * po/Makefile: Likewise.
7362 * rt/Makefile: Likewise.
7363 * socket/Makefile: Likewise.
7364 * math/Makefile: Likewise.
7365 * signal/Makefile: Likewise.
7366 * debug/Makefile: Likewise.
7367 * elf/Makefile: Likewise.
7368 * timezone/Makefile: Likewise.
7369 * stdlib/Makefile: Likewise.
7370 * iconvdata/Makefile: Likewise.
7371 * sunrpc/Makefile: Likewise.
7372 * io/Makefile: Likewise.
7373 * argp/Makefile: Likewise.
7374 * inet/Makefile: Likewise.
7375 * hesiod/Makefile: Likewise.
7376 * grp/Makefile: Likewise.
7377 * csu/Makefile: Likewise.
7378 * wctype/Makefile: Likewise.
7379 * crypt/Makefile: Likewise.
7380 * libio/Makefile: Likewise.
7381 * string/Makefile: Likewise.
7382 * nis/Makefile: Likewise.
7383 * resolv/Makefile: Likewise.
7384 * stdio-common/Makefile: Likewise.
7385 * wcsmbs/Makefile: Likewise.
7386 * dlfcn/Makefile: Likewise.
7387 * posix/Makefile: Likewise.
7388
3b7c4e74 7389 [BZ #6959]
482ff4da
UD
7390 * timezone/Makefile: Don't install timezone files, just the programs
7391 and scripts.
7392
f72ed77d
UD
73932012-03-06 Ulrich Drepper <drepper@gmail.com>
7394
a000466f
UD
7395 * nss/databases.def: Add missing gshadow entry.
7396
f72ed77d
UD
7397 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7398
a53b7a4e
MP
73992012-03-06 Marek Polacek <polacek@redhat.com>
7400
7401 [BZ #13726]
7402 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7403 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7404 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7405 * stdio-common/tst-long-dbl-fphex.c: New file.
7406
e9258400
DM
74072012-03-06 David S. Miller <davem@davemloft.net>
7408
7409 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7410 (set_obp_int): New function.
7411 (get_obp_int): New function.
7412 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
7413 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7414 Avoid unused variable warnings on 'val' and use builtin_expect.
7415 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7416 __builtin_expect.
e9258400
DM
7417 (INLINE_CLONE_SYSCALL): Likewise.
7418
3bd2c723
DM
74192012-03-05 David S. Miller <davem@davemloft.net>
7420
7421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7422
bbb78d03
AS
74232012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7424
884c5db4
AS
7425 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7426
bbb78d03
AS
7427 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7428 only for |x| >= 40.
7429 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7430
1c9f702a 74312012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
7432
7433 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7434 Replace gettimeofday with __vdso_gettimeofday.
7435
7be16f82
RM
7436 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7437 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7438 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
7439
7440 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7441 time with __vdso_time.
7442
ed58a00f
JM
74432012-03-05 Joseph Myers <joseph@codesourcery.com>
7444
7445 * manual/lang.texi (size_t): Note types to which size_t may be
7446 equivalent with the GNU C Library, but do not describe when
7447 differences between them are significant.
7448
30ee4ced
AJ
74492012-03-05 Andreas Jaeger <aj@suse.de>
7450
7451 * sysdeps/i386/fpu/libm-test-ulps: Update.
7452
b7cd39e8
JM
74532012-03-05 Joseph Myers <joseph@codesourcery.com>
7454
7455 [BZ #3976]
7456 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7457 (__ieee754_pow): Save and restore rounding mode and use
7458 round-to-nearest for main computations.
7459 * math/libm-test.inc (pow_test_tonearest): New function.
7460 (pow_test_towardzero): Likewise.
7461 (pow_test_downward): Likewise.
7462 (pow_test_upward): Likewise.
7463 (main): Call the new functions.
7464 * sysdeps/i386/fpu/libm-test-ulps: Update.
7465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
7466
7467 [BZ #3976]
7468 * math/libm-test.inc (cosh_test_tonearest): New function.
7469 (cosh_test_towardzero): Likewise.
7470 (cosh_test_downward): Likewise.
7471 (cosh_test_upward): Likewise.
7472 (sinh_test_tonearest): Likewise.
7473 (sinh_test_towardzero): Likewise.
7474 (sinh_test_downward): Likewise.
7475 (sinh_test_upward): Likewise.
7476 (main): Call the new functions.
7477 * sysdeps/i386/fpu/libm-test-ulps: Update.
7478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7479
6c6a98c9
TV
74802012-03-05 Tom de Vries <tom@codesourcery.com>
7481
7482 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7483 default stack guard is set in last bytes.
7484 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7485
21bb2d2e 74862012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 7487
21bb2d2e 7488 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 7489
21bb2d2e
AJ
7490 [BZ #13656]
7491 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7492 possibly allocate from heap instead of stack.
7493 * stdio-common/bug-vfprintf-nargs.c: New file.
7494 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 7495
c6922934
AS
74962012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7497
7498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7499
bc957d53
MP
75002012-03-03 Marek Polacek <polacek@redhat.com>
7501
7502 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7503 * math/math_private.h: Likewise.
7504 * stdlib/tst-strtod.c: Likewise.
7505 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7506 * sysdeps/x86_64/bits/atomic.h: Likewise.
7507
6358490d
DM
75082012-03-02 David S. Miller <davem@davemloft.net>
7509
7510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7514 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7515 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7516 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7517 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7518
01ae168d
RM
75192012-03-02 Roland McGrath <roland@hack.frob.com>
7520
d9a17c07
RM
7521 [BZ #13792]
7522 * manual/examples/README: New file, says the example source files
7523 can be used under GPL>=2.
7524 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7525 line containing just "*/".
7526 * manual/examples/add.c: Add copyright header (GPL>=2).
7527 * manual/examples/argp-ex1.c: Likewise.
7528 * manual/examples/argp-ex2.c: Likewise.
7529 * manual/examples/argp-ex3.c: Likewise.
7530 * manual/examples/argp-ex4.c: Likewise.
7531 * manual/examples/atexit.c: Likewise.
7532 * manual/examples/db.c: Likewise.
7533 * manual/examples/dir.c: Likewise.
7534 * manual/examples/dir2.c: Likewise.
7535 * manual/examples/execinfo.c: Likewise.
7536 * manual/examples/filecli.c: Likewise.
7537 * manual/examples/filesrv.c: Likewise.
7538 * manual/examples/fmtmsgexpl.c: Likewise.
7539 * manual/examples/genpass.c: Likewise.
7540 * manual/examples/inetcli.c: Likewise.
7541 * manual/examples/inetsrv.c: Likewise.
7542 * manual/examples/isockad.c: Likewise.
7543 * manual/examples/longopt.c: Likewise.
7544 * manual/examples/memopen.c: Likewise.
7545 * manual/examples/memstrm.c: Likewise.
7546 * manual/examples/mkfsock.c: Likewise.
7547 * manual/examples/mkisock.c: Likewise.
7548 * manual/examples/mygetpass.c: Likewise.
7549 * manual/examples/pipe.c: Likewise.
7550 * manual/examples/popen.c: Likewise.
7551 * manual/examples/rprintf.c: Likewise.
7552 * manual/examples/search.c: Likewise.
7553 * manual/examples/select.c: Likewise.
7554 * manual/examples/setjmp.c: Likewise.
7555 * manual/examples/sigh1.c: Likewise.
7556 * manual/examples/sigusr.c: Likewise.
7557 * manual/examples/stpcpy.c: Likewise.
7558 * manual/examples/strdupa.c: Likewise.
7559 * manual/examples/strftim.c: Likewise.
7560 * manual/examples/strncat.c: Likewise.
7561 * manual/examples/subopt.c: Likewise.
7562 * manual/examples/swapcontext.c: Likewise.
7563 * manual/examples/termios.c: Likewise.
7564 * manual/examples/testopt.c: Likewise.
7565 * manual/examples/testpass.c: Likewise.
7566 * manual/examples/timeval_subtract.c: Likewise.
7567
01ae168d
RM
7568 [BZ #13792]
7569 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7570 function to ...
7571 * manual/timeval_subtract.c.texi: ... here, new file.
7572
49efa33d
DM
75732012-03-02 David S. Miller <davem@davemloft.net>
7574
7575 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7576
28afd92d
JM
75772012-03-02 Joseph Myers <joseph@codesourcery.com>
7578
804360ed
JM
7579 [BZ #3976]
7580 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7581 (__sin): Save and restore rounding mode and use round-to-nearest
7582 for all computations.
7583 (__cos): Save and restore rounding mode and use round-to-nearest
7584 for all computations.
7585 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7586 <fenv.h>.
7587 (tan): Save and restore rounding mode and use round-to-nearest for
7588 all computations.
7589 * math/libm-test.inc (cos_test_tonearest): New function.
7590 (cos_test_towardzero): Likewise.
7591 (cos_test_downward): Likewise.
7592 (cos_test_upward): Likewise.
7593 (sin_test_tonearest): Likewise.
7594 (sin_test_towardzero): Likewise.
7595 (sin_test_downward): Likewise.
7596 (sin_test_upward): Likewise.
7597 (tan_test_tonearest): Likewise.
7598 (tan_test_towardzero): Likewise.
7599 (tan_test_downward): Likewise.
7600 (tan_test_upward): Likewise.
7601 (main): Call the new functions.
7602 * sysdeps/i386/fpu/libm-test-ulps: Update.
7603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7604
a6d06d7b
JM
7605 [BZ #10135]
7606 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7607 small n, then large n, before computing and testing k+n.
7608 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7609 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7610 Likewise.
7611 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7612 Likewise.
7613 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7614 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7615 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7616 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7617 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7618 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7619 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7620 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7621 * math/libm-test.inc (scalbn_test): Add more tests.
7622 (scalbln_test): Likewise.
7623
07e12bb3
JM
7624 * manual/filesys.texi (mode_t): Describe constraints on size and
7625 signedness, not exact equivalence to a particular type.
7626 (ino_t): Likewise.
7627 (ino64_t): Likewise.
7628 (dev_t): Likewise.
7629 (nlink_t): Likewise.
7630 (blkcnt_t): Likewise.
7631 (blkcnt64_t): Likewise.
7632 * manual/llio.texi (off_t): Likewise.
7633
28afd92d
JM
7634 [BZ #3976]
7635 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7636 (__ieee754_exp): Save and restore rounding mode and use
7637 round-to-nearest for all computations.
7638 * math/libm-test.inc (exp_test_tonearest): New function.
7639 (exp_test_towardzero): Likewise.
7640 (exp_test_downward): Likewise.
7641 (exp_test_upward): Likewise.
7642 (main): Call the new functions.
7643 * sysdeps/i386/fpu/libm-test-ulps: Update.
7644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7645
b1eeb65d
CD
76462012-03-01 Chris Demetriou <cgd@google.com>
7647
7648 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7649 have predictable order.
7650
53362a4b
DM
76512012-03-01 David S. Miller <davem@davemloft.net>
7652
3c969083
DM
7653 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7654
759707de
DM
7655 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7656 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7657 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7658 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7659
dfdb8ff2
DM
7660 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7661 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7662 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7664 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7665 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7666 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7667 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7668 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7669
ead89f96
DM
7670 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7671
7f66bd07
DM
7672 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7673 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7674 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7675
53362a4b
DM
7676 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7677 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7678 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7679 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7680 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7681 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7682 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7683 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7684 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7685 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7686 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7687 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7688 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7689 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7690 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7691 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7692 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7693 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7694 * sysdeps/sparc/elf/configure: Regenerated.
7695
7b1902cb
JM
76962012-03-01 Joseph Myers <joseph@codesourcery.com>
7697
bec039bc
JM
7698 * configure.in (AS, LD): Require binutils 2.20 or later.
7699 * configure: Regenerated.
7700 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7701 as required minimum version.
7702 * INSTALL: Regenerated.
7703
7b1902cb
JM
7704 [BZ #2541]
7705 [BZ #4108]
7706 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7707 before squaring exponent.
7708 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7709 bottom long double and 27 bits of top long double before squaring
7710 exponent.
7711 * math/libm-test.inc (erfc_test): Add more tests.
7712 * sysdeps/i386/fpu/libm-test-ulps: Update.
7713 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7715
f775c276
KT
77162012-03-01 Kai Tietz <ktietz@redhat.com>
7717
7718 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7719 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7720 containing bit-fields.
7721 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7722 * soft-fp/single.h (_FP_UNION_S): Likewise.
7723 * soft-fp/double.h (_FP_UNION_D): Likewise.
7724
5b8a4d4a
JM
77252012-02-29 Joseph Myers <joseph@codesourcery.com>
7726
0bab47b6
JM
7727 [BZ #13786]
7728 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7729 not include ../strcmp.S.
7730 [USE_AS_STRNCASECMP_L]: Likewise.
7731 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7732 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7733 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7734 (__strncasecmp_l_ia32): Define as alias to
7735 __strncasecmp_l_nonascii.
7736
0fcad3e2
JM
7737 [BZ #5794]
7738 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7739 * sysdeps/i386/fpu/libm-test-ulps: Update.
7740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7741
5b8a4d4a
JM
7742 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7744
8fdceb2e
JL
77452012-02-29 Jeff Law <law@redhat.com>
7746
7747 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7748 out of bounds read.
7749
1f393a11
MP
77502012-02-29 Marek Polacek <polacek@redhat.com>
7751
7752 [BZ #13706]
7753 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7754 * elf/Makefile: Add rules to run tst-unused-dep.out.
7755
8847f037
DM
77562012-02-28 David S. Miller <davem@davemloft.net>
7757
7758 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7759 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7760 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7761 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7762 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7763 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7764
169d7f11
JM
77652012-02-29 Joseph Myers <joseph@codesourcery.com>
7766
7767 * math/libm-test.inc (llround_test): Move one test from
7768 lround_test. Use TEST_f_L in moved test.
7769 (lround_test): Move misplaced test to llround_test. Add testcase
7770 from bug 2561.
7771
39adf059
UD
77722012-02-28 Ulrich Drepper <drepper@gmail.com>
7773
7774 * sysdeps/x86_64/fpu/e_expf.S: New file.
7775 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7776
71b5d1c5
SB
77772012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7778
7779 [BZ #13637]
7780 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7781 of remain_len that may cause incomplete multi-byte character and
7782 false match.
7783 * posix/bug-regex33.c: New file.
7784 * posix/Makefile (tests): Add bug-regex33.
7785
1f77f049
JM
77862012-02-28 Joseph Myers <joseph@codesourcery.com>
7787
7788 * manual/macros.texi: New file.
7789 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7790 * manual/libc.texinfo: Include macros.texi.
7791 * manual/creatute.texi: Likewise.
7792 * manual/install.texi: Likewise.
7793 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7794 @glibcadj{} in references to the GNU C Library.
7795 * manual/charset.texi: Likewise.
7796 * manual/conf.texi: Likewise.
7797 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7798 when not using those macros.
7799 * manual/creature.texi: Likewise.
7800 * manual/crypt.texi: Likewise.
7801 * manual/errno.texi: Likewise.
7802 * manual/filesys.texi: Likewise.
7803 * manual/header.texi: Likewise.
7804 * manual/install.texi: Likewise.
7805 * manual/intro.texi: Likewise.
7806 * manual/io.texi: Likewise.
7807 * manual/job.texi: Likewise.
7808 * manual/lang.texi: Likewise.
7809 * manual/libc.texiinfo: Likewise.
7810 * manual/llio.texi: Likewise.
7811 * manual/locale.texi: Likewise.
7812 * manual/maint.texi: Likewise.
7813 * manual/math.texi: Likewise.
7814 * manual/memory.texi: Likewise.
7815 * manual/message.texi: Likewise.
7816 * manual/nss.texi: Likewise.
7817 * manual/pattern.texi: Likewise.
7818 * manual/process.texi: Likewise.
7819 * manual/resource.texi: Likewise.
7820 * manual/search.texi: Likewise.
7821 * manual/setjmp.texi: Likewise.
7822 * manual/signal.texi: Likewise.
7823 * manual/socket.texi: Likewise.
7824 * manual/startup.texi: Likewise.
7825 * manual/stdio.texi: Likewise.
7826 * manual/string.texi: Likewise.
7827 * manual/sysinfo.texi: Likewise.
7828 * manual/syslog.texi: Likewise.
7829 * manual/terminal.texi: Likewise.
7830 * manual/time.texi: Likewise.
7831 * manual/users.texi: Likewise.
7832 * INSTALL: Regenerated.
7833 * NOTES: Regenerated.
d40c5d54 7834 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 7835
450bf206
AS
78362012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7837
7838 * include/dirent.h: Include <dirstream.h> before
7839 <dirent/dirent.h>.
7840
741a235b
DM
78412012-02-28 David S. Miller <davem@davemloft.net>
7842
7843 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7844 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7845 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7846 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7847
d6b5aa58
DM
78482012-02-27 David S. Miller <davem@davemloft.net>
7849
1aff59a3
DM
7850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7852 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7853 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7854
d6b5aa58
DM
7855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7856 frame pointer instead of stack pointer relative arg slot.
7857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7858 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7859 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7860
433f48bf
CD
78612012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7862
7863 [BZ #3992]
7864 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7865
d674b76d
DM
78662012-02-27 David S. Miller <davem@davemloft.net>
7867
7868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7872 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7873 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7874 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7875 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7876
0e7727f7
JM
78772012-02-27 Joseph Myers <joseph@codesourcery.com>
7878
7879 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7880 later. Allow versions 5-9.
43be4ca2 7881 * configure: Regenerated.
0e7727f7
JM
7882 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7883 required minimum version and 4.6 as recommended version. Do not
7884 mention bugs in GCC 2.7 and 2.8.
43be4ca2 7885 * INSTALL: Regenerated.
0e7727f7 7886
a78bc654
DM
78872012-02-27 David S. Miller <davem@davemloft.net>
7888
428d5830
DM
7889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7893 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7894 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7895 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7896 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7897
a78bc654
DM
7898 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7899 manipulate bits before adding and subtracting TWO112[sx].
7900 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7901
4579f81c
RM
79022012-02-27 Roland McGrath <roland@hack.frob.com>
7903
36c8acb4
RM
7904 [BZ #13775]
7905 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7906 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7907 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7908 being in POSIX, because they are in 1003.1-2008.
7909
84ad622b
RM
7910 * rt/tst-aio.c: Include <fcntl.h>.
7911 * rt/tst-aio7.c: Likewise.
7912 * rt/tst-aio64.c: Likewise.
7913
4579f81c
RM
7914 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7915
abd923db
JM
79162012-02-27 Joseph Myers <joseph@codesourcery.com>
7917
7918 * manual/install.texi (--with-headers): Describe headers as
7919 interface headers, not private headers.
7920 (Specific advice for GNU/Linux systems): Describe use of headers
7921 from "make headers_install", not private headers from older
7922 kernels.
43be4ca2 7923 * INSTALL: Regenerated.
abd923db
JM
7924 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7925 Change to 2.6.19.
7926 * sysdeps/unix/sysv/linux/configure: Regenerated.
7927
6664049b
JM
7928 * manual/llio.texi (fclean): Remove documentation.
7929
bb8b6697
JM
7930 * manual/Makefile (libc-texi-generated): New variable. Include
7931 version.texi.
7932 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7933 $(libc-texi-generated), not duplicated list of files.
7934 (version.texi, stamp-version): New rules.
7935 (realclean): Remove $(libc-texi-generated), not individual files
7936 from that list. Do not remove dir-add.texinfo.
7937 * manual/libc.texinfo: Comment out uses of edition numbers and
7938 references to printed manual. Remove last-updated dates.
7939 (EDITION): Comment out.
7940 (ISBN): Likewise.
7941 (VERSION, UPDATED): Remove.
7942 (version.texi): Include.
7943
12e5c3b9
AS
79442012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7945
7946 * sysdeps/posix/spawni.c: Include <signal.h>.
7947 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7948 * sysdeps/pthread/aio_fsync.c: Likewise.
7949
4efeffc1 79502012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 7951
ba63ba08
UD
7952 * conform/Makefile (tests): Run only when not cross-compiling and
7953 when fast-check is not defined.
7954
d94a4670
UD
7955 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7956 * conform/data/limits.h-data: Fixes for POSIX2008.
7957 * conform/run-conformtest.sh: Run all tests.
7958 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7959 headers.
7960 * include/bits/dlfcn.h: Likewise.
7961 * include/langinfo.h: Likewise.
7962 * include/monetary.h: Likewise.
7963 * include/sys/poll.h: Likewise.
7964
7965 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7966 for __USE_GNU.
7967 * posix/spawn.h: Define __need_sigset_t.
7968 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7969 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7970 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7971 to get sigevent_t only.
7972 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7973 only for __USE_GNU.
7974 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7975 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7976 process_vm_writev only for __USE_GNU.
7977 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
7978
7979 * conform/Makefile: For now ignore errors from run-conformtest.
7980 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7981 POSIX to avoid namespace pollution. Don't prepend headers.
7982 * conform/data/aio.h-data: Fixes for POSIX testing.
7983 * conform/data/fcntl.h-data: Likewise.
7984 * conform/data/glob.h-data: Likewise.
7985 * conform/data/grp.h-data: Likewise.
7986 * conform/data/pthread.h-data: Likewise.
7987 * conform/data/pwd.h-data: Likewise.
7988 * conform/data/signal.h-data: Likewise.
7989 * conform/data/spawn.h-data: Likewise.
7990 * conform/data/stdio.h-data: Likewise.
7991 * conform/data/stdlib.h-data: Likewise.
7992 * conform/data/stropts.h-data: Likewise.
7993 * conform/data/sys/mman.h-data: Likewise.
7994 * conform/data/sys/stat.h-data: Likewise.
7995 * conform/data/sys/types.h-data: Likewise.
7996 * conform/data/sys/wait.h-data: Likewise.
7997 * conform/data/time.h-data: Likewise.
7998 * conform/data/unistd.h-data: Likewise.
7999 * conform/data/utime.h-data: Likewise.
8000
8001 * io/sys/stat.h: fchmod was always in POSIX.
8002 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
8003 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
8004 * rt/aio.h: Define __need_timespec before including <time.h>.
8005 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
8006 struct. Add forward declaration of pthread_attr_t and use it in
8007 sigevent.
8008 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8009 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8010 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
8011 always remove CLK_TCK definition.
8012
c20105c3
AS
80132012-02-26 Andreas Schwab <schwab@linux-m68k.org>
8014
8015 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
8016
7a270350
UD
80172012-02-25 Ulrich Drepper <drepper@gmail.com>
8018
31341567
UD
8019 * conform/run-conformtest.sh: New file.
8020 * conform/Makefile: Run run-conformtest for tests.
8021 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
8022 support.
8023
8024 * conform/data/uchar.h-data: New file.
8025 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
8026 * conform/data/arpa/inet.h-data: Likewise.
8027 * conform/data/assert.h-data: Likewise.
8028 * conform/data/complex.h-data: Likewise.
8029 * conform/data/cpio.h-data: Likewise.
8030 * conform/data/ctype.h-data: Likewise.
8031 * conform/data/dirent.h-data: Likewise.
8032 * conform/data/dlfcn.h-data: Likewise.
8033 * conform/data/errno.h-data: Likewise.
8034 * conform/data/fcntl.h-data: Likewise.
8035 * conform/data/float.h-data: Likewise.
8036 * conform/data/fmtmsg.h-data: Likewise.
8037 * conform/data/fnmatch.h-data: Likewise.
8038 * conform/data/ftw.h-data: Likewise.
8039 * conform/data/glob.h-data: Likewise.
8040 * conform/data/grp.h-data: Likewise.
8041 * conform/data/iconv.h-data: Likewise.
8042 * conform/data/inttypes.h-data: Likewise.
8043 * conform/data/langinfo.h-data: Likewise.
8044 * conform/data/libgen.h-data: Likewise.
8045 * conform/data/limits.h-data: Likewise.
8046 * conform/data/locale.h-data: Likewise.
8047 * conform/data/math.h-data: Likewise.
8048 * conform/data/monetary.h-data: Likewise.
8049 * conform/data/mqueue.h-data: Likewise.
8050 * conform/data/ndbm.h-data: Likewise.
8051 * conform/data/net/if.h-data: Likewise.
8052 * conform/data/netdb.h-data: Likewise.
8053 * conform/data/netinet/in.h-data: Likewise.
8054 * conform/data/nl_types.h-data: Likewise.
8055 * conform/data/poll.h-data: Likewise.
8056 * conform/data/pthread.h-data: Likewise.
8057 * conform/data/pwd.h-data: Likewise.
8058 * conform/data/regex.h-data: Likewise.
8059 * conform/data/sched.h-data: Likewise.
8060 * conform/data/search.h-data: Likewise.
8061 * conform/data/semaphore.h-data: Likewise.
8062 * conform/data/setjmp.h-data: Likewise.
8063 * conform/data/signal.h-data: Likewise.
8064 * conform/data/spawn.h-data: Likewise.
8065 * conform/data/stdarg.h-data: Likewise.
8066 * conform/data/stdio.h-data: Likewise.
8067 * conform/data/stdlib.h-data: Likewise.
8068 * conform/data/string.h-data: Likewise.
8069 * conform/data/strings.h-data: Likewise.
8070 * conform/data/stropts.h-data: Likewise.
8071 * conform/data/sys/ipc.h-data: Likewise.
8072 * conform/data/sys/mman.h-data: Likewise.
8073 * conform/data/sys/msg.h-data: Likewise.
8074 * conform/data/sys/resource.h-data: Likewise.
8075 * conform/data/sys/select.h-data: Likewise.
8076 * conform/data/sys/sem.h-data: Likewise.
8077 * conform/data/sys/shm.h-data: Likewise.
8078 * conform/data/sys/socket.h-data: Likewise.
8079 * conform/data/sys/stat.h-data: Likewise.
8080 * conform/data/sys/statvfs.h-data: Likewise.
8081 * conform/data/sys/time.h-data: Likewise.
8082 * conform/data/sys/timeb.h-data: Likewise.
8083 * conform/data/sys/times.h-data: Likewise.
8084 * conform/data/sys/types.h-data: Likewise.
8085 * conform/data/sys/uio.h-data: Likewise.
8086 * conform/data/sys/un.h-data: Likewise.
8087 * conform/data/sys/utsname.h-data: Likewise.
8088 * conform/data/sys/wait.h-data: Likewise.
8089 * conform/data/syslog.h-data: Likewise.
8090 * conform/data/tar.h-data: Likewise.
8091 * conform/data/termios.h-data: Likewise.
8092 * conform/data/utime.h-data: Likewise.
8093 * conform/data/utmpx.h-data: Likewise.
8094 * conform/data/varargs.h-data: Likewise.
8095 * conform/data/wchar.h-data: Likewise.
8096 * conform/data/wctype.h-data: Likewise.
8097 * conform/data/wordexp.h-data: Likewise.
8098
8099 * include/stropts.h: New file.
8100 * include/uchar.h: New file.
8101 * include/aio.h: Changes to allow conformtest.pl to use the headers.
8102 * include/assert.h: Likewise.
8103 * include/ctype.h: Likewise.
8104 * include/dirent.h: Likewise.
8105 * include/dlfcn.h: Likewise.
8106 * include/fcntl.h: Likewise.
8107 * include/fnmatch.h: Likewise.
8108 * include/glob.h: Likewise.
8109 * include/grp.h: Likewise.
8110 * include/libio.h: Likewise.
8111 * include/locale.h: Likewise.
8112 * include/math.h: Likewise.
8113 * include/net/if.h: Likewise.
8114 * include/netdb.h: Likewise.
8115 * include/netinet/in.h: Likewise.
8116 * include/pthread.h: Likewise.
8117 * include/pwd.h: Likewise.
8118 * include/regex.h: Likewise.
8119 * include/sched.h: Likewise.
8120 * include/search.h: Likewise.
8121 * include/setjmp.h: Likewise.
8122 * include/signal.h: Likewise.
8123 * include/stdio.h: Likewise.
8124 * include/stdlib.h: Likewise.
8125 * include/string.h: Likewise.
8126 * include/sys/cdefs.h: Likewise.
8127 * include/sys/mman.h: Likewise.
8128 * include/sys/msg.h: Likewise.
8129 * include/sys/resource.h: Likewise.
8130 * include/sys/select.h: Likewise.
8131 * include/sys/socket.h: Likewise.
8132 * include/sys/stat.h: Likewise.
8133 * include/sys/statvfs.h: Likewise.
8134 * include/sys/time.h: Likewise.
8135 * include/sys/times.h: Likewise.
8136 * include/sys/uio.h: Likewise.
8137 * include/sys/utsname.h: Likewise.
8138 * include/sys/wait.h: Likewise.
8139 * include/termios.h: Likewise.
8140 * include/time.h: Likewise.
8141 * include/ulimit.h: Likewise.
8142 * include/unistd.h: Likewise.
8143 * include/utime.h: Likewise.
8144 * include/wchar.h: Likewise.
8145 * include/wctype.h: Likewise.
8146 * include/wordexp.h: Likewise.
8147
8148 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8149
7a270350
UD
8150 * time/time.h: TIME_UTC must be a macro.
8151 Make timespec_get available for ISO C11 only as well.
8152
7724defc
UD
81532012-02-24 Ulrich Drepper <drepper@gmail.com>
8154
8155 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8156 Reported by Peng Haitao <penght@cn.fujitsu.com>.
8157
6b1d1d46
JM
81582012-02-24 Joseph Myers <joseph@codesourcery.com>
8159
8160 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 8161
0f8bbd69
JM
81622012-02-24 Joseph Myers <joseph@codesourcery.com>
8163
8164 * manual/texinfo.tex: Update to version 2012-01-19.16.
8165
66ab80bc
JM
81662012-02-24 Joseph Myers <joseph@codesourcery.com>
8167
8168 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8169
74981cc5
RM
81702012-02-24 Roland McGrath <roland@hack.frob.com>
8171
ee968201
RM
8172 [BZ #13738]
8173 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8174 * manual/fdl-1.3.texi: New file.
8175 * manual/fdl-1.1.texi: File removed.
8176
74981cc5
RM
8177 [BZ #13738]
8178 * manual/libc.texinfo (FDL_VERSION): New @set.
8179 Use it for mention of FDL in cover text.
8180 (Documentation License): Use it in @include file name.
8181
7bb764bc
JM
81822012-02-22 Joseph Myers <joseph@codesourcery.com>
8183 Roland McGrath <roland@hack.frob.com>
8184
8185 [BZ #5461]
8186 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8187 not LONG_LONG_MAX and LONG_LONG_MIN.
8188 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8189 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8190 name.
8191 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8192
6cbeae47
JM
81932012-02-22 Joseph Myers <joseph@codesourcery.com>
8194
8195 [BZ #2547]
8196 [BZ #11365]
8197 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8198 manipulate bits before adding and subtracting TWO23[sx].
8199 * math/libm-test.inc (nearbyint_test): Add more tests.
8200
fe45ce09
JM
82012012-02-22 Joseph Myers <joseph@codesourcery.com>
8202
8203 [BZ #2548]
8204 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8205 bits before adding and subtracting TWO23[sx].
8206 * math/libm-test.inc (rint_test): Add more tests.
8207 (rint_test_tonearest): Likewise.
8208 (rint_test_towardzero): Likewise.
8209 (rint_test_downward): Likewise.
8210 (rint_test_upward: Likewise.
8211
ff3b3d82
JM
82122012-02-22 Joseph Myers <joseph@codesourcery.com>
8213
8214 [BZ #10110]
8215 * include/stdc-predef.h: New file. Extracted from features.h.
8216 * include/features.h: Include stdc-predef.h.
8217 * Makefile (headers): Add stdc-predef.h.
8218 * CONFORMANCE (Compiler limitations): Update.
8219
ef0aab35
JM
82202012-02-22 Joseph Myers <joseph@codesourcery.com>
8221
8222 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8223
58639409
DM
82242012-02-21 David S. Miller <davem@davemloft.net>
8225
8226 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8227 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8228
c0e70b25
DM
82292012-02-20 David S. Miller <davem@davemloft.net>
8230
8231 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8232 using a normal save/restore sequence, rather than allocating a
8233 dummy stack frame just to store a frame pointer and restore.
8234 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8235
fb06851d
JM
82362012-02-21 Joseph Myers <joseph@codesourcery.com>
8237
8238 * manual/install.texi: Fix stray word in line-wrapped comment.
8239
7a8b71c3
DM
82402012-02-20 David S. Miller <davem@davemloft.net>
8241
d510c123
DM
8242 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8243 both binutils and gcc support GOTDATA.
8244
0722d7c2
DM
8245 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8246 "rd %pc" in the PIC register setup sequences.
8247
3d2b3019
DM
8248 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8249 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8250 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8251 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8252 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8253 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8254 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8255 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8256 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8257 (SYSCALL_ERROR_HANDLER): Likewise.
8258 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8259 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8260 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8261 (SYSCALL_ERROR_HANDLER): Likewise.
8262
c80098a9
DM
8263 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8264 (HAVE_GCC_GOTDATA): New.
8265 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8266 relocation support in both binutils and gcc.
8267 * sysdeps/sparc/elf/configure: Regenerate.
8268
3a2545a0
DM
8269 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8270 * sysdeps/sparc/sparc32/elf/configure: Delete.
8271 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8272 * sysdeps/sparc/sparc64/elf/configure: Delete.
8273 * sysdeps/sparc/elf/configure.in: New file.
8274 * sysdeps/sparc/elf/configure: Generate.
8275
7a8b71c3
DM
8276 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8277 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8278 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8279 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8280 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8281
f1e86fca
JM
82822012-02-21 Joseph Myers <joseph@codesourcery.com>
8283
8284 * manual/install.texi: Do not mention specific glibc version
8285 numbers.
8286 * manual/libc.texinfo (VERSION, UPDATED): Update.
8287 (@copying): Use @copyright{} and range of years.
8288
0e7dfaef
JM
82892012-02-21 Joseph Myers <joseph@codesourcery.com>
8290
8291 [BZ #13695]
8292 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8293 [crti.S not in sysdirs] (generated): Do not append.
8294 [crti.S not in sysdirs] (omit-deps): Likewise.
8295 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8296 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8297 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8298 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8299 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8300 Likewise.
8301 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8302 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8303 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8304 * csu/defs.awk: Remove file.
8305 * sysdeps/generic/initfini.c: Likewise.
8306 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8307 variable.
8308 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8309 Likewise.
8310
599af3ca
JM
83112012-02-20 Joseph Myers <joseph@codesourcery.com>
8312
8313 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8314 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8315 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8316 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8317 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8318 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8319 <bits/epoll.h>.
8320 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8321 (__EPOLL_PACKED): Define to empty if not defined by
8322 <bits/epoll.h>.
8323 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8324 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8325 bits/epoll.h.
8326
0e499750
JM
83272012-02-20 Joseph Myers <joseph@codesourcery.com>
8328
8329 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8330 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8331 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8332 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8333 <bits/timerfd.h>.
8334 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8335 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8336 bits/timerfd.h.
8337
5ad91f6e
JM
83382012-02-20 Joseph Myers <joseph@codesourcery.com>
8339
8340 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8341 in C locale.
8342 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8343 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8344 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8346
06b99b02
AJ
83472012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8348
8349 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8350 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8351
7638c0fd
AS
83522012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8353
8354 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8355 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8356 defined.
8357 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8358 Likewise.
8359 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8360 entry for 2.16.
8361
92221550
AJ
83622012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8363
8364 * math/w_acos.c: Use non-signaling floating-point comparisons.
8365 * math/w_acosf.c: Likewise.
8366 * math/w_acosh.c: Likewise.
8367 * math/w_acoshf.c: Likewise.
8368 * math/w_acoshl.c: Likewise.
8369 * math/w_acosl.c: Likewise.
8370 * math/w_asin.c: Likewise.
8371 * math/w_asinf.c: Likewise.
8372 * math/w_asinl.c: Likewise.
8373 * math/w_atanh.c: Likewise.
8374 * math/w_atanhf.c: Likewise.
8375 * math/w_atanhl.c: Likewise.
8376 * math/w_exp2.c: Likewise.
8377 * math/w_exp2f.c: Likewise.
8378 * math/w_exp2l.c: Likewise.
8379 * math/w_j0.c: Likewise.
8380 * math/w_j0f.c: Likewise.
8381 * math/w_j0l.c: Likewise.
8382 * math/w_j1.c: Likewise.
8383 * math/w_j1f.c: Likewise.
8384 * math/w_j1l.c: Likewise.
8385 * math/w_jn.c: Likewise.
8386 * math/w_jnf.c: Likewise.
8387 * math/w_log.c: Likewise.
8388 * math/w_log10.c: Likewise.
8389 * math/w_log10f.c: Likewise.
8390 * math/w_log10l.c: Likewise.
8391 * math/w_log2.c: Likewise.
8392 * math/w_log2f.c: Likewise.
8393 * math/w_log2l.c: Likewise.
8394 * math/w_logf.c: Likewise.
8395 * math/w_logl.c: Likewise.
8396 * math/w_sqrt.c: Likewise.
8397 * math/w_sqrtf.c: Likewise.
8398 * math/w_sqrtl.c: Likewise.
8399 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8400 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8401 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8402 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8403 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8404
ebaf36eb
JM
84052012-02-19 Joseph Myers <joseph@codesourcery.com>
8406
8407 [BZ #9739]
8408 * manual/string.texi (strnlen): Use correct parameter name in
8409 equivalent expression.
8410
71c254a6
JM
84112012-02-19 Joseph Myers <joseph@codesourcery.com>
8412
8413 [BZ #11174]
8414 * manual/users.texi (seteuid): Consistently use neweuid for
8415 argument name.
8416
16d2c631
JM
84172012-02-19 Joseph Myers <joseph@codesourcery.com>
8418
8419 [BZ #13704]
8420 * manual/nss.texi (Services in the NSS configuration): Correct
8421 list of services in example configuration file.
8422
cd837b09
NB
84232012-02-19 Nick Bowler <nbowler@draconx.ca>
8424
8425 [BZ #11322]
8426 * manual/arith.texi: Remove statements about negative zero
8427 behaving identically to zero.
8428
02c4bbad
JM
84292012-02-18 Joseph Myers <joseph@codesourcery.com>
8430
8431 [BZ #5993]
8432 * manual/install.texi: Do not document upgrading from libc5.
8433
366842e7
JM
84342012-02-18 Joseph Myers <joseph@codesourcery.com>
8435
8436 [BZ #4596]
8437 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8438
dd54084d
DM
84392012-02-18 David S. Miller <davem@davemloft.net>
8440
8441 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8442 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8443 %o7 across the call.
8444 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8445 instead.
8446 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8447 SETUP_PIC_REG_LEAF.
8448 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8449 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8450 * sysdeps/sparc/crtn.S: Likewise.
8451
2bcc53a3
UD
84522012-02-17 Ulrich Drepper <drepper@gmail.com>
8453
8454 * aout/Makefile: Remove.
8455
09c093b5
RK
84562012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8457
8458 [BZ #13058]
8459 * manual/examples/argp-ex1.c (main): Format definition in GNU
8460 style.
8461 * manual/examples/argp-ex2.c (main): Likewise.
8462 * manual/examples/argp-ex3.c (main): Likewise.
8463 * manual/examples/argp-ex4.c (main): Likewise.
8464 * manual/examples/longopt.c (main): Use new-style prototype
8465 definition.
8466 * manual/examples/strncat.c (main): Specify return type and use
8467 (void) for arguments.
8468 * manual/examples/subopt.c (main): Use char **argv argument.
8469
2ee633a2
JM
84702012-02-17 Joseph Myers <joseph@codesourcery.com>
8471
8472 [BZ #5077]
8473 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8474 rounding modes.
8475
0520adde
FB
84762012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8477
8478 [BZ #6907]
8479 * manual/string.texi (strchr): Change when strchrnul is
8480 recommended.
8481
3f4081cd
DGM
84822012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8483
8484 [BZ #174]
8485 * manual/locale.texi (setlocale): Document LOCPATH.
8486
d1b10e78
JM
84872012-02-17 Joseph Myers <joseph@codesourcery.com>
8488
8489 [BZ #10210]
8490 * manual/process.texi (execle): Move @dots{} before last argument.
8491
79c6869c
PB
84922012-02-17 Paul Bolle <pebolle@tiscali.nl>
8493
8494 [BZ #12047]
8495 * manual/charset.texi (Generic Charset Conversion): Fix typo
8496 (LC_TYPE -> LC_CTYPE).
8497
cc6e48bc
NB
84982012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8499
8500 [BZ #5805]
8501 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8502 (scalbnf): Likewise.
8503 (scalbnl): Likewise.
8504 (scalbln): Likewise.
8505 (scalblnf): Likewise.
8506 (scalblnl): Likewise.
8507 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8508 (vwarnx): Likewise.
8509 (verr): Likewise.
8510 (verrx): Likewise.
8511 * manual/filesys.texi (telldir): Use braces around return type.
8512 * manual/llio.texi (mmap): Add space after comma.
8513 (mmap64): Likewise.
8514 * manual/math.texi (jn): Use @var{} on parameter names.
8515 (jnf): Likewise.
8516 (jnl): Likewise.
8517 (yn): Likewise.
8518 (ynf): Likewise.
8519 (ynl): Likewise.
8520 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8521 line.
8522 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8523 "...".
8524 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8525 (sched_get_priority_max): Likewise.
8526 * manual/signal.texi (sigvec): Add space after comma.
8527 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8528 names.
8529 (if_indextoname): Likewise.
8530 (if_freenameindex): Likewise.
8531 (sendto): Use ',' instead of '.' in prototype.
8532 * manual/startup.texi (syscall): Use @dots{} instead of literal
8533 "...".
8534 * manual/stdio.texi (__fpending): Separate initial words of
8535 paragraph from @deftypefun line.
8536 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8537 "...".
8538 (vsyslog): Use @var{} on parameter names.
8539 * manual/terminal.texi (stty): Use @var{} on parameter names.
8540 * manual/users.texi (getutmp): Use @var{} on parameter names.
8541 (getutmpx): Likewise.
8542
5b23062f
JM
85432012-02-17 Joseph Myers <joseph@codesourcery.com>
8544
8545 [BZ #6884]
8546 * manual/stdio.texi (fopen): Fix typos in description of
8547 ",ccs=STRING".
8548
8dee4833
AJ
85492012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8550
8551 [BZ #4026]
8552 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8553 get clock_id definition.
8554
9078ce93
TS
85552012-02-17 Thomas Schwinge <thomas@schwinge.name>
8556
8557 [BZ #4822]
8558 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8559 (madvise): Cast every argument to void on its own.
8560
3835c55f
JM
85612012-02-17 Joseph Myers <joseph@codesourcery.com>
8562
8563 [BZ #9902]
8564 * manual/startup.texi (Exit Status): Fix typo.
8565
35c47e37
JM
85662012-02-17 Joseph Myers <joseph@codesourcery.com>
8567
8568 [BZ #10140]
8569 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8570 * manual/examples/argp-ex2.c: Likewise.
8571 * manual/examples/argp-ex3.c: Likewise.
8572
e3b69ca7
RH
85732012-02-16 Richard Henderson <rth@redhat.com>
8574
8575 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8576 * sysdeps/s390/s390-32/initfini.c: Remove.
8577 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8578 * sysdeps/s390/s390-64/initfini.c: Remove.
8579
df83af67
KK
85802012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8581
8582 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8583 compiler output for sysdeps/generic/initfini.c.
8584 * sysdeps/sh/elf/initfini.c: Remove file.
8585
f63f3380
DM
85862012-02-16 David S. Miller <davem@davemloft.net>
8587
fb59b3a4
DM
8588 [BZ #11494]
8589 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8590
f63f3380
DM
8591 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8592 * sysdeps/sparc/crti.S: New file.
8593 * sysdeps/sparc/crtn.S: New file.
8594 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8595 * sysdeps/sparc/sparc64/Makefile: Likewise.
8596
df6a4a4a
MF
85972012-02-15 Mike Frysinger <vapier@gentoo.org>
8598
6dd8f3dc 8599 [BZ #3335]
df6a4a4a
MF
8600 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8601
1cac7236
RM
86022012-02-15 Roland McGrath <roland@hack.frob.com>
8603
d2c736f8
RM
8604 [BZ #4822]
8605 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8606
1cac7236
RM
8607 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8608 (write, read, close): Likewise.
8609 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8610
8e475601
JM
86112012-02-15 Joseph Myers <joseph@codesourcery.com>
8612
8613 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8614 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8615 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8616 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8617 <bits/signalfd.h>.
8618 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8619 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8620 bits/signalfd.h.
8621
ed656b40
MP
86222012-02-14 Marek Polacek <polacek@redhat.com>
8623
8624 * sysdeps/x86_64/crti.S: New file.
8625 * sysdeps/x86_64/crtn.S: New file.
8626 * sysdeps/x86_64/elf/initfini.c: Remove file.
8627
2a979d3a
JM
86282012-02-13 Joseph Myers <joseph@codesourcery.com>
8629
8630 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8631 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8632 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8633 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8634 <bits/inotify.h>.
8635 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8636 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8637 bits/inotify.h.
8638
2a418ac3
JM
86392012-02-13 Joseph Myers <joseph@codesourcery.com>
8640
8641 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8642 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8643 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8644 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8645 <bits/eventfd.h>.
8646 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8647 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8648 bits/eventfd.h.
8649
fb779be7
TS
86502012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8651
e19e83c5
RM
8652 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8653 __feraiseexcept instead of feraiseexcept.
7c35ffed 8654
fb779be7
TS
8655 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8656 nanosleep invocations.
8657 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8658 strings, and add error checking for a nanosleep invocations.
8659
59ba27a6
PE
86602012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8661
8662 Replace FSF snail mail address with URLs, as per GNU coding standards.
8663 Most of the snail mail addresses were wrong anyway, and omitting
8664 them makes the source code easier to maintain. Almost all of the
8665 changes are to license notices and to locale LC_IDENTIFICATION
8666 addresses, except for this one:
8667 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8668 not its snail mail address.
8669
57b957eb
RH
86702012-02-09 Richard Henderson <rth@twiddle.net>
8671
af850b1c
RH
8672 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8673 of kernel-features.h.
8674
57b957eb
RH
8675 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8676
6b73181a
MP
86772012-02-08 Marek Polacek <polacek@redhat.com>
8678
8679 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8680 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8681 * sysdeps/gnu/_G_config.h: Likewise.
8682 * sysdeps/generic/_G_config.h: Likewise.
8683
26ecc33a
AS
86842012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8685
6c6dbc63
AS
8686 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8687 tests.
8688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8689
e216c012
AS
8690 * sysdeps/powerpc/powerpc32/crti.S: New file.
8691 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8692 * sysdeps/powerpc/powerpc64/crti.S: New file.
8693 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8694
26ecc33a
AS
8695 * Makeconfig (have-initfini): Don't set.
8696 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8697 * configure.in (nopic_initfini): Don't substitute.
8698 * config.h.in (HAVE_INITFINI): Don't #undef.
8699 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8700 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8701
3add8e13
JM
87022012-02-08 Joseph Myers <joseph@codesourcery.com>
8703
8704 Support crti.S and crtn.S provided directly by architectures.
8705 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8706 [crti.S in sysdirs] (omit-deps): Likewise.
8707 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8708 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8709 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8710 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8711 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8712 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8713 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8714 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8715 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8716 compiler output for sysdeps/generic/initfini.c.
8717 * sysdeps/i386/elf/Makefile: Remove file.
8718 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8719
a22f12b4
MP
87202012-02-07 Marek Polacek <polacek@redhat.com>
8721
8722 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8723 * sysdeps/gnu/_G_config.h: Likewise.
8724 * sysdeps/mach/hurd/_G_config.h: Likewise.
8725
148cf100
MP
87262012-02-07 Marek Polacek <polacek@redhat.com>
8727
8728 * math/Makefile (tests): Add tst-CMPLX2.
8729 * math/tst-CMPLX2.c: New file.
8730
cfdc0dd7
AS
87312012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8732
84ba42c4
AS
8733 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8734
cfdc0dd7
AS
8735 * math/libm-test.inc (jn_test): Add missing L suffix.
8736
622c86f4
MP
87372012-02-06 Marek Polacek <polacek@redhat.com>
8738
8739 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8740 * sysdeps/i386/fpu/e_powf.S: Likewise.
8741 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8742 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8743 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8744 * sysdeps/i386/fpu/e_pow.S: Likewise.
8745 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8746 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8747 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8748 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8749 * sysdeps/i386/fpu/e_log2.S: Likewise.
8750 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8751 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8752 * sysdeps/i386/fpu/e_powl.S: Likewise.
8753 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8754 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8755 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8756 * sysdeps/i386/fpu/e_logl.S: Likewise.
8757 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8758 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8759 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8760 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8761 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8762 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8763 * sysdeps/i386/fpu/e_log.S: Likewise.
8764 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8765 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8766 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8767 * sysdeps/i386/fpu/e_logf.S: Likewise.
8768 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8769 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8770 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8771 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8772 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8773 * sysdeps/i386/fpu/e_log10.S: Likewise.
8774 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8775 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8776 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8777 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8778 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8779 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8780 * sysdeps/i386/asm-syntax.h: Likewise.
8781 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8782 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8783 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8784 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8785 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8786 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8787 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8788 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8789 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8790 * sysdeps/powerpc/sysdep.h: Likewise.
8791 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8792 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8793
d4a54ac6
JM
87942012-02-06 Joseph Myers <joseph@codesourcery.com>
8795
8796 [BZ #411]
8797 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8798
314054ea
JM
87992012-02-06 Joseph Myers <joseph@codesourcery.com>
8800
8801 * sysdeps/i386/sysdep.h: Include <features.h>.
8802 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8803 version.
8804
d8e0ca50
JM
88052012-02-05 Joseph Myers <joseph@codesourcery.com>
8806
8807 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8808 Define.
8809 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8810 LOAD_PIC_REG_STR.
8811
b1da7dd9
JM
88122012-02-03 Joseph Myers <joseph@codesourcery.com>
8813
8814 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8815 (SETUP_PIC_REG): Use GET_PC_THUNK.
8816 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8817 macro.
8818
9a1d9254
JM
88192012-02-03 Joseph Myers <joseph@codesourcery.com>
8820
8821 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8822 for non-PIC compilation.
8823 (SETUP_PIC_REG): Add .p2align directive.
8824 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8825 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8826 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8827 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8828 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8829 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8830 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8831 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8832 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8833 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8834 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8835 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8836 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8837 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8838 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8839 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8840 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8841 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8842 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8843 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8844 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8845 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8846 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8847 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8848 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8849 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8850 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8851 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8852 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8853 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8854 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8855 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8856 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8857 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8858 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8859 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8860 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8861 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8862 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8863 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8864 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8865
65dc3b75
JM
88662012-02-03 Joseph Myers <joseph@codesourcery.com>
8867
8868 * math/tst-CMPLX.c: Include <stdio.h>.
8869
d55bf177
JM
88702012-01-31 Joseph Myers <joseph@codesourcery.com>
8871
8872 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8873 float.
8874 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8875 * sysdeps/sparc/bits/mathdef.h: Likewise.
8876
69db4f8f
MP
88772012-01-31 Marek Polacek <polacek@redhat.com>
8878
8879 * libio/libio.h: Don't define _PARAMS.
8880 * locale/programs/config.h: Don't define PARAMS.
8881 * stdlib/strtol_l.c: Likewise.
8882 (__strtol_l): Remove PARAMS from the prototype.
8883
41b81892
UD
88842012-01-31 Ulrich Drepper <drepper@gmail.com>
8885
3b49edc0
UD
8886 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8887 names. Just use the correct names. Remove unnecessary wrapper
8888 functions.
8889 * malloc/arena.c: Likewise.
8890 * malloc/hooks.c: Likewise.
8891
41b81892
UD
8892 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8893 ARENA_TEST says not to. Simplify test for creation of a new arena.
8894 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8895
27a25b6e
UD
88962012-01-30 Ulrich Drepper <drepper@gmail.com>
8897
8898 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8899 into tail calls.
8900 (update_get_addr): New function.
8901 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8902 GET_ADDR_MODULE parameter.
8903
c8a89e7d
JM
89042012-01-30 Joseph Myers <joseph@codesourcery.com>
8905
8906 * crypt/cert.c: Remove __STDC__ conditionals.
8907 * crypt/crypt-entry.c: Likewise.
8908 * crypt/crypt_util.c: Likewise.
8909 * libio/filedoalloc.c: Likewise.
8910 * libio/fileops.c: Likewise.
8911 * libio/genops.c: Likewise.
8912 * libio/iofclose.c: Likewise.
8913 * libio/iofdopen.c: Likewise.
8914 * libio/iofopen.c: Likewise.
8915 * libio/iofopen64.c: Likewise.
8916 * libio/iogetdelim.c: Likewise.
8917 * libio/iopopen.c: Likewise.
8918 * libio/obprintf.c: Likewise.
8919 * libio/oldfileops.c: Likewise.
8920 * libio/oldiofclose.c: Likewise.
8921 * libio/oldiofdopen.c: Likewise.
8922 * libio/oldiofopen.c: Likewise.
8923 * libio/oldiopopen.c: Likewise.
8924 * libio/wfiledoalloc.c: Likewise.
8925 * libio/wgenops.c: Likewise.
8926 * locale/programs/xmalloc.c: Likewise.
8927 * misc/syslog.c: Likewise.
8928 * stdio-common/xbug.c: Likewise.
8929 * string/memchr.c: Likewise.
8930 * string/memcmp.c: Likewise.
8931 * string/memrchr.c: Likewise.
8932 * string/rawmemchr.c: Likewise.
8933 * sysdeps/posix/getcwd.c: Likewise.
8934 * time/strftime_l.c: Likewise.
8935
3b100462
JM
89362012-01-30 Joseph Myers <joseph@codesourcery.com>
8937
8938 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
8939 * config.make.in (config-cflags-sse2avx): Define.
8940 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8941 Fix typo.
8942
607998af
CM
89432012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8944
8945 * scripts/config.guess: Update from upstream config git repository.
8946 * scripts/config.sub: Likewise.
8947
3601428f
CM
89482012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8949
3ac8b282
CM
8950 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8951 (EM_NUM): Update.
8952 (R_TILEPRO_*, R_TILEGX_*): New macros.
8953
e034841e
CM
8954 * scripts/firstversions.awk: Fix bug in version range handling.
8955
540d7568
CM
8956 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8957
3601428f
CM
8958 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8959
463de862
CM
8960 * include/sys/epoll.h: New file.
8961 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8962 libc_hidden_def.
8963
73139a76
UD
89642012-01-28 Ulrich Drepper <drepper@gmail.com>
8965
96bc5b45
UD
8966 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8967 Avoid unnecessary __WORDSIZE == 64 test.
8968 (fmaxf): Use VEX format if possible.
8969 (fmax): Likewise.
8970 (fminf): Likewise.
8971 (fmin): Likewise.
8972
56f6f6a2
UD
8973 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8974 * math/math_private.h: Remove libc_fegetround* and
8975 libc_fesetround*.
8976 * sysdeps/i386/configure.in: Check for -msse2avx.
8977 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8978 also if SSE2AVX is defined.
8979 Remove libc_fegetround* and libc_fesetround*.
8980 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8981 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8982 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8983 of HAS_YMM_USABLE.
8984 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8985 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8986 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8987 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8988 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8989
73139a76
UD
8990 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8991
d73f93a4
AZ
89922012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8993
8994 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8995 size is not set.
8996 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8997
6ee65ed6
UD
89982012-01-27 Ulrich Drepper <drepper@gmail.com>
8999
9000 [BZ #13618]
9001 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
9002 relocation.
9003 * Makeconfig (libm): Define.
9004 * elf/Makefile: Add rules to build and run tst-relsort1.
9005 * elf/tst-relsort1.c: New file.
9006 * elf/tst-relsort1mod1.c: New file.
9007 * elf/tst-relsort1mod2.c: New file.
9008
8db21882
JM
90092012-01-27 Joseph Myers <joseph@codesourcery.com>
9010
9011 * math/s_ldexp.c: Remove __STDC__ conditionals.
9012 * math/s_ldexpf.c: Likewise.
9013 * math/s_ldexpl.c: Likewise.
9014 * math/s_nextafter.c: Likewise.
9015 * math/s_nexttowardf.c: Likewise.
9016 * math/s_significand.c: Likewise.
9017 * math/s_significandf.c: Likewise.
9018 * math/s_significandl.c: Likewise.
9019 * math/w_jnl.c: Likewise.
9020 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9021 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9022 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9023 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9024 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9025 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9026 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
9027 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9028 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9029 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9030 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9031 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9032 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9033 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9034 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9035 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9036 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9037 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9038 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9039 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9040 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9041 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9042 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9043 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9044 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9045 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9046 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9047 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9048 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9049 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9050 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9051 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9052 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9053 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9054 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9055 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9056 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9057 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9058 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9059 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9060 * sysdeps/ieee754/k_standard.c: Likewise.
9061 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9062 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9063 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9064 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9065 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9066 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9067 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9068 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9069 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9070 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9071 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9072 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9073 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9074 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9075 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9076 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9077 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9078 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9079 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9080 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9081 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9082 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9083 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9084 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9085 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9086 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9087 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9088 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9089 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9090 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9091 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9092 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9093 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9094 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9095 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9096 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9097 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9098 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9099 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9100 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9101 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9102 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9103 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9104 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9105 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9106 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9107 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9108 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9109 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9110 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9111 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9112 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9113 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9114 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9115 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9116 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9117 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9118 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9119 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9120 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9121 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9122 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9123 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9124 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9125 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9126 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9127 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9128 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9129 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9130 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9131 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9132 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9133 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9134 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9135 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9136 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9137 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9138 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9139 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9140 * sysdeps/ieee754/s_matherr.c: Likewise.
9141 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9142 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9143 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9144 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9145
965a54a4
JM
91462012-01-26 Joseph Myers <joseph@codesourcery.com>
9147
9148 * crypt/md5.h: Remove __STDC__ conditionals.
9149 * libio/libioP.h: Likewise.
9150 * locale/programs/config.h: Likewise.
9151 * sysdeps/generic/sysdep.h: Likewise.
9152 * sysdeps/i386/asm-syntax.h: Likewise.
9153 * sysdeps/s390/asm-syntax.h: Likewise.
9154 * sysdeps/unix/sysdep.h: Likewise.
9155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9157
7071ad79
JM
91582012-01-26 Joseph Myers <joseph@codesourcery.com>
9159
9160 * libio/libio.h: Remove __STDC__ conditionals.
9161 * malloc/obstack.h: Likewise.
9162 * math/complex.h: Likewise.
9163 * math/math.h: Likewise.
9164 * sysdeps/generic/_G_config.h: Likewise.
9165 * sysdeps/gnu/_G_config.h: Likewise.
9166 * sysdeps/mach/hurd/_G_config.h: Likewise.
9167 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9168 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9169 * sysdeps/sparc/bits/mathdef.h: Likewise.
9170
afc5ed09
UD
91712012-01-26 Ulrich Drepper <drepper@gmail.com>
9172
9173 [BZ #13583]
9174 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 9175 Clean up HAS_* macros.
afc5ed09 9176 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
9177 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9178 possible.
9179 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9180 HAS_AVX.
9181 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9182 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9183 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9184 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9185 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 9186
bdb6de1d
JM
91872012-01-25 Joseph Myers <joseph@codesourcery.com>
9188
9189 * elf/tst-unique3.cc (gets): Remove declaration.
9190 * elf/tst-unique3lib.cc (gets): Likewise.
9191 * elf/tst-unique3lib2.cc (gets): Likewise.
9192 * elf/tst-unique4.cc (gets): Likewise.
9193
b15549e6
UD
91942012-01-24 Ulrich Drepper <drepper@gmail.com>
9195
9196 * include/stdio.h: Add C++ protection. Add gets declarations and
9197 definitions.
9198 * debug/tst-chk1.c: Don't declare gets here.
9199 * stdio-common/tst-gets.c: Likewise.
9200
a037381f
JM
92012012-01-24 Joseph Myers <joseph@codesourcery.com>
9202
9203 * posix/glob: Remove directory.
9204
f1d4aa75
JM
92052012-01-24 Joseph Myers <joseph@codesourcery.com>
9206
9207 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9208
81c0c964
PT
92092012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9210
9211 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9212 of the non-standard EPFNOSUPPORT.
9213
0ea698ae
ST
92142011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9215
9216 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9217 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9218 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9219
d220b117
UD
92202012-01-21 Ulrich Drepper <drepper@gmail.com>
9221
9222 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9223
3e1aa84e
UD
92242012-01-20 Ulrich Drepper <drepper@gmail.com>
9225
9226 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9227 transient errors.
9228 * nscd/grpcache.c (cache_addgr): Likewise.
9229 * nscd/hstcache.c (cache_addhst): Likewise.
9230 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9231 * nscd/pwdcache.c (cache_addpw): Likewise.
9232 * nscd/servicescache.c (cache_addserv): Likewise.
9233
400aa020
UD
92342012-01-16 Ulrich Drepper <drepper@gmail.com>
9235
d77e7869
UD
9236 * malloc/malloc.c: Various cleanups.
9237 * malloc/hooks.c: Likewise.
9238
400aa020
UD
9239 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9240 * stdlib/bug-fmtmsg1.c: New file.
9241
9242 * stdlib/fmtmsg.c (init): Add missing unlock.
9243 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9244
e0a309cf
MP
92452012-01-12 Marek Polacek <polacek@redhat.com>
9246
9247 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9248 and _GNU_SOURCE.
9249
929d11c7
WS
92502012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9251
9252 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9253 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9254 macro to ensure uniqueness of label name.
9255 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9256 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9257
41d0e869
UD
92582012-01-11 Ulrich Drepper <drepper@gmail.com>
9259
0cc5ed3b
UD
9260 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9261
41d0e869
UD
9262 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9263 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9264 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9265 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9266
a47a831a
UD
92672012-01-10 Ulrich Drepper <drepper@gmail.com>
9268
daa891c0
UD
9269 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9270
9271 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9272 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9273 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9274
e58ef0f2
UD
9275 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9276
a47a831a 9277 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
9278 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9279 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 9280 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
9281
9282 * math/bits/math-finite.h: Add ldexp support.
9283
a0bfc9c7
MP
92842012-01-10 Marek Polacek <polacek@redhat.com>
9285
9286 * locale/programs/localedef.h (show_archive_content): Add noreturn
9287 attribute.
9288
d6e97a1d
UD
92892012-01-09 Ulrich Drepper <drepper@gmail.com>
9290
9291 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9292
d5835c26
UD
92932012-01-08 Ulrich Drepper <drepper@gmail.com>
9294
e5f484c6
UD
9295 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9296
d5835c26
UD
9297 * io/Makefile (headers): Add bits/poll2.h.
9298
d1f741e9
WS
92992011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9300
9301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9302 typo #include statement.
9303
ec09c1c4
UD
93042012-01-08 Ulrich Drepper <drepper@gmail.com>
9305
9306 * include/sys/cdefs.h: Define __attribute_alloc_size.
9307 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9308 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9309 * elf/pldd.c: Likewise.
9310 * iconv/iconv_charmap.c: Likewise.
9311 * iconv/iconvconfig.c: Likewise.
9312 * iconv/strtab.c: Likewise.
9313 * locale/programs/locale.c: Likewise.
9314 * locale/programs/localedef.h: Likewise.
9315 * locale/programs/simple-hash.c: Likewise.
9316 * nscd/nscd.h: Likewise.
9317 * nss/makedb.c: Likewise.
9318 * sysdeps/generic/ldconfig.h: Likewise.
9319 * locale/programs/localedef.c: Remove xmalloc prototype.
9320 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9321
20b38e03
PP
93222012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9323
9324 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9325 appropriate.
9326
a0da5fe1
UD
93272012-01-08 Ulrich Drepper <drepper@gmail.com>
9328
1d5a644a 9329 * math/Makefile (tests): Add tst-CMPLX.
669704fd 9330 * math/tst-CMPLX.c: New file.
1d5a644a 9331
8784a6db
UD
9332 * math/complex.h (CMPLXL): Fix typo.
9333
d9a216c0
UD
9334 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9335 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9336 GLIBC_2.16.
9337 * debug/tst-chk1.c: Add poll and ppoll tests.
9338 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9339 * include/sys/poll.h: Add hidden proto for ppoll.
9340 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9341 * sysdeps/mach/hurd/ppoll.c: Likewise.
9342 * io/ppoll.c: Likewise.
9343 * debug/poll_chk.c: New file.
9344 * debug/ppoll_chk.c: New file.
9345 * include/bits/poll2.h: New file.
9346 * io/bits/poll2.h: New file.
9347
ac097f5c
UD
9348 [BZ #1350]
9349 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9350
2119dcfa
UD
9351 * configure.in: static is always set to yes. Remove.
9352 * config.make.in: Don't set build-static.
9353 * Makeconfig: Remove use of build-static.
9354 * dlfcn/Makefile: Likewise.
9355 * elf/Makefile: Likewise.
9356 * math/Makefile: Likewise.
9357 * misc/Makefile: Likewise.
9358 * nptl/Makefile: Likewise.
9359 * sysdeps/mach/hurd/Makefile: Likewise.
9360
121766a9
UD
9361 * configure.in: PWD_P is not used anymore.
9362 * config.make.in: Remove PWD_P entry.
9363
51a1d39c 9364 * configure.in: Remove last remnants of RANLIB.
8720d066 9365 No need to check for signed size_t anymore.
215f4bdc
UD
9366 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9367 and IA-64.
3857022a 9368 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
9369 * aclocal.m4: Likewise.
9370
d3ed7225
UD
9371 * wcsmbs/mbrtoc16.c: Implement using towc function.
9372 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9373 * wcsmbs/wcsmbsload.c: Likewise.
9374 * iconv/gconv_simple.c: Likewise.
9375 * iconv/gconv_int.h: Likewise.
9376 * iconv/gconv_builtin.h: Likewise.
9377 * iconv/iconv_prog.c: Remove CHAR16 handling.
9378
9379 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9380
9381 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9382
a0da5fe1
UD
9383 * configure.in: Remove --with-elf and --enable-bounded options.
9384 Dont set base_machine for ia64. More non-ELF conditions removed.
9385 Remove testing and setting of leading underscore information.
9386 * config.make.in (build-bounded): Set to no.
9387 * config.h.in: Remove NO_UNDERSCORES entry.
9388 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9389 them.
9390 * csu/start.c: Remove !NO_UNDERSCORE code.
9391 * locale/localeinfo.h: Likewise.
9392 * sysdeps/generic/machine-gmon.h: Likewise.
9393 * sysdeps/generic/sysdep.h: Likewise.
9394 * sysdeps/i386/sysdep.h: Likewise.
9395 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9396 * sysdeps/mach/sysdep.h: Likewise.
9397 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9398 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9399 * sysdeps/sh/sysdep.h: Likewise.
9400 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9401 * sysdeps/unix/i386/sysdep.S: Likewise.
9402 * sysdeps/unix/sparc/start.c: Likewise.
9403 * sysdeps/unix/sparc/sysdep.S: Likewise.
9404 * sysdeps/unix/sparc/sysdep.h: Likewise.
9405 * sysdeps/unix/start.c: Likewise.
9406 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9407 * sysdeps/x86_64/sysdep.h: Likewise.
9408
df78418a
UD
94092012-01-07 Ulrich Drepper <drepper@gmail.com>
9410
a784e502
UD
9411 [BZ #13553]
9412 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9413 for non-gcc.
9414 * argp/argp-fmtstream.h: Use const instead __const.
9415 * argp/argp.h: Likewise.
9416 * assert/assert.h: Likewise.
9417 * bits/fenv.h: Likewise.
9418 * bits/sched.h: Likewise.
9419 * bits/sigset.h: Likewise.
9420 * bits/sigthread.h: Likewise.
9421 * catgets/nl_types.h: Likewise.
9422 * conform/data/pthread.h-data: Likewise.
9423 * crypt/crypt-private.h: Likewise.
9424 * crypt/crypt.h: Likewise.
9425 * crypt/crypt_util.c: Likewise.
9426 * ctype/ctype.h: Likewise.
9427 * debug/execinfo.h: Likewise.
9428 * debug/mbsnrtowcs_chk.c: Likewise.
9429 * debug/mbsrtowcs_chk.c: Likewise.
9430 * debug/wcsnrtombs_chk.c: Likewise.
9431 * debug/wcsrtombs_chk.c: Likewise.
9432 * debug/wcstombs_chk.c: Likewise.
9433 * dirent/dirent.h: Likewise.
9434 * dlfcn/dlfcn.h: Likewise.
9435 * elf/neededtest4.c: Likewise.
9436 * grp/grp.h: Likewise.
9437 * gshadow/gshadow.h: Likewise.
9438 * iconv/gconv.h: Likewise.
9439 * iconv/gconv_int.h: Likewise.
9440 * iconv/gconv_simple.c: Likewise.
9441 * iconv/iconv.h: Likewise.
9442 * iconv/loop.c: Likewise.
9443 * iconv/skeleton.c: Likewise.
9444 * include/aio.h: Likewise.
9445 * include/aliases.h: Likewise.
9446 * include/argz.h: Likewise.
9447 * include/arpa/inet.h: Likewise.
9448 * include/assert.h: Likewise.
9449 * include/dirent.h: Likewise.
9450 * include/dlfcn.h: Likewise.
9451 * include/execinfo.h: Likewise.
9452 * include/fcntl.h: Likewise.
9453 * include/fenv.h: Likewise.
9454 * include/glob.h: Likewise.
9455 * include/grp.h: Likewise.
9456 * include/libintl.h: Likewise.
9457 * include/mntent.h: Likewise.
9458 * include/netdb.h: Likewise.
9459 * include/pwd.h: Likewise.
9460 * include/rpc/netdb.h: Likewise.
9461 * include/sched.h: Likewise.
9462 * include/search.h: Likewise.
9463 * include/shadow.h: Likewise.
9464 * include/signal.h: Likewise.
9465 * include/stdio.h: Likewise.
9466 * include/stdlib.h: Likewise.
9467 * include/string.h: Likewise.
9468 * include/sys/socket.h: Likewise.
9469 * include/sys/stat.h: Likewise.
9470 * include/sys/statfs.h: Likewise.
9471 * include/sys/statvfs.h: Likewise.
9472 * include/sys/syslog.h: Likewise.
9473 * include/sys/time.h: Likewise.
9474 * include/sys/uio.h: Likewise.
9475 * include/time.h: Likewise.
9476 * include/unistd.h: Likewise.
9477 * include/utmp.h: Likewise.
9478 * include/wchar.h: Likewise.
9479 * include/wctype.h: Likewise.
9480 * inet/aliases.h: Likewise.
9481 * inet/arpa/inet.h: Likewise.
9482 * inet/netinet/ether.h: Likewise.
9483 * inet/netinet/in.h: Likewise.
9484 * intl/libintl.h: Likewise.
9485 * io/bits/fcntl2.h: Likewise.
9486 * io/fcntl.h: Likewise.
9487 * io/ftw.h: Likewise.
9488 * io/sys/poll.h: Likewise.
9489 * io/sys/stat.h: Likewise.
9490 * io/sys/statfs.h: Likewise.
9491 * io/sys/statvfs.h: Likewise.
9492 * io/utime.h: Likewise.
9493 * libio/bits/stdio.h: Likewise.
9494 * libio/bits/stdio2.h: Likewise.
9495 * libio/libio.h: Likewise.
9496 * libio/libioP.h: Likewise.
9497 * libio/stdio.h: Likewise.
9498 * locale/lc-ctype.c: Likewise.
9499 * locale/locale.h: Likewise.
9500 * login/utmp.h: Likewise.
9501 * malloc/arena.c: Likewise.
9502 * malloc/malloc.c: Likewise.
9503 * malloc/malloc.h: Likewise.
9504 * malloc/mcheck.c: Likewise.
9505 * malloc/mtrace.c: Likewise.
9506 * math/bits/mathcalls.h: Likewise.
9507 * math/fenv.h: Likewise.
9508 * math/math_private.h: Likewise.
9509 * misc/bits/error.h: Likewise.
9510 * misc/bits/syslog.h: Likewise.
9511 * misc/err.h: Likewise.
9512 * misc/error.h: Likewise.
9513 * misc/fstab.h: Likewise.
9514 * misc/mntent.h: Likewise.
9515 * misc/regexp.h: Likewise.
9516 * misc/search.h: Likewise.
9517 * misc/sgtty.h: Likewise.
9518 * misc/sys/mman.h: Likewise.
9519 * misc/sys/syslog.h: Likewise.
9520 * misc/sys/uio.h: Likewise.
9521 * misc/sys/xattr.h: Likewise.
9522 * misc/ttyent.h: Likewise.
9523 * nis/rpcsvc/ypclnt.h: Likewise.
9524 * nss/nss.h: Likewise.
9525 * posix/bits/unistd.h: Likewise.
9526 * posix/fnmatch.h: Likewise.
9527 * posix/glob.h: Likewise.
9528 * posix/sched.h: Likewise.
9529 * posix/spawn.h: Likewise.
9530 * posix/sys/wait.h: Likewise.
9531 * posix/unistd.h: Likewise.
9532 * posix/wordexp.h: Likewise.
9533 * pwd/pwd.h: Likewise.
9534 * resolv/netdb.h: Likewise.
9535 * resource/sys/resource.h: Likewise.
9536 * rt/aio.h: Likewise.
9537 * rt/bits/mqueue2.h: Likewise.
9538 * rt/mqueue.h: Likewise.
9539 * shadow/shadow.h: Likewise.
9540 * signal/signal.h: Likewise.
9541 * socket/send.c: Likewise.
9542 * socket/sendto.c: Likewise.
9543 * socket/sys/socket.h: Likewise.
9544 * stdio-common/printf.h: Likewise.
9545 * stdlib/bits/stdlib.h: Likewise.
9546 * stdlib/fmtmsg.h: Likewise.
9547 * stdlib/monetary.h: Likewise.
9548 * stdlib/stdlib.h: Likewise.
9549 * stdlib/ucontext.h: Likewise.
9550 * streams/stropts.h: Likewise.
9551 * string/argz.h: Likewise.
9552 * string/bits/string2.h: Likewise.
9553 * string/string.h: Likewise.
9554 * string/strings.h: Likewise.
9555 * sunrpc/rpc/auth.h: Likewise.
9556 * sunrpc/rpc/auth_des.h: Likewise.
9557 * sunrpc/rpc/clnt.h: Likewise.
9558 * sunrpc/rpc/netdb.h: Likewise.
9559 * sunrpc/rpc/pmap_clnt.h: Likewise.
9560 * sunrpc/rpc/xdr.h: Likewise.
9561 * sysdeps/generic/inttypes.h: Likewise.
9562 * sysdeps/generic/net/if.h: Likewise.
9563 * sysdeps/generic/sys/swap.h: Likewise.
9564 * sysdeps/gnu/net/if.h: Likewise.
9565 * sysdeps/gnu/utmpx.h: Likewise.
9566 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9567 * sysdeps/i386/i486/bits/string.h: Likewise.
9568 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9569 * sysdeps/s390/bits/string.h: Likewise.
9570 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9571 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9572 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9573 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9574 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9575 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9576 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9577 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9578 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9579 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9580 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9581 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9582 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9583 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9584 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9585 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9586 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9587 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9588 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9589 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9590 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9591 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9592 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9593 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9594 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9595 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9596 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9597 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9598 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9599 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9600 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9601 * sysvipc/sys/ipc.h: Likewise.
9602 * sysvipc/sys/msg.h: Likewise.
9603 * sysvipc/sys/sem.h: Likewise.
9604 * sysvipc/sys/shm.h: Likewise.
9605 * termios/termios.h: Likewise.
9606 * time/sys/time.h: Likewise.
9607 * time/time.h: Likewise.
9608 * wcsmbs/bits/wchar2.h: Likewise.
9609 * wcsmbs/uchar.h: Likewise.
9610 * wcsmbs/wchar.h: Likewise.
9611 * wctype/wctype.h: Likewise.
9612
0269750c
UD
9613 [BZ #13551]
9614 * Makeconfig: Remove all but ELF support including AIX support.
9615 * Makerules: Likewise.
9616 * config.h.in: Likewise.
9617 * config.make.in: Likewise.
9618 * configure: Likewise.
9619 * configure.in: Likewise.
9620 * csu/Makefile: Likewise.
9621 * csu/version.c: Likewise.
9622 * debug/Makefile: Likewise.
9623 * dlfcn/Makefile: Likewise.
9624 * elf/Makefile: Likewise.
9625 * extra-lib.mk: Likewise.
9626 * iconv/Makefile: Likewise.
9627 * include/libc-symbols.h: Likewise.
9628 * include/shlib-compat.h: Likewise.
9629 * resolv/Makefile: Likewise.
9630 * resolv/res_libc.c: Likewise.
9631 * rt/Makefile: Likewise.
9632 * sysdeps/i386/asm-syntax.h: Likewise.
9633 * sysdeps/i386/sysdep.h: Likewise.
9634 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9635 * sysdeps/mach/sysdep.h: Likewise.
9636 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9637 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9638 * sysdeps/s390/asm-syntax.h: Likewise.
9639 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9640 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9641 * sysdeps/sh/sysdep.h: Likewise.
9642 * sysdeps/unix/sparc/sysdep.h: Likewise.
9643 * sysdeps/wordsize-32/divdi3.c: Likewise.
9644 * sysdeps/x86_64/sysdep.h: Likewise.
9645
00bbd29b
UD
9646 * argp/Versions: Remove _argp_unlock_xxx.
9647
9648 [BZ #13559]
9649 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9650 * abilist/libBrokenLocale.abilist: Likewise.
9651 * abilist/libanl.abilist: Likewise.
9652 * abilist/libc.abilist: Likewise.
9653 * abilist/libcrypt.abilist: Likewise.
9654 * abilist/libdl.abilist: Likewise.
9655 * abilist/libm.abilist: Likewise.
9656 * abilist/libnsl.abilist: Likewise.
9657 * abilist/libpthread.abilist: Likewise.
9658 * abilist/libresolv.abilist: Likewise.
9659 * abilist/librt.abilist: Likewise.
9660 * abilist/libthread_db.abilist: Likewise.
9661 * abilist/libutil.abilist: Likewise.
9662 * abilist/libnss_db.abilist: New file.
9663
9664 * scripts/abilist.awk: Add support for indirect functions.
9665
a2693a0e
UD
9666 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9667
3f05895f
UD
9668 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9669
ecb6fb48
UD
9670 * shlib-versions: Remove entries for ports architectures.
9671
664f8cb9
UD
9672 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9673 files in ports.
9674 * elf/stackguard-macros.h: Remove support for IA-64.
9675 * elf/tst-auditmod1.c: Likewise.
9676 * sysdeps/generic/ldsodefs.h: Likewise.
9677
7ae81d88
UD
9678 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9679 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9680 configure files.
9681
bdeba135
UD
9682 [BZ #13552]
9683 * configure.in: Remove --enable-omitfp support.
9684 * FAQ.in: Adjust.
9685 * config.make.in: Likewise.
9686 * Makeconfig: Likewise.
9687 * manual/install.texi: Likewise.
9688
d75a0a62
UD
9689 In case anyone cares, the IA-64 architecture could move to ports.
9690 * sysdeps/ia64/*: Removed.
9691 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 9692 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 9693
dcc9756b
UD
9694 [BZ #13555]
9695 * configure.in: Remove entries for unsupported architectures.
9696
d3761ebc 9697 [BZ #13533]
9954432e
UD
9698 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9699 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9700 routines.
9701 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9702 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9703 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9704 fall back to using wcrtomb.
9705 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9706 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9707 renaming.
9708 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9709 * wcsmbs/tst-c16c32-1.c: New file.
9710
9711 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9712 local variable.
9713
c3a87236
UD
9714 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9715
28926a1b
UD
9716 * elf/tst-unique3.cc: Add explicit declaration of gets.
9717 * elf/tst-unique3lib.cc: Likewise.
9718 * elf/tst-unique3lib2.cc: Likewise.
9719 * elf/tst-unique4.cc: Likewise.
9720
df78418a
UD
9721 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9722
8ecd6b2a
JM
97232012-01-06 Joseph Myers <joseph@codesourcery.com>
9724
9725 [BZ #13566]
9726 * assert/assert.h (static_assert): Don't define for C++.
9727 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9728 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9729
9f115170
UD
97302012-01-03 Ulrich Drepper <drepper@gmail.com>
9731
5e0d0300
UD
9732 * iconv/loop.c (single loop): Fix assertion in storing of
9733 remaining bytes.
9734
9f115170
UD
9735 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9736
81fb02b0
UD
97372012-01-01 Ulrich Drepper <drepper@gmail.com>
9738
9739 * posix/getconf.c: Update copyright year.
9740 * nss/getent.c: Likewise.
a316c1f6 9741 * nss/makedb.c: Likewise.
81fb02b0
UD
9742 * iconv/iconvconfig.c: Likewise.
9743 * iconv/iconv_prog.c: Likewise.
9744 * elf/ldconfig.c: Likewise.
a316c1f6
UD
9745 * elf/pldd.c: Likewise.
9746 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
9747 * catgets/gencat.c: Likewise.
9748 * csu/version.c: Likewise.
9749 * elf/ldd.bash.in: Likewise.
9750 * elf/sprof.c (print_version): Likewise.
9751 * locale/programs/locale.c: Likewise.
9752 * locale/programs/localedef.c: Likewise.
a316c1f6 9753 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
9754 * nscd/nscd.c (print_version): Likewise.
9755 * debug/xtrace.sh: Likewise.
9756 * malloc/memusage.sh: Likewise.
9757 * malloc/mtrace.pl: Likewise.
9758 * debug/catchsegv.sh: Likewise.
9759
2ba92745
JJ
97602011-12-30 Jakub Jelinek <jakub@redhat.com>
9761
9762 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9763 pure attribute.
9764
dadebdae
UD
97652011-12-24 Ulrich Drepper <drepper@gmail.com>
9766
d3761ebc 9767 [BZ #13533]
db6af3eb
UD
9768 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9769 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9770 transformations.
9771 * iconv/gconv_int.h: Likewise.
9772 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9773 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9774 from libc for GLIBC_2.16.
9775 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9776 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9777 * wcsmbs/uchar.h: Really define mbstate_t.
9778 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9779 * wcsmbs/c16rtomb.c: New file.
9780 * wcsmbs/mbrtoc16.c: New file.
9781 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9782 for C/POSIX locale.
9783 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9784 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9785
dadebdae
UD
9786 * wcsmbs/wchar.h: Add missing __restrict.
9787
67371b56
UD
97882011-12-23 Ulrich Drepper <drepper@gmail.com>
9789
74033a25
UD
9790 [BZ #13532]
9791 * time/Makefile (routines): Add timespec_get.
9792 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9793 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9794 timespec for ISO C11.
9795 * time/timespec_get.c: New file.
9796 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9797 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9798
380d7e87
UD
9799 [BZ #13531]
9800 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9801 * stdlib/stdlib.h: Declare aligned_alloc.
9802 * Versions.def: Add GLIBC_2.16 for libc.
9803 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9804
4e9e7a35
UD
9805 [BZ 13527]
9806 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9807 ISO C11.
9808
380d7e87 9809 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
9810 code.
9811
03a71829
UD
9812 [BZ #13528]
9813 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9814
839e283e
UD
9815 [BZ #13529]
9816 * assert/assert.h (static_assert): Define.
9817
ce5294e2 9818 * version.h: Update for 2.16 development version.
90fa7312 9819
8d44e150 9820 [BZ #13526]
d7809905
UD
9821 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9822 _ISOC11_SOURCE.
9823
c0da14cd
UD
9824 * version.h (RELEASE): Bump for 2.15 release.
9825 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9826
530a3249
MP
9827 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9828 Patch by Marek Polacek <mpolacek@redhat.com>.
9829
67371b56
UD
9830 * bits/byteswap.h: Protect long long constants with __extension__.
9831 * sysdeps/i386/bits/byteswap.h: Likewise.
9832 * sysdeps/ia64/bits/byteswap.h: Likewise.
9833 * sysdeps/s390/bits/byteswap.h: Likewise.
9834 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9835
15db4de1
LD
98362011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9837
9838 [BZ #13540]
bbe315ea
LD
9839 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9840 destination buffer.
15db4de1
LD
9841 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9842
2b2596b1
MP
98432011-12-23 Marek Polacek <polacek@redhat.com>
9844
9845 * elf/dl-addr.c (determine_info): Add inline keyword.
9846 * elf/tst-auditmod4b.c (check_avx): Likewise.
9847 * elf/tst-auditmod6b.c (check_avx): Likewise.
9848 * elf/tst-auditmod6c.c (check_avx): Likewise.
9849 * elf/tst-auditmod7b.c (check_avx): Likewise.
9850
70c6c246
UD
98512011-12-23 Ulrich Drepper <drepper@gmail.com>
9852
9853 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9854 !__SSE_MATH__.
9855
c044cf14
LD
98562011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9857
15db4de1 9858 [BZ #13540]
c044cf14
LD
9859 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9860 processing for last bytes.
9861
6b13d9d9
BH
98622011-08-06 Bruno Haible <bruno@clisp.org>
9863
d455f537
BH
9864 [BZ #13061]
9865 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9866 U+0385, not to U+1FEE.
9867
6b13d9d9
BH
9868 [BZ #13062]
9869 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9870 entry for U+00A5 U+0301.
9871
db910efd
UD
98722011-12-22 Ulrich Drepper <drepper@gmail.com>
9873
27deeafc
UD
9874 [BZ #13166]
9875 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9876 buffer for the output is too small.
9877
aed9d171
UD
9878 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9879 optimization.
9880
db910efd
UD
9881 [BZ #13185]
9882 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9883 SSE flags if possible.
9884
2bd779ae
LD
98852011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9886
e7f9dac3 9887 [BZ #13540]
2bd779ae
LD
9888 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9889 processing for last bytes.
9890
154bfc16
JM
98912011-12-22 Joseph Myers <joseph@codesourcery.com>
9892
9893 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9894 (syscall-list-default-options, syscall-list-default-condition)
9895 (syscall-list-includes): Define.
9896 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9897 list of ABIs and options and #if conditions for each ABI. Do not
9898 handle common syscalls between ABIs specially.
9899 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9900 Remove.
9901 (syscall-list-variants, syscall-list-32bit-options)
9902 (syscall-list-32bit-condition, syscall-list-64bit-options)
9903 (syscall-list-64bit-condition): Define.
9904 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9905 (syscall-list-variants, syscall-list-32bit-options)
9906 (syscall-list-32bit-condition, syscall-list-64bit-options)
9907 (syscall-list-64bit-condition): Define.
9908 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9909 Remove.
9910 (syscall-list-variants, syscall-list-32bit-options)
9911 (syscall-list-32bit-condition, syscall-list-64bit-options)
9912 (syscall-list-64bit-condition): Define.
9913 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9914 Remove.
9915 (syscall-list-variants, syscall-list-32bit-options)
9916 (syscall-list-32bit-condition, syscall-list-64bit-options)
9917 (syscall-list-64bit-condition): Define.
9918
21eaf3a5
UD
99192011-12-22 Ulrich Drepper <drepper@gmail.com>
9920
16c6f992
UD
9921 * locale/iso-639.def: Add brx entry.
9922
41043168
UD
9923 [BZ #13328]
9924 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9925 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9926
21eaf3a5
UD
9927 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9928 __feraiseexcept_renamed.
9929
e3a851a2
UD
99302011-12-21 Ulrich Drepper <drepper@gmail.com>
9931
4920765e
UD
9932 [BZ #13538]
9933 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9934 EPOLLET with unsigned values.
9935 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9936 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9937
e3a851a2
UD
9938 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9939 to large cancellation.
9940 * math/s_cacoshf.c: Likewise.
9941 * math/s_cacoshl.c: Likewise.
9942
b27e24b8
RK
99432011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9944
9945 [BZ #13305]
aebefeee 9946 [BZ #12786]
b27e24b8
RK
9947 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9948 * math/s_cacoshf.c: Likewise.
9949 * math/s_cacoshl.c: Likewise.
9950
ee190f67
UD
99512011-12-21 Ulrich Drepper <drepper@gmail.com>
9952
9953 [BZ #13439]
9954 * iconv/gconv.h: Define __GCONV_SWAP.
9955 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9956 * iconvdata/utf-16.c: Likewise.
9957 * iconvdata/utf-32.c: Likewise.
9958
707f25df
AS
99592011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9960
9961 [BZ #13524]
9962 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9963 numerator after shifting it by one limb.
9964
d2daaa1e
RÁE
99652011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9966
9967 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9968 under [__USE_EXTERN_INLINES].
9969
a4647e72
UD
99702011-12-17 Ulrich Drepper <drepper@gmail.com>
9971
9972 [BZ #13446]
9973 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9974
f0b264f1
AZ
99752011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9976
9977 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9978 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9979 optimized code.
9980 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9981 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9982 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9983 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9984 for strncasecmp/strncasecmp_l compilation.
9985 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9986 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9987
8ef4f244
MP
99882011-12-08 Marek Polacek <mpolacek@redhat.com>
9989
9990 [BZ #13484]
9991 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9992 of __asm__.
9993
97ac2654
UD
99942011-12-17 Ulrich Drepper <drepper@gmail.com>
9995
9996 [BZ #13506]
9997 * time/tzfile.c (__tzfile_read): Check values from file header.
9998
91d2a845
WS
99992011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10000
10001 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
10002 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
10003 * powerpc/powerpc32/dl-start.S: Likewise.
10004 * powerpc/powerpc32/elf/start.S: Likewise.
10005 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10006 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
10007 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
10008 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
10009 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10010 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
10011 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
10012 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10013 * powerpc/powerpc32/fpu/s_round.S: Likewise.
10014 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10015 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10016 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10017 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10018 * powerpc/powerpc32/memset.S: Likewise.
10019 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10020 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10021 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10022 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10023 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10024 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10025 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10026 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10027 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
10028 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
10029 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
10030 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10031 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10032
a1267ba1
AZ
100332011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10034
10035 * math/libm-test.inc: Added more nearbyint tests.
10036 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
10037 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
10038 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
10039 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
10040
ad8ac1bd
RL
100412011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
10042
10043 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
10044 FD_CLOEXEC.
10045
1d3e4b61
UD
100462011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10047
10048 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
10049 Add wcscpy-ssse3 wcscpy-c.
10050 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
10051 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
10052 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
10053 * sysdeps/x86_64/wcschr.S: New file.
10054 * sysdeps/x86_64/wcsrchr.S: New file.
10055 * string/test-strcmp.c: Remove checking of wcscmp function for
10056 wrong alignments.
10057 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
10058 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
10059 wcsrchr-sse2 wcsrchr-c.
10060 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
10061 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
10062 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
10063 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
10064 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
10065 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
10066 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
10067 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
10068 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
10069 * wcsmbc/wcschr.c (WCSCHR): New macro.
10070
5b330a2d
UD
100712011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10072
10073 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
10074 * wcsmbs/test-wcsrchr.c: New file.
10075 * string/test-strrchr.c: Add wcsrchr support.
10076 (WIDE): New macro.
10077 * wcsmbs/test-wcscpy.c: New file.
10078 * string/test-strcpy.c: Add wcscpy support.
10079 (WIDE): New macro.
26428b7c 10080
f039c043
UD
100812011-12-10 Ulrich Drepper <drepper@gmail.com>
10082
10083 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
10084 the inner loop.
10085
850fb039
AS
100862011-12-06 Andreas Schwab <schwab@linux-m68k.org>
10087
10088 [BZ #13472]
10089 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
10090
4efbd5cb
UD
100912011-12-04 Ulrich Drepper <drepper@gmail.com>
10092
52ff5dd0 10093 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 10094 Minor optimizations.
52ff5dd0 10095
4efbd5cb
UD
10096 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
10097 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
10098 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10099
8a426e12
UD
101002011-12-03 Ulrich Drepper <drepper@gmail.com>
10101
aff2453d
UD
10102 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
10103 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
10104 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
10105 for gcc to avoid warnings.
10106 * inet/Makefile (tests): Add tst-checks.
10107 * inet/tst-checks.c: New file.
10108
10109 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
10110 warning.
10111
10112 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
10113 __wmemcmp_sse2.
10114
10115 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
10116 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
10117
8a426e12
UD
10118 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
10119
9bea3473
UD
101202011-12-02 Ulrich Drepper <drepper@gmail.com>
10121
3a965496
UD
10122 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10123 problem.
10124
9bea3473
UD
10125 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10126
f101631b
UD
101272011-11-29 Joseph Myers <joseph@codesourcery.com>
10128
10129 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10130 conditional on GCC version.
10131 (__arch_compare_and_exchange_val_8_acq)
10132 (__arch_compare_and_exchange_val_16_acq)
10133 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10134 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10135 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10136
a98275aa
UD
101372011-12-02 Joseph Myers <joseph@codesourcery.com>
10138
10139 * sysdeps/sh/backtrace.c: New file.
10140
d4cc29a2
AS
101412011-12-02 Andreas Schwab <schwab@redhat.com>
10142
10143 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
10144 parenthesis.
10145
6257af2d
AS
101462011-12-01 Andreas Schwab <schwab@redhat.com>
10147
10148 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10149 falling back to utime.
10150
b5f44c1a
AS
101512011-11-30 Andreas Schwab <schwab@redhat.com>
10152
10153 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10154 expectations for float.
10155
f3a6cc0a
AS
101562011-11-29 Andreas Schwab <schwab@redhat.com>
10157
10158 * locale/weight.h (findidx): Add parameter len.
10159 * locale/weightwc.h (findidx): Likewise.
10160 * posix/fnmatch_loop.c (FCT): Adjust caller.
10161 * posix/regcomp.c (build_equiv_class): Likewise.
10162 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10163 * posix/regexec.c (check_node_accept_bytes): Likewise.
10164 * string/strcoll_l.c (STRCOLL): Likewise.
10165 * string/strxfrm_l.c (STRXFRM): Likewise.
10166
9d65ea3a
UD
101672011-11-17 Ulrich Drepper <drepper@gmail.com>
10168
10169 * Makefile.in: Remove CVSOPT handling.
10170 * configure.in: Remove use of AC_REVISION.
10171 * iconvdata/Makefile (distribute): No need to filter out CVS.
10172 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10173 handling.
10174
5583a086
AS
101752011-11-16 Andreas Schwab <schwab@redhat.com>
10176
10177 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10178 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10179 [USE_AS_STRNCASECMP_L]: Likewise.
10180 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10181 NO_TLS_DIRECT_SEG_REFS.
10182 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10183 Fix argument offsets for non-PIC.
10184 [USE_AS_STRNCASECMP_L]: Likewise.
10185 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10186 NO_TLS_DIRECT_SEG_REFS.
10187
d62a8200
UD
101882011-11-15 Ulrich Drepper <drepper@gmail.com>
10189
9d65ea3a 10190 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
10191 O_CLOEXEC.
10192 * locale/loadlocale.c (_nl_load_locale): Likewise.
10193
09f93bd3
AS
101942011-11-15 Andreas Schwab <schwab@redhat.com>
10195
446514f9
AS
10196 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10197 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10198 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10199 (SYSCALL_GETTIME): Set errno on error.
10200
09f93bd3
AS
10201 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10202 count references to noai6ai_cached.
10203
312be3f9
UD
102042011-11-15 Ulrich Drepper <drepper@gmail.com>
10205
10206 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10207
10208 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10209 FD_CLOEXEC for /proc/self/maps.
10210
10211 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10212 FD_CLOEXEC for /proc/meminfo.
10213
10214 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10215 gai.conf.
10216
10217 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10218 FD_CLOEXEC for given file.
10219
10220 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10221
10222 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10223 FD_CLOEXEC for /etc/hosts.
10224 (_gethtent): Likewise.
10225
10226 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10227
10228 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10229 cancellation and set FD_CLOEXEC for /etc/netgroup.
10230
10231 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10232 reading /etc/publickey.
10233
10234 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10235 allow cancellation when reading /etc/group.
10236
10237 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10238 cancellation.
10239 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10240
10241 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10242 when using data file.
10243
10244 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10245
10246 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10247 (write_nis_obj): Use "c" and "e" in fopen.
10248
10249 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10250
10251 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10252
10253 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10254
10255 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10256
10257 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10258 locale.alias.
10259
10260 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10261
10262 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10263
10264 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10265
10266 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10267 file parsing and set FD_CLOEXEC.
10268
82af0fa8
UD
102692011-11-14 Ulrich Drepper <drepper@gmail.com>
10270
10271 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10272
a5fb313c
AS
102732011-11-14 Andreas Schwab <schwab@redhat.com>
10274
10275 * malloc/arena.c (arena_get2): Don't call reused_arena when
10276 _int_new_arena failed.
10277
6abf3465
UD
102782011-11-14 Ulrich Drepper <drepper@gmail.com>
10279
10280 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10281 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10282 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10283 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10284 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10285 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10286 to compile strcasecmp and strncasecmp.
10287 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10288 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10289
10290 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10291
76e3966e
UD
102922011-11-13 Ulrich Drepper <drepper@gmail.com>
10293
10294 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10295 locale-defines.sym to gen-as-const-headers.
10296 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10297 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10298 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10299 to compile strcasecmp and strncasecmp.
10300 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10301 strcasecmp_l and strncasecmp_l.
10302 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10303 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10304 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10305 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10306 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10307 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10308 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10309 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10310 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10311 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10312 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10313
ab26144e
UD
103142011-11-12 Ulrich Drepper <drepper@gmail.com>
10315
7edb22ef
UD
10316 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10317 result of SYSDEP_GETTIME_CPU to retval.
10318 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10319 parameter list to macro. Remove trailing semicolon. Adjust users.
10320
9694fc44
UD
10321 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10322 variable.
10323
8ad89ef8
UD
10324 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10325 mantissa words.
10326 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10327
0c822ef9
UD
10328 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10329 from unused variable.
10330
874e0564
UD
10331 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10332 DWARF definitions.
10333 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10334 for assembling.
10335
3a2edc79
UD
10336 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10337 over namespaces.
10338
f3c2577f
UD
10339 * sunrpc/rpc_prot.c (rejected): Fix case value.
10340
294ce126
UD
10341 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10342 unsigned long long int to avoid warnings in shift.
10343
5e2b63c6
UD
10344 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10345 of use of trans.
10346 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10347 variable tmp.
10348
e7f4b08e
UD
10349 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10350 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10351 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10352
ab26144e
UD
10353 * nis/nis_table.c (nis_list): Use variable of correct type for
10354 result of __follow_path call.
10355
8a6d5255
AZ
103562011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10357
10358 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10359 of math functions ceil, trunc, floor, round, and sqrt, when
10360 avaliable on the platform.
10361 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10362 name clash.
10363 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10364 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10365 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10366
aaddc98c
MP
103672011-10-30 Marek Polacek <mpolacek@redhat.com>
10368
10369 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10370 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10371
95b7042b
RM
103722011-11-11 Roland McGrath <roland@hack.frob.com>
10373
10374 * include/unistd.h: Fix __readlink return type.
10375 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10376
57769839
UD
103772011-11-11 Ulrich Drepper <drepper@gmail.com>
10378
10379 * stdlib/ucontext.h: Undo last change for makecontext.
10380
edc5984d
AS
103812011-11-11 Andreas Schwab <schwab@redhat.com>
10382
98591e58
AS
10383 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10384
edc5984d
AS
10385 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10386 * setjmp/setjmp.h: Mark functions as non-leaf.
10387 * setjmp/bits/setjmp2.h: Likewise.
10388 * stdlib/ucontext.h: Likewise.
10389
77cdc054
AS
103902011-11-10 Andreas Schwab <schwab@redhat.com>
10391
10392 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10393 (reused_arena): Don't check arena limit.
10394 (arena_get2): Atomically check arena limit.
10395
fe72eebd
UD
103962011-11-08 Ulrich Drepper <drepper@gmail.com>
10397
5f078c32
UD
10398 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10399 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10400
fe72eebd
UD
10401 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10402 instructions.
10403
ae1bc2fa
AS
104042011-11-07 Andreas Schwab <schwab@redhat.com>
10405
7583a88d
AS
10406 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10407 handler when locking.
10408
ae1bc2fa
AS
10409 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10410 Fix size of allocated buffer.
10411
10fb0bfa
AS
104122011-11-04 Andreas Schwab <schwab@redhat.com>
10413
998832a4
AS
10414 [BZ #10103]
10415 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10416 declarations for long double functions.
10417 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10418
10fb0bfa
AS
10419 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10420
3d7ba52b
AS
104212011-11-03 Andreas Schwab <schwab@redhat.com>
10422
a9ae54a1
AS
10423 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10424 installed.
10425
3d7ba52b
AS
10426 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10427 is disabled.
10428
bc8db248
ST
104292011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10430
10431 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10432
45b96dd6
AS
104332011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10434
647776f6
AS
10435 * include/alloca.h (stackinfo_alloca_round): Define.
10436 (extend_alloca): Use it.
10437 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10438 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10439 here.
10440
d91a8b93
AS
10441 * scripts/check-local-headers.sh: Ignore libaudit.h.
10442
45b96dd6
AS
10443 * nscd/Makefile (extra-objs): Make recursively expanded.
10444
432d41ce
UD
104452011-11-01 Ulrich Drepper <drepper@gmail.com>
10446
34372fc6
UD
10447 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10448 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10449
fadb59f8
UD
10450 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10451 * posix/tst-rfc3484-2.c: Likewise.
10452 * posix/tst-rfc3484-3.c: Likewise.
10453
78239589
UD
10454 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10455 process_vm_writev.
10456 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10457 process_vm_writev.
10458 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10459 process_vm_writev from libc using GLIBC_2.15 version.
10460
432d41ce
UD
10461 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10462
02f9c6cf
PP
104632011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10464
10465 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10466 stack usage.
10467
3a2c0242
UD
104682011-10-31 Ulrich Drepper <drepper@gmail.com>
10469
f4ec4833
UD
10470 [BZ #13367]
10471 * nss/getent.c (initgroups_keys): Show error message in case no group
10472 names are given.
10473
3a2c0242
UD
10474 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10475 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10476 __bump_nl_timestamp.
10477 * nscd/connections (nscd_init): When host database is served open
10478 netlink socket and request notification about configuration changes.
10479 (main_loop_poll): Track netlink file descriptor and bump timestamp
10480 in case data becomes available.
10481 (main_loop_epoll): Likewise.
10482 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10483 (database_pers_head): Add extra_data fileds.
10484 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10485 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10486 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10487 Adjust caller.
10488 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10489 in6ai data, call __free_in6ai.
10490 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10491 Add -DHAVE_NETLINK.
10492 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10493 interface information. Reuse previous data if netlink timestamp
10494 is not changed.
10495 (__bump_nl_timestamp): New function.
10496 (__free_in6ai): New function.
10497
636064eb
UD
104982011-10-30 Ulrich Drepper <drepper@gmail.com>
10499
10500 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10501 close_not_cancel_no_status here.
10502 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10503
9beb2334
UD
105042011-10-29 Ulrich Drepper <drepper@gmail.com>
10505
6ef76f3b
UD
10506 [BZ #13276]
10507 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10508 return value.
10509
0ffc4f3e 10510 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
10511 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10512 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10513
cb95113e
UD
105142011-07-03 Andreas Jaeger <aj@suse.de>
10515
10516 [BZ #10709]
10517 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10518 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10519 * math/libm-test.inc (sin_test): Add test case.
10520
a1b560ff
UD
105212011-10-29 Ulrich Drepper <drepper@gmail.com>
10522
c9aaface
UD
10523 [BZ #13337]
10524 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10525 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10526
d272e7f1
UD
10527 * elf/chroot_canon.c (chroot_canon): Cleanups.
10528
1bc33071
UD
10529 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10530
1760874d
TJ
10531 [BZ #13335]
10532 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10533 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10534
51d91b18
UD
10535 * string/test-strchr.c: Make usable for strchrnul testing.
10536 * string/test-strchrnul.c: New file.
10537 * string/Makefile (strop-tests): Add strchrnul.
10538
a1b560ff 10539 * po/it.po: Update from translation team.
b611fb81 10540 * po/es.po: Likewise.
a1b560ff 10541
a5b81e1f
UD
105422011-10-28 Ulrich Drepper <drepper@gmail.com>
10543
fd52bc6d
UD
10544 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10545 the three constants needed as parameters. Drop the others.
10546 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10547 __m128i_strloadu_tolower.
52e4b9eb
UD
10548 Create and initialize variable zero and use it in all the places
10549 where _mm_setzero_si128 was used.
fd52bc6d 10550
a5b81e1f
UD
10551 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10552 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10553 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10554 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10555 anymore.
10556 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10557 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10558 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10559 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10560 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10561 __mpranred, __mptan.
10562 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10563 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10564 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10565 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10566 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10567 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10568 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10569 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10570 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10571
b4343346
AS
105722011-10-28 Andreas Schwab <schwab@redhat.com>
10573
0c92d8a8
AS
10574 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10575 redefine if SHARED.
10576 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10577
b4343346
AS
10578 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10579 wide char related routines to wcsmbs subdir.
10580
3871f58f
AS
105812011-10-27 Andreas Schwab <schwab@redhat.com>
10582
10583 [BZ #13344]
10584 * misc/sys/cdefs.h (__THROWNL): Define.
10585 * posix/unistd.h: Use __THREADNL instead of __THREAD
10586 for memory synchronization functions.
10587
94d44d9f
RM
105882011-10-26 Roland McGrath <roland@hack.frob.com>
10589
21b64b15 10590 [BZ #13349]
94d44d9f
RM
10591 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10592 doesn't exist.
10593 * manual/stdio.texi (Obstack Streams): Node removed.
10594
f6ce9294
AS
105952011-10-26 Andreas Schwab <schwab@redhat.com>
10596
80479147
AS
10597 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10598 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10599 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10600
f6ce9294
AS
10601 * math/math_private.h (math_force_eval): Allow non-addressable
10602 arguments.
10603 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10604
618280a1
UD
106052011-10-25 Ulrich Drepper <drepper@gmail.com>
10606
e0016b11
UD
10607 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10608 file is not needed.
10609
10610 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10611 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10612 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10613 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10614 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10615 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10616 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10617 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10618 Add AVX variants.
10619 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10620 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10621 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10622 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10623 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10624 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10625 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10626 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10627 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10628 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10629 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10630 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10631 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10632 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10633 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10634 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10635 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10636 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10637 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10638
10639 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10640 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10641
618280a1
UD
10642 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10643 place. Use VEX encoding when compiling for AVX.
10644
37822576
AS
106452011-10-25 Andreas Schwab <schwab@redhat.com>
10646
1f1e1947
AS
10647 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10648 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10649
37822576
AS
10650 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10651
31ea014d
UD
106522011-10-25 Ulrich Drepper <drepper@gmail.com>
10653
d7826aa1 10654 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 10655 useless if() expression.
d7826aa1
UD
10656 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10657 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10658 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10659 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10660 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10661 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10662 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10663 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10664 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10665 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10666 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10667 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10668 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10669 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10670 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10671 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10672 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10673 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10674 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10675
31ea014d
UD
10676 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10677
16437fec
AS
106782011-10-25 Andreas Schwab <schwab@redhat.com>
10679
10680 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10681 condition.
10682 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10683
31d3cc00
UD
106842011-10-25 Ulrich Drepper <drepper@gmail.com>
10685
10686 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10687 .text section. Avoid duplicate constants.
10688 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10689 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10690 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10691 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10692 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10693 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10694 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10695 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10696 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10697 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10698 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10699 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10700 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10701 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10702 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10703 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10704 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10705 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10706 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10707 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10708 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10709 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10710 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10711 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10712 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10713 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10714 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10715 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10716 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10717 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10718 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10719 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10720 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10721 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10722 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10723 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10724 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10725 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10726 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10727 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10728 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10729 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10730 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10731 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10732 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10733
58985aa9
UD
107342011-10-24 Ulrich Drepper <drepper@gmail.com>
10735
202c9deb
UD
10736 * sysdeps/x86_64/dla.h: Move to ...
10737 * sysdeps/x86_64/fpu/dla.h: ...here.
10738 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10739 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 10740
af968f62
UD
10741 * config.make.in: Add have-mfma4 entry.
10742 * configure.in: Substitute libc_cv_cc_fma4.
10743 * math/Makefile (dbl-only-routines): Add sincostab.
10744 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10745 Use __sincostab not sincos.
10746 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10747 name is a macro.
10748 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10749 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10750 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10751 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10752 using __copysign.
10753 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10754 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10755 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10756 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10757 and __inv.
10758 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10759 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10760 __copysign.
10761 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10762 define aliases when function name is a macro.
10763 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10764 sysdeps/ieee754/dbl-64/sincos.tbl.
10765 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10766 fma4-enabled routines.
10767 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10768 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10769 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10770 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10771 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10772 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10773 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10774 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10775 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10776 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10777 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10778 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10779 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10780 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10781 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10782 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10783 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10784 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10785 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10786 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10787 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10788 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10789 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10790 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10791 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10792 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10793 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10794 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10795 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10796 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10797
58985aa9
UD
10798 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10799 rename.
10800 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10801 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10802 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10803 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10804 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10805 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10806 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10807 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10808
a201fbcf
AS
108092011-10-24 Andreas Schwab <schwab@redhat.com>
10810
10811 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10812
fc2ee42a
LD
108132011-10-23 Ulrich Drepper <drepper@gmail.com>
10814
bb3129bd
UD
10815 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10816
0275fff8
UD
10817 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10818 prediction.
10819 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10820
2fa2ae85
UD
10821 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10822 Remove unused variable magic_bits.
10823 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10824
fc2ee42a
LD
10825 * string/strnlen.c: Define and use STRNLEN macro.
10826 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10827 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10828 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10829 * wcsmbs/wcslen.c: Define and use WCSLEN.
10830 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10831 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10832 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10833 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10834 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10835 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10836 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10837
ce7dd29f
LD
108382011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10839
10840 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10841 strnlen-sse2-no-bsf.
10842 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10843 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10844 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10845 Add strnlen support.
10846 (USE_AS_STRNLEN): New macro.
10847 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10848 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10849 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10850 * sysdeps/x86_64/wcslen.S: New file.
10851
979c70a3
MZ
108522011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10853
10854 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10855 XMM-moves are used for copying on small sizes.
10856
2d09f82f
LD
108572011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10858
10859 * wcsmbs/Makefile (strop-tests): Add wcschr.
10860 * wcsmbs/test-wcschr.c: New file.
10861 * string/test-strchr.c: Update.
10862 Add wcschr support.
10863 (WIDE): New macro.
10864
619fccca
LD
108652011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10866
2d09f82f 10867 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
10868 * wcsmbs/test-wcslen.c: New file.
10869 * string/test-strlen.c: Update.
10870 Add wcslen support.
10871 (WIDE): New macro.
10872
09f699ea
UD
108732011-10-23 Ulrich Drepper <drepper@gmail.com>
10874
10875 * po/it.po: Update from translation team.
10876
95584d3b
LD
108772011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10878
10879 * sysdeps/x86_64/wcscmp.S: Update.
10880 Fix wrong comparison semantics.
10881 wcscmp shall use signed comparison not unsigned.
10882 Don't use substraction to avoid overflow bug.
10883 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10884 * wcsmbc/wcscmp.c: Likewise.
10885 * string/test-strcmp.c: Likewise.
10886 Add new tests to check cases with negative values.
10887
c8b3296b
UD
108882011-10-23 Ulrich Drepper <drepper@gmail.com>
10889
10890 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10891 * sysdeps/x86_64/dla.h: ...here. New file.
10892 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10893 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10894 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10895 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10896 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10897 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10898 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10899 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10900 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10901
246ad57a
AS
109022011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10903
10904 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10905 __ynl_finite aliases.
10906
a1a87169
UD
109072011-10-22 Ulrich Drepper <drepper@gmail.com>
10908
0d355eb7
UD
10909 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10910
a1a87169
UD
10911 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10912 define DLA_FMA.
10913 [DLA_FMA] (EMULV): Use DLA_FMA.
10914 [DLA_FMA] (MUL12): Use EMULV.
10915 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10916 that are not needed.
10917 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10918 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10919 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10920 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10921 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10922 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10923 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10924
ee2aafe0
AS
109252011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10926
10927 * math/s_nan.c: Undef __nan.
10928 * math/s_nanf.c: Undef __nanf.
10929 * math/s_nanl.c: Undef __nanl.
10930 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10931 "math_private.h".
10932
bc62c2fb
UD
109332011-10-22 Ulrich Drepper <drepper@gmail.com>
10934
77425c63
UD
10935 * math/s_catan.c: Add branch predictions.
10936 * math/s_catanf.c: Likewise.
10937 * math/s_catanh.c: Likewise.
10938 * math/s_catanhf.c: Likewise.
10939 * math/s_catanhl.c: Likewise.
10940 * math/s_catanl.c: Likewise.
10941 * math/s_cexp.c: Likewise.
10942 * math/s_cexpf.c: Likewise.
10943 * math/s_cexpl.c: Likewise.
10944 * math/s_clog.c: Likewise.
10945 * math/s_clog10.c: Likewise.
10946 * math/s_clog10f.c: Likewise.
10947 * math/s_clog10l.c: Likewise.
10948 * math/s_clogf.c: Likewise.
10949 * math/s_clogl.c: Likewise.
10950 * math/s_csqrt.c: Likewise.
10951 * math/s_csqrtf.c: Likewise.
10952 * math/s_csqrtl.c: Likewise.
10953 * math/s_ctanf.c: Likewise.
10954 * math/s_ctanh.c: Likewise.
10955 * math/s_ctanhf.c: Likewise.
10956 * math/s_ctanhl.c: Likewise.
10957 * math/s_ctanl.c: Likewise.
10958
bc62c2fb
UD
10959 * math/math_private.h: Define __nan, __nanf, __nanl.
10960 * math/s_cacosh.c: Include <math_private.h>.
10961 * math/s_cacoshl.c: Likewise.
10962 * math/s_casinh.c: Likewise.
10963 * math/s_casinhf.c: Likewise.
10964 * math/s_casinhl.c: Likewise.
10965 * math/s_ccos.c: Rely entire on ccosh.
10966 * math/s_ccosf.c: Rely entire on ccoshf.
10967 * math/s_ccosl.c: Rely entirely on ccoshl.
10968 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10969 Remove tests for FE_INVALID.
10970 * math/s_ccoshf.c: Likewise.
10971 * math/s_ccoshl.c: Likewise.
10972 * math/s_csin.c: Likewise.
10973 * math/s_csinf.c: Likewise.
10974 * math/s_csinh.c Likewise.
10975 * math/s_csinhf.c: Likewise.
10976 * math/s_csinhl.c: Likewise.
10977 * math/s_csinl.c: Likewise.
10978 * math/s_ctan.c: Likewise.
10979 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10980 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10981 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10982
8ec250a4
UD
109832011-10-21 Ulrich Drepper <drepper@gmail.com>
10984
c196fed8
UD
10985 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10986 compilation problems.
10987
8ec250a4
UD
10988 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10989 __builtin_expect.
10990
8d4f46c6
UD
109912011-10-20 Ulrich Drepper <drepper@gmail.com>
10992
ed72b654
UD
10993 * sysdeps/i386/configure.in: Test for -mfma4 option.
10994 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10995 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10996 COMMON_CPUID_INDEX_80000001.
10997 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10998 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10999 use it if FMA3 is not supported.
11000 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11001
8d4f46c6
UD
11002 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
11003 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11004
d45c60c2
AS
110052011-10-20 Andreas Schwab <schwab@redhat.com>
11006
11007 [BZ #12892]
11008 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
11009 it would create a cycle with a link time dependency.
11010
d9a4d2ab
UD
110112011-10-19 Ulrich Drepper <drepper@gmail.com>
11012
855d1560
UD
11013 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
11014 instruction.
11015 * string/Makefile (strop-tests): Add rawmemchr.
11016 * string/test-rawmemchr.c: New file.
11017
d9a4d2ab
UD
11018 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
11019 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
11020 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
11021 when compiling str{,n}casecmp and when AVX is available. Hook up
11022 new optimized code in initializers.
11023
8f3b1ffe
AS
110242011-10-19 Andreas Schwab <schwab@redhat.com>
11025
11026 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
11027 __feraiseexcept instead of feraiseexcept.
11028
d38f1dba
UD
110292011-10-18 Ulrich Drepper <drepper@gmail.com>
11030
d9a8d0ab
UD
11031 * math/math_private.h: Define defaults for libc_fetestexcept and
11032 libc_feupdateenv.
11033 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
11034 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11035 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11036 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11037 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11038 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11039 libc_fetestexcept and libc_feupdateenv.
11040
4855e3dd
UD
11041 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
11042 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
11043 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
11044 * sysdeps/x86_64/fpu/math_private.h: Define special version of
11045 libc_feholdexcept_setround.
11046
581d30e3
UD
11047 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
11048 Add s_nearbyint-c and s_nearbyintf-c.
11049 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
11050 nearbyintf inlines.
11051 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
11052 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
11053 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
11054 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
11055
d38f1dba
UD
11056 * math/math_private.h: Define defaults for libc_fegetround,
11057 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
11058 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
11059 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
11060 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
11061 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
11062 standard functions.
11063 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11064 Remove comments and hacks for old compiler versions.
11065 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11066 libc_fegetround, libc_fesetround, libc_feholdexcept, and
11067 libc_feholdexceptl.
11068
caa6c9d8
AS
110692011-10-18 Andreas Schwab <schwab@redhat.com>
11070
11071 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
11072 (__feraiseexcept_renamed): Add __NTH.
11073 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
11074 namespace violations.
11075
97c066e6
UD
110762011-10-17 Ulrich Drepper <drepper@gmail.com>
11077
99ce7b04
UD
11078 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
11079
1004d182
UD
11080 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
11081
228a984d
UD
11082 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
11083 recently added interfaces.
11084 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
11085
c8553a6a
UD
11086 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
11087 about macro parameter expansion.
11088
ed22dcf6
UD
11089 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
11090 __NO_MATH_INLINES is defined. Cleanups.
11091
11092 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
11093 and __floorf is target has SSE4.1.
11094 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
11095 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
11096 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
11097 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
11098
b171c137
UD
11099 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
11100 name.
11101 (floorf): Likewise.
11102
97c066e6
UD
11103 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
11104
629f62ef
AS
111052011-10-17 Andreas Schwab <schwab@redhat.com>
11106
49a43d80
AS
11107 * misc/sys/cdefs.h: Fix last change.
11108
629f62ef
AS
11109 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
11110 database lookup.
11111
e453f6cd
UD
111122011-10-16 Ulrich Drepper <drepper@gmail.com>
11113
aa78043a
UD
11114 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
11115
ad0f5cad
UD
11116 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
11117 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11118 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11119 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11120 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11121 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11122 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11123 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11124 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11125 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11126 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11127 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11128 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11129 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11130 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11131 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11132 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11133 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11134 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11135 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11136 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11137 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11138
11139 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11140 ceil, ceilf, floor, floorf.
11141
11142 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11143 Perform IRELATIVE relocations last.
11144
e453f6cd
UD
11145 * elf/do-rel.h: Add another parameter nrelative, replacing the
11146 local variable with the same name. Change name of the function
11147 to end in Rel or Rela (uppercase).
11148 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11149 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
11150 elf_dynamic_do_##reloc function.
11151
fd5bdc09
UD
111522011-10-15 Ulrich Drepper <drepper@gmail.com>
11153
79b195b5
UD
11154 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11155 is sufficient, at least on modern CPUs.
11156
d4a28569
UD
11157 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11158
b61099b5
UD
11159 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11160 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11161
bcf01e6d
UD
11162 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11163 __expl_finite.
11164 * math/bits/math-finite.h: Add entries for exp.
11165 * math/e_expl.c: Add __*_finite alias.
11166 * sysdeps/i386/fpu/e_exp.S: Likewise.
11167 * sysdeps/i386/fpu/e_expf.S: Likewise.
11168 * sysdeps/i386/fpu/e_expl.c: Likewise.
11169 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11170 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11171 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11172 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11173 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11174 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11175 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11176
ba1a0d59
UD
11177 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11178 is sufficient, at least on modern CPUs.
11179
fd5bdc09
UD
11180 * ctype/ctype-info.c (__ctype_init): Define.
11181 * include/ctype.h (__ctype_init): Declare.
11182 (__ctype_b_loc): The variable is always initialized.
11183 (__ctype_toupper_loc): Likewise.
11184 (__ctype_tolower_loc): Likewise.
11185 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11186 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11187
7872cfb0
AS
111882011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11189
b468825a
AS
11190 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11191
7872cfb0
AS
11192 * configure.in: Also look in $cxxmachine/include for C++ system
11193 headers.
11194
be13f7bf
LD
111952011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11196
11197 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11198 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11199 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11200 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11201 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11202 (USE_AS_WMEMCMP): New macro.
11203 Fixing indents.
11204 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11205 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11206 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11207 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11208 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11209 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11210 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11211 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11212 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11213 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11214 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11215 (USE_AS_WMEMCMP): New macro.
11216 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11217 * sysdeps/string/test-memcmp.c: Update.
11218 Fix simple_wmemcmp.
11219 Add new tests.
11220 * wcsmbs/wmemcmp.c: Update.
11221 (WMEMCMP): New macro.
11222 Fix overflow bug.
11223
556a2007
AJ
112242011-10-12 Andreas Jaeger <aj@suse.de>
11225
11226 [BZ #13268]
11227 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11228
538faaa7
UD
112292011-10-15 Ulrich Drepper <drepper@gmail.com>
11230
ab6737ff
UD
11231 * libio/iofwide.c (do_length): Avoid warning.
11232
538faaa7
UD
11233 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11234
396a21b1
UD
112352011-10-14 Ulrich Drepper <drepper@gmail.com>
11236
cdf2901f
UD
11237 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11238
38ad40ce
UD
11239 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11240 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11241 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11242 * sysdeps/i386/i686/fpu/e_log.S: New file.
11243 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11244 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11245
396a21b1
UD
11246 * ctype/ctype.h: Add support for inlined isXXX functions when
11247 compiling C++ code.
11248
6b1f68c9
AS
112492011-10-14 Andreas Schwab <schwab@redhat.com>
11250
349290c0
AS
11251 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11252
6b1f68c9
AS
11253 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11254
f2282d42
RM
112552011-10-13 Roland McGrath <roland@hack.frob.com>
11256
11257 [BZ #13291]
11258 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11259
5298ffa8
AS
112602011-10-13 Andreas Schwab <schwab@redhat.com>
11261
714fad23
AS
11262 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11263 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11264 feraiseexcept.
11265
81dcc7fb
AS
11266 * sysdeps/x86_64/memrchr.S: Check for zero size.
11267
5298ffa8
AS
11268 * string/stratcliff.c: Add memrchr tests.
11269
951fbcec
LD
112702011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11271
11272 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11273 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11274 rawmemchr-sse2 rawmemchr-sse2-bsf.
11275 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11276 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11277 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11278 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11279 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11280 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11281 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11282 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11283 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11284 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11285 * string/memrchr.c (MEMRCHR): New macro.
11286
0ac5ae23
UD
112872011-10-12 Ulrich Drepper <drepper@gmail.com>
11288
11289 Add integration with gcc's -ffinite-math-only and optimize wrapper
11290 functions in libm.
11291 * Versions.def: Define GLIBC_2.15 version for libm.
11292 * math/Makefile (headers): Add bits/math-finite.h.
11293 * math/bits/math-finite.h: New file.
11294 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11295 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11296 * math/e_acoshl.c: Add __*_finite alias.
11297 * math/e_acosl.c: Likewise.
11298 * math/e_asinl.c: Likewise.
11299 * math/e_atan2l.c: Likewise.
11300 * math/e_atanhl.c: Likewise.
11301 * math/e_coshl.c: Likewise.
11302 * math/e_exp10.c: Likewise.
11303 * math/e_exp10f.c: Likewise.
11304 * math/e_exp10l.c: Likewise.
11305 * math/e_exp2l.c: Likewise.
11306 * math/e_fmodl.c: Likewise.
11307 * math/e_gammal_r.c: Likewise.
11308 * math/e_hypotl.c: Likewise.
11309 * math/e_j0l.c: Likewise.
11310 * math/e_j1l.c: Likewise.
11311 * math/e_jnl.c: Likewise.
11312 * math/e_lgammal_r.c: Likewise.
11313 * math/e_log10l.c: Likewise.
11314 * math/e_log2l.c: Likewise.
11315 * math/e_logl.c: Likewise.
11316 * math/e_powl.c: Likewise.
11317 * math/e_sinhl.c: Likewise.
11318 * math/e_sqrtl.c: Likewise.
11319 * math/e_scalb.c: Completely rewritten and optimized.
11320 * math/e_scalbf.c: Likewise.
11321 * math/e_scalbl.c: Likewise.
11322 * math/w_acos.c: Likewise.
11323 * math/w_acosf.c: Likewise.
11324 * math/w_acosl.c: Likewise.
11325 * math/w_acosh.c: Likewise.
11326 * math/w_acoshf.c: Likewise.
11327 * math/w_acoshl.c: Likewise.
11328 * math/w_asin.c: Likewise.
11329 * math/w_asinf.c: Likewise.
11330 * math/w_asinl.c: Likewise.
11331 * math/w_atan2.c: Likewise.
11332 * math/w_atan2f.c: Likewise.
11333 * math/w_atan2l.c: Likewise.
11334 * math/w_atanh.c: Likewise.
11335 * math/w_atanhf.c: Likewise.
11336 * math/w_atanhl.c: Likewise.
11337 * math/w_exp10.c: Likewise.
11338 * math/w_exp10f.c: Likewise.
11339 * math/w_exp10l.c: Likewise.
11340 * math/w_fmod.c: Likewise.
11341 * math/w_fmodf.c: Likewise.
11342 * math/w_fmodl.c: Likewise.
11343 * math/w_j0.c: Likewise.
11344 * math/w_j0f.c: Likewise.
11345 * math/w_j0l.c: Likewise.
11346 * math/w_j1.c: Likewise.
11347 * math/w_j1f.c: Likewise.
11348 * math/w_j1l.c: Likewise.
11349 * math/w_jn.c: Likewise.
11350 * math/w_jnf.c: Likewise.
11351 * math/w_log.c: Likewise.
11352 * math/w_logf.c: Likewise.
11353 * math/w_logl.c: Likewise.
11354 * math/w_log10.c: Likewise.
11355 * math/w_log10f.c: Likewise.
11356 * math/w_log10l.c: Likewise.
11357 * math/w_log2.c: Likewise.
11358 * math/w_log2f.c: Likewise.
11359 * math/w_log2l.c: Likewise.
11360 * math/w_pow.c: Likewise.
11361 * math/w_powf.c: Likewise.
11362 * math/w_powl.c: Likewise.
11363 * math/w_remainder.c: Likewise.
11364 * math/w_remainderf.c: Likewise.
11365 * math/w_remainderl.c: Likewise.
11366 * math/w_scalb.c: Likewise.
11367 * math/w_scalbf.c: Likewise.
11368 * math/w_scalbl.c: Likewise.
11369 * math/w_sqrt.c: Likewise.
11370 * math/w_sqrtf.c: Likewise.
11371 * math/w_sqrtl.c: Likewise.
11372 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11373 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11374 used.
11375 * math/math_private.h: Declare __kernel_standard_f.
11376 * math/w_cosh.c: Remove cruft and optimize a bit.
11377 * math/w_coshf.c: Likewise.
11378 * math/w_coshl.c: Likewise.
11379 * math/w_exp2.c: Likewise.
11380 * math/w_exp2f.c: Likewise.
11381 * math/w_exp2l.c: Likewise.
11382 * math/w_hypot.c: Likewise.
11383 * math/w_hypotf.c: Likewise.
11384 * math/w_hypotl.c: Likewise.
11385 * math/w_lgamma.c: Likewise.
11386 * math/w_lgamma_r.c: Likewise.
11387 * math/w_lgammaf.c: Likewise.
11388 * math/w_lgammaf_r.c: Likewise.
11389 * math/w_lgammal.c: Likewise.
11390 * math/w_lgammal_r.c: Likewise.
11391 * math/w_sinh.c: Likewise.
11392 * math/w_sinhf.c: Likewise.
11393 * math/w_sinhl.c: Likewise.
11394 * math/w_tgamma.c: Likewise.
11395 * math/w_tgammaf.c: Likewise.
11396 * math/w_tgammal.c: Likewise.
11397 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11398 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11399 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11400 Minor optimizations. Pretty printing. Remove cruft.
11401 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11402 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11403 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11404 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11405 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11406 * sysdeps/i386/fpu/e_asin.S: Likewise.
11407 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11408 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11409 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11410 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11411 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11412 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11413 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11414 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11415 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11416 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11417 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11418 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11419 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11420 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11421 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11422 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11423 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11424 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11425 * sysdeps/i386/fpu/e_log.S: Likewise.
11426 * sysdeps/i386/fpu/e_log10.S: Likewise.
11427 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11428 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11429 * sysdeps/i386/fpu/e_log2.S: Likewise.
11430 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11431 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11432 * sysdeps/i386/fpu/e_logf.S: Likewise.
11433 * sysdeps/i386/fpu/e_logl.S: Likewise.
11434 * sysdeps/i386/fpu/e_pow.S: Likewise.
11435 * sysdeps/i386/fpu/e_powf.S: Likewise.
11436 * sysdeps/i386/fpu/e_powl.S: Likewise.
11437 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11438 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11439 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11440 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11441 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11442 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11443 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11444 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11445 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11446 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11447 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11448 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11449 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11450 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11451 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11452 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11453 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11454 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11455 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11456 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11457 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11458 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11459 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11460 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11461 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11462 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11463 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11464 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11465 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11466 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11467 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11468 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11469 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11470 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11471 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11472 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11473 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11474 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11475 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11476 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11477 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11478 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11479 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11480 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11481 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11482 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11483 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11484 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11485 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11486 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11487 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11488 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11489 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11490 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11491 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11492 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11493 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11494 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11495 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11496 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11497 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11498 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11499 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11500 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11501 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11502 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11503 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11504 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11505 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11506 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11507 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11508 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11509 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11510 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11511 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11512 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11513 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11514 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11515 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11516 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11517 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11518 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11519 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11520 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11521 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11522 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11523 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11524 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11525 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11526 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11527 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11528 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11529 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11530 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11531 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11532 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11533 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11534 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11535 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11536 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11537 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11538 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11539 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11540 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11541 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11542 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11543 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11544 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11545 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11546 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11547 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11548 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11549 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11550 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11551 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11552 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11553 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11554 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11555 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11556 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11557 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11558 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11559 (__isnanf): Likewise.
11560 (__isinf_ns): Likewise.
11561 (__isinf_nsf): Likewise.
11562 (__finite): Likewise.
11563 (__finitef): Likewise.
11564 (__ieee754_sqrt): Define as macro.
11565 (__ieee754_sqrtf): Define as macro.
11566 (__ieee754_sqrtl): Define as macro.
11567 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11568 inlined copy.
11569 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11570 __FINITE_MATH_ONLY__ consistent.
11571 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11572
12cc2fcd
AS
115732011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11574
a843a204
AS
11575 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11576 of rawmemchr.
11577
12cc2fcd
AS
11578 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11579
c853acd5
UD
115802011-10-09 Ulrich Drepper <drepper@gmail.com>
11581
11582 * po/ja.po: Update from translation team.
11583
c658d255
RM
115842011-10-08 Roland McGrath <roland@hack.frob.com>
11585
110946e4
RM
11586 * locale/programs/locarchive.c (prepare_address_space): New function.
11587 (create_archive, enlarge_archive, open_archive): Use it.
11588
50604220
RM
11589 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11590 inside [SHARED], where it is used.
11591
c658d255
RM
11592 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11593
11594 * nss/getent.c (netgroup_keys): Remove unused variable.
11595 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11596
6a621eb7
UD
115972011-10-08 Ulrich Drepper <drepper@gmail.com>
11598
7edb55ce
UD
11599 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11600 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11601 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11602 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11603 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11604 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11605 * math/Makefile (libm-calls): Add s_isinf_ns.
11606 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11607 * math/multc3.c: Likewise.
11608 * math/s_casin.c: Likewise.
11609 * math/s_casinf.c: Likewise.
11610 * math/s_casinl.c: Likewise.
11611 * math/s_ccos.c: Likewise.
11612 * math/s_ccosf.c: Likewise.
11613 * math/s_ccosl.c: Likewise.
11614 * math/s_ctan.c: Likewise.
11615 * math/s_ctanf.c: Likewise.
11616 * math/s_ctanh.c: Likewise.
11617 * math/s_ctanhf.c: Likewise.
11618 * math/s_ctanhl.c: Likewise.
11619 * math/s_ctanl.c: Likewise.
11620 * math/w_fmod.c: Likewise.
11621 * math/w_fmodf.c: Likewise.
11622 * math/w_fmodl.c: Likewise.
11623 * math/w_remainder.c: Likewise.
11624 * math/w_remainderf.c: Likewise.
11625 * math/w_remainderl.c: Likewise.
11626 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11627 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11628 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11629 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11630 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11631 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11632 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11633 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11634
187da0ae
UD
11635 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11636 of the number.
11637 * stdio-common/printf_fphex.c: Likewise.
11638 * stdio-common/printf_size.c: Likewise.
11639
9277c064
UD
11640 * math/e_exp10.c: Include math_private.h using <...> not "...".
11641 * math/e_exp10f.c: Likewise.
11642 * math/e_exp10l.c: Likewise.
11643 * math/e_exp2l.c: Likewise.
11644 * math/e_j0l.c: Likewise.
11645 * math/e_j1l.c: Likewise.
11646 * math/e_jnl.c: Likewise.
11647 * math/e_lgammal_r.c: Likewise.
11648 * math/e_rem_pio2l.c: Likewise.
11649 * math/e_scalb.c: Likewise.
11650 * math/e_scalbf.c: Likewise.
11651 * math/e_scalbl.c: Likewise.
11652 * math/k_cosl.c: Likewise.
11653 * math/k_sinl.c: Likewise.
11654 * math/k_tanl.c: Likewise.
11655 * math/s_cacoshf.c: Likewise.
11656 * math/s_catan.c: Likewise.
11657 * math/s_catanf.c: Likewise.
11658 * math/s_catanh.c: Likewise.
11659 * math/s_catanhf.c: Likewise.
11660 * math/s_catanhl.c: Likewise.
11661 * math/s_catanl.c: Likewise.
11662 * math/s_ccosh.c: Likewise.
11663 * math/s_ccoshf.c: Likewise.
11664 * math/s_ccoshl.c: Likewise.
11665 * math/s_cexp.c: Likewise.
11666 * math/s_cexpf.c: Likewise.
11667 * math/s_cexpl.c: Likewise.
11668 * math/s_clog.c: Likewise.
11669 * math/s_clog10.c: Likewise.
11670 * math/s_clog10f.c: Likewise.
11671 * math/s_clog10l.c: Likewise.
11672 * math/s_clogf.c: Likewise.
11673 * math/s_clogl.c: Likewise.
11674 * math/s_csin.c: Likewise.
11675 * math/s_csinf.c: Likewise.
11676 * math/s_csinh.c: Likewise.
11677 * math/s_csinhf.c: Likewise.
11678 * math/s_csinhl.c: Likewise.
11679 * math/s_csinl.c: Likewise.
11680 * math/s_csqrt.c: Likewise.
11681 * math/s_csqrtf.c: Likewise.
11682 * math/s_csqrtl.c: Likewise.
11683 * math/s_ctan.c: Likewise.
11684 * math/s_ctanf.c: Likewise.
11685 * math/s_ctanh.c: Likewise.
11686 * math/s_ctanhf.c: Likewise.
11687 * math/s_ctanhl.c: Likewise.
11688 * math/s_ctanl.c: Likewise.
11689 * math/s_ldexp.c: Likewise.
11690 * math/s_ldexpf.c: Likewise.
11691 * math/s_ldexpl.c: Likewise.
11692 * math/s_significand.c: Likewise.
11693 * math/s_significandf.c: Likewise.
11694 * math/s_significandl.c: Likewise.
11695 * math/w_acos.c: Likewise.
11696 * math/w_acosf.c: Likewise.
11697 * math/w_acosh.c: Likewise.
11698 * math/w_acoshf.c: Likewise.
11699 * math/w_acoshl.c: Likewise.
11700 * math/w_acosl.c: Likewise.
11701 * math/w_asin.c: Likewise.
11702 * math/w_asinf.c: Likewise.
11703 * math/w_asinl.c: Likewise.
11704 * math/w_atan2.c: Likewise.
11705 * math/w_atan2f.c: Likewise.
11706 * math/w_atan2l.c: Likewise.
11707 * math/w_atanh.c: Likewise.
11708 * math/w_atanhf.c: Likewise.
11709 * math/w_atanhl.c: Likewise.
11710 * math/w_cosh.c: Likewise.
11711 * math/w_coshf.c: Likewise.
11712 * math/w_coshl.c: Likewise.
11713 * math/w_dremf.c: Likewise.
11714 * math/w_exp10.c: Likewise.
11715 * math/w_exp10f.c: Likewise.
11716 * math/w_exp10l.c: Likewise.
11717 * math/w_exp2.c: Likewise.
11718 * math/w_exp2f.c: Likewise.
11719 * math/w_fmod.c: Likewise.
11720 * math/w_fmodf.c: Likewise.
11721 * math/w_fmodl.c: Likewise.
11722 * math/w_hypot.c: Likewise.
11723 * math/w_hypotf.c: Likewise.
11724 * math/w_hypotl.c: Likewise.
11725 * math/w_j0.c: Likewise.
11726 * math/w_j0f.c: Likewise.
11727 * math/w_j0l.c: Likewise.
11728 * math/w_j1.c: Likewise.
11729 * math/w_j1f.c: Likewise.
11730 * math/w_j1l.c: Likewise.
11731 * math/w_jn.c: Likewise.
11732 * math/w_jnf.c: Likewise.
11733 * math/w_jnl.c: Likewise.
11734 * math/w_lgamma.c: Likewise.
11735 * math/w_lgamma_r.c: Likewise.
11736 * math/w_lgammaf.c: Likewise.
11737 * math/w_lgammaf_r.c: Likewise.
11738 * math/w_lgammal.c: Likewise.
11739 * math/w_lgammal_r.c: Likewise.
11740 * math/w_log.c: Likewise.
11741 * math/w_log10.c: Likewise.
11742 * math/w_log10f.c: Likewise.
11743 * math/w_log10l.c: Likewise.
11744 * math/w_log2.c: Likewise.
11745 * math/w_log2f.c: Likewise.
11746 * math/w_log2l.c: Likewise.
11747 * math/w_logf.c: Likewise.
11748 * math/w_logl.c: Likewise.
11749 * math/w_pow.c: Likewise.
11750 * math/w_powf.c: Likewise.
11751 * math/w_powl.c: Likewise.
11752 * math/w_remainder.c: Likewise.
11753 * math/w_remainderf.c: Likewise.
11754 * math/w_remainderl.c: Likewise.
11755 * math/w_scalb.c: Likewise.
11756 * math/w_scalbf.c: Likewise.
11757 * math/w_scalbl.c: Likewise.
11758 * math/w_sinh.c: Likewise.
11759 * math/w_sinhf.c: Likewise.
11760 * math/w_sinhl.c: Likewise.
11761 * math/w_sqrt.c: Likewise.
11762 * math/w_sqrtf.c: Likewise.
11763 * math/w_sqrtl.c: Likewise.
11764 * math/w_tgamma.c: Likewise.
11765 * math/w_tgammaf.c: Likewise.
11766 * math/w_tgammal.c: Likewise.
11767
6a621eb7
UD
11768 * po/ja.po: Update from translation team.
11769
bf582445
AJ
117702011-09-29 Andreas Jaeger <aj@suse.de>
11771
f9efbf3a
AJ
11772 [BZ #13179]
11773 * sunrpc/netname.c (netname2host): Fix logic.
11774
bf582445
AJ
11775 [BZ #6779]
11776 [BZ #6783]
11777 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11778 correctly.
11779 * math/w_remainder.c (__remainder): Likewise.
11780 * math/w_remainderf.c (__remainderf): Likewise.
11781 * math/libm-test.inc (remainder_test): Add test cases.
11782
48693bea
AK
117832011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11784
11785 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11786 sdiv_qrnnd.
11787
42622229
LD
117882011-10-07 Ulrich Drepper <drepper@gmail.com>
11789
11790 * string/test-memcmp.c: Avoid unncessary #defines.
11791 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11792
093ecf92
LD
117932011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11794
11795 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11796 Use new sse2 version for core i3 - i7 as it's faster
11797 than sse42 version.
11798 (bit_Prefer_PMINUB_for_stringop): New.
11799 * sysdeps/x86_64/rawmemchr.S: Update.
11800 Replace with faster SSE2 version.
11801 * sysdeps/x86_64/memrchr.S: New file.
11802 * sysdeps/x86_64/memchr.S: Update.
11803 Replace with faster SSE2 version.
11804
fde56e5c
MP
118052011-09-12 Marek Polacek <mpolacek@redhat.com>
11806
11807 * elf/dl-load.c (lose): Add cast to avoid warning.
11808
21fd49a9
UD
118092011-10-07 Ulrich Drepper <drepper@gmail.com>
11810
5a06e643
UD
11811 * po/ca.po: Update from translation team.
11812
684ae515
UD
11813 * inet/getnetgrent_r.c: Hook up nscd.
11814 * nscd/Makefile (routines): Add nscd_netgroup.
11815 (nscd-modules): Add netgroupcache.
11816 (CFLAGS-netgroupcache.c): Define.
11817 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11818 (cache_search): Add const to second parameter.
11819 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11820 INNETGR.
11821 (dbs): Add netgrdb entry.
11822 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11823 (verify_persistent_db): Handle netgrdb.
11824 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11825 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11826 GETFDNETGR.
11827 (netgroup_response_header): Define.
11828 (innetgroup_response_header): Define.
11829 (datahead): Add netgroup_response_header and innetgroup_response_header
11830 elements.
11831 * nscd/nscd.conf: Add entries for netgroup cache.
11832 * nscd/nscd.h (dbtype): Add netgrdb.
11833 (_PATH_NSCD_NETGROUP_DB): Define.
11834 (netgroup_iov_disabled): Declare.
11835 (xmalloc, xcalloc, xrealloc): Move declarations here.
11836 (cache_search): Adjust prototype.
11837 Add netgroup-related prototypes.
11838 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11839 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11840 (__nscd_innetgr): Declare.
11841 * nscd/selinux.c (perms): Use access_vector_t as element type and
11842 add netgroup-related initializers.
11843 * nscd/netgroupcache.c: New file.
11844 * nscd/nscd_netgroup.c: New file.
11845 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11846 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11847 For four parameters use innetgr.
11848 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11849 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11850 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11851 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11852
21fd49a9
UD
11853 * nscd/connections.c (register_traced_file): Don't register file
11854 for disabled databases.
11855
054c0457
UD
118562011-10-06 Ulrich Drepper <drepper@gmail.com>
11857
32b63198
UD
11858 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11859
054c0457
UD
11860 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11861 from tree and freeing node.
11862
64031225
JO
118632011-09-25 Jiri Olsa <jolsa@redhat.com>
11864
11865 * nss/nsswitch.c (__nss_database_lookup): Handle
11866 nss_parse_service_list out of memory case.
11867
0490345c
JO
118682011-09-15 Jiri Olsa <jolsa@redhat.com>
11869
11870 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11871 out of memory case.
11872
3a62d00d
AS
118732011-10-04 Andreas Schwab <schwab@redhat.com>
11874
11875 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11876 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11877 pass it down.
11878 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11879 elf_machine_rela, elf_machine_lazy_rel.
11880 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11881 (ELF_DYNAMIC_DO_REL): Likewise.
11882 (ELF_DYNAMIC_DO_RELA): Likewise.
11883 (ELF_DYNAMIC_RELOCATE): Likewise.
11884 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11885 to ELF_DYNAMIC_DO_REL.
11886 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11887 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11888 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11889 elf_machine_rela.
11890 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11891 skip_ifunc, don't call ifunc function if non-zero.
11892 (elf_machine_rela): Likewise.
11893 (elf_machine_lazy_rel): Likewise.
11894 (elf_machine_lazy_rela): Likewise.
11895 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11896 (elf_machine_lazy_rel): Likewise.
11897 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11898 Likewise.
11899 (elf_machine_lazy_rel): Likewise.
11900 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11901 Likewise.
11902 (elf_machine_lazy_rel): Likewise.
11903 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11904 (elf_machine_lazy_rel): Likewise.
11905 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11906 (elf_machine_lazy_rel): Likewise.
11907 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11908 (elf_machine_lazy_rel): Likewise.
11909 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11910 (elf_machine_lazy_rel): Likewise.
11911 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11912 (elf_machine_lazy_rel): Likewise.
11913 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11914 (elf_machine_lazy_rel): Likewise.
11915
68577918
UD
119162011-09-28 Ulrich Drepper <drepper@gmail.com>
11917
11918 * nss/nss_files/files-init.c (_nss_files_init): Use static
11919 initialization for all the *_traced_file variables.
11920
68822d74
AS
119212011-09-28 Andreas Schwab <schwab@redhat.com>
11922
11923 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11924
2056100b
RM
119252011-09-27 Roland McGrath <roland@hack.frob.com>
11926
11927 [BZ #13226]
11928 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11929
32c76b63
AS
119302011-09-27 Andreas Schwab <schwab@redhat.com>
11931
11932 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11933 Reread the line before reparsing it.
11934
bf972c9d
AS
119352011-09-26 Andreas Schwab <schwab@redhat.com>
11936
11937 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11938
e057a1b5
JM
119392011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11940 Maxim Kuvyrkov <maxim@codesourcery.com>
11941 Joseph Myers <joseph@codesourcery.com>
11942
11943 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11944 if needed for __stack_chk_guard.
11945
bc7e1c36
RM
119462011-09-19 Roland McGrath <roland@hack.frob.com>
11947
ecb1482f
RM
11948 * sysdeps/posix/spawni.c (script_execute): Always define it.
11949 It will be optimized away if unused.
11950 (maybe_script_execute): New function.
11951 (__spawni): Call it.
11952
bc7e1c36
RM
11953 * Makerules: Don't include tls.make.
11954 (config-tls): Always set to thread.
11955 * tls.make.c: File removed.
11956
1c3b002b
MF
119572011-09-19 Mike Frysinger <vapier@gentoo.org>
11958
11959 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11960 * config.make.in (CPPFLAGS-config): New substituted variable.
11961
2840865d
UD
119622011-09-15 Ulrich Drepper <drepper@gmail.com>
11963
88738eb6
UD
11964 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11965
cbf645a6 11966 [BZ #13192]
2840865d
UD
11967 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11968 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11969
b402e91a
RM
119702011-09-15 Roland McGrath <roland@hack.frob.com>
11971
11972 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11973 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11974 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11975 (CALL_FAIL): Likewise.
11976 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11977 (CALL_FAIL): Macro removed.
11978 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11979
4c1a1f71
UD
119802011-09-15 Ulrich Drepper <drepper@gmail.com>
11981
11982 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11983 for __FINITE_MATH_ONLY__ == 1.
11984
edc121be
AS
119852011-09-15 Andreas Schwab <schwab@redhat.com>
11986
11987 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11988 __ieee754_sqrt instead of sqrt.
11989 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11990 __ieee754_sqrtf instead of sqrtf.
11991 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11992 __floorf instead of floorf.
11993 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11994 __floorf, __truncf instead of floorf, truncf.
11995
cd205654
UD
119962011-09-14 Ulrich Drepper <drepper@gmail.com>
11997
ee4d0315
UD
11998 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11999
cd205654
UD
12000 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
12001 __extern_always_inline.
12002 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
12003 32-bit.
12004
48b67d71
AS
120052011-09-14 Andreas Schwab <schwab@redhat.com>
12006
12007 * elf/rtld.c (dl_main): Also relocate in dependency order when
12008 doing symbol dependency testing.
12009
1ae12c75
AS
120102011-09-13 Andreas Schwab <schwab@linux-m68k.org>
12011
12012 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12013 Always define `refsym'.
12014
995a80df
AS
120152011-09-13 Andreas Schwab <schwab@redhat.com>
12016
e529793b
AS
12017 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
12018 (__FD_ELT): Renamed from __FDELT.
12019 * misc/bits/select2.h (__FD_ELT): Likewise.
12020 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
12021 __FD_MASK instead of __FDELT, __FDMASK.
12022 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12023 Likewise.
12024 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12025 Likewise.
12026
52d4fef8
AS
12027 * elf/Makefile (gen-ldd): Fix pattern.
12028
995a80df
AS
12029 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
12030 (init_tls): Likewise.
12031
8682f8b0
UD
120322011-09-12 Ulrich Drepper <drepper@gmail.com>
12033
12034 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
12035
de82006d
AS
120362011-09-12 Andreas Schwab <schwab@redhat.com>
12037
a7c8e6a1
AS
12038 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
12039 `struct cmsghdr *' instead of `void *'.
12040 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
12041 Likewise.
12042
0f31fe77
AS
120432011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12044
12045 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
12046 if non-absolute.
12047 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
12048 ldd_rewrite_script.
0f31fe77 12049
32b4c839
UD
120502011-09-11 Ulrich Drepper <drepper@gmail.com>
12051
83cd1420
UD
12052 * configure.in: Remove --with-tls option.
12053 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
12054 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
12055 out in case it is missing.
12056 * sysdeps/ia64/elf/configure.in: Likewise.
12057 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
12058 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
12059 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
12060 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
12061 * sysdeps/sh/elf/configure.in: Likewise.
12062 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
12063 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12064 * sysdeps/x86_64/elf/configure.in: Likewise.
12065 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
12066 * sysdeps/mach/hurd/tls.h: Likewise.
12067
633f745d
UD
12068 [BZ #13067]
12069 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
12070
f318beb8
UD
12071 [BZ #13090]
12072 * configure.in: Fix use of AC_INIT.
12073
32b4c839
UD
12074 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
12075
3ce1f295
UD
120762011-09-10 Ulrich Drepper <drepper@gmail.com>
12077
bb016596
UD
12078 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
12079 __set_errno.
8e58439c
UD
12080 * malloc/hooks.c: Likewise.
12081
aebae053 12082 [BZ #11929]
02d46fc4
UD
12083 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
12084 variables statically.
12085 (narenas): Initialize.
12086 (list_lock): Initialize.
bb016596
UD
12087 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
12088 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
12089 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
12090 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
12091 Add initializers to main_arena and mp_.
12092 (malloc_state): Remove pagesize member. Change all users to use
12093 GLRO(dl_pagesize).
12094
12095 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
12096 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
12097 is always initialized.
12098
22a89187
UD
12099 * malloc/malloc.c: Removed unused configurations and dead code.
12100 * malloc/arena.c: Likewise.
12101 * malloc/hooks.c: Likewise.
02d46fc4 12102 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 12103
d063d164
UD
12104 * include/tls.h: Removed. USE___THREAD must always be defined.
12105 * bits/libc-tsd.h: Don't handle !USE___THREAD.
12106 * elf/dl-libc.c: Likewise.
12107 * elf/dl-tsd.c: Likewise.
12108 * include/errno.h: Likewise.
12109 * include/netdb.h: Likewise.
12110 * include/resolv.h: Likewise.
12111 * inet/herrno-loc.c: Likewise.
12112 * inet/herrno.c: Likewise.
12113 * malloc/arena.c: Likewise.
12114 * malloc/hooks.c: Likewise.
12115 * malloc/malloc.c: Likewise.
12116 * resolv/res-state.c: Likewise.
12117 * resolv/res_libc.c: Likewise.
12118 * sysdeps/i386/dl-machine.h: Likewise.
12119 * sysdeps/ia64/dl-machine.h: Likewise.
12120 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12121 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12122 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12123 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12124 * sysdeps/sh/dl-machine.h: Likewise.
12125 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12126 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12127 * sysdeps/unix/i386/sysdep.S: Likewise.
12128 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12129 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12130 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12131 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12132 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12133 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12134 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12135 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12136 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12137 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12138 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12139 * sysdeps/x86_64/dl-machine.h: Likewise.
12140 * tls.make.c: Likewise.
12141
3ce1f295
UD
12142 * configure.in: Remove --with-__thread option. Make tests for
12143 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12144 tls_model attribute fail if no support is available. Remove
12145 USE_IN_LIBIO.
12146 * Makeconfig: Adjust for dropped configure option. All features are
12147 now mandatory.
12148 * Makerules: Likewise.
12149 * Versions.def: Likewise.
12150 * argp/argp-fmtstream.c: Likewise.
12151 * argp/argp-fmtstream.h: Likewise.
12152 * argp/argp-help.c: Likewise.
12153 * assert/assert.c: Likewise.
12154 * config.h.in: Likewise.
12155 * config.make.in: Likewise.
12156 * configure: Likewise.
12157 * configure.in: Likewise.
12158 * csu/Versions: Likewise.
12159 * csu/init.c: Likewise.
12160 * elf/tst-audit2.c: Likewise.
12161 * elf/tst-tls10.c: Likewise.
12162 * elf/tst-tls10.h: Likewise.
12163 * elf/tst-tls11.c: Likewise.
12164 * elf/tst-tls12.c: Likewise.
12165 * elf/tst-tls14.c: Likewise.
12166 * elf/tst-tlsmod11.c: Likewise.
12167 * elf/tst-tlsmod12.c: Likewise.
12168 * elf/tst-tlsmod13.c: Likewise.
12169 * elf/tst-tlsmod13a.c: Likewise.
12170 * elf/tst-tlsmod14a.c: Likewise.
12171 * elf/tst-tlsmod15b.c: Likewise.
12172 * elf/tst-tlsmod16a.c: Likewise.
12173 * elf/tst-tlsmod16b.c: Likewise.
12174 * elf/tst-tlsmod7.c: Likewise.
12175 * elf/tst-tlsmod8.c: Likewise.
12176 * elf/tst-tlsmod9.c: Likewise.
12177 * gmon/gmon.c: Likewise.
12178 * grp/fgetgrent_r.c: Likewise.
12179 * grp/putgrent.c: Likewise.
12180 * hurd/fopenport.c: Likewise.
12181 * include/libc-symbols.h: Likewise.
12182 * include/tls.h: Likewise.
12183 * intl/gettextP.h: Likewise.
12184 * intl/loadinfo.h: Likewise.
12185 * locale/global-locale.c: Likewise.
12186 * locale/localeinfo.h: Likewise.
12187 * mach/devstream.c: Likewise.
12188 * malloc/arena.c: Likewise.
12189 * malloc/set-freeres.c: Likewise.
12190 * misc/err.c: Likewise.
12191 * misc/getttyent.c: Likewise.
12192 * misc/mntent_r.c: Likewise.
12193 * posix/getopt.c: Likewise.
12194 * posix/wordexp.c: Likewise.
12195 * pwd/fgetpwent_r.c: Likewise.
12196 * resolv/Versions: Likewise.
12197 * resolv/res_hconf.c: Likewise.
12198 * shadow/fgetspent_r.c: Likewise.
12199 * shadow/putspent.c: Likewise.
12200 * stdio-common/printf_fphex.c: Likewise.
12201 * stdio-common/tmpfile.c: Likewise.
12202 * stdlib/abort.c: Likewise.
12203 * stdlib/fmtmsg.c: Likewise.
12204 * sunrpc/auth_unix.c: Likewise.
12205 * sunrpc/clnt_perr.c: Likewise.
12206 * sunrpc/clnt_tcp.c: Likewise.
12207 * sunrpc/clnt_udp.c: Likewise.
12208 * sunrpc/clnt_unix.c: Likewise.
12209 * sunrpc/openchild.c: Likewise.
12210 * sunrpc/svc_simple.c: Likewise.
12211 * sunrpc/svc_tcp.c: Likewise.
12212 * sunrpc/svc_udp.c: Likewise.
12213 * sunrpc/svc_unix.c: Likewise.
12214 * sunrpc/xdr.c: Likewise.
12215 * sunrpc/xdr_array.c: Likewise.
12216 * sunrpc/xdr_rec.c: Likewise.
12217 * sunrpc/xdr_ref.c: Likewise.
12218 * sunrpc/xdr_stdio.c: Likewise.
12219
1248c1c4
PB
122202011-09-09 Ulrich Drepper <drepper@gmail.com>
12221
12222 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12223
122242011-07-03 Andreas Jaeger <aj@suse.de>
12225
12226 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12227 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12228 regenerate with gen-libm-tests.pl.
12229
122302010-05-12 Petr Baudis <pasky@suse.cz>
12231
12232 [BZ #11589]
12233 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12234 around j0() zero points by switching to j1().
12235 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12236 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12237 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12238 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12239
f22e1074
UD
122402011-09-09 Ulrich Drepper <drepper@gmail.com>
12241
f19009c1
UD
12242 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12243 instead of 0.
12244 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12245 instead of 0. .
12246 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12247 Patch in part by Pavel Roskin <proski@gnu.org>.
12248
3f8cc204
UD
12249 [BZ #13138]
12250 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12251 realloc.
12252 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12253 Free memory block if necessary.
12254
f22e1074
UD
12255 [BZ #12847]
12256 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12257 be NULL. Don't lock in this case.
12258
0a2349f9
RM
122592011-09-09 Roland McGrath <roland@hack.frob.com>
12260
12261 * elf/elf.h (ELFOSABI_GNU): New macro.
12262 (ELFOSABI_LINUX): Define to that.
12263
f3cdd467
DZ
122642011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12265
12266 * string/strncat.c (strncat): Undef the symbol in case it has been
12267 defined in bits/string.h.
12268
74718d13
UD
122692011-09-09 Ulrich Drepper <drepper@gmail.com>
12270
633e9e0f
UD
12271 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12272
0a2349f9 12273 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
12274 link map.
12275
f9924780
AJ
122762011-08-17 Andreas Jaeger <aj@suse.de>
12277
12278 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12279
7f5517aa
PP
122802011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12281 Ian Lance Taylor <iant@google.com>
12282
12283 * math/libm-test.inc (lround_test): New testcase.
12284 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12285
762011fe
UD
122862011-09-08 Ulrich Drepper <drepper@gmail.com>
12287
92963737
UD
12288 * Makefile: Remove support for automatic cvs check-ins.
12289 * Makerules: Likewise.
12290 * config.make.in: Likewise.
12291 * configure.in: Likewise.
12292 * intl/Makefile: Likewise.
12293 * locale/Makefile: Likewise.
12294 * po/Makefile: Likewise.
12295 * posix/Makefile: Likewise.
12296 * sysdeps/gnu/Makefile: Likewise.
12297 * sysdeps/mach/hurd/Makefile: Likewise.
12298 * sysdeps/sparc/sparc32/Makefile: Likewise.
12299
b0727fd8
JS
12300 [BZ #13118]
12301 * posix/Makefile (bug-regex32-ENV): Define.
12302 Patch by John Stanley <jpsinthemix@verizon.net>.
12303
a0f33f99
UD
12304 * misc/Makefile (headers): Add bits/select2.h.
12305 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12306 * misc/bits/select2.h: New file.
12307 * include/bits/select2.h: New file.
12308 * debug/Makefile (routines): Add fdelt_chk.
12309 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12310 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12311 FD_ISSET.
12312 * debug/fdelt_chk.c: New file.
12313
762011fe
UD
12314 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12315 * wcsmbs/test-wmemcmp.c: Likewise.
12316 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 12317 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
12318
123192011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12320
12321 * string/Makefile (strop-tests): Add memcmp.
12322 * string/test-wmemcmp.c: New file.
12323 * string/test-memcmp.c: Add wmemcmp support.
12324
7f513ec8
RM
123252011-09-08 Roland McGrath <roland@hack.frob.com>
12326
0442afb4
RM
12327 [BZ #13153]
12328 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12329 2011-07-19 change.
12330
7f513ec8
RM
12331 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12332 garbage value in a __mach_port_mod_refs call in the cases of the
12333 task-self and thread-self ports.
12334
a12b2239
ST
123352011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12336
12337 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12338
610f9ab4
AS
123392011-09-08 Andreas Schwab <schwab@redhat.com>
12340
7f513ec8 12341 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 12342
48882a1a
LD
123432011-09-07 Ulrich Drepper <drepper@gmail.com>
12344
b49865be
UD
12345 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12346
fdc86bc9
UD
12347 * elf/dl-libc.c (dlerror_run): Pass back error code from
12348 dl_catch_error.
12349
c966526a
UD
12350 [BZ #13123]
12351 * elf/dl-load.c (lose): Free l_origin if it is valid.
12352
48882a1a
LD
12353 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12354 names.
12355 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12356 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12357 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12358 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12359 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12360 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12361
77a2a8b4
AZ
123622011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12363
12364 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12365 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12366 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12367 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12368 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12369 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12370 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12371 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12372 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12373 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12374
24f579d8
AM
123752011-08-15 Alan Modra <amodra@gmail.com>
12376
12377 [BZ #13092]
12378 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12379 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12380 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12381 ppc_mcount to static-only-routines.
12382 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12383 __mcount_internal.
12384 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12385 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12386
3d4837df
UD
123872011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12388
12389 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12390 for finite and infinity parameters.
12391
22700377
WS
123922011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12393
12394 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12395 and add nop instructions for throughput optimization.
12396 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12397
5025581e
WS
123982011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12399
12400 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12401 aligned copy for power7 with vector-scalar instructions.
12402 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12403
08a300c9
L
124042011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12405
12406 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12407 AVX check.
12408
59178ef9
AS
124092011-09-07 Andreas Schwab <schwab@redhat.com>
12410
12411 [BZ #13144]
12412 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12413 last change.
12414
e38ba7ab
UD
124152011-09-07 Ulrich Drepper <drepper@gmail.com>
12416
12417 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12418 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12419 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12420 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12421 clock_gettime.
12422
d53a73ac
UD
124232011-09-06 Ulrich Drepper <drepper@gmail.com>
12424
fc8bffcc
UD
12425 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12426 Forgot to demangle the pointer.
12427
ceaa0c5d
UD
12428 * sysdeps/i386/sysdep.h: Define atom_text_section.
12429 * sysdeps/x86_64/sysdep.h: Likewise.
12430 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12431 section with atom_text_section.
12432 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12433 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12434 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12435 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12436 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12437
a77d3c17
UD
12438 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12439 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12440 already be defined. Change to take two parameters and don't assign
12441 result to variable. Adjust all users.
12442 Define INTERNAL_GETTIME if not already defined.
12443 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12444 call.
12445 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12446 HAVE_CLOCK_GETTIME_VSYSCALL.
12447 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12448
d53a73ac
UD
12449 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12450 gettimeofday vsyscall, just use time.
12451
a8f84144
AS
124522011-09-06 Andreas Schwab <schwab@redhat.com>
12453
12454 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12455 <errno.h>.
12456
ef606249
UD
124572011-09-06 Ulrich Drepper <drepper@gmail.com>
12458
12459 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12460 syscall on x86-64.
12461 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12462 syscall.
12463 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12464 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12465 syscall if possible.
12466
6585cb60
UD
124672011-09-05 Ulrich Drepper <drepper@gmail.com>
12468
12469 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12470 e_ident. Don't pass to find_mapsXX.
12471 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12472
a5f524e4
LD
124732011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12474
12475 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12476 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12477 * sysdeps/x86_64/multiarch/strchr.S: Update.
12478 Check bit_slow_BSF bit.
12479 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12480 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12481 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12482
554881ef
UD
124832011-09-05 Ulrich Drepper <drepper@gmail.com>
12484
d96de963
UD
12485 [BZ #13134]
12486 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12487 before glibc 2.15.
12488 (tryshell): Define.
12489 (__spawni): Change last parameter to be flag. Test
12490 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12491 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12492 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12493 * posix/spawni.c: Likewise.
12494 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12495 * posix/spawnp.c: Likewise. Change normal version to use
12496 SPAWN_XFLAGS_USE_PATH.
12497 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12498 SPAWN_XFLAGS_TRY_SHELL.
12499
d48e5868
UD
12500 [BZ #13150]
12501 * posix/glob.h: Remove gcc 1.x support.
12502
554881ef
UD
12503 [BZ #13068]
12504 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12505
693fb948
LD
125062011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12507
12508 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12509 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12510 strrchr-sse2-bsf
12511 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12512 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12513 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12514 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12515 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12516 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12517
1b48c537
UD
125182011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12519
49d42c37
UD
12520 * sysdeps/x86_64/wcscmp.S: New file.
12521
1b48c537
UD
12522 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12523 wcscmp-c wcscmp-sse2
12524 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12525 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12526 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12527 * wcsmbs/wcscmp.c: Allow renaming.
12528
15c95c5d
DM
125292011-09-05 David S. Miller <davem@davemloft.net>
12530
12531 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12532 stack slot, rather than the struct return pointer slot.
12533 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12534 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12536 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12537
2f0ad8f3
UD
125382011-09-05 Ulrich Drepper <drepper@gmail.com>
12539
d88ae418
UD
12540 * po/ja.po: Update from translation team.
12541
2f0ad8f3
UD
12542 [BZ #13144]
12543 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12544 kernel in 64-bit binaries.
12545
5f4318d1
DM
125462011-09-01 David S. Miller <davem@davemloft.net>
12547
12548 * elf/elf.h (HWCAP_SPARC_*): Move to..
12549 * sysdeps/sparc/sysdep.h: this new file and add new values.
12550 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12551 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12552 _DL_HWCAP_COUNT to 24.
12553 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12554 entries.
12555 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12556 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12557 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12558 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12559 instead of magic constants.
12560 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12561
3ba57516
DM
125622011-08-31 David S. Miller <davem@davemloft.net>
12563
12564 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12565 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12566 Reimplement to do errno handling inline.
12567 (SYSCALL_ERROR_HANDLER): New macro.
12568 (__SYSCALL_STRING): Do not do errno handling in asm.
12569 (__CLONE_SYSCALL_STRING): Delete.
12570 (__INTERNAL_SYSCALL_STRING): Delete.
12571 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12572 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12573 (PSEUDO): Reimplement to do errno handling inline.
12574 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12575 (SYSCALL_ERROR_HANDLER): New macro.
12576 (__SYSCALL_STRING): Do not do errno handling in asm.
12577 (__CLONE_SYSCALL_STRING): Delete.
12578 (__INTERNAL_SYSCALL_STRING): Delete.
12579 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12580 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12581 i386.
12582 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12583 (inline_syscall*): Add 'err' argument.
12584 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12585 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12586 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12587 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12588
12589 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12590 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12591
2bc17433
AS
125922011-08-30 Andreas Schwab <schwab@redhat.com>
12593
12594 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12595
fbeb5f4d
JO
125962011-08-29 Jiri Olsa <jolsa@redhat.com>
12597
12598 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12599 directive.
12600
ad69cc26
DM
126012011-08-24 David S. Miller <davem@davemloft.net>
12602
12603 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12604
39dd69df
AS
126052011-08-24 Andreas Schwab <schwab@redhat.com>
12606
12607 * elf/Makefile: Add rules to build and run unload8 test.
12608 * elf/unload8.c: New file.
12609 * elf/unload8mod1.c: New file.
12610 * elf/unload8mod1x.c: New file.
12611 * elf/unload8mod2.c: New file.
12612 * elf/unload8mod3.c: New file.
12613
12614 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12615 it wasn't used.
12616
2c0b250a
DM
126172011-08-23 David S. Miller <davem@davemloft.net>
12618
12619 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12620 subtract stack bias.
12621 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12622 %sp not %fp in calculations.
12623 (_JMPBUF_UNWINDS_ADJ): Likewise.
12624
22044b48
DM
12625 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12626 (aio_suspend): Call it to force an exception region around the
12627 AIO_MISC_WAIT() invocation.
12628
2cae4995
AS
126292011-08-23 Andreas Schwab <schwab@redhat.com>
12630
12631 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12632 backslash.
12633
873a772e
AJ
126342011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12635
12636 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12637 protection macro.
12638 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12639 and <dl-machine.h>.
12640 (Elf64_FuncDesc): Remove.
12641
25ad0df1
DM
126422011-08-22 David S. Miller <davem@davemloft.net>
12643
12644 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12645 sigaltstack check, add missing cfi directives.
12646 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12647 missing cfi directives, and sigaltstack handling.
12648
e888bcbe
AS
126492011-08-16 Andreas Schwab <schwab@redhat.com>
12650
12651 [BZ #11724]
12652 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12653 object is seen twice.
12654 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12655
12656 * elf/Makefile (distribute): Add tst-initorder2.c.
12657 (tests): Add tst-initorder2.
12658 (modules-names): Add tst-initorder2a tst-initorder2b
12659 tst-initorder2c tst-initorder2d. Add rules to build them.
12660 ($(objpfx)tst-initorder2.out): New rule.
12661 * elf/tst-initorder2.c: New file.
12662 * elf/tst-initorder2.exp: New file.
12663
87162f46
AS
126642011-08-22 Andreas Schwab <schwab@redhat.com>
12665
70538b7f
AS
12666 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12667
f55ffe58
AS
12668 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12669 dependencies back to end of function.
12670
87162f46
AS
12671 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12672 $(elfobjdir)/ld.so.
12673
91b392a4
UD
126742011-08-21 Ulrich Drepper <drepper@gmail.com>
12675
12676 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12677 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12678 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12679 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12680 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12681 of __vdso_gettimeofday.
12682 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12683 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12684 attribute_hidden.
12685 (_libc_vdso_platform_setup): Remove initialization of
12686 __vdso_gettimeofday and __vdso_time.
12687
5c43483f
UD
126882011-08-20 Ulrich Drepper <drepper@gmail.com>
12689
775a77e7
UD
12690 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12691 and fgetc_unlocked.
12692 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12693 getc_unlocked.
89f447ed 12694
49c74ba9
UD
12695 * elf/dl-open.c (add_to_global): Report additions to the global scope
12696 for LD_DEBUG=scopes.
12697 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 12698 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 12699
5c43483f
UD
12700 [BZ #13114]
12701 * stdio-common/Makefile (tests): Add bug24.
12702 * stdio-common/bug24.c: New file.
12703
a101b025
AJ
127042011-08-19 Andreas Jaeger <aj@suse.de>
12705
12706 [BZ #13114]
12707 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12708 non-existant file when using close-on-exec mode.
12709
c88f1766
UD
127102011-08-20 Ulrich Drepper <drepper@gmail.com>
12711
0276a718
UD
12712 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12713 the very first instruction.
12714
c88f1766
UD
12715 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12716 the CFI state in the end.
12717 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12718 inclusion of dl-trampoline.h.
12719 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12720
51ccffa0
AS
127212011-08-19 Andreas Schwab <schwab@redhat.com>
12722
94d7165f
AS
12723 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12724 expectations for long double.
12725
51ccffa0
AS
12726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12727 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12728
fd708658 127292011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
12730
12731 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12732 artificual limit depends upon the system page size.
12733
44f0a71e
UD
127342011-08-17 Ulrich Drepper <drepper@gmail.com>
12735
12736 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12737 * resolv/Makefile: Define CFLAGS-libresolv.
12738
8de79a24
AS
127392011-08-17 Andreas Schwab <schwab@redhat.com>
12740
12741 * nss/makedb.c (compute_tables): Make variables used in nested
12742 function static.
12743
27724598
UD
127442011-08-17 Ulrich Drepper <drepper@gmail.com>
12745
c5305d88
UD
12746 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12747 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12748 if buffer was too small.
12749
27724598
UD
12750 * elf/pldd.c (main): Attach to all threads in the process.
12751 Rewrite /proc handling to use *at functions.
12752
076fe015
UD
127532011-08-16 Ulrich Drepper <drepper@gmail.com>
12754
174baab3
UD
12755 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12756 specifies first scope to show.
12757 (dl_open_worker): Update callers. Move printing scope of new
12758 object to before the relocation.
44f0a71e 12759 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
12760 * sysdeps/generic/ldsodefs.h: Update declaration.
12761
076fe015
UD
12762 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12763 string for the scope number.
12764
a60df2c3
UD
127652011-08-14 Ulrich Drepper <drepper@gmail.com>
12766
12767 * nscd/servicescache.c (cache_addserv): Make sure written is always
12768 initialized.
12769
5e4287d1
RM
127702011-08-14 Roland McGrath <roland@hack.frob.com>
12771
85ae0589
RM
12772 * sysdeps/i386/i486/bits/atomic.h
12773 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12774 statement expression, so as to suppress "set but not used" warning.
12775 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12776
69f63097
RM
12777 * string/strncat.c (STRNCAT): Use prototype definition.
12778
675456ef
RM
12779 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12780 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12781 -Iprograms here.
12782 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12783 (localedef-modules): Add localedef.
12784 (locale-modules): Add locale.
12785
5e4287d1
RM
12786 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12787 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12788 to avoid a warning.
12789
9c96ff23
DM
127902011-08-14 David S. Miller <davem@davemloft.net>
12791
12792 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12793 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12794
f9ddf089
UD
127952011-08-13 Ulrich Drepper <drepper@gmail.com>
12796
44f0a71e 12797 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
12798 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12799 * elf/rtld.c (dl_main): Set l_name of vDSO.
12800 Call _dl_show_scope when DL_DEBUG_SCOPES.
12801 (process_dl_debug): Recognize scopes flag and also set it for all.
12802 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12803 Declare _dl_show_scope.
12804
1dc27704
UD
12805 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12806 (do_dlopen): Pass caller_dlopen to dl_open.
12807 (__libc_dlopen_mode): Initialize caller_dlopen.
12808
f9ddf089
UD
12809 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12810 of libc. Make tolower call locale-independent. Optimize a bit by
12811 using isdigit instead of isalnum.
12812 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12813
9ac533d3
UD
128142011-08-12 Ulrich Drepper <drepper@gmail.com>
12815
12816 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12817 was a dependency or dynamically loaded.
12818
89edf2e9
UD
128192011-08-11 Ulrich Drepper <drepper@gmail.com>
12820
8e999d29
UD
12821 * intl/l10nflist.c: Allow architecture-specific pop function.
12822 * sysdeps/x86_64/l10nflist.c: New file.
12823
89edf2e9
UD
12824 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12825 classification.
12826
14d96785
AS
128272011-08-10 Andreas Schwab <schwab@redhat.com>
12828
12829 * include/dirent.h: Add libc_hidden_proto for scandirat and
12830 scandirat64. Don't declare __scandirat64.
12831 * dirent/scandirat.c: Add libc_hidden_def.
12832 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12833 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12834
6761ac04
DM
128352011-08-10 David S. Miller <davem@davemloft.net>
12836
12837 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12838 enum.
12839 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12840 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12841 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12842
c55fbd1e
UD
128432011-08-09 Ulrich Drepper <drepper@gmail.com>
12844
12845 * Versions.def [libc]: Add GLIBC_2.15.
12846 * dirent/Makefile (routines): Add scandirat and scandirat64.
12847 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12848 GLIBC_2.15.
12849 * dirent/dirent.h: Declare scandirat and scandirat64.
12850 * dirent/scandirat.c: New file.
12851 * dirent/scandirat64.c: New file.
12852 * sysdeps/wordsize-64/scandirat.c: New file.
12853 * sysdeps/wordsize-64/scandirat64.c: New file.
12854 * dirent/opendir.c: Define opendirat.
12855 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12856 using scandirat.
12857 * dirent/scandir64.c: Adjust for scandir.c change.
12858 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12859 __scandirat64, and __scandir_cancel_handler.
12860 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12861 additional parameter and use openat instead of open (outside of ld.so).
12862 Add new __opendir as wrapper around __opendirat.
12863 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12864 here without requiring old scandirat implementation.
12865
879165f2
UD
128662011-08-08 Ulrich Drepper <drepper@gmail.com>
12867
12868 * dirent/scandir.c (cancel_handler): Renamed to
12869 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12870 defined. Adjust users.
12871 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12872 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12873
cb7e923b
UD
128742011-08-04 Ulrich Drepper <drepper@gmail.com>
12875
16292edd
UD
12876 * string/test-string.h (IMPL): Use __STRING to expand name and then
12877 stringify it.
12878
cb7e923b
UD
12879 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12880 of cleanups.
12881
cff82933
LD
128822011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12883
12884 * string/Makefile: Update.
12885 (strop-tests): Append strncat.
12886 * string/test-wcscmp.c: New file.
12887 New comprehensive test for wcscmp.
12888 * string/test-strcmp.c: Update.
12889 (WIDE): New define.
12890
9be9bfcc
AS
128912011-07-22 Andreas Schwab <schwab@redhat.com>
12892
12893 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12894 line.
12895
2e96f1c7
AS
128962011-07-26 Andreas Schwab <schwab@redhat.com>
12897
12898 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12899 encoding to ACE if AI_IDN.
12900
85188888
JJ
129012011-08-01 Jakub Jelinek <jakub@redhat.com>
12902
12903 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12904 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12905
5fa16e9b
LD
129062011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12907
12908 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12909 Fix overflow bug in strncat.
12910 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12911
12912 * string/test-strncat.c: Update.
12913 Add new tests for checking overflow bugs.
12914
129152011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12916
12917 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12918 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12919 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12920 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12921 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12922 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12923 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12924 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12925 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12926
12927 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12928 (USE_AS_STRCAT): Define.
12929 Add strcat and strncat support.
12930 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12931
8c1a459f
AS
129322011-07-25 Andreas Schwab <schwab@redhat.com>
12933
12934 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12935 __n bigger than INT_MAX+1.
12936 (__strncmp_g): Likewise.
12937
bba33c28
UD
129382011-07-23 Ulrich Drepper <drepper@gmail.com>
12939
798be72d
UD
12940 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12941 * libio/stido.h: Likewise.
12942
8accd4dc
UD
12943 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12944 (AF_NFC): Define.
12945 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12946 (AF_NFC): Define.
12947
cbff0d96
UD
12948 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12949 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12950 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12951 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12952 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12953
9191c04a
UD
12954 [BZ #13021]
12955 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12956 installed.
12957
bba33c28
UD
12958 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12959 typo.
12960 (_dl_x86_64_save_sse): Likewise.
12961
90f139dd
UD
129622011-07-22 Ulrich Drepper <drepper@gmail.com>
12963
1aae088a
UD
12964 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12965 OSXSAVE.
12966 (_dl_x86_64_save_sse): Likewise.
12967
8e2045f5
UD
12968 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12969
90f139dd
UD
12970 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12971
1d002f25
AS
129722011-07-21 Andreas Schwab <schwab@redhat.com>
12973
12974 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12975 change.
12976 (_dl_x86_64_save_sse): Use correct AVX check.
12977
21137f89
UD
129782011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12979
12980 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12981 bug in strncpy/strncat.
12982 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12983
a65c0b7a
UD
129842011-07-21 Ulrich Drepper <drepper@gmail.com>
12985
12986 * string/tester.c (test_strcat): Add tests for different alignments
12987 of source and destination.
12988 (test_strncat): Likewise.
12989
6986b98a
UD
129902011-07-20 Ulrich Drepper <drepper@gmail.com>
12991
90bb2039
UD
12992 [BZ #12852]
12993 * posix/glob.c (glob): Check passed in values before using them in
12994 expressions to avoid some overflows.
12995 (glob_in_dir): Likewise.
12996
5644ef54
UD
12997 [BZ #13007]
12998 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12999 check for AVX enablement so that we don't crash with old kernels and
13000 new hardware.
13001 * elf/tst-audit4.c: Add same checks here.
13002 * elf/tst-audit6.c: Likewise.
13003
13004 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 13005
bfc9dc9b
AS
130062011-07-09 Andreas Schwab <schwab@linux-m68k.org>
13007
13008 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
13009
702e64bb
UD
130102011-07-20 Ulrich Drepper <drepper@gmail.com>
13011
13012 * po/cs.po: Update from translation team.
13013 * po/bg.po: Likewise.
13014
295e904f
MP
130152011-07-12 Marek Polacek <mpolacek@redhat.com>
13016
13017 * misc/sys/cdefs.h: Add support for const attribute.
13018 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
13019 to gnu_dev_{major,minor,makedev} functions.
13020
3ff94596
MP
130212011-07-20 Marek Polacek <mpolacek@redhat.com>
13022
13023 * intl/dcigettext.c (get_output_charset): Add missing bracket.
13024
28b59fca
AS
130252011-07-20 Andreas Schwab <schwab@redhat.com>
13026
13027 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
13028 strlen results.
13029
19df733e
AK
130302011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13031
13032 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13033 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
13034 register in order to avoid conflicts with the soft frame pointer
13035 being held in r11 when necessary.
13036 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13037 (INTERNAL_VSYSCALL_NCS): Likewise.
13038
c8835729
MP
130392011-07-14 Marek Polacek <mpolacek@redhat.com>
13040
13041 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
13042 * elf/dl-fini.c (_dl_fini): Adjust caller.
13043 * elf/dl-close.c (_dl_close_worker): Likewise.
13044 * sysdeps/generic/ldsodefs.h: Adjust declaration.
13045
b902330c
MP
130462011-07-15 Marek Polacek <mpolacek@redhat.com>
13047
8991e135
MP
13048 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
13049 "aux_cache->nlibs < 0".
13050
b902330c
MP
13051 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
13052 in the reload-count case.
13053
99710781
LD
130542011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13055
13056 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13057 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
13058 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
13059 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
13060 * sysdeps/x86_64/multiarch/strcat.S: New file.
13061 * sysdeps/x86_64/multiarch/strncat.S: New file.
13062 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
13063 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
13064 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
13065 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
13066 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
13067 (USE_AS_STRCAT): Define.
13068 Add strcat and strncat support.
13069 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13070 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13071 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
13072 * string/strncat.c: Update.
13073 (USE_AS_STRNCAT): Define.
13074 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13075 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
13076 and i7.
13077 * sysdeps/x86_64/multiarch/init-arch.h
13078 (bit_Prefer_PMINUB_for_stringop): New.
13079 (index_Prefer_PMINUB_for_stringop): Likewise.
13080 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
13081 bit_Prefer_PMINUB_for_stringop.
13082
7dc6bd90
UD
130832011-07-19 Ulrich Drepper <drepper@gmail.com>
13084
13085 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
13086 buffer64.
13087 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
13088 of casting of buffer.
13089 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
13090 buffer32 and buffer64.
13091 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
13092 writes instead of casting of buffer.
13093 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
13094 buffer32.
13095 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
13096 casting of buffer.
13097
e0e72284
AS
130982011-07-19 Andreas Schwab <schwab@redhat.com>
13099
13100 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
13101
feb1eb0b
UD
131022011-07-19 Ulrich Drepper <drepper@gmail.com>
13103
13104 * nscd/nscd.c (termination_handler): Don't do anything for a database
13105 if it has not yet been initialized.
13106
298711ff
UD
131072011-07-18 Ulrich Drepper <drepper@gmail.com>
13108
13109 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13110
131112011-07-15 Marek Polacek <mpolacek@redhat.com>
13112
13113 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13114
f9d68389
UD
131152011-07-18 Ulrich Drepper <drepper@gmail.com>
13116
13117 * po/nl.po: Update from translation team.
13118 * po/sv.po: Likewise.
13119
db290cf5
RM
131202011-07-16 Roland McGrath <roland@hack.frob.com>
13121
13122 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13123 now disallowed by GCC.
5c550700 13124
fd5e21c7
RM
13125 * configure.in (use-default-link): Default to yes if a test -shared
13126 link meets our qualifications.
13127 * configure: Regenerated.
13128
5c550700
RM
13129 * config.make.in (output-format): New variable.
13130 * configure.in: Check for ld --print-output-format support.
13131 * configure: Regenerated.
13132 * Makerules ($(common-objpfx)format.lds)
13133 [$(output-format) != unknown]: Just use $(output-format),
13134 instead of the linker-script munging.
13135
9fa2c032
RM
131362011-07-14 Roland McGrath <roland@hack.frob.com>
13137
a6928d51
RM
13138 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13139 of $(common-objpfx)shlib.lds.
13140 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13141
661607b3
RM
13142 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13143 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13144
9fa2c032
RM
13145 * configure.in (-z relro check): Adjust test code to add a large
13146 writable data section after it.
13147 * configure: Regenerated.
13148
defe9061
RM
131492011-07-11 Roland McGrath <roland@hack.frob.com>
13150
13151 * configure.in (-z relro check): Fix test code to make the variable
13152 truly const.
13153 * configure: Regenerated.
13154
319b9ad4
UD
131552011-07-11 Ulrich Drepper <drepper@gmail.com>
13156
13157 * nscd/nscd.h (struct traced_file): Define.
13158 (struct database_dyn): Remove inotify_descr, reset_res, and filename
13159 elements. Add traced_files.
13160 (inotify_fd): Declare.
13161 (register_traced_file): Declare.
13162 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13163 (inotify_fd): Export.
13164 (resolv_conf_descr): Remove.
13165 (nscd_init): Move inotify descriptor creation to main.
13166 Don't register files for notification here.
13167 (register_traced_file): New function.
13168 (invalidate_cache): Don't use reset_res to determine whether to call
13169 res_init, go through the list of registered files.
13170 (main_loop_poll): The inotify descriptors are now stored in the
13171 structures for the traced files.
13172 (main_loop_epoll): Likewise
13173 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13174 to __nss_disable_nscd.
13175 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13176 for a database anymore. Check the records for all the registered
13177 files instead.
13178 * nss/Makefile (libnss_files-routines): Add files-init.
13179 (libnss_db-routines): Add db-init.
13180 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13181 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13182 * nss/nss_db/db-init.c: New file.
13183 * nss/nss_files/files-init.c: New file.
13184 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13185 __nss_lookup_function.
13186 (__nss_lookup_function): Call nss_load_library.
13187 (nss_load_all_libraries): New function.
13188 (__nss_disable_nscd): Take parameter with callback function for files
13189 to register. Set is_nscd. Load all the DSOs for the NSS modules
13190 used for the cached services.
13191 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13192 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13193 options for features to all the files in nscd.
13194
13195 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13196
23bee3e8
RM
131972011-07-10 Roland McGrath <roland@hack.frob.com>
13198
13199 * csu/elf-init.c (__libc_csu_init): Comment typo.
13200
46a5b7f0
UD
132012011-07-09 Ulrich Drepper <drepper@gmail.com>
13202
13203 * po/pl.po: Update from translation team.
13204 * po/ja.po: Likewise.
13205 * po/ru.po: Likewise.
13206 * po/ko.po: Likewise.
13207 * po/fr.po: Likewise.
13208
d30cf5bb
RM
132092011-07-09 Roland McGrath <roland@hack.frob.com>
13210
113ddea4
RM
13211 * configure.in (.ctors/.dtors header and trailer check):
13212 Use an empirical test on a built program.
13213 * configure: Regenerated.
13214
574920b4
RM
13215 * configure.in (-z relro check): Use an empirical test on a built DSO.
13216 Detect, but do not require, on ia64.
13217 * configure: Regenerated.
13218
d30cf5bb
RM
13219 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13220 Update tests that use readelf to use $READELF instead.
13221 * configure: Regenerated.
13222
8538fdb3
UD
132232011-07-08 Ulrich Drepper <drepper@gmail.com>
13224
13225 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13226 if the result is not used.
13227
04d08991
AJ
132282011-07-05 Andreas Jaeger <aj@suse.de>
13229
13230 [BZ#9696]
13231 * stdlib/tst-strtod.c: Add testcase.
13232
de283087
AD
132332011-07-07 Ulrich Drepper <drepper@gmail.com>
13234
4e5f31c8 13235 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 13236 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
13237 The latter has a higher limit. Take additional parameter to pass to
13238 the new function.
13239 (__pathconf): Pass file to __statfs_link_max.
13240 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13241 __statfs_link_max.
13242 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13243 __statfs_link_max.
13244
de283087
AD
13245 [BZ #12868]
13246 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13247 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13248 Handle Lustre.
13249 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13250 (__statfs_filesize_max): Likewise.
13251 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13252
c75fa153
AJ
132532011-07-05 Andreas Jaeger <aj@suse.de>
13254
13255 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13256
1a544854
UD
132572011-07-06 Marek Polacek <mpolacek@redhat.com>
13258
13259 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13260 `status' variable.
13261 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13262 Likewise.
13263
6f0eec67
UD
132642011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13265
13266 * Makefile (strop-tests): Add strncat.
13267 * string/test-strncat.c: New file.
13268
aae30307
UD
132692011-06-30 Marek Polacek <mpolacek@redhat.com>
13270
13271 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13272
c0cfb5eb
UD
132732011-06-21 Andreas Jaeger <aj@suse.de>
13274
13275 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13276 Copy rule from iconvdata/Makefile.
13277
01636b21
UD
132782011-07-06 Ulrich Drepper <drepper@gmail.com>
13279
13280 [BZ #12922]
13281 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13282 but no long options are defined, just return 'W'.
13283
9895c8bc
UD
132842011-06-22 Marek Polacek <mpolacek@redhat.com>
13285
13286 [BZ #9696]
13287 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13288
5d4cf042
UD
132892011-07-06 Ulrich Drepper <drepper@gmail.com>
13290
13291 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13292 netgroups to read.
960e5535 13293 (innetgr): Likewise.
5d4cf042 13294
751eb97e
RM
132952011-07-05 Roland McGrath <roland@hack.frob.com>
13296
13297 * config.make.in (install_root): Default to $(DESTDIR).
13298
f15f1e45
UD
132992011-07-05 Ulrich Drepper <drepper@gmail.com>
13300
13301 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13302
4e34ac6a
RM
133032011-07-02 Roland McGrath <roland@hack.frob.com>
13304
5e9b6af4
RM
13305 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13306
84f9ea0f
RM
13307 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13308 containing directory rather than embedding absolute directory names.
13309
ea5ee9f7
RM
13310 * scripts/check-local-headers.sh: Rewritten using awk.
13311 Match by word, not by line. Print error messages for matches.
13312 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13313
1b74661a
RM
13314 * Makerules [shlib-lds-flags empty]:
13315 ($(common-objpfx)libc_pic.opts): New target.
13316 ($(common-objpfx)libc_pic.os.clean): New target.
13317 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13318
13319 * config.make.in (OBJCOPY): New variable.
13320 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13321 * configure: Regenerated.
13322
f781ef40
RM
13323 * config.make.in (use-default-link): New variable.
13324 * configure.in (use_default_link): Grok --with-default-link to set it.
13325 * configure: Regenerated.
13326 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13327 (shlib-lds, shlib-lds-flags): Define to empty.
13328
2d4fa81e
RM
13329 * Makerules (shlib-lds): New variable.
13330 (shlib-lds-flags): New variable.
13331 (build-shlib, build-moduile, build-module-asneeded): Use it.
13332 ($(common-objpfx)libc.so): Use $(shlib-lds).
13333 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13334 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13335
31fffa6b
RM
13336 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13337 DT_FLAGS/DT_FLAGS_1 with zero flags.
13338
4e34ac6a
RM
13339 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13340 linker script munging.
13341
fcfc776b
UD
133422011-07-02 Ulrich Drepper <drepper@gmail.com>
13343
13344 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13345 as 128-bit value.
13346 * crypt/sha512.c (sha512_process_block): Perform total addition using
13347 128-bit if possible.
13348 (__sha512_finish_ctx): Likewise.
13349 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13350 as 64-bit value.
13351 * crypt/sha256.c (SWAP64): Define.
13352 (sha256_process_block): Perform total addition using 64-bit if
13353 possible.
13354 (__sha256_finish_ctx): Likewise.
13355
99231d9a
UD
133562011-07-01 Ulrich Drepper <drepper@gmail.com>
13357
13358 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13359 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13360 * nscd/hstcache.c (cache_addhst): Likewise.
13361 * nscd/grpcache.c (cache_addgr): Likewise.
13362 * nscd/aicache.c (addhstaiX): Likewise
13363 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13364
445b4a53
TK
133652011-07-01 Thorsten Kukuk <kukuk@suse.de>
13366
13367 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13368 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13369 * nscd/hstcache.c (cache_addhst): Likewise.
13370 * nscd/grpcache.c (cache_addgr): Likewise.
13371 * nscd/aicache.c (addhstaiX): Likewise
13372
6d4d8e8e
AS
133732011-07-01 Andreas Schwab <schwab@redhat.com>
13374
13375 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13376 domain only when needed.
13377
89f654c5
AS
133782011-06-30 Andreas Schwab <schwab@redhat.com>
13379
13380 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13381 is always restored.
13382
cf3b23ff
UD
133832011-06-29 Ulrich Drepper <drepper@gmail.com>
13384
13385 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13386 are re-adding the entry.
13387 * nscd/servicescache.c (cache_addserv): Likewise.
13388
751626f9
AJ
133892011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13390
13391 * sysdeps/generic/dl-irel.h: fix protection against multiple
13392 inclusions.
13393 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13394
9113ea1f
UD
133952011-06-28 Ulrich Drepper <drepper@gmail.com>
13396
5c0b8d90
UD
13397 [BZ #12935]
13398 * malloc/memusage.sh: Fix quoting in message.
13399 * debug/xtrace.sh: Likewise.
13400
9113ea1f
UD
13401 * configure.in: Remove support for --experimental-malloc option, make
13402 it the default.
13403 * config.make.in: Likewise.
13404 * malloc/Makefile: Likewise.
13405
a4172181
AS
134062011-06-27 Andreas Schwab <schwab@redhat.com>
13407
13408 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13409 two-byte characters.
13410
78a7eee7
RM
134112011-06-27 Roland McGrath <roland@hack.frob.com>
13412
62bede13
RM
13413 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13414 AC_CACHE_CHECK invocation.
13415 * configure: Regenerated.
13416
78a7eee7
RM
13417 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13418
5ce33a62
UD
134192011-06-27 Ulrich Drepper <drepper@gmail.com>
13420
034807a9
UD
13421 [BZ #12350]
13422 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13423 bit from old_res_options.
13424
4902da17
UD
13425 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13426
5ce33a62
UD
13427 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13428 value type for setfct.
13429
c2344f56
L
134302011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13431
13432 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13433 __gettimeofday instead of gettimeofday.
13434
68468076
UD
134352011-06-26 Ulrich Drepper <drepper@gmail.com>
13436
13437 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13438
acb0d739
L
134392011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13440
13441 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13442
13443 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13444 info.
13445
8912479f
L
134462011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13447
13448 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13449 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13450 strcpy-sse2-unaligned strncpy-sse2-unaligned
13451 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13452 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13453 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13454 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13455 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13456 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13457 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13458 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13459 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13460 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13461 (STRCPY): Support SSE2 and SSSE3 versions.
13462
d5495a11
UD
134632011-06-24 Ulrich Drepper <drepper@gmail.com>
13464
13465 [BZ #12874]
13466 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13467 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13468 kernels which artificially limit size of requests.
13469
0b1cbaae
L
134702011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13471
13472 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13473 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13474 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13475 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13476 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13477 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13478 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13479 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13480 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13481 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13482 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13483 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13484 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13485 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13486 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13487 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13488 Enable unaligned load optimization for Intel Core i3, i5 and i7
13489 processors.
13490 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13491 Define.
13492 (index_Fast_Unaligned_Load): Define.
13493 (HAS_FAST_UNALIGNED_LOAD): Define.
13494
07f494a0
MP
134952011-06-23 Marek Polacek <mpolacek@redhat.com>
13496
13497 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13498
fa3fc0fe
UD
134992011-06-22 Ulrich Drepper <drepper@gmail.com>
13500
13501 [BZ #12907]
13502 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13503 until it is clear that the information is realy needed.
13504 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13505
e12df166
AS
135062011-06-22 Andreas Schwab <schwab@redhat.com>
13507
13508 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13509
852eb34d
UD
135102011-06-22 Ulrich Drepper <drepper@gmail.com>
13511
84e2a551
UD
13512 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13513 /sys/devices/system/cpu/online if it is usable.
13514
852eb34d
UD
13515 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13516 reading the information from the /proc filesystem to once a second.
13517
6e502e19
UD
135182011-06-21 Andreas Jaeger <aj@suse.de>
13519
13520 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13521 NULL after inclusion of kernel headers.
13522
75d39ff2
UD
135232011-06-21 Ulrich Drepper <drepper@gmail.com>
13524
51f9aa6a
UD
13525 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13526 calls to internal_setent.
13527
c0244a9d
UD
13528 [BZ #12885]
13529 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13530 addresses using gethostbyname4_r ignore IPv4 addresses.
13531
c5e3c2ae
UD
13532 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13533 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13534
75d39ff2
UD
13535 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13536
42675c6f
DM
135372011-06-20 David S. Miller <davem@davemloft.net>
13538
13539 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13540 inclusions.
13541 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13542
13543 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13544 (elf_irel): Use it.
13545 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13546 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13547 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13548 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13549 * sysdeps/x86_64/dl-irel.h: Likewise.
13550
13551 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13552 * elf/dl-sym.c: Likewise.
13553
57912a71
UD
135542011-06-15 Ulrich Drepper <drepper@gmail.com>
13555
13556 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13557 need to dereference resplen2.
13558
ee22793d
AS
135592011-06-14 Andreas Schwab <schwab@redhat.com>
13560
13561 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13562
a9e836b0
UD
135632011-06-15 Ulrich Drepper <drepper@gmail.com>
13564
77fb9117
UD
13565 * Makeconfig: Define vardbdir and inst_vardbdir.
13566 * nss/Makefile: Add rules to install db-Makefile.
13567
40c1b22c
UD
13568 * nss/nss_db/db-XXX.c: Cleanup.
13569
9f2da732
UD
13570 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13571 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13572 GLIBC_PRIVATE.
13573 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13574 * nss/makedb.c: Implement -g option to specify that value strings
13575 are generated and should not be added to table iterated over for
13576 get*ent calls.
13577 * nss/nss_db/db-initgroups.c: New file.
13578
82e9a1f7
UD
13579 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13580 interface.
13581
c41af17e
UD
13582 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13583 (internal_getgrouplist): Adjust to name change.
13584 Update use_initgroups_entry if this is not the first call.
13585 * nss/databases.def: Add initgroups entry.
13586
a9e836b0
UD
13587 * nss/makedb.c (compute_tables): Check result of multiple hash table
13588 sizes to minimize maximum chain length.
13589
2666d441
UD
135902011-06-14 Ulrich Drepper <drepper@gmail.com>
13591
13592 * Versions.def: Add entry for libnss_db.
13593 * shlib-versions: Likewise.
13594 * nss/Makefile: Add rules to build libnss_db.
13595 * nss/Versions: Add libnss_db information. Organize libnss_files
13596 entries better.
13597 * nss/db-Makefile: Add gshadow support. Change rules for the new
13598 makedb progra. Some minor improvements to generate smaller files.
13599 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13600 here from...
13601 * nss/makedb.c: ...here.
13602 Improve database format to be smaller and require less memory at
13603 runtime.
13604 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13605 db anymore.
13606 * nss/nss_db/db-netgrp.c: Likewise.
13607 * nss/nss_db/db-open.c: Likewise.
13608 * nss/nss_files/flies-XXX.x: Adjust comments.
13609 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13610 * nss/nss_files/files-grp.c: Likewise.
13611 * nss/nss_files/files-hosts.c: Likewise.
13612 * nss/nss_files/files-network.c: Likewise.
13613 * nss/nss_files/files-proto.c: Likewise.
13614 * nss/nss_files/files-pwd.c: Likewise.
13615 * nss/nss_files/files-rpc.c: Likewise.
13616 * nss/nss_files/files-service.c: Likewise.
13617 * nss/nss_files/files-sgrp.c: Likewise.
13618 * nss/nss_files/files-spwd.c: Likewise.
13619 * nss/nss_db/db-alias.c: Removed.
13620 * nss/nss_db/dummy-db.h: Removed.
13621
9ee76b5a
UD
136222011-06-02 Ulrich Drepper <drepper@gmail.com>
13623
13624 * nss/makedb.c: Rewritten to not use database library.
13625 * nss/Makefile: Update to build new makedb program.
13626
c71ca1f8
AJ
136272011-06-14 Andreas Jaeger <aj@suse.de>
13628
13629 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13630 memset declaration.
13631
3154bfb8
UD
136322011-06-10 Andreas Schwab <schwab@redhat.com>
13633
13634 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13635 tmpbuf.
13636
b350afab
RM
136372011-06-10 Roland McGrath <roland@hack.frob.com>
13638
decd4e50
RM
13639 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13640 * elf/Makefile ($(objpfx)ld.so): Likewise.
13641
5615eaf2
RM
13642 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13643 Don't list ld.so twice in dependencies.
13644
13645 * posix/bug-regex31.c: Include <stdlib.h>.
13646
13647 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13648
13649 * nis/nss_compat/compat-spwd.c
13650 (getspent_next_nss_netgr): Remove unused variable.
13651 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13652
13653 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13654 nonmembers" output to use the right array.
13655
13656 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13657
13658 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13659
13660 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13661 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13662 * catgets/gencat.c (read_input_file): Likewise.
13663 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13664
13665 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13666 variable definition inside #if's controlling its use.
13667
13668 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13669
13670 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13671
13672 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13673
13674 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13675 unreachable code.
13676
13677 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13678
b68e08db
RM
13679 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13680 * configure: Regenerated.
13681
b350afab
RM
13682 * Makerules: Revert last change.
13683 * elf/Makefile: Likewise.
13684
28368601
RM
136852011-06-09 Roland McGrath <roland@hack.frob.com>
13686
13687 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13688 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13689 (reloc-link): Likewise.
13690
11988f8f
UD
136912011-06-09 Ulrich Drepper <drepper@gmail.com>
13692
13693 * elf/Makefile: Add rules to build pldd.
13694 * elf/pldd.c: New file.
13695 * elf/pldd-xx.c: New file.
13696
e80fab37
UD
136972011-06-07 Ulrich Drepper <drepper@gmail.com>
13698
13699 * version.h: Update for 2.15 development version.
13700
9b849836
DM
137012011-06-07 David S. Miller <davem@davemloft.net>
13702
13703 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13704 ifuncs.
13705 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13706 elf_machine_lazy_rel): Likewise.
13707 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13708 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13709 elf_machine_lazy_rel): Likewise.
13710 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13711 dl_hwcap via passed in argument.
13712 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13713 Likewise.
13714
5a31b283
AK
137152011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13716
13717 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13718
069e52f8
RM
137192011-06-06 Roland McGrath <roland@hack.frob.com>
13720
13721 [BZ #12849]
13722 * manual/fdl-1.1.texi: New file, verbatim from:
13723 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13724 * manual/lgpl-2.1.texi: New file, verbatim from:
13725 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13726 * manual/Makefile (licenses): New variable, list those new file names.
13727 (texis): Use it.
13728 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13729
13730 * manual/fdl.texi: File removed.
13731 * manual/lesser.texi: File removed.
13732 * manual/libc.texinfo (Copying, Documentation License):
13733 Use new @include file names, put @appendix directive before @include.
13734
f16846a5
JJ
137352011-06-04 Jakub Jelinek <jakub@redhat.com>
13736
13737 [BZ #12841]
13738 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13739 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13740 (mq_open): Add __NTH.
13741
3d29045b
L
137422011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13743
13744 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13745 Assume Intel Core i3/i5/i7 processor if AVX is available.
13746
8c297311
UD
137472011-05-31 Ulrich Drepper <drepper@gmail.com>
13748
13749 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13750 typo.
13751
c8fc0c91
UD
137522011-05-31 Andreas Schwab <schwab@redhat.com>
13753
13754 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13755 memory. Use alloca_account. Fix memory leak when retrying.
13756
5b27a807
UD
137572011-05-31 Ulrich Drepper <drepper@gmail.com>
13758
356f8bc6
UD
13759 * version.h (RELEASE): Bump for 2.14 release.
13760 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13761
5b27a807
UD
13762 * config.make.in (RANLIB): Remove entry.
13763
01f16ab0
UD
137642011-05-30 Ulrich Drepper <drepper@gmail.com>
13765
41fce8bd
UD
13766 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13767 (libc.pot): Work around missing support for .ksh extension in xgettext.
13768
4769ae77
UD
13769 [BZ #12684]
13770 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13771 if both request failed.
13772 (send_dg): In case of server errors clear resplen or *resplen2.
13773
6b1e7d19
UD
13774 [BZ #12454]
13775 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13776 when there are multiple maps.
13777 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13778 (_dl_fini): Remove test here.
13779
01f16ab0
UD
13780 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13781
b1ebd700
UD
137822011-05-29 Ulrich Drepper <drepper@gmail.com>
13783
7ae22829
UD
13784 [BZ #12350]
13785 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13786 bit from old_res_options.
13787 (gaih_inet): Likewise.
13788
553149f6 13789 [BZ #11099]
18a84741 13790 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
13791 as signed.
13792
652ffab1
UD
13793 * resolv/res_init.c (res_setoptions): Make the code more compact.
13794
16985fd0
UD
13795 [BZ #11558]
13796 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13797 set RES_USEVC.
13798
0464f746
UD
13799 [BZ #11634]
13800 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13801
7d17596c
UD
13802 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13803
cf6bbbd7
UD
13804 [BZ #11781]
13805 * malloc/malloc.h: Declare malloc hook variables as volatile.
13806
13f1ab36
UD
13807 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13808 in last patch.
13809
b1ebd700
UD
13810 [BZ #11799]
13811 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 13812 raise in the comment.
80e2212d
UD
13813 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13814 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13815 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 13816
ce67228d
UD
138172011-05-28 Ulrich Drepper <drepper@gmail.com>
13818
8887a920
UD
13819 [BZ #12811]
13820 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13821 grow the buffers more if it already has to be sufficient.
13822 (build_wcs_upper_buffer): Likewise.
13823 * posix/regexec.c (check_matching): Likewise.
13824 (clean_state_log_if_needed): Likewise.
13825 (extend_buffers): Don't enlarge buffers beyond size of the input
13826 buffer.
13827 Patches mostly by Emil Wojak <emil@wojak.eu>.
13828 * posix/bug-regex32.c: New file.
13829 * posix/Makefile (tests): Add bug-regex32.
13830
4f031072
UD
13831 * locale/findlocale.c (_nl_find_locale): Return right away if
13832 _nl_explode_name failed.
13833 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13834
d0478f0c
UD
13835 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13836
de81b246
UD
13837 * debug/xtrace.sh: Unify messages.
13838 * malloc/memusage.sh: Likewise.
13839
c738465a
UD
13840 [BZ #12813]
13841 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13842 time symbol from vDSO. Substitute with vsyscall if not available.
13843 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13844 __vdso_time.
13845
f1f929d7
UD
13846 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13847 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13848 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13849 Add sendmmsg and internal_sendmmsg.
13850 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13851 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13852 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13853
ce67228d
UD
13854 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13855 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13856 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13857
e57420c6
UD
138582011-05-27 Ulrich Drepper <drepper@gmail.com>
13859
a8509ca5
UD
13860 [BZ #12813]
13861 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13862 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13863 available.
13864 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13865 __vdso_getcpu.
13866
e57420c6
UD
13867 [BZ #12814]
13868 * iconvdata/Makefile (tests): Add bug-iconv9.
13869 * iconvdata/bug-iconv9.c: New file.
13870
4d07db15
AS
138712011-05-27 Andreas Schwab <schwab@redhat.com>
13872
13873 [BZ #12814]
13874 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13875
ea486f69
JJ
138762011-05-25 Jakub Jelinek <jakub@redhat.com>
13877
13878 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13879 (struct user_regs_struct): Change intcs field back to cs.
13880
6f038433
UD
138812011-05-25 Ulrich Drepper <drepper@gmail.com>
13882
13883 * po/ja.po: Update from translation team.
13884
67f86a25
UD
138852011-05-23 Ulrich Drepper <drepper@gmail.com>
13886
13887 [BZ #12795]
13888 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13889 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13890
def7fbd6
AS
138912011-05-20 Andreas Schwab <schwab@redhat.com>
13892
13893 * stdlib/longlong.h: Update from GCC.
13894
f50ef8f1
AS
138952011-05-23 Andreas Schwab <schwab@redhat.com>
13896
13897 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13898 parameter name.
13899 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13900 Add parameter name.
13901 (__sysconf): Pass it down.
13902
de7ce8f1
UD
139032011-05-22 Ulrich Drepper <drepper@gmail.com>
13904
f2962a71
UD
13905 [BZ #12671]
13906 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13907 some situations.
13908 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13909 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13910 add in in __libc_use_alloca calls. Adjust callers.
13911 (glob): Use malloc in some situations.
13912
de7ce8f1
UD
13913 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13914 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13915 pltexit.
13916
aec84f53
UD
139172011-05-21 Ulrich Drepper <drepper@gmail.com>
13918
05bb4a68
UD
13919 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13920 and CLOCK_BOOTTIME_ALARM.
13921
7ea72f99
UD
13922 [BZ #12782]
13923 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13924 is returned.
13925
7e4afad5
UD
13926 * string/_strerror.c (__strerror_r): Print negative errors as signed
13927 numbers.
13928
8e211fec
UD
13929 [BZ #12777]
13930 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13931 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13932 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13933
f7d82dc9
UD
13934 * configure.in: Fix typo in redirection and correct removal of test
13935 files in two cases.
13936
cc9e536d
UD
13937 [BZ #12788]
13938 * locale/setlocale.c (new_composite_name): Fix test to check for
13939 identical name of all categories.
13940
aec84f53
UD
13941 [BZ #12792]
13942 * libio/filedoalloc.c (local_isatty): New function.
13943 (_IO_file_doallocate): Use local_isatty.
13944 * stdio-common/perror.c (perror): In case a new stream is used
13945 forward the stream error.
13946 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13947 error flag.
13948
78e64fdc
RT
139492011-05-20 Ulrich Drepper <drepper@gmail.com>
13950
34a9094f
UD
13951 [BZ #11869]
13952 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13953 alloca.
13954 * include/alloca.h (extend_alloca_account): Define.
13955
78e64fdc
RT
13956 [BZ #11857]
13957 * posix/regex.h: Fix comments with documentation of user-accessible
13958 fields after compilation and describe correct free'ing of pattern
13959 after re_compile_pattern.
13960 Patch by Reuben Thomas <rrt@sc3d.org>.
13961
457bddfc
RA
139622011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13963
13964 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13965 and -mno-altivec to prevent the compiler from using Altivec and/or
13966 VSX instructions when the corresponding registers are not available.
13967
a4527b51
AS
139682011-05-19 Andreas Schwab <schwab@redhat.com>
13969
13970 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13971
ed690b2f
UD
139722011-05-19 Ulrich Drepper <drepper@gmail.com>
13973
13974 * libio/freopen.c (freopen): Use __dup2, not dup2.
13975 * libio/freopen64.c (freopen64): Likewise.
13976
8db73634
L
139772011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13978
13979 [BZ #12775]
13980 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13981 * math/Makefile (tests): Add test-powl.
13982 (CFLAGS-test-powl.c): Define.
13983 * math/test-powl.c: New file.
13984
0a197a9d
L
139852011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13986
13987 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13988
ee30c380
UD
139892011-05-17 Ulrich Drepper <drepper@gmail.com>
13990
13991 [BZ #11837]
13992 * iconvdata/gb18030.c: Update to GB18020-2005.
13993
6ce75379
UD
139942011-05-16 Ulrich Drepper <drepper@gmail.com>
13995
a4b89fd8
AR
13996 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13997 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13998 Patch by Aharon Robbins <arnold@skeeve.com>.
13999
ea389b12
UD
14000 [BZ #11892]
14001 * stdlib/putenv.c (putenv): Don't always create copy of the variable
14002 on the stack.
14003
68a3f91f
UD
14004 [BZ #11895]
14005 * misc/pselect.c (__pselect): Handle timeout value errors hidden
14006 through underflows.
14007
15cc7dd1
UD
14008 [BZ #12766]
14009 * misc/error.c (error_at_line): Ensure file_name and old_file_name
14010 point to strings before performing equality test for error_one_per_line
14011 mode.
14012
f3799213
UD
14013 [BZ #11697]
14014 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
14015
d79a9c94
UD
14016 [BZ #11820]
14017 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14018 (struct user_fpregs_struct): Avoid __uint*_t types.
14019
56e5eb46
UD
14020 [BZ #6420]
14021 * malloc/mtrace.c (tr_where): Add additional parameter to point to
14022 symbol info. Use it instead of calling _dl_addr locally.
14023 (lock_and_info): New function.
14024 (tr_freehook): Call lock_and_info and pass symbol info as additional
14025 parameter to tr_where.
14026 (tr_mallochook): Likewise.
14027 (tr_reallochook): Likewise.
14028 (tr_memalignhook): Likewise.
14029
6ce75379
UD
14030 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
14031 used and couldn't be at all thread-safe.
14032
f8a3b5bf
UD
140332011-05-15 Ulrich Drepper <drepper@gmail.com>
14034
94b7cc37
UD
14035 * libio/freopen.c (freopen): Don't close old file descriptor
14036 before the new one is opened. Instead dup the new file descriptor
14037 to the old one after the new stream is created.
14038 * libio/freopen64.c (freopen64): Likewise.
14039 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
14040 * libio/fileops.c (_IO_new_file_close_it): Handle new
14041 _IO_FLAGS2_NOCLOSE flag.
14042 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
14043 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
14044 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
14045 _IO_FLAGS2_NOCLOSE flag.
14046 * include/unistd.h: Add hidden_proto for dup3.
14047 Define __have_dup3.
14048 * io/dup3.c: Define hidden symbol.
14049 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
14050
bd25564e
UD
14051 [BZ #7101]
14052 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
14053 when an incomplete long option is used.
14054 * posix/tst-getopt_long1.c: New file.
14055 * posix/Makefile (tests): Add tst-getopt_long1.
14056
c84cfef4
UD
14057 [BZ #10138]
14058 * scripts/config.guess: Update from autoconf-2.68.
14059 * scripts/config.sub: Likewise.
14060
3b85df27
UD
14061 [BZ #10157]
14062 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
14063 tests into ...
14064 (has_cpuclock): ...this. New function.
14065 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
14066 macro here based on has_cpuclock code.
14067
15a856b1
UD
14068 [BZ #10149]
14069 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14070 First byte (not low byte) is now always NUL.
14071 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
14072
05f399e6
UD
14073 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14074 Use non-cancelable interfaces.
14075
10a52685 14076 [BZ #9809]
94ecc67d
UD
14077 * locale/iso-639.def: Add entry for Sorani.
14078
f8a3b5bf
UD
14079 [BZ #11901]
14080 * include/stdlib.h: Move include protection to the right place.
14081 Define abort_msg_s. Declare __abort_msg with it.
14082 * stdlib/abort.c (__abort_msg): Adjust type.
14083 * assert/assert.c (__assert_fail_base): New function. Majority
14084 of code from __assert_fail. Allocate memory for __abort_msg with
14085 mmap.
14086 (__assert_fail): Now call __assert_fail_base.
14087 * assert/assert-perr.c: Remove bulk of implementation. Use
14088 __assert_fail_base.
14089 * include/assert.hL Declare __assert_fail_base.
14090 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
14091 mmap.
14092 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
14093
1af4e298
UD
140942011-05-14 Ulrich Drepper <drepper@gmail.com>
14095
f8a3b5bf 14096 [BZ #11952]
d26dfc60
MG
14097 [BZ #12453]
14098 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
14099 until all modules are registered in the DTV.
14100 * elf/Makefile: Add rules to build and run tst-tls19.
14101 * elf/tst-tls19.c: New file.
14102 * elf/tst-tls19mod1.c: New file.
14103 * elf/tst-tls19mod2.c: New file.
14104 * elf/tst-tls19mod3.c: New file.
14105 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
14106
2fc54d6f
UD
14107 [BZ #12083]
14108 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
14109 correctly.
14110
98d76b46
UD
14111 [BZ #12601]
14112 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
14113 two-byte sequence errors.
14114 * iconvdata/Makefile (tests): Add bug-iconv8.
14115 * iconvdata/bug-iconv8.c: New file.
14116
da3c19ef
UD
14117 [BZ #12626]
14118 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
14119 buf2 definition.
14120
ca408c15
UD
14121 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14122
d6f67f7d
UD
14123 [BZ #12432]
14124 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14125 (dummy_getcfa): New function.
14126 (init): Get _Unwind_GetCFA address, use dummy if not found.
14127 (backtrace_helper): In recursion check, also check whether CFA changes.
14128 (__backtrace): Completely initialize arg.
14129
1af4e298 14130 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
14131 storing incomplete byte sequence in state object. Avoid testing for
14132 guaranteed too small input if we know there is enough data available.
1af4e298 14133
da62f81b
AS
141342011-05-11 Andreas Schwab <schwab@redhat.com>
14135
14136 * Makeconfig (+link-pie): Indent.
14137 * Rules (binaries-pie): Define if $(have-fpie) and
14138 $(build-shared).
14139 (binaries-shared): Also filter out $(binaries-pie).
14140 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14141 * nscd/Makefile (others-pie): Add nscd.
14142 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14143 ($(objpfx)nscd): Remove command override.
14144 * login/Makefile (others-pie): Add pt_chown.
14145 ($(objpfx)pt_chown): Remove command override.
14146 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14147 remove command overrides.
14148
fcabc0f8
UD
141492011-05-13 Ulrich Drepper <drepper@gmail.com>
14150
20030ae6
UD
14151 * libio/tst_putwc.c: Fix error messages.
14152
fcabc0f8
UD
14153 [BZ #12724]
14154 * libio/fileops.c (_IO_new_file_close_it): Always flush when
14155 currently writing and seek to current position when not.
14156 * libio/Makefile (tests): Add bug-fclose1.
14157 * libio/bug-fclose1.c: New file.
14158
320a5dc0
PB
141592011-05-12 Ulrich Drepper <drepper@gmail.com>
14160
14161 [BZ #12511]
14162 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14163 don't set DF_1_NODELETE here.
14164 (do_lookup_x): When entering new entry test for copy relocation
14165 and if necessary set DF_1_NODELETE flag.
14166 * elf/tst-unique4.cc: New file.
14167 * elf/tst-unique4.h: New file.
14168 * elf/tst-unique4lib.cc: New file.
14169 * elf/Makefile: Add rules to build and run tst-unique4.
14170 Patch by Piotr Bury <pbury@goahead.com>.
14171
22836f52
UD
141722011-05-11 Ulrich Drepper <drepper@gmail.com>
14173
f574184a
UD
14174 [BZ #12052]
14175 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14176
e1fb097f
UD
14177 [BZ #12625]
14178 * misc/mntent_r.c (addmntent): Flush the stream after the output
14179
22836f52
UD
14180 [BZ #12393]
14181 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14182 (is_trusted_path_normalize): Skip initial colon. Append slash
14183 to empty buffer. Duplicate is_trusted_path code but allow
14184 constructed patch to be prefix.
14185 (is_dst): Allow $ORIGIN followed by /.
14186 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14187 Correct testing of result of is_trusted_path_normalize
14188 (decompose_rpath): Fix warning.
14189
7b3b0b2a
UD
141902011-05-10 Ulrich Drepper <drepper@gmail.com>
14191
14192 [BZ #11257]
14193 * grp/initgroups.c (internal_getgrouplist): When we found the service
14194 list through the initgroups entry in nsswitch.conf do not always
14195 continue on a successful lookup. Don't always use the
eac80ce2 14196 __nss_group_database value if it is set.
7b3b0b2a
UD
14197 * nss/nsswitch.conf (initgroups): Change action for successful db
14198 lookup to continue for compatibility.
14199
2a81eaa5
UD
142002011-05-09 Ulrich Drepper <drepper@gmail.com>
14201
be97a69e
UD
14202 [BZ #11532]
14203 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14204 and CP774 modules.
14205 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14206 and CP774 modules.
14207 * iconvdata/tst-tables.sh: Likewise.
14208 * iconvdata/cp770.c: New file.
14209 * iconvdata/cp771.c: New file.
14210 * iconvdata/cp772.c: New file.
14211 * iconvdata/cp773.c: New file.
14212 * iconvdata/cp774.c: New file.
14213 * iconvdata/testdata/CP770: New file.
14214 * iconvdata/testdata/CP770..UTF8: New file.
14215 * iconvdata/testdata/CP771: New file.
14216 * iconvdata/testdata/CP771..UTF8: New file.
14217 * iconvdata/testdata/CP772: New file.
14218 * iconvdata/testdata/CP772..UTF8: New file.
14219 * iconvdata/testdata/CP773: New file.
14220 * iconvdata/testdata/CP773..UTF8: New file.
14221 * iconvdata/testdata/CP774: New file.
14222 * iconvdata/testdata/CP774..UTF8: New file.
14223
14224 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14225 END CHARMAP line.
14226 * iconvdata/gen-8bit-gap.sh: Likewise.
14227 * iconvdata/gen-8bit.sh: Likewise.
14228
c1e9e399
UD
14229 * locale/iso-639.def: Add ary entry.
14230
24c55fb3 14231 [BZ #11258]
96b4b1b0
UD
14232 * locale/C-translit.h.in: Add U20A1 transliteration.
14233
bdc2f971
KB
14234 [BZ #12178]
14235 * locale/iso-639.def: Add wae entry.
14236 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14237
2952b117
UD
14238 [BZ #12545]
14239 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14240 for n.
14241
2a81eaa5
UD
14242 [BZ #12711]
14243 * locale/C-translit.h.in: Add entry for U20B9.
14244 Patch by pravin.d.s@gmail.com.
14245
28377d1b
UD
142462011-05-08 Ulrich Drepper <drepper@gmail.com>
14247
7fb90fb8
UD
14248 [BZ #12713]
14249 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14250 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
14251 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14252 in rtld. Use *stat64.
7fb90fb8 14253 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 14254 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 14255 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
14256 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14257 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14258 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14259 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14260 __fstatat64 macros.
7fb90fb8
UD
14261 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14262 * dirent/rewinddir.c: Add libc_hidden_def.
14263 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 14264 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 14265
28377d1b
UD
14266 * include/dirent.h (__alloc_dir): Add flags parameter.
14267 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14268 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14269 __alloc_dir.
14270 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14271 from fdopendir if O_CLOEXEC is already set.
14272
66bdbaa4
AM
142732011-03-15 Alan Modra <amodra@gmail.com>
14274
14275 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14276 l_tls_firstbyte_offset non-zero. Save padding offset in
14277 l_tls_firstbyte_offset for later use.
14278 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14279 freeing static tls block.
14280
95721191
JN
142812011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14282
14283 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14284 where #ifdef was intended. The intent is to prevent ARG_MAX from
14285 being defined by the kernel headers.
14286
f87dfb1f
UD
142872011-05-07 Ulrich Drepper <drepper@gmail.com>
14288
14289 [BZ #12734]
14290 * resolv/resolv.h: Define RES_NOTLDQUERY.
14291 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14292 no-tld-query and set RES_NOTLDQUERY.
14293 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14294 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14295 modern BIND to search name as TLD unless forbidden.
14296
47c3cd7a
UD
142972011-05-07 Petr Baudis <pasky@suse.cz>
14298 Ulrich Drepper <drepper@gmail.com>
14299
14300 [BZ #12393]
14301 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14302 (is_trusted_path): ...to here.
c1e9ea35 14303 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 14304 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 14305 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 14306
8a35c912
PP
143072011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14308
14309 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14310 __BEGIN/__END_DECLS.
14311
acd41f47
UD
143122011-05-06 Ulrich Drepper <drepper@gmail.com>
14313
14314 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14315 NSS_STATUS_NOTFOUND if no record was found.
14316
597df647
AS
143172011-05-05 Andreas Schwab <schwab@redhat.com>
14318
14319 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14320 (headers-not-in-tirpc): Remove rpc/netdb.h
14321 * resolv/netdb.h: Revert last change.
14322
b9af1301
PP
143232011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14324
14325 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14326 circular dependency between libgcc.a and libc.a.
14327
4e34d5f5
AS
143282011-05-05 Andreas Schwab <schwab@redhat.com>
14329
14330 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14331 * nis/Makefile: Don't install rpcsvc/*.
14332 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14333 instead of <rpc/types.h>.
14334 (MAXHOSTNAMELEN): Define.
14335
00ee369c
AS
143362011-05-03 Andreas Schwab <schwab@redhat.com>
14337
14338 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14339
0b592a30
MB
143402011-04-28 Maciej Babinski <mbabinski@google.com>
14341
14342 [BZ #12714]
14343 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14344 gethostbyname4_r when IPv6 results are possible.
14345
6e04cbbe
UD
143462011-05-02 Ulrich Drepper <drepper@gmail.com>
14347
14348 [BZ #12723]
14349 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14350 _PC_PIPE_BUF handling.
14351
e4ecafe0
BH
143522011-04-30 Bruno Haible <bruno@clisp.org>
14353
14354 [BZ #12717]
14355 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14356 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14357 to 'int'.
14358 * inet/getnameinfo.c (getnameinfo): Likewise.
14359
125ee683
UD
143602011-04-29 Ulrich Drepper <drepper@gmail.com>
14361
14362 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14363 to groups setting in database lookup.
14364 * nss/nsswitch.conf: Add initgroups entry.
14365
b722481a
EB
143662011-04-22 Ulrich Drepper <drepper@gmail.com>
14367
14368 [BZ #12685]
14369 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14370 mode string.
14371 Patch by Eric Blake <eblake@redhat.com>.
14372
4df46dbd
L
143732011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14374
14375 * sunrpc/Makefile (need-export-routines): Add svc_run.
14376 (routines): Remove svc_run.
14377 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14378 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14379 * sunrpc/svc_run.c (svc_run): Likewise.
14380 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14381
e84142d2
UD
143822011-04-21 Ulrich Drepper <drepper@gmail.com>
14383
14384 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14385 problem in reallocation in last patch.
14386
877175d8
UD
143872011-04-20 Ulrich Drepper <drepper@gmail.com>
14388
14389 * sunrpc/Makefile: Move inclusion of Rules.
14390
ab8eed78
UD
143912011-04-19 Ulrich Drepper <drepper@gmail.com>
14392
14393 * nss/nss_files/files-initgroups.c: New file.
14394 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14395 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14396 _nss_files_initgroups_dyn.
14397
e3d8f584
RS
143982011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14399
14400 * elf/elf.h (R_ARM_IRELATIVE): Define.
14401
af190f45
UD
144022011-04-19 Ulrich Drepper <drepper@gmail.com>
14403
14404 * po/ru.po: Update from translation team.
14405
53cf59ef
UD
144062011-04-17 Ulrich Drepper <drepper@gmail.com>
14407
14408 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14409 dependencies.
14410
4c559bcd
MF
144112011-02-06 Mike Frysinger <vapier@gentoo.org>
14412
14413 [BZ #12653]
14414 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14415 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14416 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14417 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14418 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14419
4420675c
AS
144202011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14421
14422 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14423 differing bytes.
14424 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14425 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14426 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14427
75ea32ab
UD
144282011-04-17 Ulrich Drepper <drepper@gmail.com>
14429
14430 [BZ #12420]
14431 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14432 storing it.
14433 * stdlib/bug-getcontext.c: New file.
14434 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14435
27390476
AK
144362011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14437
14438 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14439 instructions into .machine "z9-109".
14440 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14441 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14442
10442705
AK
144432011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14444
14445 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14446 between environment variables and auxiliary vector.
14447
7b57bfe5
UD
144482011-04-16 Ulrich Drepper <drepper@gmail.com>
14449
14450 * Makefile: Add rules to build linkobj/libc.so.
14451 * include/libc-symbols.h: Define libc_hidden_nolink.
14452 * include/rpc/auth.h: Mark functions which are to be hidden.
14453 * include/rpc/auth_des.h: Likewise.
14454 * include/rpc/auth_unix.h: Likewise.
14455 * include/rpc/clnt.h: Likewise.
14456 * include/rpc/des_crypt.h: Likewise.
14457 * include/rpc/key_prot.h: Likewise.
14458 * include/rpc/pmap_clnt.h: Likewise.
14459 * include/rpc/pmap_prot.h: Likewise.
14460 * include/rpc/pmap_rmt.h: Likewise.
14461 * include/rpc/rpc_msg.h: Likewise.
14462 * include/rpc/svc.h: Likewise.
14463 * include/rpc/svc_auth.h: Likewise.
14464 * include/rpc/xdr.h: Likewise.
14465 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14466 * nss/Makefile: Likewise.
14467 * sunrpc/Makefile: Don't install headers. Build library with normal
14468 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14469 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14470 for the compat linking library. Remove use of INTDEF/INTUSE.
14471 * sunrpc/auth_none.c: Likewise.
14472 * sunrpc/auth_unix.c: Likewise.
14473 * sunrpc/authdes_prot.c: Likewise.
14474 * sunrpc/authuxprot.c: Likewise.
14475 * sunrpc/clnt_gen.c: Likewise.
14476 * sunrpc/clnt_perr.c: Likewise.
14477 * sunrpc/clnt_raw.c: Likewise.
14478 * sunrpc/clnt_simp.c: Likewise.
14479 * sunrpc/clnt_tcp.c: Likewise.
14480 * sunrpc/clnt_udp.c: Likewise.
14481 * sunrpc/clnt_unix.c: Likewise.
14482 * sunrpc/des_crypt.c: Likewise.
14483 * sunrpc/des_soft.c: Likewise.
14484 * sunrpc/get_myaddr.c: Likewise.
14485 * sunrpc/key_call.c: Likewise.
14486 * sunrpc/key_prot.c: Likewise.
14487 * sunrpc/netname.c: Likewise.
14488 * sunrpc/pm_getmaps.c: Likewise.
14489 * sunrpc/pm_getport.c: Likewise.
14490 * sunrpc/pmap_clnt.c: Likewise.
14491 * sunrpc/pmap_prot.c: Likewise.
14492 * sunrpc/pmap_prot2.c: Likewise.
14493 * sunrpc/pmap_rmt.c: Likewise.
14494 * sunrpc/publickey.c: Likewise.
14495 * sunrpc/rpc_cmsg.c: Likewise.
14496 * sunrpc/rpc_common.c: Likewise.
14497 * sunrpc/rpc_dtable.c: Likewise.
14498 * sunrpc/rpc_prot.c: Likewise.
14499 * sunrpc/rpc_thread.c: Likewise.
14500 * sunrpc/rtime.c: Likewise.
14501 * sunrpc/svc.c: Likewise.
14502 * sunrpc/svc_auth.c: Likewise.
14503 * sunrpc/svc_authux.c: Likewise.
14504 * sunrpc/svc_raw.c: Likewise.
14505 * sunrpc/svc_run.c: Likewise.
14506 * sunrpc/svc_simple.c: Likewise.
14507 * sunrpc/svc_tcp.c: Likewise.
14508 * sunrpc/svc_udp.c: Likewise.
14509 * sunrpc/svc_unix.c: Likewise.
14510 * sunrpc/svcauth_des.c: Likewise.
14511 * sunrpc/xcrypt.c: Likewise.
14512 * sunrpc/xdr.c: Likewise.
14513 * sunrpc/xdr_array.c: Likewise.
14514 * sunrpc/xdr_float.c: Likewise.
14515 * sunrpc/xdr_intXX_t.c: Likewise.
14516 * sunrpc/xdr_mem.c: Likewise.
14517 * sunrpc/xdr_rec.c: Likewise.
14518 * sunrpc/xdr_ref.c: Likewise.
14519 * sunrpc/xdr_sizeof.c: Likewise.
14520 * sunrpc/xdr_stdio.c: Likewise.
14521
e6c61494
UD
145222011-04-10 Ulrich Drepper <drepper@gmail.com>
14523
14524 [BZ #12650]
14525 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14526 * sysdeps/ia64/dl-tls.h: Likewise.
14527 * sysdeps/powerpc/dl-tls.h: Likewise.
14528 * sysdeps/s390/dl-tls.h: Likewise.
14529 * sysdeps/sh/dl-tls.h: Likewise.
14530 * sysdeps/sparc/dl-tls.h: Likewise.
14531 * sysdeps/x86_64/dl-tls.h: Likewise.
14532 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14533
34fe483e
AS
145342011-03-14 Andreas Schwab <schwab@redhat.com>
14535
14536 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14537 rpath element also skip the following colon.
14538 (expand_dynamic_string_token): Add is_path parameter and pass
14539 down to DL_DST_REQUIRED and _dl_dst_substitute.
14540 (decompose_rpath): Call expand_dynamic_string_token with
14541 non-zero is_path. Ignore empty rpaths.
14542 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14543 with zero is_path.
14544
f12a32e6
AS
145452011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14546
14547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14548 Make cancelable.
14549
38a7d692
UD
145502011-04-09 Ulrich Drepper <drepper@gmail.com>
14551
14552 [BZ #12655]
14553 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14554 Patch by Filipe David Manana <fdmanana@apache.org>.
14555
e451d22b
AS
145562011-04-07 Andreas Schwab <schwab@redhat.com>
14557
14558 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14559 Maintain aligned stack.
14560 (CHECK_RSP): Remove unused macro.
14561
dedc7c7b
UD
145622011-04-03 Ulrich Drepper <drepper@gmail.com>
14563
14564 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14565 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14566
94521213
UD
145672011-04-02 Ulrich Drepper <drepper@gmail.com>
14568
14569 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14570
8cb700c0 14571 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 14572
0354e355
L
145732011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14574
14575 [BZ #12518]
14576 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14577 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14578 * sysdeps/x86_64/memmove.c: New file.
14579 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14580 (memcpy): Renamed to ...
14581 (__new_memcpy): This.
14582 (memcpy): Provide GLIBC_2_14 memcpy.
14583 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14584 (memcpy): Provide GLIBC_2_2_5 memcpy.
14585
8593482f
UD
145862011-04-01 Ulrich Drepper <drepper@gmail.com>
14587
14588 [BZ #12631]
14589 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14590
81a5726b
AS
145912011-03-30 Andreas Schwab <schwab@redhat.com>
14592
14593 * misc/syncfs.c: New file.
14594 * misc/Makefile (routines): Add syncfs.
14595 * posix/unistd.h: Declare syncfs.
14596 * sysdeps/unix/syscalls.list: Add syncfs.
14597
00e5419f
AS
145982011-04-01 Andreas Schwab <schwab@redhat.com>
14599
14600 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14601 open_by_handle_at.
14602 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14603 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14604 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14605 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14606 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14607 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14608 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14609
748876bf
UD
146102011-04-01 Ulrich Drepper <drepper@gmail.com>
14611
658e451d
UD
14612 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14613 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14614 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14615 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14616 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14617 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14618 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14619
748876bf
UD
14620 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14621 sync_file_range.c with -fexceptions.
14622 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14623 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14624 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14625 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14626 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14627 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14628 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
14629 sync_file_range as cancellation point
14630 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14631 now a wrapper around __call_sync_file_range with cancellation handling.
14632 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14633 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14634 function name to __call_sync_file_range.
14635 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14636 Add call_sync_file_range.
748876bf 14637
6e63d5e1
AS
146382011-04-01 Andreas Schwab <schwab@redhat.com>
14639
14640 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 14641 bits/timex.h.
6e63d5e1 14642
46998f74
UD
146432011-04-01 Ulrich Drepper <drepper@gmail.com>
14644
4c1423ed
UD
14645 * iconv/iconv.h: Fix typo in comment.
14646 * io/fcntl.h: Likewise.
14647 * libio/stdio.h: Likewise.
14648 * posix/spawn.h: Likewise.
14649 * posix/unistd.h: Likewise.
14650 * stdlib/stdlib.h: Likewise.
14651 * time/time.h: Likewise.
14652 * wcsmbs/wchar.h: Likewise.
14653
158648c0
UD
14654 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14655 open_by_handle): Add.
14656 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14657 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14658 Augment a few comments.
14659 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14660 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14661 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14662 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14663 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14664 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14665 open_by_handle.
14666
46998f74
UD
14667 * io/fcntl.h (AT_EMPTY_PATH): Define.
14668
83fe108b
UD
146692011-03-30 Ulrich Drepper <drepper@gmail.com>
14670
14671 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14672 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14673 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14674 to...
14675 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
14676 * Versions.def: Add GLIBC_2.14.
14677 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14678 Export.
83fe108b 14679
bb242059
UD
146802011-03-22 Ulrich Drepper <drepper@gmail.com>
14681
14682 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14683 round counter.
14684 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14685
c97a1282
L
146862011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14687
14688 [BZ #12597]
14689 * string/test-strncmp.c (do_page_test): New function.
14690 (check2): Likewise.
14691 (test_main): Call check2.
14692 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14693
2a115601
UD
146942011-03-20 Ulrich Drepper <drepper@gmail.com>
14695
14696 [BZ #12587]
14697 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14698 Handle cache information in CPU leaf 4.
14699 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14700
8126d904
UD
147012011-03-18 Ulrich Drepper <drepper@gmail.com>
14702
042c49c6 14703 [BZ #12583]
8126d904
UD
14704 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14705 character representation.
14706 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14707
ccfe366e
RA
147082011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14709
14710 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14711 END(__isnan) to END(__isnanf) to match function entry point/label
14712 EALIGN(__isnanf,...).
14713
c6e13027
JJ
147142011-03-10 Jakub Jelinek <jakub@redhat.com>
14715
14716 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14717
33f85a3f
UD
147182011-03-10 Ulrich Drepper <drepper@gmail.com>
14719
028478fa
UD
14720 [BZ #12510]
14721 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14722 copy from the symbol referenced in the relocation to initialize the
14723 used variable.
14724 Patch by Piotr Bury <pbury@goahead.com>.
14725 * elf/Makefile: Add rules to build and tst-unique3.
14726 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14727 * elf/tst-unique3.cc: New file.
14728 * elf/tst-unique3.h: New file.
14729 * elf/tst-unique3lib.cc: New file.
14730 * elf/tst-unique3lib2.cc: New file.
14731
33f85a3f
UD
14732 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14733
03592fc7
MF
147342011-03-10 Mike Frysinger <vapier@gentoo.org>
14735
14736 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14737 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14738 to _start.
03592fc7 14739
6a5ee102
UD
147402011-03-06 Ulrich Drepper <drepper@gmail.com>
14741
14742 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14743 to-be-loaded object along a path to loader is ld.so.
14744
7e4ba49c
HJ
147452011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14746 Ulrich Drepper <drepper@gmail.com>
14747
14748 * sysdeps/x86_64/memset.S: After aligning destination, code
14749 branches to different locations depending on the value of
14750 misalignment, when multiarch is enabled. Fix this.
14751
147522011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14753
14754 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14755 Set _x86_64_preferred_memory_instruction for AMD processsors.
14756 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14757 Set bit_Prefer_SSE_for_memop for AMD processors.
14758
13a804de
UD
147592011-03-04 Ulrich Drepper <drepper@gmail.com>
14760
14761 * libio/fmemopen.c (fmemopen): Optimize a bit.
14762
9d25c392
AS
147632011-03-03 Andreas Schwab <schwab@redhat.com>
14764
14765 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14766
a5543c6a
RM
147672011-03-03 Roland McGrath <roland@redhat.com>
14768
14769 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14770
012d35f7
DM
147712011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14772
7e4ba49c 14773 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
14774 __bzero_ultra1 instead of __memset_ultra1.
14775
4bff6e01
AS
147762011-02-23 Andreas Schwab <schwab@redhat.com>
14777 Ulrich Drepper <drepper@gmail.com>
14778
14779 [BZ #12509]
14780 * include/link.h (struct link_map): Add l_orig_initfini.
14781 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14782 returning unsuccessfully.
14783 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14784 close of a file loaded at startup, restore the original l_initfini
14785 list.
14786 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14787 list, store the pointer.
14788 * elf/Makefile ($(objpfx)noload-mem): New rule.
14789 (noload-ENV): Define.
14790 (tests): Add $(objpfx)noload-mem.
14791 * elf/noload.c: Include <memcheck.h>.
14792 (main): Call mtrace. Close all opened handles.
14793
f2092faf
AS
147942011-02-17 Andreas Schwab <schwab@redhat.com>
14795
14796 [BZ #12454]
14797 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14798 dependencies are missing.
14799
6c8a2e88
ST
148002011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14801
f2092faf 14802 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
14803 Hurd needs munmap.
14804 * sysdeps/mach/hurd/ifreq.h: New file.
14805
84a42118
PB
148062011-01-27 Petr Baudis <pasky@suse.cz>
14807 Ulrich Drepper <drepper@gmail.com>
14808
071f805e 14809 [BZ 12445]#
84a42118
PB
14810 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14811 to extend_alloca().
14812 * stdio-common/bug23.c: New file.
14813 * stdio-common/Makefile (tests): Add bug23.
14814
e23fe25b
AS
148152010-09-28 Andreas Schwab <schwab@redhat.com>
14816 Ulrich Drepper <drepper@gmail.com>
14817
14818 [BZ #12489]
14819 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14820 before performing relro protection. At old place add assertion
14821 to make sure nothing changed.
14822
d3f02e10
NS
148232011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14824 Glauber de Oliveira Costa <glommer@gmail.com>
14825
14826 * elf/elf.h: Add new ARM TLS relocs.
14827
d55fd7a5
RA
148282011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14829
14830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14831 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14832 cast from r3.
14833 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14834 'tests' variable.
14835 * sysdeps/wordsize-64/tst-writev.c: New file.
14836
2206397e
RA
148372011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14838
14839 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14840 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14841 insns in _dl_start to prevent a TOC reference before relocs are
14842 resolved.
14843
e9433893
UD
148442011-02-15 Ulrich Drepper <drepper@gmail.com>
14845
14846 [BZ #12469]
14847 * Makeconfig: Remove RANLIB definition.
14848 * Makerules: Don't use RANLIB.
14849 * aclocal.m4: Remove ranlib test.
14850 * configure.in: No need to check for ranlib.
14851 * elf/rtld-Rules: Don't use RANLIB.
14852
f75286c6
ST
148532011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14854
8e31c82d
ST
14855 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14856 protection macro.
14857 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14858 inclusion protection macro.
14859
f75286c6
ST
14860 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14861 SIGRTMIN and SIGRTMAX and print information in that case only when
14862 SIGRTMIN is defined.
14863
c1d0e639
JJ
148642011-02-11 Jakub Jelinek <jakub@redhat.com>
14865
14866 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14867 arginfo fn returning -1.
14868
14869 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14870 and thousands string is zero terminated.
14871
edf9294e
AS
148722011-02-03 Andreas Schwab <schwab@redhat.com>
14873
14874 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14875 sysdeps/unix/sysv/linux/bits/socket.h.
14876
2b7e92df
ST
148772011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14878
edf9294e
AS
14879 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14880 (__CPU_COUNT): Remove old macros.
14881 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14882 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14883 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
14884 (__sched_cpualloc, __sched_cpufree): Add declarations.
14885
a4c7ea7b
UD
148862011-02-05 Ulrich Drepper <drepper@gmail.com>
14887
14888 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14889 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14890 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14891 (readdhstai): Return value of addhstaiX call.
14892 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14893 (addgrbyX): Return value returned by cache_addgr.
14894 (readdgrbyname): Return value returned by addgrbyX.
14895 (readdgrbygid): Likewise.
14896 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14897 (addpwbyX): Return value returned by cache_addpw.
14898 (readdpwbyname): Return value returned by addhstbyX.
14899 (readdpwbyuid): Likewise.
14900 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14901 (addservbyX): Return value returned by cache_addserv.
14902 (readdservbyname): Return value returned by addservbyX:
14903 (readdservbyport): Likewise.
14904 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14905 (addhstbyX): Return value returned by cache_addhst.
14906 (readdhstbyname): Return value returned by addhstbyX.
14907 (readdhstbyaddr): Likewise.
14908 (readdhstbynamev6): Likewise.
14909 (readdhstbyaddrv6): Likewise.
14910 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14911 (readdinitgroups): Return value returned by addinitgroupsX.
14912 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14913 (prune_cache): Keep track of timeout value of re-added entries.
14914 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14915 * nscd/nscd.h: Adjust prototypes of readd* functions.
14916
a0bf67cc
RM
149172011-02-04 Roland McGrath <roland@redhat.com>
14918
14919 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14920 (nis_stats): Likewise.
14921 * nis/nis_modify.c (nis_modify): Likewise.
14922 * nis/nis_remove.c (nis_remove): Likewise.
14923 * nis/nis_add.c (nis_add): Likewise.
14924
14925 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14926
14927 * posix/fnmatch_loop.c: Add some consts.
14928
14929 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14930
435b95eb
L
149312011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14932
14933 [BZ #12460]
14934 * config.make.in (config-cflags-novzeroupper): Define.
14935 * configure.in: Substitute libc_cv_cc_novzeroupper.
14936 * elf/Makefile (AVX-CFLAGS): Define.
14937 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14938 (CFLAGS-tst-auditmod4a.c): Likewise.
14939 (CFLAGS-tst-auditmod4b.c): Likewise.
14940 (CFLAGS-tst-auditmod6b.c): Likewise.
14941 (CFLAGS-tst-auditmod6c.c): Likewise.
14942 (CFLAGS-tst-auditmod7b.c): Likewise.
14943 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14944
8517b15e
UD
149452011-02-02 Ulrich Drepper <drepper@gmail.com>
14946
14947 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14948 function to the callback.
14949 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14950
10a656fe
AS
149512011-02-02 Andreas Schwab <schwab@redhat.com>
14952
14953 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14954 of errno.
14955
968dad0a
UD
149562011-01-19 Ulrich Drepper <drepper@gmail.com>
14957
9f94d2ea 14958 [BZ #11724]
968dad0a
UD
14959 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14960 of constructors.
14961 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14962 of destructors.
14963 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14964
14965 [BZ #11724]
14966 * elf/Makefile: Add rules to build and run new test.
14967 * elf/tst-initorder.c: New file.
14968 * elf/tst-initorder.exp: New file.
14969 * elf/tst-initordera1.c: New file.
14970 * elf/tst-initordera2.c: New file.
14971 * elf/tst-initordera3.c: New file.
14972 * elf/tst-initordera4.c: New file.
14973 * elf/tst-initorderb1.c: New file.
14974 * elf/tst-initorderb2.c: New file.
14975 * elf/tst-order-a1.c: New file.
14976 * elf/tst-order-a2.c: New file.
14977 * elf/tst-order-a3.c: New file.
14978 * elf/tst-order-a4.c: New file.
14979 * elf/tst-order-b1.c: New file.
14980 * elf/tst-order-b2.c: New file.
14981 * elf/tst-order-main.c: New file.
14982 New test case by George Gensure <werkt0@gmail.com>.
14983
86e92359
UD
149842010-10-01 Andreas Schwab <schwab@redhat.com>
14985
14986 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14987 decoding ACE if AI_CANONIDN.
14988
5d5732b0
UD
149892011-01-18 Ulrich Drepper <drepper@gmail.com>
14990
14991 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14992
a77e8cbc
UD
149932011-01-17 Ulrich Drepper <drepper@gmail.com>
14994
6392473f
UD
14995 * version.h (RELEASE): Bump for 2.13 release.
14996 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14997
620a0529
UD
14998 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14999
18ba70a5
UD
15000 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
15001 MADV_NOHUGEPAGE.
32465c3e
UD
15002 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
15003 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15004 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15005 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15006 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15007 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15008
c0dafcf1
UD
15009 * posix/getconf.c: Update copyright year.
15010 * catgets/gencat.c: Likewise.
15011 * csu/version.c: Likewise.
15012 * debug/catchsegv.sh: Likewise.
15013 * debug/xtrace.sh: Likewise.
15014 * elf/ldconfig.c: Likewise.
15015 * elf/ldd.bash.in: Likewise.
15016 * elf/sprof.c (print_version): Likewise.
15017 * iconv/iconv_prog.c: Likewise.
15018 * iconv/iconvconfig.c: Likewise.
15019 * locale/programs/locale.c: Likewise.
15020 * locale/programs/localedef.c: Likewise.
15021 * malloc/memusage.sh: Likewise.
15022 * malloc/mtrace.pl: Likewise.
15023 * nscd/nscd.c (print_version): Likewise.
15024 * nss/getent.c: Likewise.
15025
a77e8cbc
UD
15026 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
15027 PF_CAIF, and PF_ALG.
15028 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15029
77e8bddf
AS
150302011-01-16 Andreas Schwab <schwab@linux-m68k.org>
15031
1f20b93a
AS
15032 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
15033 (modules-names): Use them.
15034 (ifunc-test-modules, ifunc-pie-tests): Define.
15035 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
15036 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
15037 (test-extras): Likewise.
15038 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
15039 $(compile-command.c).
15040 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
15041 (all-built-dso): Define.
15042 (check-textrel.out, check-execstack.out): Depend on it.
15043
77e8bddf
AS
15044 * configure.in: Don't override --enable-multi-arch.
15045
bc425b33
UD
150462011-01-15 Ulrich Drepper <drepper@gmail.com>
15047
15048 [BZ #6812]
15049 * nscd/hstcache.c (tryagain): Define.
15050 (cache_addhst): Return tryagain not notfound for temporary errors.
15051 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
15052 failed.
15053
794c3ad3
UD
150542011-01-14 Ulrich Drepper <drepper@gmail.com>
15055
70181fdd
UD
15056 [BZ #10563]
15057 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
15058 to make the syscall.
15059 * sysdeps/unix/sysv/linux/setgroups.c: New file.
15060
794c3ad3
UD
15061 [BZ #12378]
15062 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
15063 and fall back to matching as normal character if the string ends before
15064 the matching ']' is found. This is what POSIX requires.
15065 * posix/testfnm.c: Adjust test result.
15066 * posix/globtest.sh: Adjust test result. Add new test.
15067 * posix/tst-fnmatch.input: Likewise.
15068 * posix/tst-fnmatch2.c: Add new test.
15069
68dc9497
AS
150702010-12-28 Andreas Schwab <schwab@linux-m68k.org>
15071
15072 * elf/Makefile (check-execstack): Revert last change. Depend on
15073 check-execstack.h.
15074 (check-execstack.h): New target.
15075 (generated): Add check-execstack.h.
15076 * elf/check-execstack.c: Include "check-execstack.h".
15077 (main): Revert last change.
15078 (handle_file): Return zero if GNU_STACK is absent and
15079 DEFAULT_STACK_PERMS doesn't include PF_X.
15080
451f001b
UD
150812011-01-13 Ulrich Drepper <drepper@gmail.com>
15082
cfa28e56
UD
15083 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
15084 in child fails because the descriptor is already closed.
8cf8ce17
UD
15085 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
15086 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
15087 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 15088
1086d70d
UD
15089 [BZ #12397]
15090 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
15091 syscall.
15092
451f001b
UD
15093 [BZ #10484]
15094 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
15095 temporary buffer used to handle multi lookups locally.
a85b5cb4 15096 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 15097
08769175
UD
150982011-01-12 Ulrich Drepper <drepper@gmail.com>
15099
15100 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
15101 loader is ld.so.
15102
5e49c52e
UD
151032011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
15104
15105 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
15106 alignment for SSE2.
15107
60522a5f
UD
151082011-01-12 Ulrich Drepper <drepper@gmail.com>
15109
15110 [BZ #12394]
15111 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
15112 characters. When rounding increased number of integer digits recompute
15113 number of groups.
15114 * stdio-common/tst-grouping.c: New file.
15115 * stdio-common/Makefile: Add rules to build and run tst-grouping.
15116
f257bbd7
UD
151172011-01-09 Ulrich Drepper <drepper@gmail.com>
15118
15119 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15120 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
15121
15122 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15123 void.
15124 * bits/select.h: Likewise.
15125
fa9c15cb
UD
151262011-01-08 Ulrich Drepper <drepper@gmail.com>
15127
15128 * po/ja.po: Update from translation team.
15129
16c2895f
DM
151302011-01-04 David S. Miller <davem@sunset.davemloft.net>
15131
15132 [BZ #11155]
15133 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15134 implementation just like for lxstat, fxstatat, et al.
15135
2543fef2
JM
151362010-12-27 Jim Meyering <meyering@redhat.com>
15137
15138 [BZ #12348]
15139 * posix/regexec.c (build_trtable): Return failure indication upon
15140 calloc failure. Otherwise, re_search_internal could infloop on OOM.
15141
98727dbe
UD
151422010-12-25 Ulrich Drepper <drepper@gmail.com>
15143
5bd6dc5c
UD
15144 [BZ #12201]
15145 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15146 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15147 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15148 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15149
97983464
UD
15150 [BZ #12207]
15151 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15152
98727dbe
UD
15153 [BZ #12204]
15154 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15155 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15156
4a531bb0
L
151572010-12-15 H.J. Lu <hongjiu.lu@intel.com>
15158
15159 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15160 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15161 script has SORT_BY_INIT_PRIORITY.
15162 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15163 NO_CTORS_DTORS_SECTIONS is defined.
15164 * elf/soinit.c: Likewise.
15165 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15166 NO_CTORS_DTORS_SECTIONS is defined.
15167 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15168 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15169 * sysdeps/sh/init-first.c: Likewise.
15170 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15171
07eb4b71
UD
151722010-12-24 Ulrich Drepper <drepper@gmail.com>
15173
15174 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15175 always use the slow path.
15176
30950a5f
RA
151772010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15178
15179 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15180 similar rule which adds the sysdep directories to the header search in
15181 order to pick up the correct platform stackinfo.h.
15182 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15183 perform test if it is, otherwise return successfully without testing.
15184 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15185 DEFAULT_STACK_PERMS define in stackinfo.h.
15186 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15187 defined in stackinfo.h.
15188 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15189 DEFAULT_STACK_PERMS defined in stackinfo.h.
15190 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15191 * sysdeps/ia64/stackinfo.h: Likewise.
15192 * sysdeps/s390/stackinfo.h: Likewise.
15193 * sysdeps/sh/stackinfo.h: Likewise.
15194 * sysdeps/sparc/stackinfo.h: Likewise.
15195 * sysdeps/x86_64/stackinfo.h: Likewise.
15196 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15197 PF_X for powerpc64. Retain PF_X for powerpc32.
15198
db753e2c
UD
151992010-12-19 Ulrich Drepper <drepper@gmail.com>
15200
14b697f7
UD
15201 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15202 accurately.
db753e2c
UD
15203 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15204 GETDENTS_64BIT_ALIGNED.
15205
28300719
UD
152062010-12-14 Ulrich Drepper <dreper@gmail.com>
15207
14b697f7 15208 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 15209
4f197237
AS
152102010-12-10 Andreas Schwab <schwab@redhat.com>
15211
dbb0472f
AS
15212 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15213 _GNU_SOURCE.
15214
4f197237
AS
15215 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15216 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15217 Remove __restrict.
15218 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15219 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15220
fb88ac72
UD
152212010-12-09 Ulrich Drepper <drepper@gmail.com>
15222
15223 [BZ #11655]
15224 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15225 are initialized.
15226
42acbb92
JJ
152272010-12-09 Jakub Jelinek <jakub@redhat.com>
15228
15229 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15230
c038d98d
UD
152312010-12-03 Ulrich Drepper <drepper@gmail.com>
15232
15233 * po/it.po: Update from translation team.
15234
3a4a2499
L
152352010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15236
15237 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15238 unused codes.
15239
1e24cf6e
UD
152402010-11-30 Ulrich Drepper <drepper@gmail.com>
15241
15242 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15243
a7690819
AS
152442010-11-24 Andreas Schwab <schwab@redhat.com>
15245
15246 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15247 specially.
15248 (gaih_getanswer_slice): Likewise.
15249
3bf8d1b1
JJ
152502010-10-20 Jakub Jelinek <jakub@redhat.com>
15251
15252 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15253
6db52fbb
PB
152542010-05-31 Petr Baudis <pasky@suse.cz>
15255
15256 [BZ #11149]
15257 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15258 silently even in the chroot mode.
15259
eaca7569
UD
152602010-11-22 Ulrich Drepper <drepper@gmail.com>
15261
15262 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15263 last patch a bit. Pretty printing
15264
3056dcdb
UD
152652010-05-31 Petr Baudis <pasky@suse.cz>
15266
15267 [BZ #10085]
15268 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15269 initialization of skip_initgroups_dyn.
15270
cf7c9078
UD
152712010-11-19 Ulrich Drepper <drepper@gmail.com>
15272
15273 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15274 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15275
a1fb5e3e
UD
152762010-11-16 Ulrich Drepper <drepper@gmail.com>
15277
15278 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15279
3540d66b
AS
152802010-11-11 Andreas Schwab <schwab@redhat.com>
15281
15282 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15283 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15284 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15285 ($(objpfx)tst-fnmatch-mem): New rule.
15286 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15287 * posix/tst-fnmatch.c (main): Call mtrace.
15288
13b69574
L
152892010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15290
15291 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15292 Support Intel processor model 6 and model 0x2c.
15293
da93d214
LM
152942010-11-10 Luis Machado <luisgpm@br.ibm.com>
15295
15296 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15297 signed comparison.
15298
8ca52c6e
L
152992010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15300
15301 [BZ #12205]
15302 * string/test-strncasecmp.c (check_result): New function.
15303 (do_one_test): Use it.
15304 (check1): New function.
15305 (test_main): Use it.
15306 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15307 Support strcasecmp and strncasecmp.
15308
69da074d
UD
153092010-11-08 Ulrich Drepper <drepper@gmail.com>
15310
15311 [BZ #12194]
15312 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15313 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15314
ff02d528
L
153152010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15316
15317 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15318 IFUNC support.
15319 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15320 memset-x86-64.
15321 * sysdeps/x86_64/multiarch/bzero.S: New file.
15322 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15323 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15324 * sysdeps/x86_64/multiarch/memset.S: New file.
15325 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15326 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15327 Set bit_Prefer_SSE_for_memop for Intel processors.
15328 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15329 Define.
15330 (index_Prefer_SSE_for_memop): Define.
15331 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15332
344d0b54
LM
153332010-11-04 Luis Machado <luisgpm@br.ibm.com>
15334
15335 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15336 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15337
c0dde15b
UD
153382010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15339
15340 [BZ #12191]
15341 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15342 (__x86_64_raw_data_cache_size_half): Likewise.
15343 (__x86_64_raw_shared_cache_size): Likewise.
15344 (__x86_64_raw_shared_cache_size_half): Likewise.
15345
15346 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15347 (__x86_64_raw_data_cache_size_half): Likewise.
15348 (__x86_64_raw_shared_cache_size): Likewise.
15349 (__x86_64_raw_shared_cache_size_half): Likewise.
15350 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15351 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15352 and __x86_64_raw_shared_cache_size_half. Round
15353 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15354 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15355 to multiple of 256 bytes.
15356
0e516e0e
MS
153572010-11-03 Ulrich Drepper <drepper@gmail.com>
15358
15359 [BZ #12167]
15360 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15361 of inacessible symlinks. Verify result of symlink before returning it.
15362 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15363 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15364
0e012e87
ER
153652010-10-28 Erich Ritz <erichritz@gmail.com>
15366
15367 * math/math.h (isinf): Fix typo in comment.
15368
de0ff7bc
UD
153692010-11-01 Ulrich Drepper <drepper@gmail.com>
15370
15371 * po/da.po: Update from translation team.
15372
fa41c84d
UD
153732010-10-26 Ulrich Drepper <drepper@gmail.com>
15374
15375 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15376 is added to the list.
15377
f0967738
AK
153782010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15379 Ulrich Drepper <drepper@gmail.com>
15380
15381 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15382 the global list here. Move code to...
15383 (_dl_add_to_namespace_list): ...here. New function.
15384 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15385 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15386 * elf/dl-load.c (lose): Don't remove the element from the list.
15387 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15388 (_dl_map_object): Likewise.
15389
153902010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
15391
15392 [BZ #12159]
15393 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15394 into all bytes of SSE register.
15395 Patch by Richard Li <richardpku@gmail.com>.
15396
f0967738 153972010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
15398
15399 [BZ #12140]
15400 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15401 perturbing.
15402
d0b9e94f
MB
154032010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15404
15405 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15406 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15407 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15408 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15410 submachine.
15411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15412
8e9f92e9
AS
154132010-10-22 Andreas Schwab <schwab@redhat.com>
15414
15415 * include/dlfcn.h (__RTLD_SECURE): Define.
15416 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15417 mode & __RTLD_SECURE instead.
15418 (open_path): Rename preloaded parameter to secure.
15419 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15420 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15421 * elf/dl-deps.c (openaux): Likewise.
15422 * elf/rtld.c (struct map_args): Remove is_preloaded.
15423 (map_doit): Don't use it.
15424 (dl_main): Likewise.
15425 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15426 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15427
bc96fbda
AS
154282010-09-09 Andreas Schwab <schwab@redhat.com>
15429
15430 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15431 (sysd-rules-targets): Remove duplicates.
15432 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15433 rtld-%.$o dependency.
15434
22cd1c9b
AS
154352010-10-18 Andreas Schwab <schwab@redhat.com>
15436
15437 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15438 _dl_map_object do it.
15439
18edac48
UD
154402010-10-19 Ulrich Drepper <drepper@gmail.com>
15441
15442 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15443 fast fma builtins, define the macros in the C99 standard.
15444 (FP_FAST_FMAF): Likewise.
15445 (FP_FAST_FMAL): Likewise.
15446 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15447
15448 * bits/mathdef.h: Update copyright year.
15449 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15450
d2050124
MM
154512010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15452
15453 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15454 builtins, define the macros in the C99 standard.
15455 (FP_FAST_FMAF): Likewise.
15456 (FP_FAST_FMAL): Likewise.
15457 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15458 multiply/add.
15459 (FP_FAST_FMAF): Likewise.
15460
475facd1
JJ
154612010-10-15 Jakub Jelinek <jakub@redhat.com>
15462
15463 [BZ #3268]
15464 * math/libm-test.inc (fma_test): Some new testcases.
15465 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15466 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15467 y and infinite z. Do multiplication by C already in long double.
15468 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15469 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15470 y and infinite z. Do bitwise or of inexact bit into u.d.
15471 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15472 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15473 * sysdeps/i386/fpu/s_fma.S: Removed.
15474 * sysdeps/i386/fpu/s_fmal.S: Removed.
15475
7c08a05c
JJ
154762010-10-16 Jakub Jelinek <jakub@redhat.com>
15477
15478 [BZ #3268]
15479 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15480 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15481 computation is not scheduled after fetestexcept. Fix value
15482 of minimum denormal long double.
15483
f3f7372d
JJ
154842010-10-14 Jakub Jelinek <jakub@redhat.com>
15485
15486 [BZ #3268]
15487 * math/libm-test.inc (fma_test): Add some more tests.
15488 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15489 correctly.
15490
14d43591
AS
154912010-10-15 Andreas Schwab <schwab@redhat.com>
15492
15493 * scripts/data/localplt-s390-linux-gnu.data: New file.
15494 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15495
5e908464
JJ
154962010-10-13 Jakub Jelinek <jakub@redhat.com>
15497
15498 [BZ #3268]
15499 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15500 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15501 instead of dbl-64.
15502 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15503 inlines.
15504 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15505 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15506 if one of x and y is very large and the other is subnormal.
15507 * sysdeps/s390/fpu/s_fmaf.c: New file.
15508 * sysdeps/s390/fpu/s_fma.c: New file.
15509 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15510 * sysdeps/powerpc/fpu/s_fma.S: New file.
15511 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15512 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15513 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15514
155152010-10-12 Jakub Jelinek <jakub@redhat.com>
15516
15517 [BZ #3268]
15518 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15519 fma tests.
15520 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15521 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15522 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15523 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15524 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15525 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15526 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15527
b833d51f
UD
155282010-10-12 Ulrich Drepper <drepper@redhat.com>
15529
15530 [BZ #12078]
15531 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15532 * posix/bug-regex31.input: Add test case.
15533
1751705d
UD
155342010-10-11 Ulrich Drepper <drepper@gmail.com>
15535
e9b9cbf5
UD
15536 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15537 * posix/bug-regex31.input: New file.
15538
15539 [BZ #12078]
15540 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15541 (parse_sub_exp): Fix last change, use postorder.
15542
ef06edbe
UD
15543 * posix/bug-regex31.c: New file.
15544 * posix/Makefile: Add rules to build and run bug-regex31.
15545
a129c80d
UD
15546 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15547
15548 [BZ #12078]
15549 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15550
b76b818e
UD
15551 [BZ #12108]
15552 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15553 to have entries in sys_siglist.
15554
1751705d
UD
15555 [BZ #12093]
15556 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15557 be NULL.
15558
9ff8d36f
JJ
155592010-10-07 Jakub Jelinek <jakub@redhat.com>
15560
15561 [BZ #3268]
15562 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15563 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15564 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15565 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15566 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15567 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15568 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15569 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15570 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15571 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15572 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15573 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15574 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15575 * math/ftestexcept.c (fetestexcept): Likewise.
15576 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15577 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15578 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15579 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15580 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15581 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15582 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15583
af325969
UD
155842010-10-11 Ulrich Drepper <drepper@gmail.com>
15585
c579b202 15586 [BZ #12107]
af325969
UD
15587 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15588 newline.
15589
67a67b95
UD
155902010-10-06 Ulrich Drepper <drepper@gmail.com>
15591
15592 * string/bug-strstr1.c: New file.
15593 * string/Makefile: Add rules to build and run bug-strstr1.
15594
5fb308bc
EB
155952010-10-05 Eric Blake <eblake@redhat.com>
15596
15597 [BZ #12092]
15598 * string/str-two-way.h (two_way_long_needle): Always clear memory
15599 when skipping input due to the shift table.
15600
45db99c7
UD
156012010-10-03 Ulrich Drepper <drepper@gmail.com>
15602
3b111893
UD
15603 [BZ #12005]
15604 * malloc/mcheck.c: Handle large requests.
15605
45db99c7
UD
15606 [BZ #12077]
15607 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15608 for strncmp and strncasecmp.
15609 * string/stratcliff.c: Add tests for strcmp and strncmp.
15610 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15611
cf7a1eb8
NI
156122010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15613
15614 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15615 __set_fpscr.
15616
6484ba5e
AJ
156172010-09-30 Andreas Jaeger <aj@suse.de>
15618
15619 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15620 (CGROUP_SUPER_MAGIC): Define.
15621 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15622 Handle btrfs and cgroup file systems.
15623 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15624 Likewise.
15625
91c42559
LM
156262010-09-27 Luis Machado <luisgpm@br.ibm.com>
15627
15628 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15629 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15630
87a97932
AK
156312010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15632
15633 [BZ #12067]
15634 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15635 trying to locate the ELF header.
15636
c21cc9bc
AS
156372010-09-27 Andreas Schwab <schwab@redhat.com>
15638
15639 [BZ #11611]
15640 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15641 Mask out sign-bit copies when constructing f_fsid.
15642
315970f6
PB
156432010-09-24 Petr Baudis <pasky@suse.cz>
15644
15645 * debug/stack_chk_fail_local.c: Add missing licence exception.
15646 * debug/warning-nop.c: Likewise.
15647
1ac7a2c7
JM
156482010-09-15 Joseph Myers <joseph@codesourcery.com>
15649
15650 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15651 implementing getdents64 using getdents syscall, set d_type if
15652 __ASSUME_GETDENTS32_D_TYPE.
15653
56801c50
AS
156542010-09-16 Andreas Schwab <schwab@redhat.com>
15655
15656 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15657 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15658
dda51327
UD
156592010-09-21 Ulrich Drepper <drepper@redhat.com>
15660
15661 [BZ #12037]
15662 * posix/unistd.h: Undo change of feature selection for ftruncate from
15663 2010-01-11.
15664
8ffcee4a
UD
156652010-09-20 Ulrich Drepper <drepper@redhat.com>
15666
a545ecd9 15667 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
15668 detection.
15669
e24f0a8b
AS
156702010-09-20 Andreas Schwab <schwab@redhat.com>
15671
15672 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15673 fanotify_mark.
15674 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15675
7291c56f
AS
156762010-09-14 Andreas Schwab <schwab@redhat.com>
15677
15678 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15679 variables after CHECK_SP call.
15680 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15681
bc5fb037
AS
156822010-09-13 Andreas Schwab <schwab@redhat.com>
15683 Ulrich Drepper <drepper@redhat.com>
15684
15685 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15686 re-relocationg ld.so.
15687 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15688 _dl_init_paths call.
15689 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15690 here anymore.
15691
e66e7419
UD
156922010-09-14 Ulrich Drepper <drepper@redhat.com>
15693
15694 * resolv/res_init.c (__res_vinit): Count the default server we added.
15695
c044aa75
CLT
156962010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15697 Ulrich Drepper <drepper@redhat.com>
15698
15699 [BZ #11968]
15700 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15701 (____longjmp_chk): Use %ebx for saving value across system call.
15702 Add unwind info.
15703
32cf4069
AS
157042010-09-06 Andreas Schwab <schwab@redhat.com>
15705
15706 * manual/Makefile: Don't mix pattern rules with normal rules.
15707
817328ee
AS
157082010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15709
15710 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15711 operation.
15712 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15713 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15714 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15715 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15716 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15717 Likewise.
15718
29fddf61
UD
157192010-09-04 Ulrich Drepper <drepper@redhat.com>
15720
15721 [BZ #11979]
15722 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15723 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15724
0959ffc9
UD
157252010-09-02 Ulrich Drepper <drepper@redhat.com>
15726
15727 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15728 * sysdeps/x86_64/addmul_1.S: Likewise.
15729 * sysdeps/x86_64/lshift.S: Likewise.
15730 * sysdeps/x86_64/mul_1.S: Likewise.
15731 * sysdeps/x86_64/rshift.S: Likewise.
15732 * sysdeps/x86_64/sub_n.S: Likewise.
15733 * sysdeps/x86_64/submul_1.S: Likewise.
15734
ece29840
ST
157352010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15736
0959ffc9
UD
15737 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15738 Define __sched_param instead of SCHED_* and sched_param when
ece29840 15739 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 15740 * bits/sched.h [__need_schedparam]
ece29840 15741 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
15742 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15743 (__defined_schedparam): Define to 1.
ece29840
ST
15744 (__sched_param): New structure, identical to sched_param.
15745 (__need_schedparam): Undefine.
15746
e53a31fe
MF
157472010-08-31 Mike Frysinger <vapier@gentoo.org>
15748
fdc0c10d
MF
15749 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15750 (epoll_create1): Declare.
15751
e53a31fe
MF
15752 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15753
a726d796
AS
157542010-08-31 Andreas Schwab <schwab@redhat.com>
15755
15756 [BZ #7066]
15757 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15758 shifting retval into place.
15759
2f3e3dc7
UD
157602010-09-01 Ulrich Drepper <drepper@redhat.com>
15761
f2933da9
UD
15762 * nis/rpcsvc/nis.h: Update copyright notice.
15763 * nis/rpcsvc/nis.x: Likewise.
15764 * nis/rpcsvc/nis_callback.h: Likewise.
15765 * nis/rpcsvc/nis_callback.x: Likewise.
15766 * nis/rpcsvc/nis_object.x: Likewise.
15767 * nis/rpcsvc/nis_tags.h: Likewise.
15768 * nis/rpcsvc/yp.h: Likewise.
15769 * nis/rpcsvc/yp.x: Likewise.
15770 * nis/rpcsvc/ypupd.h: Likewise.
15771 * nis/yp_xdr.c: Likewise.
15772 * nis/ypupdate_xdr.c: Likewise.
15773
2f3e3dc7
UD
15774 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15775 mainly the body of pmap_getport. Add parameters to specify timeouts.
15776 (pmap_getport): Use __libc_rpc_getport.
15777 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15778 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15779 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15780
f3dcc2f9
AS
157812010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15782
15783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15784 fanotify_mark.
15785
6d34eb5b
RM
157862010-08-27 Roland McGrath <roland@redhat.com>
15787
15788 * sysdeps/i386/i686/multiarch/Makefile
15789 (CFLAGS-varshift.c): New variable.
15790
9ea3de11
UD
157912010-08-27 Ulrich Drepper <drepper@redhat.com>
15792
c96d23fc
UD
15793 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15794 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15795
9ea3de11
UD
15796 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15797
15798 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15799
623aac7f
L
158002010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15801
15802 * sysdeps/x86_64/strlen.S: Unroll the loop.
15803 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15804 strlen-sse2 strlen-sse2-bsf.
15805 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15806 __strlen_no_bsf if bit_Slow_BSF is set.
15807 (__strlen_sse42): Removed.
15808 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15809 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15810
8b2b7715
RM
158112010-08-25 Roland McGrath <roland@redhat.com>
15812
15813 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15814 * sysdeps/x86_64/multiarch/varshift.c: New file.
15815 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15816 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15817 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15818 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15819
e73015f2
L
158202010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15821
15822 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15823 strlen-sse2 strlen-sse2-bsf.
15824 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15825 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15826 (__strlen_sse2): Removed.
15827 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15828 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15829 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15830 bit_Slow_BSF for Atom.
15831 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15832 (index_Slow_BSF): Define.
15833 (HAS_SLOW_BSF): Define.
15834
df24a73e
UD
158352010-08-25 Ulrich Drepper <drepper@redhat.com>
15836
15837 [BZ #10851]
15838 * resolv/res_init.c (__res_vinit): When no server address at all
15839 is given default to loopback.
15840
f2ac4868
RM
158412010-08-24 Roland McGrath <roland@redhat.com>
15842
09055553
RM
15843 * configure.in: Remove config-name.h generation.
15844 * configure: Regenerated.
15845 * config-name.in: File removed.
15846 * scripts/config-uname.sh: New file.
15847 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15848 ($(objdir)config-name.h): New target.
15849
f2ac4868
RM
15850 * sunrpc/rpc_parse.h: Avoid nested comment.
15851
73f27d5e
RH
158522010-08-24 Richard Henderson <rth@redhat.com>
15853 Ulrich Drepper <drepper@redhat.com>
15854 H.J. Lu <hongjiu.lu@intel.com>
15855
15856 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15857 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15858 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15859 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15860 _mm_alignr_epi8 with _mm_loadu_si128.
15861 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15862 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15863 (__m128i_shift_right): Removed.
15864 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15865 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15866 * sysdeps/x86_64/multiarch/varshift.h: New file.
15867 * sysdeps/x86_64/multiarch/varshift.S: New file.
15868
84b9230c
MF
158692010-08-21 Mike Frysinger <vapier@gentoo.org>
15870
15871 * configure.in: Move assembler checks to before sysdep dir checking.
15872
9bbd0ddc
PB
158732010-08-20 Petr Baudis <pasky@suse.cz>
15874
15875 * LICENSES: Sync the sunrpc license.
15876
9da4bb31
UD
158772010-08-19 Ulrich Drepper <drepper@redhat.com>
15878
a7ab6ec8
UD
15879 * sunrpc/auth_des.c: Update copyright notice once again.
15880 * sunrpc/auth_none.c: Likewise.
15881 * sunrpc/auth_unix.c: Likewise.
15882 * sunrpc/authdes_prot.c: Likewise.
15883 * sunrpc/authuxprot.c: Likewise.
15884 * sunrpc/bindrsvprt.c: Likewise.
15885 * sunrpc/clnt_gen.c: Likewise.
15886 * sunrpc/clnt_perr.c: Likewise.
15887 * sunrpc/clnt_raw.c: Likewise.
15888 * sunrpc/clnt_simp.c: Likewise.
15889 * sunrpc/clnt_tcp.c: Likewise.
15890 * sunrpc/clnt_udp.c: Likewise.
15891 * sunrpc/clnt_unix.c: Likewise.
15892 * sunrpc/des_crypt.c: Likewise.
15893 * sunrpc/des_soft.c: Likewise.
15894 * sunrpc/get_myaddr.c: Likewise.
15895 * sunrpc/getrpcport.c: Likewise.
15896 * sunrpc/key_call.c: Likewise.
15897 * sunrpc/key_prot.c: Likewise.
15898 * sunrpc/openchild.c: Likewise.
15899 * sunrpc/pm_getmaps.c: Likewise.
15900 * sunrpc/pm_getport.c: Likewise.
15901 * sunrpc/pmap_clnt.c: Likewise.
15902 * sunrpc/pmap_prot.c: Likewise.
15903 * sunrpc/pmap_prot2.c: Likewise.
15904 * sunrpc/pmap_rmt.c: Likewise.
15905 * sunrpc/rpc/auth.h: Likewise.
15906 * sunrpc/rpc/auth_unix.h: Likewise.
15907 * sunrpc/rpc/clnt.h: Likewise.
15908 * sunrpc/rpc/des_crypt.h: Likewise.
15909 * sunrpc/rpc/key_prot.h: Likewise.
15910 * sunrpc/rpc/netdb.h: Likewise.
15911 * sunrpc/rpc/pmap_clnt.h: Likewise.
15912 * sunrpc/rpc/pmap_prot.h: Likewise.
15913 * sunrpc/rpc/pmap_rmt.h: Likewise.
15914 * sunrpc/rpc/rpc.h: Likewise.
15915 * sunrpc/rpc/rpc_des.h: Likewise.
15916 * sunrpc/rpc/rpc_msg.h: Likewise.
15917 * sunrpc/rpc/svc.h: Likewise.
15918 * sunrpc/rpc/svc_auth.h: Likewise.
15919 * sunrpc/rpc/types.h: Likewise.
15920 * sunrpc/rpc/xdr.h: Likewise.
15921 * sunrpc/rpc_clntout.c: Likewise.
15922 * sunrpc/rpc_cmsg.c: Likewise.
15923 * sunrpc/rpc_common.c: Likewise.
15924 * sunrpc/rpc_cout.c: Likewise.
15925 * sunrpc/rpc_dtable.c: Likewise.
15926 * sunrpc/rpc_hout.c: Likewise.
15927 * sunrpc/rpc_main.c: Likewise.
15928 * sunrpc/rpc_parse.c: Likewise.
15929 * sunrpc/rpc_parse.h: Likewise.
15930 * sunrpc/rpc_prot.c: Likewise.
15931 * sunrpc/rpc_sample.c: Likewise.
15932 * sunrpc/rpc_scan.c: Likewise.
15933 * sunrpc/rpc_scan.h: Likewise.
15934 * sunrpc/rpc_svcout.c: Likewise.
15935 * sunrpc/rpc_tblout.c: Likewise.
15936 * sunrpc/rpc_util.c: Likewise.
15937 * sunrpc/rpc_util.h: Likewise.
15938 * sunrpc/rpcinfo.c: Likewise.
15939 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15940 * sunrpc/rpcsvc/key_prot.x: Likewise.
15941 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15942 * sunrpc/rpcsvc/mount.x: Likewise.
15943 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15944 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15945 * sunrpc/rpcsvc/rex.x: Likewise.
15946 * sunrpc/rpcsvc/rstat.x: Likewise.
15947 * sunrpc/rpcsvc/rusers.x: Likewise.
15948 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15949 * sunrpc/rpcsvc/spray.x: Likewise.
15950 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15951 * sunrpc/rtime.c: Likewise.
15952 * sunrpc/svc.c: Likewise.
15953 * sunrpc/svc_auth.c: Likewise.
15954 * sunrpc/svc_authux.c: Likewise.
15955 * sunrpc/svc_raw.c: Likewise.
15956 * sunrpc/svc_run.c: Likewise.
15957 * sunrpc/svc_simple.c: Likewise.
15958 * sunrpc/svc_tcp.c: Likewise.
15959 * sunrpc/svc_udp.c: Likewise.
15960 * sunrpc/svc_unix.c: Likewise.
15961 * sunrpc/svcauth_des.c: Likewise.
15962 * sunrpc/xcrypt.c: Likewise.
15963 * sunrpc/xdr.c: Likewise.
15964 * sunrpc/xdr_array.c: Likewise.
15965 * sunrpc/xdr_float.c: Likewise.
15966 * sunrpc/xdr_mem.c: Likewise.
15967 * sunrpc/xdr_rec.c: Likewise.
15968 * sunrpc/xdr_ref.c: Likewise.
15969 * sunrpc/xdr_sizeof.c: Likewise.
15970 * sunrpc/xdr_stdio.c: Likewise.
15971
9da4bb31
UD
15972 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15973 handling.
15974
bdaa77bc
AS
159752010-08-19 Andreas Schwab <schwab@redhat.com>
15976
15977 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15978
fe2f79db
LM
159792010-08-19 Luis Machado <luisgpm@br.ibm.com>
15980
15981 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15982 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15983 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15984 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15985 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15986 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15987 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15988 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15989 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15990 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15991 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15992 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15993 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15994 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15995
b9b42ee0
AB
159962010-07-26 Anton Blanchard <anton@samba.org>
15997
15998 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15999 * malloc/arena.c (heap_trim): Likewise.
16000
1c06ba31
UD
160012010-08-16 Ulrich Drepper <drepper@redhat.com>
16002
16003 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
16004 here. Not...
16005 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
16006 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
16007
f8392f40
L
160082010-08-12 H.J. Lu <hongjiu.lu@intel.com>
16009
16010 * sysdeps/i386/elf/Makefile: New file.
16011
3162f12e
AS
160122010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16013
16014 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
16015 from fanotify_init.
16016 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
16017 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16018
28c90b2c
UD
160192010-08-15 Ulrich Drepper <drepper@redhat.com>
16020
16021 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
16022 of strncasecmp_l.
1feccb6c 16023 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 16024
ca6bb004
UD
160252010-08-14 Ulrich Drepper <drepper@redhat.com>
16026
e9f82e0d
UD
16027 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16028 strncase_l-nonascii.
16029 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16030 Add strncase_l-ssse3.
16031 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
16032 * sysdeps/x86_64/strcmp.S: Likewise.
16033 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
16034 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
16035 * sysdeps/x86_64/strncase.S: New file.
16036 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
16037 * sysdeps/x86_64/strncase_l.S: New file.
16038 * string/Makefile (strop-tests): Add strncasecmp.
16039 * string/test-strncasecmp.c: New file.
16040
16041 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
16042 warning.
16043
ca6bb004
UD
16044 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
16045 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
16046
052fa7b3
AS
160472010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16048
16049 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
16050
962dba78
UD
160512010-08-12 Ulrich Drepper <drepper@redhat.com>
16052
16053 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
16054 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
16055 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
16056
bebff237
AM
160572010-05-01 Alan Modra <amodra@gmail.com>
16058
16059 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
16060 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
16061 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
16062 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
16063 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
16064 tidying. Don't tail-call __sigjmp_save for static lib.
16065 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
16066 save location.
16067 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
16068 (CALL_MCOUNT): Add eh info, and nop after bl.
16069 (TAIL_CALL_SYSCALL_ERROR): New macro.
16070 (PSEUDO_RET): Use it.
16071 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16072 Correct save location of integer regs and cr.
16073 (_dl_profile_resolve): Correct cr save location. Delete nops
16074 after bl when SHARED. Reduce cfi size a little by better
16075 placement of cfi directives.
16076 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
16077 make a stack frame. Instead use parm save area as a temp.
16078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
16079 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
16080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16081 Don't make a stack frame for parent, use parm save area.
16082 Increase child stack frame to 112 bytes. Don't save unused reg,
16083 and adjust reg usage. Set up cfi on error recovery and
16084 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
16085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16086 (__makecontext): Add dummy nop after jump to exit.
16087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
16088 Use correct parm save area and cr save, reduce stack frame.
16089 Correct cfi for possible PSEUDO_RET frame setup.
16090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
16091 Branch to local label emitted by PSEUDO_RET rather than
16092 __syscall_error.
16093
02637374
AS
160942010-08-12 Andreas Schwab <schwab@redhat.com>
16095
16096 [BZ #11904]
16097 * locale/programs/locale.c (print_assignment): New function.
16098 (show_locale_vars): Use it.
16099
c3e2f19b
UD
161002010-08-11 Ulrich Drepper <drepper@redhat.com>
16101
3cdaa6ad
UD
16102 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
16103 field.
16104 (struct statfs64): Likewise.
16105 (_STATFS_F_FLAGS): Define.
16106 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
16107 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16108 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
16109 (ST_VALID): Define locally.
16110 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
16111 __statvfs_getflags, use the provided value.
16112 * sysdeps/unix/sysv/linux/kernel-features.h: Define
16113 __ASSUME_STATFS_F_FLAGS.
16114
754f7da3
UD
16115 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
16116
10b3bedc
UD
16117 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
16118 Add sys/fanotify.h.
16119 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16120 fanotify_mask for GLIBC_2.13.
16121 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16122 fanotify_init and fanotify_mark.
16123 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16124 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16125
c08fb0d7
UD
16126 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16127 Add prlimit.
16128 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16129 prlimit64 for GLIBC_2.13.
16130 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16131 prlimit64.
16132 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16133 syscall.
16134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16135 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16136 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16137 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16138 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
16139 add prlimit alias.
16140 * sysdeps/unix/sysv/linux/prlimit.c: New file.
16141
15bac72b
UD
16142 [BZ #11903]
16143 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16144 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16145
c3e2f19b
UD
16146 * nss/Makefile: Add rules to build and run tst-nss-test1.
16147 * shlib-versions: Add entry for libnss_test1.
16148 * nss/nss_test1.c: New file.
16149 * nss/tst-nss-test1.c: New file.
16150
16151 * nss/nsswitch.c (__nss_database_custom): Define new variable.
16152 (__nss_configure_lookup): Set appropriate entry in
16153 __nss_configure_lookup to true.
16154 * nss/nsswitch.h: Define enum with indeces of databases in
16155 databases and __nss_database_custom arrays. Declare
16156 __nss_database_custom.
16157 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16158 to avoid using nscd when custom rules are installed.
16159 * nss/getXXbyYY_r.c: Likewise.
16160 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16161
16162 * nss/nss_files/files-parse.c: Whitespace fixes.
16163
f15ce4d8
UD
161642010-08-09 Ulrich Drepper <drepper@redhat.com>
16165
16166 [BZ #11883]
16167 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16168 * posix/fnmatch_loop.c: Likewise.
16169
d22e4cc9
AK
161702010-07-17 Andi Kleen <ak@linux.intel.com>
16171
16172 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16173 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16174 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16175 * Versions.def [GLIBC_2.13]: Add.
16176
805bc17d
UD
161772010-08-06 Ulrich Drepper <drepper@redhat.com>
16178
16179 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16180 Also fail if tpwd after pwuid call is NULL.
16181
5a42321d
ST
161822010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16183
16184 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16185 when converting to ms.
16186
fd3ebeda
ST
161872010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16188
16189 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16190 EOPNOTSUPP errors with ENOTTY.
16191 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16192 EOPNOTSUPP errors with ENOTTY.
16193
73507d3a
UD
161942010-07-31 Ulrich Drepper <drepper@redhat.com>
16195
16196 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16197 Add strcasecmp_l-ssse3.
16198 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16199 strcasecmp.
16200 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16201 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16202 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16203
fe36dd02
UD
162042010-07-30 Ulrich Drepper <drepper@redhat.com>
16205
66f6765a
UD
16206 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16207
42e08a54
UD
16208 * string/Makefile (strop-tests): Add strcasecmp.
16209 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16210 strcasecmp_l-nonascii.
16211 (gen-as-const-headers): Add locale-defines.sym.
16212 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16213 * sysdeps/x86_64/strcasecmp.S: New file.
16214 * sysdeps/x86_64/strcasecmp_l.S: New file.
16215 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16216 * sysdeps/x86_64/locale-defines.sym: New file.
16217 * string/test-strcasecmp.c: New file.
16218
fe36dd02
UD
16219 * string/test-strcasestr.c: Test both ends of the range of characters.
16220 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16221
48cbc0d6
RM
162222010-07-29 Roland McGrath <roland@redhat.com>
16223
76e6d6bc 16224 [BZ #11856]
48cbc0d6
RM
16225 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16226
880113d9
UD
162272010-07-27 Ulrich Drepper <drepper@redhat.com>
16228
16229 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16230 for ld.so.
16231
deb9cabb
AS
162322010-07-27 Andreas Schwab <schwab@redhat.com>
16233
16234 * manual/memory.texi (Malloc Tunable Parameters): Document
16235 M_PERTURB.
16236
1c7570ff
RM
162372010-07-26 Roland McGrath <roland@redhat.com>
16238
16239 [BZ #11840]
16240 * configure.in (-fgnu89-inline check): Set and substitute
16241 gnu89_inline, not libc_cv_gnu89_inline.
16242 * configure: Regenerated.
16243 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16244
24fb0f88
UD
162452010-07-26 Ulrich Drepper <drepper@redhat.com>
16246
16247 * string/test-strnlen.c: New file.
16248 * string/Makefile (strop-tests): Add strnlen.
16249 * string/tester.c (test_strnlen): Add a few more test cases.
16250 * string/tst-strlen.c: Better error reporting.
16251
16252 * sysdeps/x86_64/strnlen.S: New file.
16253
8e96b93a
UD
162542010-07-24 Ulrich Drepper <drepper@redhat.com>
16255
16256 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16257 lower-latency instructions.
16258
dbc676d4
UD
162592010-07-23 Ulrich Drepper <drepper@redhat.com>
16260
16261 * string/test-strcasestr.c: New file.
16262 * string/test-strstr.c: New file.
16263 * string/Makefile (strop-tests): Add strstr and strcasestr.
16264 * string/str-two-way.h: Don't undefine MAX.
16265 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16266
f6a31e0e
AS
162672010-07-21 Andreas Schwab <schwab@redhat.com>
16268
16269 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16270 strcasestr-nonascii.
16271 (CFLAGS-strcasestr-nonascii.c): Define.
16272 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16273 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16274 Remove unused attribute.
16275
5dbc3b6c
RM
162762010-07-20 Roland McGrath <roland@redhat.com>
16277
16278 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16279 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16280 ld.so.cache was broken. With it, there is no way to disable dsocaps
16281 like LD_HWCAP_MASK can disable hwcaps.
16282
23d101d8
EPM
162832010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16284
16285 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16286
cc9f2e47
UD
162872010-07-16 Ulrich Drepper <drepper@redhat.com>
16288
16289 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16290 call in strcasestr.
16291 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16292 __strcasestr_sse42_nonascii.
16293 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16294 strcasestr-nonascii.c.
16295 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16296
77c1b069
LM
162972010-06-15 Luis Machado <luisgpm@br.ibm.com>
16298
16299 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16300 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16301 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16302 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16303
440566c3
UD
163042010-07-09 Ulrich Drepper <drepper@redhat.com>
16305
16306 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16307 fcntl.
16308
5be9d05d
AS
163092010-07-06 Andreas Schwab <schwab@redhat.com>
16310
c30b7ee2 16311 [BZ #11577]
5be9d05d
AS
16312 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16313 dl_signal_cerror.
16314
8a492a67
UD
163152010-07-06 Ulrich Drepper <drepper@redhat.com>
16316
16317 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16318 _PC_PIPE_BUF using F_GETPIPE_SZ.
16319
713df3d5
RM
163202010-07-05 Roland McGrath <roland@redhat.com>
16321
16322 * manual/arith.texi (Rounding Functions): Fix rint description
16323 implicit in round description.
16324
702e8f14
UD
163252010-07-02 Ulrich Drepper <drepper@redhat.com>
16326
16327 * elf/Makefile: Fix linking for a few tests to make recent linker
16328 happy.
16329
52ed8be9
AS
163302010-06-30 Andreas Schwab <schwab@redhat.com>
16331
16332 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16333 $(common-objpfx)libc_nonshared.a.
16334
f47c9a11
LM
163352010-06-21 Luis Machado <luisgpm@br.ibm.com>
16336
16337 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16338 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16339 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16340 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16341 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16342 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16343 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16344 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16359 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16360 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16361 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16362 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16363 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16364 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16365 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16366 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16367 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16368 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16369 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16370 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16385
6fb8cbcb
L
163862010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16387
16388 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16389 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16390 * string/memmove.c (memmove): Renamed to ...
16391 (MEMMOVE): ...this. Default to memmove.
16392 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16393 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16394 (END_CHK): Define.
16395 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16396 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16397 mempcpy-ssse3-back memmove-ssse3-back.
16398 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16399 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16400 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16401 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16402 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16403 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16404 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16405 * sysdeps/x86_64/multiarch/memmove.c: New file.
16406 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16407 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16408 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16409 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16410 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16411 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16412 Define.
16413 (index_Fast_Copy_Backward): Define.
16414 (HAS_ARCH_FEATURE): Define.
16415 (HAS_FAST_REP_STRING): Define.
16416 (HAS_FAST_COPY_BACKWARD): Define.
16417
4e733bac 164182010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
16419
16420 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16421 Restore proper fallback handling.
16422
63c4ed22
UD
164232010-06-19 Ulrich Drepper <drepper@redhat.com>
16424
ac2b484c
UD
16425 [BZ #11701]
16426 * posix/group_member.c (__group_member): Correct checking loop.
16427
63c4ed22
UD
16428 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16429 OOM in getpwuid_r correctly. Return error number when the caller
16430 should return, otherwise -1.
16431 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16432 call returning > 0 value.
16433 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16434
765ade4b
AS
164352010-06-07 Andreas Schwab <schwab@redhat.com>
16436
16437 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16438 libc_nonshared.a from targets in modules-names.
16439
80da2e09
KS
164402010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16441
16442 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16443 requires it.
16444
158db122
LM
164452010-06-10 Luis Machado <luisgpm@br.ibm.com>
16446
16447 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16448 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16449 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16450 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16451
caa78cf8
AS
164522010-06-02 Andreas Schwab <schwab@redhat.com>
16453
16454 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16455
b2ef2c01
UD
164562010-06-14 Ulrich Drepper <drepper@redhat.com>
16457
16458 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16459 and F_GETPIPE_SZ.
16460 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16461 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16462 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16463 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16464 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16465 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16466
fbd643b6
RM
164672010-06-14 Roland McGrath <roland@redhat.com>
16468
16469 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16470
f32f2869
JJ
164712010-06-07 Jakub Jelinek <jakub@redhat.com>
16472
16473 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16474 __REDIRECT followed by __THROW.
16475 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16476 * posix/getopt.h (getopt): Likewise.
16477
2a50c078
EPM
164782010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16479
16480 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16481 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16482 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16483 in AT_FLAGS.
16484 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16485 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16486
eb5ad2eb
LM
164872010-05-28 Luis Machado <luisgpm@br.ibm.com>
16488
16489 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16490
3c88fe1e
L
164912010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16492
16493 [BZ #11640]
16494 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16495 Properly check family and model.
16496
d2f73151
TY
164972010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16498
16499 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16500
ebd2e13d
LM
165012010-05-24 Luis Machado <luisgpm@br.ibm.com>
16502
16503 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16504
b32b8b45
UD
165052010-05-21 Ulrich Drepper <drepper@redhat.com>
16506
16507 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16508 symbol reference.
16509
9acbe24d
AS
165102010-05-19 Andreas Schwab <schwab@redhat.com>
16511
16512 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16513 symbol reference.
16514
f0ccf6ea
AS
165152010-05-21 Andreas Schwab <schwab@redhat.com>
16516
3d04ff3a
AS
16517 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16518 and internal_recvmmsg.
16519 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16520 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16521 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16522 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16523
f0ccf6ea
AS
16524 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16525 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16526 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16527
5b08ac57
AS
165282010-05-20 Andreas Schwab <schwab@redhat.com>
16529
16530 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16531
4828935d
LM
165322010-05-17 Luis Machado <luisgpm@br.ibm.com>
16533
16534 POWER7 optimizations.
16535 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16536 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16537
373d545e
UD
165382010-05-19 Ulrich Drepper <drepper@redhat.com>
16539
16540 * version.h: Update for 2.13 development version.
16541
21a2b1ae
AS
165422010-05-12 Andrew Stubbs <ams@codesourcery.com>
16543
16544 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16545 exceptions. Return 0.
16546
3f7dcb2b
RM
165472010-05-07 Roland McGrath <roland@redhat.com>
16548
16549 * elf/ldconfig.c (main): Add a const.
16550
5f24d53a 165512010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 16552
a160f8d8
UD
16553 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16554 (args_options): Add no-idn option.
16555 (ahosts_keys_int): Add idn_flags to ai_flags.
16556 (parse_option): Handle 'i' option to clear idn_flags.
16557
5f24d53a
UD
16558 * malloc/malloc.c (_int_free): Possible race in the most recently
16559 added check. Only act on the data if no current modification
16560 happened.
265bb1ce
UD
16561
16562See ChangeLog.17 for earlier changes.
This page took 2.139421 seconds and 5 git commands to generate.